why both *.bin-flash_evk and and *.sdcard images need to flash

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

why both *.bin-flash_evk and and *.sdcard images need to flash

1,315 Views
hardikrathore
Contributor II

Hi,

I am using the uuu tool to flash the Yocto image

$ ./uuu -b sd_all imx-boot-imx8mmevk-sd.bin-flash_evk fsl-image-validation-imx-imx8mmevk.sdcard

So what is roll of these both images and why we use two images instead of just one emmc image?

 

Also please share if any document explaining the same?

Thanks ,

Hardik

0 Kudos
1 Reply

1,281 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hi,

  imx-boot-imx8mmevk-sd.bin-flash_evk  is  used to boot board.

  fsl-image-validation-imx-imx8mmevk.sdcard  is full image including bootloard, dtb,kernel & rootfs.

The command , ./uuu -b sd_all imx-boot-imx8mmevk-sd.bin-flash_evk fsl-image-validation-imx-imx8mmevk.sdcard  is the same function as 'uuu uuu.atuo'.

If you open uuu.auto script, you can know detailed messages.

..................

uuu_version 1.2.39

# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ
SDP: boot -f imx-boot-imx8mmevk-sd.bin-flash_evk

# This command will be run when ROM support stream mode
# i.MX8QXP, i.MX8QM
SDPS: boot -f imx-boot-imx8mmevk-sd.bin-flash_evk

# These commands will be run when use SPL and will be skipped if no spl
# SDPU will be deprecated. please use SDPV instead of SDPU
# {
SDPU: delay 1000
SDPU: write -f imx-boot-imx8mmevk-sd.bin-flash_evk -offset 0x57c00
SDPU: jump
# }

# These commands will be run when use SPL and will be skipped if no spl
# if (SPL support SDPV)
# {
SDPV: delay 1000
SDPV: write -f imx-boot-imx8mmevk-sd.bin-flash_evk -skipspl
SDPV: jump
# }

FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev ${emmc_dev}
FB: ucmd mmc dev ${emmc_dev}
FB: flash -raw2sparse all imx-image-multimedia-imx8mmevk.wic
FB: flash bootloader imx-boot-imx8mmevk-sd.bin-flash_evk
FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;
FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0
FB: done

-------------------------------------------------

here 'imx-image-multimedia-imx8mmevk.wic'  is the full image, same as .sdcard

 

Hope this information is helpful to you.

Have a nice day!

B.R,

Weidong

0 Kudos