Hi
We want to porting Android 6.0.1 and follow the Android_User's_Guide.
In Android_User's_Guidepage 17 (5.1.1), The script below can be used to partition a SD card as shown in the partition table above:
$ cd ~/myandroid/
$ sudo chmod +x ./device/fsl/common/tools/fsl-sdcard-partition.sh
$ sudo ./device/fsl/common/tools/fsl-sdcard-partition.sh -f <soc_name> /dev/sdX
# <soc_name> can be imx6q, imx6dl, imx6sl, imx6sx and imx7d.
When we run the "sudo ./device/fsl/common/tools/fsl-sdcard-partition.sh -f <soc_name> /dev/sdX", but system will be hang.
Now we just only used the MFG tools to format partition for SD card.
Because the logic 5(SYSTEM) need to the 800MB size.
Please provide the correct shell script.
Thanks
已解决! 转到解答。
Hi Victor
I already fixed the issue.
We just only to modify shell script about partition size.
Clayder
It's hard to tell what exactly may go wrong with the script.
Please try to run fsl-sdcard-partition.sh script with debug option:
$ sudo bash -x device/fsl/common/tools/fsl-sdcard-partition.sh -f <soc_name> /dev/sdX
This way you can locate at what point the script hangs.
Have a great day,
Victor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------