M6.0.1_2.1.0 booting from SD on the SABRE-SD board

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

M6.0.1_2.1.0 booting from SD on the SABRE-SD board

跳至解决方案
1,251 次查看
eishishibusawa
Contributor III

Dear Sir

I want to ask about booting from SD on the SABRE-SD board.

I have downloaded the Image files by referring to Android Quick Start Guide, Rev. M6.0.1_2.1.0, 07/2016.

(3.3 Downloading board images)

I set the U-Boot environment variables by referring to Android Quick Start Guide.

U-Boot > setenv bootcmd boota mmc2

U-Boot > setenv bootargs console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32

video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=256M androidboot.console=ttymxc0

consoleblank=0 androidboot.hardware=freescale cma=384M

U-Boot > saveenv

At this time, it does not boot correctly.

Next, set the U-Boot environment variables by referring to Android User's Guide, Rev. M6.0.1_2.1.0, 07/2016.

U-Boot > setenv bootcmd boota mmc1

U-Boot > setenv bootargs console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32

video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=256M androidboot.console=ttymxc0

consoleblank=0 androidboot.hardware=freescale cma=384M

U-Boot > saveenv

It seems that it boots the Android M6.0.1_2.1.0 correctly.

I am confusing.

Q1.

Setting for U-Boot environment variables described in Android User's Guide is correct?

I think that the SD3 slot on SABRE-SD board is mmc2.

Please advise for me.

Best Regards,

Eishi SHIBUSAWA

标签 (3)
0 项奖励
回复
1 解答
1,069 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Eishi

"mmc" setting in mfgtool2-android-mx6q-sabresd-sd.vbs

and described in Android User's Guide,Quick Start Guide are

different and not depend on each other. During boot one needs to

follow Android User's Guide,Quick Start Guide, not *.vbs.

*.vbs is used only for programming.

Best regards

igor

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,068 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Eishi

Table with ports number is given in sect.6.1.1 Booting from MMC/SD  attached

Android User's Guide. Quick Start Guide shows boot from eMMC (mmc2)

and sect.3.3 Downloading board images describes booting with eMMC images.

Best regards

igor

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

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

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

0 项奖励
回复
1,068 次查看
eishishibusawa
Contributor III

Dear igor

Thank you for reply.

[Quick Start Guide]

You described as following.

"Quick Start Guide shows boot from eMMC (mmc2) and sect.3.3 Downloading board images describes booting with eMMC images."

I have selected the "mfgtool2-android-mx6q-sabresd-sd.vbs" at STEP6 in Quick Start Guide sect.3.3.

I think that the Image files are downloaded in SD on SABRE-SD board.

I confirmed the contents of mfgtool2-android-mx6q-sabresd-sd.vbs.

The parameter of "mmc" is setting 2. (mmc=2)

[Android User's Guide]

It seems that we should set mmc=1 when we select SD3 as boot device.

Q1.

What does it mean mmc setting?

(Does it differ the parameter of mmc setting  between using MFGTool and booting with SABRE-SD board?)

Best Regards,

Eishi SHIBUSAWA

0 项奖励
回复
1,070 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Eishi

"mmc" setting in mfgtool2-android-mx6q-sabresd-sd.vbs

and described in Android User's Guide,Quick Start Guide are

different and not depend on each other. During boot one needs to

follow Android User's Guide,Quick Start Guide, not *.vbs.

*.vbs is used only for programming.

Best regards

igor

0 项奖励
回复