uuu flashing uboot on eMMC fail

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

uuu flashing uboot on eMMC fail

2,181 Views
floydbrown
Contributor I

imx8m mini custom board will load uboot to RAM and execute via "uuu -b spl imx-boot", but the command that came with the latest mfgtools git repo command "uuu -b emmc imx-boot" says success... however... the unit will not boot.

So it appears the nothing is burned, and I don't see where anything is erased...

(verbose output)

Wait for Known USB Device Appear...
New USB Device Attached at 1:2
1:2>Start Cmd:SDP: boot -f imx-boot
6400%1:2>Okay (0.439s)
New USB Device Attached at 1:2
1:2>Start Cmd:SDPV: delay 1000
1:2>Okay (1s)
1:2>Start Cmd:SDPV: write -f imx-boot -skipspl
100%1:2>Okay (1.9s)
1:2>Start Cmd:SDPV: jump
6400%1:2>Okay (1.002s)
New USB Device Attached at 1:2
1:2>Start Cmd:FB: ucmd setenv fastboot_dev mmc
1:2>Okay (0.192s)
1:2>Start Cmd:FB: ucmd setenv mmcdev ${emmc_dev}
1:2>Okay (0.004s)
1:2>Start Cmd:FB: ucmd mmc dev ${emmc_dev}
1:2>Okay (0.195s)
1:2>Start Cmd:FB: flash bootloader imx-boot
0x400000001:2>Okay (0.333s)
1:2>Start Cmd:FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;
1:2>Okay (0.004s)

But the uboot sequence works:

pcip=10.212.238.187;dhcp $loadaddr $pcip:imx-boot
mmc dev 2 && mmc info
mmc erase 42 1000
mmc write $loadaddr 42 $filesize

Any ideas?

uboot version: U-Boot 2019.04

mfgtools: 4b4684132e9e84186b2ea1a98139aa08738d7881

Thanks for any info.

0 Kudos
1 Reply

2,142 Views
igorpadykov
NXP Employee
NXP Employee

Hi Floyd

had custom board passed ddr test and new image was built

with new ddr calibration settings found from test

i.MX 8M Family DDR Tool Release 

uuu sample scripts can be found in Demo Images on link:

Embedded Linux for i.MX Applications Processors | NXP 

Other emmc programming options can be found on

https://boundarydevices.com/zeus-yocto-release-for-i-mx8mq/ 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos