hi all,
now I am playing maaxboard emmc version which porting from imx8mqevk board .
I use uuu tool to burn image into emmc. it's not like sc card, I can use balenaEtcher to burn all files in sd card with file :fsl-image-validation-imx-imx8mqevk-20201124152610.rootfs.sdcard.bz2(after unzip is fsl-image-validation-imx-imx8mqevk-20201124152610.rootfs.sdcard)
it seems uuu tool can not burn all files together, it need to burn u-boot separately as below script:
****
uuu_version 1.3.154
SDP: boot -f u-boot-imx8m-uuu.imx
# This command will be run when use SPL
SDPU: delay 1000
SDPU: write -f u-boot-imx8m-uuu.imx -offset 0x57c00
SDPU: jump
# This command will be run when ROM support stream mode
SDPS: boot -f download/u-boot.imx
FB: ucmd printenv
FB: ucmd mmc dev
FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev ${emmc_dev}
FB: ucmd mmc dev ${emmc_dev}
# erase environment variables of uboot
FB: ucmd mmc erase 0x2000 0x8
FB: flash -raw2sparse all download/fsl-image-validation-imx-imx8mqevk-20201124152610.rootfs.sdcard
FB: flash bootloader download/u-boot-imx8mqevk.bin. ##(maybe not this file)
FB: ucmd mmc partconf ${emmc_dev} 0 1 0
FB: done
*****
but I do not know which one is the u-boot image I can separately burn it
in yocto image folder ,there are some files:
tmp/deploy/images/imx8mqevk
u-boot.bin u-boot-imx8mqevk.bin u-boot-sd-2018.03-r0.bin u-boot-spl.bin-imx8mqevk u-boot-spl.bin-imx8mqevk-sd
u-boot.bin-sd u-boot-imx8mqevk.bin-sd u-boot-spl.bin u-boot-spl.bin-imx8mqevk-2018.03-r0-sd-2018.03-r0 u-boot-spl.bin-sd
my u-boot support optee in sd card.
my question:
1. which is the correct u-boot image?
2. can I use one file fsl-image-validation-imx-imx8mqevk-20201124152610.rootfs.sdcard to burn into emmc with uuu tool same as burning sdcard? if possible, what is the script?
Thank you.
Solved! Go to Solution.
the separated u-boot data of mine is imx-boot-imx8mqevk-sd.bin-flash_ddr4_em
hi
of cos u can use built-in scripts to do flashing like this :
uuu -b emmc_all bootloader rootfs.sdcard.bz2/* #Decompress rootfs whole image and burn into emmc (since 1.1.87), build-in scriipts
for ur case such like
uuu -b emmc_all imx-boot-imx8mqevk-sd.bin-flash_ddr4_em fsl-image-validation-imx-imx8mqevk-20201124152610.rootfs.sdcard.bz2/*
thank you please try it and let mi know
thinks, I will try.
now I am using sdcard version.
maybe some days later I will use emmc version
no problem we are here just sharing and help . for sdcard almost same . all used built-in scripts such as :
Built-in script
uuu -b emmc bootloader Write bootloader to emmc
uuu -b emmc_all bootloader rootfs.sdcard Write rootfs to emmc
uuu -b emmc_all bootloader rootfs.sdcard.bz2/* Decompress rootfs and write -
rootfs to emmc
uuu -b sd bootloader Write bootloader to sd card
uuu -b sd_all bootloader rootfs.sdcard Write rootfs to sd card
uuu -b sd_all bootloader rootfs.sdcard.bz2/* Decompress rootfs and write -
rootfs to sd card
uuu -b qspi qspi_bootloader write bootloader to qspi
uuu -b qspi qspi_bootloader m4image write m4image to qpsi
uuu -b spl bootloader Download SPL and uboot
hope u sucessful.
thanks
the separated u-boot data of mine is imx-boot-imx8mqevk-sd.bin-flash_ddr4_em