Closed paralin closed 2 years ago
https://forum.odroid.com/viewtopic.php?f=181&t=44992
SKIFF_CONFIG=odroid/n2
... we use amlogic-boot-fip https://github.com/LibreELEC/amlogic-boot-fip/ and the instructions from https://github.com/u-boot/u-boot/blob/master/doc/board/amlogic/odroid-n2.rst to build u-boot & sign it.
This works & boots fine on the SD card, but on the emmc, while u-boot starts successfully,
Model: Hardkernel ODROID-N2 SoC: Amlogic Meson G12B (S922X) Revision 29:c (40:2) DRAM: 3.8 GiB Core: 389 devices, 27 uclasses, devicetree: separate MMC: sd@ffe05000: 0, mmc@ffe07000: 1 Loading Environment from nowhere... OK In: serial Out: serial Err: serial Board variant: n2-plus Net: eth0: ethernet@ff3f0000 Hit any key to stop autoboot: 0 Card did not respond to voltage select! : -110 switch to partitions #0, OK mmc1(part 0) is current device Scanning mmc 1:1... Found U-Boot script /boot.scr 1193 bytes read in 1 ms (1.1 MiB/s) ## Executing script at 08000000 Error reading cluster ** Unable to read file Image ** Failed to load 'Image' ** No partition table - mmc 1 ** Couldn't find partition mmc 1:1 Can't set block device ** No partition table - mmc 1 ** Couldn't find partition mmc 1:1 Can't set block device libfdt fdt_check_header(): FDT_ERR_BADMAGIC
... the boot to the emmc fails with "No partition table - mmc 1"
Using msdos partition table format.
This works fine on the MicroSD but not EMMC. I think it might be due to faulty emmc clock settings in mainline u-boot
I'm glad to report that it's working now after changing the flash commands slightly & also dropping some patches I had that were unnecessary for this board:
https://github.com/skiffos/skiffos/compare/6dbf057169c8c7e80cb7604ace131f4dcdd9e2df...0a6d262#diff-bf7a9bf93f32c260c34415a4550e6dac1ef42534d05631a01452b0f82b72bcf5R32
https://forum.odroid.com/viewtopic.php?f=181&t=44992
SKIFF_CONFIG=odroid/n2
... we use amlogic-boot-fip https://github.com/LibreELEC/amlogic-boot-fip/ and the instructions from https://github.com/u-boot/u-boot/blob/master/doc/board/amlogic/odroid-n2.rst to build u-boot & sign it.
This works & boots fine on the SD card, but on the emmc, while u-boot starts successfully,
... the boot to the emmc fails with "No partition table - mmc 1"
Using msdos partition table format.
This works fine on the MicroSD but not EMMC. I think it might be due to faulty emmc clock settings in mainline u-boot