Dear All,
I have booted a custom board based on mx53_ARD reference board with android(R10.4 BSP). It boots from the eMMC NAND. It also have sd card slot and usb.
The various devices are mounted as follows,
NAND -mmc0
SD Card -mmc1
Wifi module -mmc2
The issue is when SD Card is not connected , the sd card partition of NAND is detected. When SD card is connected the sdcard partition of sd card itself is displayed not that of NAND. I referred to vold.fstab but was not successful in solving the issue.
Please share your thoughts. I like to know more details about how mounting is done.
Thank You
Mats
Solved! Go to Solution.
Dear All,
The issue is solved.
how to mount all storage partitons correctly in android?
***************************************************************
1.get into android shell using adb
$adb shell
$su
2.mount the system partition with read/write permission
$ mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
3.change the permission of etc
$chmod 777 /etc
4.pull the vold.fstab to the host machine
$adb pull /etc/vold.fstab
5.edit vold.fstab to do the mounting correctly
dev_mount sdcard /mnt/sdcard auto /devices/platform/mxsdhci.2/mmc_host/mmc0
dev_mount extsd /mnt/sdcard/extsd auto /devices/platform/mxsdhci.0/mmc_host/mmc1
dev_mount udisk /mnt/sdcard/udisk auto /devices/platform/fsl-ehci.1/usb
Now I can access the internal memory, external sdcard and usb storage from my device.
Thank You
Mats
Dear All,
The issue is solved.
how to mount all storage partitons correctly in android?
***************************************************************
1.get into android shell using adb
$adb shell
$su
2.mount the system partition with read/write permission
$ mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
3.change the permission of etc
$chmod 777 /etc
4.pull the vold.fstab to the host machine
$adb pull /etc/vold.fstab
5.edit vold.fstab to do the mounting correctly
dev_mount sdcard /mnt/sdcard auto /devices/platform/mxsdhci.2/mmc_host/mmc0
dev_mount extsd /mnt/sdcard/extsd auto /devices/platform/mxsdhci.0/mmc_host/mmc1
dev_mount udisk /mnt/sdcard/udisk auto /devices/platform/fsl-ehci.1/usb
Now I can access the internal memory, external sdcard and usb storage from my device.
Thank You
Mats