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
已解决! 转到解答。
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
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!
-----------------------------------------------------------------------------------------------------------------------
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
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