2020 Posted January 26, 2021 Posted January 26, 2021 Image used Armbian_20.11.10_Odroidc4_focal_current_5.9.14_desktop.img It works with micro SD (eMMc not inserted) Not booting with eMMc (SD not inserted), With SD & eMMC, system boot from SD .. . I tried nand-sata-install -> "Update bootloader" script same problem. see the attached output error from my monitor
danbian Posted January 28, 2021 Posted January 28, 2021 In preparation for my internet being locked down, I made a backup image of my existing odroid C4 Armbian operating system serving Emby. I then use that image and wrote it to an emmc module, inserted it into another odroid C4 and I CAN get emby to work using localhost but networking is hosed. Any suggestions? I don't have direct access to the internet through the C4 but I do have access to the internet via a windows 10 laptop. Thanks
mar0ni Posted January 29, 2021 Posted January 29, 2021 (edited) I am also having problems booting a C4 from EMMC. The Armbian image I am using is the latest, "Armbian_20.11.10_Odroidc4_focal_current_5.9.14_desktop". So, what I am wondering, even it sounds like a silly question to myself, what is the correct way of installing and booting Armbian to/from EMMC? I used to do it the following way, which is working on e.g. my NanoPi Neo Plus2. etch the Armbian image to a SD card boot from SD, initial setup with root pwd, user do an apt update and apt upgrade install/update the bootloader shutdown SBC insert EMMC and boot using armbian-config/System/Install, copy system to EMMC using "Boot from emmc - system on emmc" shutdown SBC remove SD card (try to) boot And here the boot process gets stuck. The C4 tries to boot at first emmc which cannot be found, I guess. See screenshot below. Then it is trying USB and then ethernet and gets stuck after some retries. What am I missing here or doing wrong? If I re-insert the SD card, the C4 boots from SD card, and the emmc can be mounted. AFAIK, booting should be possible w/o SD card and only emmc. I also tried to etch the image directly to mmc with an adapter, but this is also not working/booting.(BTW, is this process supported at all?) Edited January 29, 2021 by mar0ni attached screenshot
Igor Posted January 30, 2021 Posted January 30, 2021 On 1/29/2021 at 1:58 PM, mar0ni said: I also tried to etch the image directly to mmc with an adapter, but this is also not working/booting FYI. Running C4 from eMMC http://ix.io/2NLX
mar0ni Posted January 30, 2021 Posted January 30, 2021 @IgorTo be honest, I do not get your answer. Is this proof that it should work to boot from emmc w/o sd card inserted. That is what I expected, but how to install Armbian to emmc. What is the correct procedure? Obviously for me and @2020it is not working with the latest image or what am I doing wrong?
Igor Posted January 31, 2021 Posted January 31, 2021 3 hours ago, mar0ni said: Is this proof that it should work to boot from emmc w/o sd card inserted. If you burn latest image to eMMC attached to the adaptor and attach it to the board, it works. 3 hours ago, mar0ni said: what am I doing wrong? No idea.
mar0ni Posted January 31, 2021 Posted January 31, 2021 Thanks @Igor, then I will keep trying. At least I know now what should actually work
2020 Posted January 31, 2021 Author Posted January 31, 2021 I tried Armbian_21.02.0-trunk.80_Odroidc4_focal_current_5.10.10_xfce_desktop and it is not booting, same problem.
Igor Posted January 31, 2021 Posted January 31, 2021 5 minutes ago, 2020 said: I tried Armbian_21.02.0-trunk.80_Odroidc4_focal_current_5.10.10_xfce_desktop and it is not booting, same problem. This I tried: https://imola.armbian.com/dl/odroidc4/archive/Armbian_20.11.10_Odroidc4_focal_current_5.9.14.img.xz Burned directly to emmc and without any sd card in the slot. Running low on ideas .
mar0ni Posted February 1, 2021 Posted February 1, 2021 Some updates. I tried the same process of burning (flash image using Etcher on a Winsucks laptop with emmc connected using adapter) the Hardkernel Ubuntu Mate (ubuntu-20.04-4.9-mate-odroid-c4-hc4-20201020.img.xz) image and this is booting the C4 from emmc without an SD card inserted with no problems. So, this tells me, the way I am doing it is basically right and also my hardware, the adapter and emmc is working as it should. But NO Armbian image is booting. And I tried current focal mainline desktop, current focal mainline minimal, nightly/test build XFCE, and legacy. Is there any way to debug this on my side to get more information about this problem? Another question, the output you can see on the pictures above from me and 2020, is this output of U-Boot?
2020 Posted February 1, 2021 Author Posted February 1, 2021 Tested this morning! I tried with other OS with the same methode direct on my USB EMMC Module Writer attached to my Ubuntu computer. ubuntu-20.04-4.9-minimal-odroid-c4-hc4-20201212: OK DietPi_OdroidC4-ARMv8-Buster: OK CoreELEC-Amlogic-ng.arm-9.2.5-Odroid_C4: OK selfinstall-odroidc4-49-64bit-20210108: OK Manjaro ARM 20.12: OK ArchLinuxARM Image Generator: Fail Armbian_20.11.10_Odroidc4_focal_current_5.9.14: Fail
Solution Igor Posted February 1, 2021 Solution Posted February 1, 2021 Armbian is (probably) the the only distribution that doesn't use u-boot from 2015. All others are still using stock private Hardkernel boot loader ... We try to get rid of vendors dirty security hazardous code as soon as possible and problems as such is the price that we need to pay. Currently we use u-boot based on 2020.xx, but it looks like it's possible that we need the one from 2021 as this is the case with C2. Some eMMC needs this. Mine obviously don't since it works without any intervention. Try this image: https://users.armbian.com/igorp/images/Armbian_21.02.0-trunk_Odroidc4_focal_current_5.10.12.img.xz 3
Igor Posted February 1, 2021 Posted February 1, 2021 37 minutes ago, 2020 said: It WORKS, :-) Great!!!
Genna Posted February 1, 2021 Posted February 1, 2021 I can confirm that it works on my C4 with the orange 32 gig emmc v0.5 as well.
Recommended Posts