Relive ODROID-XU with Ubuntu

Post Reply
odroid_xu_relive
Posts: 5
Joined: Mon Dec 07, 2020 4:08 pm
languages_spoken: english
ODROIDs: ODROID_XU
ODROID_XU4Qx3
Has thanked: 2 times
Been thanked: 0
Contact:

Relive ODROID-XU with Ubuntu

Post by odroid_xu_relive »

Hi,

I've just taken my ODROID-XU back from the drawer ... and I don't even remember to what I used it long years ago. No eMMC and no more sd-card, so I'm starting from scratch anew.

I want to install (on a sd-card so, as no eMMC) an easy distribution, and I'm used to Ubuntu : maybe classic Ubuntu can be a bit slow, and Ubuntu Mate is the reference from Hardkenel for Odroids, so I choose Ubuntu Mate.

As it is nearly the same SoCs (and nearly the same cpus), would the current installation guide (for XU4https://wiki.odroid.com/getting_started ... odroid-xu4) make it?

And btw, would the current eMMC modules on Hardkernel 's shop (eMMC 5.0) work with XU (eMMC 4.5) -Hardkernel did not reply to theses questions except redirecting me to the forum- ?

Any help would be greatly appreciate :)

User avatar
odroid
Site Admin
Posts: 36385
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1431 times
Been thanked: 980 times
Contact:

Re: Relive ODROID-XU with Ubuntu

Post by odroid »

XU4 SoC is not compatible with the original XU. Therefore, you can't use the XU4 OS images as it is.
The eMMC 5.0 Orange modules might be compatible with the XU board probably.
But try using a spare micro-SD card with some old Ubuntu images in this sub-forum to check if your XU board is still alive or dead first.
These users thanked the author odroid for the post:
odroid_xu_relive (Thu Dec 17, 2020 7:40 am)

odroid_xu_relive
Posts: 5
Joined: Mon Dec 07, 2020 4:08 pm
languages_spoken: english
ODROIDs: ODROID_XU
ODROID_XU4Qx3
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Relive ODROID-XU with Ubuntu

Post by odroid_xu_relive »

Hi,

Thank you for your reply.

I've only tried the XU with two sdcard (one 8 GB and one 32 GB) : I had nothing with the 32 GB, though each time I tried the 8 GB the board green led lighted (so found a bootloader I presume), then the fan also, and the solid blue led came (normally kernel booting), but finally the blue led kept on blinking while the fan ended up stopping ... and nothing on the screen anyhow.

So I think the board works, simply I don't have an OS. On the 8 GB sdcard I copied a 14.04 LTS Ubuntu (ubuntu-14.04lts-xubuntu-odroid-xu-20140714.img.xz) from this post (viewtopic.php?f=61&t=5124) (downloaded, extracted and dd to the card, creating 2 partitions and a empty space on the card, seemingly workable).
Where should I go back which web page) to flash a sdcard to boot a linux on the XU ?
I think the 14.04 LTS should work, isn't it ? I've checked the image anew against this one (https://odroid.in/ubuntu_14.04lts/ubunt ... 714.img.xz), these were the same files (binary).

Nuems
Posts: 181
Joined: Thu Sep 19, 2013 3:50 am
languages_spoken: english, german
ODROIDs: xu, c1, n2
Has thanked: 5 times
Been thanked: 19 times
Contact:

Re: Relive ODROID-XU with Ubuntu

Post by Nuems »

The most up-to-date image is probably this one:
https://archlinuxarm.org/platforms/armv ... /odroid-xu

@doggisbag has given the kernel some love and now USB3 is functional again. So if a headless system with a recent kernel is what you want, here's the relevant thread:
viewtopic.php?f=73&t=38407&p=308581#top

I used the Arch image and the improved kernel to debootstrap a Debian 10 image which I've been using for a while now (albeit without much load most of the time).

@memeka has created some images which are still online:
https://oph.mdrjr.net/memeka/images/
They are based on kernel 3.4 iirc which is old but most hardware features work.
These users thanked the author Nuems for the post (total 2):
odroid_xu_relive (Thu Dec 17, 2020 7:40 am) • doggisbag (Thu Dec 17, 2020 10:31 am)

odroid_xu_relive
Posts: 5
Joined: Mon Dec 07, 2020 4:08 pm
languages_spoken: english
ODROIDs: ODROID_XU
ODROID_XU4Qx3
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Relive ODROID-XU with Ubuntu

Post by odroid_xu_relive »

Thank you @Nuems :)

I was browsing the web, and found also the ALARM for XU at the same time (initially I was rather looking for Ubuntu as I'm used to it). I was cooled by the fact it is headless ... I'll try anyhow, as the first intention is to have a working machine. Thx for the USB3 hack hint, and I don't know for the debootstrap (that I did not know), maybe later.

Ho ... GREAT ... Sure I'm trying now the work of @memeka, if I can have a working XU with a GUI at first, it will ease my use for the next steps (and then I'll probably come to the most recent kernel with ALARM), as I'm still not skilled to use vnc or rdp.

