I am using a custom board and tried to flash SoM via UUU tool 1.5.21. Since the emmc_burn_all script was not working I tried the shell mode.
I can start the device in U-boot but it does not execute ucmd as it will be used to flash the image.
Please input command:
U>SDPS: boot -f _flash.bin
>Start Cmd:SDPS: boot -f _flash.bin
New USB Device Attached at 1:11
100%1:11>Okay (2.953s)
Okay
U>FB: ucmd setenv fastboot_dev mmc
1:11>Start Cmd:FB: ucmd setenv fastboot_dev mmc
Wait for Known USB \
Does anyone has a working script to flash an image on iMX8MP?
Using ./uuu -lsusb still show usb device on host.
Does anyone know why it stuck after flashing u-boot?
BR
Holger
Hi Sanket Parekh,
thanks for reply. I already tried this command and attach now the logs.
We are using the USB-C 3.0 port. Our schematic is different to reference design, anyhow it transfers flash.bin and start decive and within Linux can access the usb port as mass storage, network device or attaching other devices as well - assume should be okay.
The uuu tool can start u-boot on the device in fast boot mode.
on the u-boot console I can run the the commands. The uuu tool cannot pass u-boot commands via usb-c connection. e.g.
FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev ${emmc_dev}
FB: ucmd mmc dev ${emmc_dev}
In shell mode after passing FB: ucmd setenv fastboot_dev mmc the uuu tool hang on Wait for know USB.
When closing uuu tool and start uuu -lsusb the device is still recogniced as at the beginning.
Best regards
Holger
Hi @Holger75 ,
I hope you are doing well.
One can use the below command.
uuu -b emmc_all <bootloader> <rootfs.wic>
Could you please specify which USB port is used while serial downloading and the difference between the custom board and reference EVK design?
Are there any logs visible on debug console?
Thanks & Regards,
Sanket Parekh