AnsweredAssumed Answered

How to use mfgtool 2 (L3.14.52_1.1.0) to flash eMMC on an imx7sabre sdb

Question asked by Dawei Chen on Oct 3, 2016
Latest reply on Nov 30, 2016 by Wayne Lou

Hi NXP,

 

I have an i.MX7 SABRE SDB with an eMMC memory chip installed (SD3 port).  I would like to use the Yocto Build system to create a Linux /BSP boot image for i.MX7SBARD SDB and flash the boot image to the eMMC chip.

 

Here is what I have done.

1. Downloaded and installed L3.14.52_1.1.0_ga-mfg-tools from NXP.

3. Set SW3 on the SDB to enable the serial download for mfgtool.

4. Leave UICfg.ini in default setting.

5. Modified the default cfg.ini - changed [LIST] "name" and [variable] "mmc"

6. Executed MftTool2.exe and got an error code 4.  (I was hoping to program the pre-built image that came with the mfgtool)

 

Questions:

1. What bitbake commands  I need to run to create the binary files for the eMMC chip?

       a. So far I have only run "bitbake fsl-image-machine-test" to generate a SDCARD image.

2. What additional files I need to get the L3.14.52_1.1.0_ga-mfg-tools to program the binary files to eMMC?

3. Could NXP help with the cfg.ini file?

4. Is there a good document that explains how to modify cfg.ini file?  Documents from the mfgtool package appear to be too simplified.  Example: there is no discussion on the [variable] section.

 

Thank you very much,

 

 

===========

cfg.ini file

============

[profiles]
chip = Linux

[platform]
board = SabreSD

[LIST]
name = eMMC

[variable]
board = sabresd
mmc = 2
sxuboot=17x17arm2
sxdtb=17x17-arm2
7duboot=sabresd
7ddtb=sdb
6uluboot=14x14ddr3arm2
6uldtb=14x14-ddr3-arm2
ldo=
plus=
initramfs=fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot
seek = 1
sxnor=qspi2
7dnor=qspi1
6ulnor=qspi1
nor_part=0

Outcomes