We have tried to flash the IMX8MP BOARD using UUU-Tool in bootmode by executing the fastboot 0 command in the device then it went to flash-mode and detected the usb gadget. after that we executed the boot.lst script which will download the images like kernel image, initramfs and dtb . and then it will boot by using booti command and then to execute the emmc_burn_bsp.lst file we have issue after executing the boot.lst command using uuu tool it will load the kernel after that usb gadget is not recognizing .but it will work fine when we flash the image by keeping the device in flashing mode .so please guide us how to flash the IMX8MP device in bootmode by using fastboot command and what are the changes need to be done inorder to recognize the usb gadget after uuu -b boot.lst command below is the command executing in boot.lst:-
uuu_version 1.4.149
SDP: boot -f imx-boot
SDPS: boot -scanterm -f imx-boot
SDPU: delay 1000
SDPU: write -f imx-boot -offset 0x57c00
SDPU: jump
SDPV: delay 1000
SDPV: write -f imx-boot -skipspl
SDPV: jump
FB: ucmd setenv fastboot_buffer ${loadaddr}
FB: download -f Image
FB: ucmd setenv fastboot_buffer ${fdt_addr}
FB: download -f imx8mp.dtb
FB: ucmd setenv fastboot_buffer ${initrd_addr}
FB: download -f fsl-image-mfgtool-initramfs.cpio.gz.u-boot
FB: acmd booti ${loadaddr} ${initrd_addr}:${filesize} ${fdt_addr}
FB: Done
Hi @Ajayvk,
Thank you for contacting NXP Support.
Are you using our i.MX8MP EVK or a custom board?
Could you please explain me more about your building process and the image that you want to load?
Also, you can try using the UUU Tool built in scripts to flash the bootloader and rootfs.
Im using the IMX8MP CUSTOM BOARD . we are keeping the board to bootmode always by making force recovery pin to high .so by executing the fastboot 0 command in uboot in bootmode can we flash the device using UUU-Tool .if so what are the changes need to be done in UUU-Tool and in uboot please give a information about it .we are building the image in the .tar.bz2 extension which will contain packages required for us and we are using uboot 2020 version for the board we are building the image by yocto project so please give us the information how to flash the imx8mp board using uuu tool in bootmode .
Hi @Ajayvk,
Thank you for the information.
You can base on the UUU script distributed with our demo images as uuu.auto-imx8mpevk and use the .wic file that is an output from The Yocto Project build process.
For example, on our iMX8MP EVK the process to load the image uses the following command:
uuu -b emmc_all imx-image-full-imx8mpevk.wic
Please have a look to the following community thread about .wic file:
how can I generate .wic image by using u-boot, kernel image and rootfs in i.MX8QM - NXP Community
I hope this information will be helpful.
Have a great day!
Hi @Ajayvk,
Here is the link to the UUU tool and documentation.
Release Release uuu_1.5.125 · nxp-imx/mfgtools · GitHub
Have a great day!