Hello,
I have done some change into u-boot source and rebuild using yocto scrathgap-7.4.0.
the I have tried to flash the mmc0 with the new object using the u-boot command.
First I wrote the file deploy/images/colibri-imx8x/imx-boot-colibri-imx8x-sd.bin-flash into a SDcard into a /boot/colibri-imx8x/imx-boot-colibri-imx8x-sd.bin-flash.
Then on the u-boot console i have done this command:
mmc dev 1
load mmc 1:1 ${loadaddr} /boot/imx-boot-colibri-imx8x-sd.bin-flash
echo ${filesize} ==>1192960 bsz ==>0x91B
crc32 ${loadaddr} ${filesize} ==> 3b9a972a
setexpr blks ${filesize} + 0x1FF
setexpr blks ${blks} / 0x200
mmc dev 0
mmc partconf 0 1 1 1
mmc write ${loadaddr} 0x0 ${blks}
mmc read ${loadaddr} 0x0 ${blks}
crc32 ${loadaddr} ${filesize} ==> 3b9a972a
But when I have rebooted the board get this message:
U-Boot 2024.04-7.4.0-devel+git.cf50ed467107 (Aug 05 2025 - 15:22:26 +0000)
CPU: NXP i.MX8QXP RevC A35 at 1200 MHz at 37C
DRAM: 2 GiB
Core: 249 devices, 24 uclasses, devicetree: separate
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC… OK
In: serial
Out: serial
Err: serial
Model: Toradex 0050 Colibri iMX8QXP 2GB IT V1.0D
Serial#: 14791387
Boot: MMC0
Reset cause: POR
BuildInfo:
- SCFW 83624b99, SECO-FW c9de51c0, IMX-MKIMAGE 81fca643, ATF lf-6.6.
- U-Boot 2024.04-7.4.0-devel+git.cf50ed467107
flash target is MMC:0
Net: eth0: ethernet@5b040000 [PRIME]
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1…
Found U-Boot script /boot.scr
7045 bytes read in 4 ms (1.7 MiB/s)
Executing script at 83200000
Now Try to run New boot.scr new
variable upgrade_requested :
Loading DeviceTree: imx8qxp-colibri-eval-v3.dtb
73888 bytes read in 5 ms (14.1 MiB/s)
14 bytes read in 2 ms (6.8 KiB/s)
Working FDT set to 83100000
8280043 bytes read in 191 ms (41.3 MiB/s)
Uncompressed size: 20255232 = 0x1351200
Bootargs: irqaffinity=0,1,2 isolcpus=3 nohz_full=3 rcu_nocbs=3 root=PARTUUID=076c4a2a-02 ro rootwait console=tty1 console=ttyLP3,11520
Flattened Device Tree blob at 83100000
Booting using the fdt blob at 0x83100000
Working FDT set to 83100000
Loading Device Tree to 00000000fd63a000, end 00000000fd66ffff … OK
Working FDT set to fd63a000
/bus@59000000/dma-controller@591f0000, 19876
/bus@59000000/dma-controller@599f0000, 23908
/bus@5a000000/dma-controller@5a1f0000, 30916
/bus@5a000000/dma-controller@5a1f0000, 30916
/bus@5a000000/dma-controller@5a9f0000, 37172
Starting kernel
And the boot stop.
Please what is wrong.
Thank you
Best regards
Flavio Gobber