AnsweredAssumed Answered

How to use mfgtoolv2 to flash eMMC

Question asked by Dawei Chen on Oct 11, 2016
Latest reply on Oct 12, 2016 by Dawei Chen

My plan is to use the mfgtool to program my image to the eMMC and my board is an i.MX7 SABRE SDB.

 

By looking at the ucl2.xml, I assume I need to supply the 5 files for programming the eMMC device on an i.MX7SABRE SDB.

../firmware/u-boot-imx7d%7duboot%_sd.imx

../firmware/zImage

../firmware/%initramfs%

../firmware/zImage_imx7d-%7ddtb%

..files/rootfs_nogpu.tar.bz2

 

What's the appropriate sequence of bitbake commands i need to run to get the files I need for programming the eMMC?

Do I execute the following two commands below

 

$ bitbake fsl-image-machine-test    (create a BSP image)

$ bitbake fsl-image-mfgtool-initramfs  (create a initramsfs)

 

or

 

$ bitbake fsl-image-machine-test

$ bitbake linux-imx-mfgtool

$ bitbake u-boot-mfgtool

$ bitbake fsl-image-mfgtool-initramfs

 

Do I need to worry about "The Freescale Yocto Project User's Guide, Section 5.5 U-Boot eMMC configuration" ?

 

Thank you very much,

 

Dawei

Outcomes