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
Hi Dawei
for programming images to i.MX7 SABRE SDB
files in /firmware should not be touched and bitbaking
*mfgtool* is not needed, as these files are already prepared
for use with that board (it is mfg tools application itself).
Images which programmed on sd, emmc or other media are
located in ../files folder. They should be replaced with new built files.
>Do I need to worry about "The Freescale Yocto Project User's Guide,
>Section 5.5 U-Boot eMMC configuration" ?
no, the U-Boot build uses SD boot (the same for emmc) by default.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi igor,
Thank you very much for your help. I am not load my own BSP image to the i.MX7SABRE SDB now.