[BUG] mx6cuboxi : broken MMC support
Fabio Estevam
festevam at gmail.com
Sun Oct 11 16:18:10 CEST 2020
Hi François,
On Sun, Oct 11, 2020 at 5:08 AM François Perrad
<francois.perrad at gadz.org> wrote:
> After changing the 3 occurrences of "mmc 0:1",the fdt file and kernel are not correctly loaded.
> (nothing happens after the message "Starting kernel ...")
>
> Here the full log :
>
> U-Boot SPL 2020.07 (Oct 11 2020 - 09:41:04 +0200)
> WDT: Not found!
> Trying to boot from MMC1
>
>
> U-Boot 2020.07 (Oct 11 2020 - 09:41:04 +0200)
>
> CPU: Freescale i.MX6SOLO rev1.3 996 MHz (running at 792 MHz)
> CPU: Commercial temperature grade (0C to 95C) at 38C
> Reset cause: POR
> Board: MX6 Cubox-i
> DRAM: 512 MiB
> MMC: FSL_SDHC: 1, FSL_SDHC: 2
> Loading Environment from MMC... *** Warning - bad CRC, using default environment
>
> No panel detected: default to HDMI
> Display: HDMI (1024x768)
> In: serial
> Out: serial
> Err: serial
> Net:
> Warning: ethernet at 2188000 using MAC address from ROM
> eth0: ethernet at 2188000
> Hit any key to stop autoboot: 0
> switch to partitions #0, OK
> mmc1 is current device
> Scanning mmc 1:1...
> Found U-Boot script /boot/boot.scr
> 336 bytes read in 13 ms (24.4 KiB/s)
> ## Executing script at 12000000
> 8552176 bytes read in 427 ms (19.1 MiB/s)
> ERROR: Did not find a cmdline Flattened Device Tree
>
> Starting kernel ...
I don't have access to a mx6cubox-i at the moment.
Does it boot if you manually if you reach the U-Boot prompt and do:
mmc dev 1
setenv finduuid "part uuid mmc 1:1 uuid"
run finduuid
run findfdt
setenv bootargs "console=ttymxc0,115200 root=PARTUUID=${uuid} rootwait
rootfstype=ext4"
saveenv
load mmc 1:1 ${fdt_addr} boot/${fdtfile}
load mmc1:1 ${loadaddr} boot/zImage
bootz ${loadaddr} - ${fdt_addr}
Thanks,
Fabio Estevam
More information about the U-Boot
mailing list