Ubuntu 18.04 ARM64 compatibility enquiry on XU4

Post Reply
frdyf
Posts: 6
Joined: Fri Nov 08, 2019 9:15 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 3 times
Been thanked: 0
Contact:

Ubuntu 18.04 ARM64 compatibility enquiry on XU4

Post by frdyf »

Hi,

I recently just bought an odroid XU4 board and I need to run a software on it. It has an Ubuntu 18.04 ARM64 version but I am wondering if that is compatible with the XU4 board. From what I am aware of, the board runs on 32-bit ARM.

Alternatively, I could download the Windows version of the software but Exagear has been discontinued.

Thus, I would like to ask for advice on these 2 things:

1. Can I use the software version of Ubuntu 18.04 ARM64 on Odorid XU4?
2. Are there any alternative softwares similar to Exagear that we can use to run Windows apps(non-games) on Odroid XU4?

Thank you.
frdyf

User avatar
memeka
Posts: 4420
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART
Has thanked: 2 times
Been thanked: 59 times
Contact:

Re: Ubuntu 18.04 ARM64 compatibility enquiry on XU4

Post by memeka »

1. no you need armhf version not arm64
2. wine
These users thanked the author memeka for the post:
frdyf (Fri Nov 08, 2019 4:00 pm)

frdyf
Posts: 6
Joined: Fri Nov 08, 2019 9:15 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 3 times
Been thanked: 0
Contact:

Re: Ubuntu 18.04 ARM64 compatibility enquiry on XU4

Post by frdyf »

Hi Memeka,

Thank you so much for your reply!

I see. The software that I want to install has Ubuntu 16.04 armhf option but the XU4 I am using runs on Ubuntu 18.04. Is that compatible?

And yes I will check on wine too!

Thanks again!

Best regards,
frdyf

User avatar
meveric
Posts: 11161
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, H2 (N4100), N2, H2 (J4105), GoA, C4
Has thanked: 46 times
Been thanked: 399 times
Contact:

Re: Ubuntu 18.04 ARM64 compatibility enquiry on XU4

Post by meveric »

memeka wrote:
Fri Nov 08, 2019 10:41 am
2. wine
Wine does not work.
Wine is an API re-implementation Wine Is Not an Emulator!
It does not make your armhf Linux in a x86 Windows system.
armhf WINE, only runs ARMHF Windows code!

Since ExaGear has been discontinued, you might want to take a look into the box86 project from @ptitSeb it can already run may x86 Linux applications and games on armhf.
These users thanked the author meveric for the post:
frdyf (Sat Nov 09, 2019 6:32 pm)
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.

frdyf
Posts: 6
Joined: Fri Nov 08, 2019 9:15 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 3 times
Been thanked: 0
Contact:

Re: Ubuntu 18.04 ARM64 compatibility enquiry on XU4

Post by frdyf »

Hi Meveric

Ahh I see. Thank you so much for pointing that out, really appreciate that. I will try the box86 as suggested. I take it that this will allow python codes to run on Windows when using box86?

Verroso
Posts: 1
Joined: Fri Nov 08, 2019 8:12 pm
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu 18.04 ARM64 compatibility enquiry on XU4

Post by Verroso »

I'd love to hear if the box86 works out, frdyf. What version are you going to use?

User avatar
meveric
Posts: 11161
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, H2 (N4100), N2, H2 (J4105), GoA, C4
Has thanked: 46 times
Been thanked: 399 times
Contact:

Re: Ubuntu 18.04 ARM64 compatibility enquiry on XU4

Post by meveric »

frdyf wrote:
Sat Nov 09, 2019 6:35 pm
I take it that this will allow python codes to run on Windows when using box86?
Box86 has nothing to do with python or Windows.
Python exists for Windows and can run natively on Windows.
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.

mad_ady
Posts: 8477
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 578 times
Been thanked: 465 times
Contact:

Re: Ubuntu 18.04 ARM64 compatibility enquiry on XU4

Post by mad_ady »

Try to see if your code can run directly with python on linux (first on x86 pc) and then try with python on armhf. It may work directly if it was written in a portable way.
What are you trying to run, anyway?
These users thanked the author mad_ady for the post:
frdyf (Thu Jan 23, 2020 8:59 am)

frdyf
Posts: 6
Joined: Fri Nov 08, 2019 9:15 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 3 times
Been thanked: 0
Contact:

Re: Ubuntu 18.04 ARM64 compatibility enquiry on XU4

Post by frdyf »

Hey everyone,

Thanks for all the feedbacks. I am trying to run Spinnaker SDK on the board as I need to take photos using a camera from FLIR through the Odroid XU4.

So far, I managed to download the package using the ARM file thanks to all your help! From this, I did not need to use a virtual machine and can run it directly. Once I've downloaded the package, I referred to their (FLIR) installation guide which can be found here: https://www.flir.com/support-center/iis ... d-systems/

However, I have got to say that there are some errors in the guide. From step 2 onwards, on the compiling the kernel, I faced some problems. Hence, for that step, I followed the codes that were given here instead: https://github.com/umiddelb/armhf/wiki/ ... ARM-device

I chose the codes for Odroid XU4 which I have pasted here:

"$ git clone --depth 1 --single-branch -b odroidxu4-v4.2 https://github.com/tobetter/linux
$ cd linux
$ make odroidxu4_defconfig
$ make -j 8 zImage dtbs modules
$ sudo cp arch/arm/boot/zImage arch/arm/boot/dts/*.dtb /media/boot
$ sudo make modules_install
$ sudo make firmware_install
$ sudo make headers_install INSTALL_HDR_PATH=/usr
$ kver=`make kernelrelease`
$ sudo cp .config /boot/config-${kver}
$ cd /boot
$ sudo update-initramfs -c -k ${kver}
$ sudo mkimage -A arm -O linux -T ramdisk -a 0x0 -e 0x0 -n initrd.img-${kver} -d initrd.img-${kver} uInitrd-${kver}
$ sudo cp uInitrd-${kver} /media/boot/uInitrd"

but after rebooting, my board did not power on. As in, the blue light remained lit up but it was not blinking. There was no connection to the SSH as well from my laptop. And when I connected it to the monitor, nothing was shown.

May I know what I have done wrong and how can I fix my board?

User avatar
odroid
Site Admin
Posts: 35353
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean, Japanese
ODROIDs: ODROID
Has thanked: 1102 times
Been thanked: 831 times
Contact:

Re: Ubuntu 18.04 ARM64 compatibility enquiry on XU4

Post by odroid »

The solid blue LED means u-boot couldn't load the kernel.
You might make a mistake while compiling or installing your own kernel or initramfs.
Without UART console access, it is hard to know what was wrong.

mad_ady
Posts: 8477
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 578 times
Been thanked: 465 times
Contact:

Re: Ubuntu 18.04 ARM64 compatibility enquiry on XU4

Post by mad_ady »

Check that the commands you ran didn't generate any errors, otherwise boot would fail.

Post Reply

Return to “General Topics”

Who is online

Users browsing this forum: Google [Bot] and 0 guests