I have several Odroids already running with SD cards.
I am flashing a eMMC module by hard kernel. (the same manufacturer) with Balena Etcher.
The exact same img as an sd card.
However I get this error before boot:
`U-Boot 2017.05-15377-gedb23d4 (Aug 24 2017 - 07:09:51 -0300) for ODROID-XU4
CPU: Exynos5422 @ 800 MHz
Model: Odroid XU4 based on EXYNOS5422
Board: Odroid XU4 based on EXYNOS5422
Type: xu4
DRAM: 2 GiB
MMC: EXYNOS DWMMC: 0, EXYNOS DWMMC: 1
MMC Device 0 (eMMC): 14.6 GiB
Info eMMC rst_n_func status = enabled
Card did not respond to voltage select!
mmc_init: -95, time 11
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: No ethernet found.
Press quickly âEnterâ twice to stop autoboot: 0
reading boot.ini
** Unable to read file boot.ini **
cfgload: no boot.ini or empty file
mmc block read, dev 0, addr 0x40008000, blk start 2047, blk cnt 16384
Bad Linux ARM zImage magic!`
Please refer to this table here.
The offset for the u-boot environment depends on the u-boot version. The difference between ÂľSD and eMMC is one sector.
The third parameter in `/etc/fw_env.config´ defines the block size. Please try
For details I enabled support access to a device with a serial uart connection to the affected device:
32d2252ad3e2fbcad3a5da1f027d8086
I donât know how to create a serial connection in linux but feel free to use the main container to mess around in if you need to apt install something.
Usually for a new device type release, it will need to go through a testing phase. Currently it looks like the 2.38.3+rev2 version is on staging, so you might be able to test against that if you donât want to build yourself. I think the testing should happen over the next few days, so with any luck it will be in production by the end of the week or early next.
Where can I find the staging version to download?
My build is nearly finished. Am I correct in assuming I can just replace the config.json and it will get added to one of my applications?
Hey @taclog yeah that colorful page is awesome the staging version can be found at https://dashboard.balena-staging.com . But you will need to create a separate account there. That is our testing instance, so what I would do is get the image from staging and then as you said, replace the config.json with the one from your production app. Then it will automatically join that app when booted.
Greetings future people.
After working with the great people at Balena for a good amount of time. We got this working!
There are some instructions required that I havenât seem Balena post anywhere yet so I will let them do that.
However, please note. We have had a mixed bag of success. The official hard kernel emmc modules fail to flash correctly and become corrupted about 50 percent of the time. I am talking about these ones.
The second command will show a âNo space left on deviceâ error. Donât worry about it.
6 - Power off the board, by running âshutdown -h nowâ in the dashboard hostOS webterminal, unplug power, extract the SD card, switch the boot switch to eMMC boot, plug power cable back in and your board should boot from eMMC now.
Now that I have done this on a good two hundred I feel comfortable sharing my various hacks to make this faster.
Just if anyone needs to do alot of these quickly.
First, create your first Emmc with a development version of Belana OS using Florionâs method.
Second get a Uart debugging kit for the Odroid or hack one for something else to plug into the right pins.
Boot that first board on the Emmc, connect the debugging and log in as root. It is much faster to do this directly via uart because you get to see the dmesg log of the emmc installation and removal.
For each emmc you have to apply this:
Connect it to the sd to emmc adapter
Carefully and evenly plug it into the sd card slot
Apply this modified command:
echo 0 > /sys/block/mmcblk1boot0/force_ro
dd if=/dev/mmcblk1 of=/dev/mmcblk1boot0 bs=512 skip=1
sync
Pull the emmc out after waiting a few seconds after sync. Repeat, 10-15 seconds each
I have yet to ruin any Emmc by doing it without a shutdown. However, some Emmc have come to me corrupted. I have about a 2 percent loss rate before I even touch them. The dmesg log will spit out all kinda error messages when you plug in a bad emmc and in Uart mode this appears right in the same terminal. You could just check the dmesg each time if you were using an ssh tunnel.
Good luck to anyone that goes this way. I have no Emmc related problems to report yet.
-Thomas
Notes and links: This emmc was very unreliable for us. This emmc that is much better This is the sd card to emmc that works.