What's the best image to boot an old U2?

Post Reply
Mundificant
Posts: 2
Joined: Wed Apr 29, 2020 6:43 am
languages_spoken: english
ODROIDs: Odroid Xu$ Odroid HC1 Odroid U2
Has thanked: 1 time
Been thanked: 0
Contact:

What's the best image to boot an old U2?

Post by Mundificant »

I have an Odroid U2 which I'd like to use as an MQTT server. I've been trying to boot Unbuntu images (14.4 and 18.04 from both a uSD and a 16GB EMMC.

Initially I had errors reported about the EMMC, missing boot files, etc., but after using the exynos4412_emmc_recovery_from_sd_20140629 image, the EMMC seemed to be in better shape. That said, I am unable to boot the ubuntu-18.04-4.17-minimal-odroid-x2-u2-u3-20180730.img file from either a uSD card or the EMMC. Below is the console log of an EMMC boot:

-----------------------------------------------------------------------
OK

U-Boot 2010.12-svn (May 12 2014 - 15:05:46) for Exynox4412


CPU: S5PC220 [Samsung SOC on SMP Platform Base on ARM CortexA9]
APLL = 1000MHz, MPLL = 880MHz
DRAM: 2 GiB

PMIC VERSION : 0x00, CHIP REV : 3
TrustZone Enabled BSP
BL1 version: 20121128


Checking Boot Mode ... EMMC4.41
REVISION: 2.0
Manufacture ID 0x11 [ 15028MB ]
NAME: S5P_MSHC4
MMC Device 0: 15028 MB
MMC Device 1: 0 MB
MMC Device 2 not found
*** Warning - using default environment

USB3503 NINT = OUTPUT LOW!
ModeKey Check... run normal_boot
No ethernet found.
Hit any key to stop autoboot: 0
do_fat_cfgload : cmd = fatload mmc 0:1 0x41000000 boot.ini
reading boot.ini
9650 bytes read in 21 ms (448.2 KiB/s)
Find boot.ini file. But This file is not odroid4412 config file!
NAME: S5P_MSHC4
NAME: S5P_MSHC4
>>> Load Boot Script from mmc 0:1 <<<
reading boot.scr
Warning : Reads a file that is smaller than the cluster size.
550 bytes read in 33 ms (15.6 KiB/s)
## Executing script at 40008000
** Bad device size - mmc 1 **
reading zImage
6868360 bytes read in 43 ms (152.3 MiB/s)
** Bad device size - mmc 1 **
reading uInitrd
8187841 bytes read in 56 ms (139.4 MiB/s)
** Bad device size - mmc 1 **
reading exynos.dtb
53441 bytes read in 27 ms (1.9 MiB/s)
Unknown command 'bootz' - try 'help'
Exynos4412 #
-----------------------------------------------------------------------

Not sure what to do next. Maybe find an old (vintage), Ununtu image to write to the EMMC, then upgrade?

Any type of Linux would suit me fine, doesn't need to be Ubuntu.

FYI, I have an XU4 and an HC1 Nas server running Ubuntu 18.04 just fine.

Any help would be appreciated.

Thanks.

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

Re: What's the best image to boot an old U2?

Post by odroid »

Can you boot this OS image ubuntu-16.04-mate-odroid-u2u3-20160920.img.xz from eMMC?
https://odroid.in/ubuntu_16.04lts/
These users thanked the author odroid for the post:
Mundificant (Thu Apr 30, 2020 12:49 pm)

Mundificant
Posts: 2
Joined: Wed Apr 29, 2020 6:43 am
languages_spoken: english
ODROIDs: Odroid Xu$ Odroid HC1 Odroid U2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: What's the best image to boot an old U2?

Post by Mundificant »

OMG! Brilliant: Iit worked!?

What made you suggest that? I'm relatively new to Odroids, although knowledgeable Unix hacker, perhaps weakest in Linux.

I notice that on the site you mentioned above, there is now 18.04 version for the U2/U3... is there a reason for this that you know of? I am wondering if it might be possible to go through a successful update process. No harm trying I guess, as I can always retreat to the 16.04 version you pointed to me (thanks again for that.)

I would like to understand the structure of the EMMC partitioning, and how uboot(?) works.

I now appear to have a healthy, functional U2... whoopee! That's $5 well spent.

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

Re: What's the best image to boot an old U2?

Post by odroid »

Because we discontinued the U2/U3 over five years ago, it is very hard to recall the reasons. :(

Anyway, refer the u-boot source code and build guide.
https://wiki.odroid.com/old_product/odr ... ing_u-boot

User avatar
meveric
Posts: 11571
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, GoA v1.1, H2+, HC4, GoS
Has thanked: 70 times
Been thanked: 483 times
Contact:

Re: What's the best image to boot an old U2?

Post by meveric »

The original Kernel was a Kernel 3.8 for the Exynos 4 series of ODROIDs.
That Kernel was no longer fully compatible with systemd and some kernel features uses in programs that run on Ubuntu 18.04 (needs at least Kernel 3.16).

Fun Fact:
By now everything should be opensource to run a Exynos 4 board (except for BL1 and partly BL2 of the boot stage)
LIMA opensource GPU drivers (for Mali 400 and 450) are part of the Kernel, as well as MESA drivers (MESA 19.1 and higher), which should give the device even OpenGL 2.0 support (not just OpenGL ES).
The MFC video decoder by now is also part of the ffmpeg v4l2_m2m driver and with that open source.

So basically if you have latest OS with latest drivers for MESA, and Kernel, the board should pretty much run out of the box.
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.

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 2 guests