writing eMMC with MFGTool 3.10.53 got errors.

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

writing eMMC with MFGTool 3.10.53 got errors.

Jump to solution
1,281 Views
JHY
Contributor IV

Maybe I miss something to configure Mfgtool.

Where can I find references writing eMMC with MFGTool?

Is it hard to work for writing eMMC?

SD Card slot works fine but only eMMC doesn't.

imx-3.10.53_1.1.0_ga-mfg-tools has default setting like below.

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

[profiles]
chip = Linux

[platform]
board = SabreSD

[LIST]
name = SDCard

[variable]
board = sabresd
mmc = 0
sxuboot=17x17arm2
sxdtb=17x17-arm2
ldo=

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

I need eMMC boot so edit cfg.ini

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

[profiles]
chip = Linux

[platform]
board = SabreSD

[LIST]
name = eMMC

[variable]
board = sabresd
mmc = 0

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

It has an error and MfgTool.log is below.

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

DLL version: 2.3.3

Monday, July 06, 2015 13:36:14   Start new logging

ModuleID[2] LevelID[1]: Load command--file C:\work\02_freescale\01_i.MX6\08_sabre_platform\imx-3.10.53_1.1.0_ga-mfg-tools\imx-3.10.53_1.1.0_ga-mfg-tools\mfgtools-without-rootfs\mfgtools\Profiles\Linux\OS Firmware\firmware\zImage-imx6sx-17x17-arm2-emmc.dtb failed to open.errcode is 2

ModuleID[2] LevelID[1]: Parse ucl script failed, error code: 4

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

Labels (1)
0 Kudos
1 Solution
672 Views
igorpadykov
NXP Employee
NXP Employee

Hi JHY

it may be useful to look at *.vbs files, like mfgtool2-android-mx6q-sabresd-emmc.vbs.

For description of eMMC usage with MFG Tools one can look at

sect.4.2.1 Configuring MFGTool attached Linux Guide.

Basic tests with read/write operations can be done with SDK

i.MX 6Series Platform SDK : Bare-metal SDK

Best regards

igor

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

Note: If this post answers your question, please click the Correct Answer button. Thank you!

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

View solution in original post

0 Kudos
2 Replies
673 Views
igorpadykov
NXP Employee
NXP Employee

Hi JHY

it may be useful to look at *.vbs files, like mfgtool2-android-mx6q-sabresd-emmc.vbs.

For description of eMMC usage with MFG Tools one can look at

sect.4.2.1 Configuring MFGTool attached Linux Guide.

Basic tests with read/write operations can be done with SDK

i.MX 6Series Platform SDK : Bare-metal SDK

Best regards

igor

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

Note: If this post answers your question, please click the Correct Answer button. Thank you!

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

0 Kudos
672 Views
erezsteinberg
Contributor IV

You should set name to a value that is found in ucl2.xml

For example-

<LIST name="i.MX6DL-ubuntu-SabreSD-eMMC" desc="Choose eMMC android as media">

    <CMD state="BootStrap" type="boot" body="BootStrap" file ="u-boot-mx6dl-sabresd.bin" >Loading U-boot</CMD>

    <CMD state="BootStrap" type="load" file="uImage" address="0x10800000"

Sincerely,

Erez

0 Kudos