I'm trying these images (though a bit afraid of the state of the U-Boot ... should still be as shipped ... also found I can use a serial cable with the uart pins to watch the boot process with :
https://archlinuxarm.org/forum/viewtopi ... 47&t=14401
I'll probably use it), will give the results soon.

doggisbag
Posts: 36
Joined: Wed Nov 20, 2019 7:46 am
languages_spoken: english, spanish
ODROIDs: 2x Odroid-XU
Location: Chile
Has thanked: 24 times
Been thanked: 9 times
Contact:

Re: Relive ODROID-XU with Ubuntu

Post by doggisbag »

Hi @odroid_xu_relive,

I'm currently trying to support HDMI, based on work already done by hsnaves and suriyan to support xu in kernel 3.13 (~7 years old by now), so if all goes well, maybe we can have GUI on XU.

Anyways, for sakes of your needs, in this post it is stated that HDMI works for kernel version 3.13. The benefits of using that version are compatibility with functionalities required by newer Ubuntu releases (i think from 16.04 so on)

Here are some steps to create a bootable image based on above version.

odroid_xu_relive
Posts: 5
Joined: Mon Dec 07, 2020 4:08 pm
languages_spoken: english
ODROIDs: ODROID_XU
ODROID_XU4Qx3
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Relive ODROID-XU with Ubuntu

Post by odroid_xu_relive »

Hi,

:D

The board is clean and working !

I tangled up with the Alarm tuto (because of bsdtar unavailable on Ubuntu, tried to trick with tar, probably messed up the install, and moreover my sdcard wasn't clean), so the boot did not work, and I also tried Kodi from @memeka images, but I had nothing on display ... though leds followed a good path! So I looked for for the meaning of solid red + flashing blue : OS is running ?! Pressing Shift key : I had the Kodi background image :D Only trouble, I could not shutdown or reboot the XU via the menu -I know I should have searched for a terminal :( , so I switched it off by hand and ... the fs has probably been damaged, doesn't boot anymore (solid red and green > 10 minutes), but anyhow, the first check is passed.

So I don't understand why 14.04 LTS image failed ... I'll re-test maybe later with serial cable to understand.

I'm trying anew with Alarm (will find a workaround for bsdtar and format the sd first), so that I can use the XU with commands I know :)

Thank you @doggisbag for these hints : so in parallel I'll follow the guide to create a sd with kernel 3.13 and HDMI and test it, though it seems tougher (and using Xen isn't slightly consuming? But if it allows HDMI it's appreciable) : I'll be more comfortable with Ubuntu :)

doggisbag
Posts: 36
Joined: Wed Nov 20, 2019 7:46 am
languages_spoken: english, spanish
ODROIDs: 2x Odroid-XU
Location: Chile
Has thanked: 24 times
Been thanked: 9 times
Contact:

Re: Relive ODROID-XU with Ubuntu

Post by doggisbag »

Well, i think this is getting better. Now i have hdmi output. It is crappy possibly due to pll frequency mismatch, but anyways still be a progress.

With this in mind, it will be possible to have a recent kernel with more recent desktop ubuntu distribution :)
Image

Enviado desde mi SM-G935F mediante Tapatalk



odroid_xu_relive
Posts: 5
Joined: Mon Dec 07, 2020 4:08 pm
languages_spoken: english
ODROIDs: ODROID_XU
ODROID_XU4Qx3
Has thanked: 2 times
Been thanked: 0
Contact:

Re: Relive ODROID-XU with Ubuntu

Post by odroid_xu_relive »

@doggisbag Great!

From my side I'm troubleshooting my SD cards, since I don't always have the same result, and even sometimes a sd card (microSD) in the adapter does not appear back in my base Ubuntu system!
So currently :
https://odroid.in/ubuntu_14.04lts/ubunt ... 714.img.xz --> gives solid GREEN // both 8 & 32 SD (should I wait for more than 10 minutes?)
https://odroid.in/ubuntu_14.04lts/ubunt ... 224.img.xz --> solid RED // both 8 & 32 GB : OK, my mistake, haven't noticed it's for ODROID-X, not XU !!
https://odroid.in/ubuntu_14.04lts/ubunt ... 714.img.xz --> blinking BLUE // both 8 & 32 SD, so it's reassuring, both cards are working
https://oph.mdrjr.net/memeka/images/ubu ... -xu.img.xz --> bBLUE // 8 SD || sRED 32 SD : that was my first result, so maybe should I test anew, I may have missed something.

So just building Alarm SDs and testing now, and very eager to test your great work for a recent ubuntu (kernel I mean) on an ... "headness" system ? :D

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 2 guests