Installing 32-bit OS (arm32) on Odroid C2

Moderators: mdrjr, odroid

Installing 32-bit OS (arm32) on Odroid C2

Unread postby katekani » Fri Oct 12, 2018 3:20 pm

Hello. Is it possible to install a ARMhf OS on the Odroid C2 which is an ARM64? I
katekani
 
Posts: 7
Joined: Fri Oct 12, 2018 3:12 pm
languages_spoken: english
ODROIDs: Odroid C2

Re: Installing 32-bit OS (arm32) on Odroid C2

Unread postby tobetter » Fri Oct 12, 2018 3:41 pm

katekani wrote:Hello. Is it possible to install a ARMhf OS on the Odroid C2 which is an ARM64? I

Technically it would be possible, I haven't tried it on ODROID-C2 and you would run 64bit Linux kernel. Which OS are you trying to run?
User avatar
tobetter
 
Posts: 2465
Joined: Mon Feb 25, 2013 10:55 am
Location: Paju, South Korea
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1

Re: Installing 32-bit OS (arm32) on Odroid C2

Unread postby meveric » Fri Oct 12, 2018 4:45 pm

As said by @tobetter but you would miss 3D acceleration, as we don't have armhf GPU drivers for the C2.
Means, yes you can run a full armhf image (was done in the past) but you couldn't use anything that required 3D acceleration (Kodi for example).
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 9313
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go

Re: Installing 32-bit OS (arm32) on Odroid C2

Unread postby katekani » Sat Oct 13, 2018 9:42 pm

May I please have a link to a 32-bit installation image for Odroid C2.
katekani
 
Posts: 7
Joined: Fri Oct 12, 2018 3:12 pm
languages_spoken: english
ODROIDs: Odroid C2

Re: Installing 32-bit OS (arm32) on Odroid C2

Unread postby katekani » Sun Oct 14, 2018 6:54 am

I'm actually just trying to install some drivers and an application for an industrial camera compiled for a 32-bit ARM. I've tried tried to enable 32-bit support on the 64-bit ubuntu 16 mate system, but when I try to download the 32-bit dependencies the system complains that some packages cannot be installed and that i have held broken packages, even after a clean install of the OS.
katekani
 
Posts: 7
Joined: Fri Oct 12, 2018 3:12 pm
languages_spoken: english
ODROIDs: Odroid C2

Re: Installing 32-bit OS (arm32) on Odroid C2

Unread postby mad_ady » Sun Oct 14, 2018 1:23 pm

Can you show us the output of those dependencies?
User avatar
mad_ady
 
Posts: 4710
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: Installing 32-bit OS (arm32) on Odroid C2

Unread postby katekani » Sun Oct 14, 2018 4:55 pm

So I use the following commands to add arm32 support:
dpkg --add-architecture armhf
apt-get update

then I try to install all armhf packages from update
apt-get install *:armhf

so basically, there's a lot of armhf packages that couldn't be instal, with the errors having the following format

*: armhf : Depends : *: armhf but it is not installable.

I have attached a txt with the results
Attachments
log.txt
Results of apt-get install *:armhf
(486.73 KiB) Downloaded 12 times
katekani
 
Posts: 7
Joined: Fri Oct 12, 2018 3:12 pm
languages_spoken: english
ODROIDs: Odroid C2

Re: Installing 32-bit OS (arm32) on Odroid C2

Unread postby mad_ady » Sun Oct 14, 2018 5:36 pm

I think it's a bad idea t try to install all armhf packages. You should install libc:armhf and then the package you need (and it should pull its dependencies).
User avatar
mad_ady
 
Posts: 4710
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: Installing 32-bit OS (arm32) on Odroid C2

Unread postby katekani » Sun Oct 14, 2018 6:05 pm

Nice, Thanks a million, that solved my problem. Thank you
katekani
 
Posts: 7
Joined: Fri Oct 12, 2018 3:12 pm
languages_spoken: english
ODROIDs: Odroid C2

Re: Installing 32-bit OS (arm32) on Odroid C2

Unread postby katekani » Sun Oct 14, 2018 6:09 pm

Do you also know of the best way to install Qt5 for Odroid C2, but only enough to run Qt widget applications. I don't need the other packages such as web and unecessary packages that could make the install take a lot of space
katekani
 
Posts: 7
Joined: Fri Oct 12, 2018 3:12 pm
languages_spoken: english
ODROIDs: Odroid C2

Re: Installing 32-bit OS (arm32) on Odroid C2

Unread postby meveric » Mon Oct 15, 2018 4:30 am

armhf Qt5 won't work since it's missing GPU drivers.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 9313
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go

Re: Installing 32-bit OS (arm32) on Odroid C2

Unread postby katekani » Mon Oct 15, 2018 9:03 pm

Does that imply even on the Odroid XU4 Qt wouldn't work since it is an armhf system?
katekani
 
Posts: 7
Joined: Fri Oct 12, 2018 3:12 pm
languages_spoken: english
ODROIDs: Odroid C2

Re: Installing 32-bit OS (arm32) on Odroid C2

Unread postby mad_ady » Mon Oct 15, 2018 9:10 pm

It works on xu4 because it's an armhf system running an armhf kernel with 32 bit graphical drivers. While C2 runs a 64bit kernel with 64bit mali drivers and you're trying to install 32bit qt.
User avatar
mad_ady
 
Posts: 4710
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1


Return to General Chat

Who is online

Users browsing this forum: No registered users and 3 guests