AnsweredAssumed Answered

configure u-boot/imx-boot for flashing to emmc using uuu

Question asked by richardcagley on Jul 31, 2020
Latest reply on Aug 2, 2020 by richardcagley

I have a Boundary Devices i.mx8m mini board. I'm trying to flash the bootloader to emmc. I recognize I should be able to use the following command. I'm not entirely sure what image "bootloader" is supposed to be but I get a file imx-boot-nitrogen8mm-sd.bin-flash_evk in my deploy folder that is 1030716 bytes so I think that's about the right size

uuu -b emmc bootloader

This doesn't work as it just seems to load u-boot then runs the kernel so uuu just hangs.


My question is what do I need to change in the u-boot image so that after the jump it enters fastboot mode rather than just continuing on with the kernel? Below are also the raw commands I've tried, which I think are the same as what the above command essentially does


uuu_version 1.0.1


SDPS: boot -f imx-boot
SDPV: delay 1000
SDPV: write -f imx-boot -offset 0x57c00
SDPV: jump
SDP: boot -f imx-boot

FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev ${emmc_dev}
FB: ucmd mmc dev ${emmc_dev}
FB: flash bootloader imx-boot
FB: ucmd mmc partconf ${emmc_dev} 0 1 0
FB: done