72 KK平台用NAND FLASH, 内置SD卡怎么设置?
时间:10-02
整理:3721RD
点击:
72 KK 平台NAND 内置和外置SD卡都有读到但是总容量显示都为0B。
我是做如下修改,哪里设置不对了?正确的配置是怎么配的呢?烦请会的朋友指教,非常感谢!
1.ProjectConfig.mk 改成
RESOURCE_OVERLAY_SUPPORT=navbar LCA_ram LCA_ROM
mtk_2SDCARD_SWAP=yes
MTK_MULTI_STORAGE_SUPPORT=yes
MTK_FAT_ON_NAND=yes
2.修改init.no_ssd.rc
# MTK project .rc configure
#
# NO SHARED_SDCARD feature option
#
on init
# See storage config details at http://source.android.com/tech/storage/
mkdir /mnt/media_rw/sdcard0 0700 media_rw media_rw
mkdir /mnt/media_rw/sdcard1 0700 media_rw media_rw
mkdir /storage/sdcard0 0700 root root
mkdir /storage/sdcard1 0700 root root
export EXTERNAL_STORAGE /storage/sdcard0
# Support legacy paths
symlink /storage/sdcard0 /sdcard
symlink /storage/sdcard0 /mnt/sdcard
symlink /storage/sdcard1 /mnt/sdcard2
service fuse_sdcard0 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/sdcard0 /storage/sdcard0
class late_start
disabled
service fuse_sdcard1 /system/bin/sdcard -u 1023 -g 1023 -w 1023 -d /mnt/media_rw/sdcard1 /storage/sdcard1
class late_start
disabled
我是做如下修改,哪里设置不对了?正确的配置是怎么配的呢?烦请会的朋友指教,非常感谢!
1.ProjectConfig.mk 改成
RESOURCE_OVERLAY_SUPPORT=navbar LCA_ram LCA_ROM
mtk_2SDCARD_SWAP=yes
MTK_MULTI_STORAGE_SUPPORT=yes
MTK_FAT_ON_NAND=yes
2.修改init.no_ssd.rc
# MTK project .rc configure
#
# NO SHARED_SDCARD feature option
#
on init
# See storage config details at http://source.android.com/tech/storage/
mkdir /mnt/media_rw/sdcard0 0700 media_rw media_rw
mkdir /mnt/media_rw/sdcard1 0700 media_rw media_rw
mkdir /storage/sdcard0 0700 root root
mkdir /storage/sdcard1 0700 root root
export EXTERNAL_STORAGE /storage/sdcard0
# Support legacy paths
symlink /storage/sdcard0 /sdcard
symlink /storage/sdcard0 /mnt/sdcard
symlink /storage/sdcard1 /mnt/sdcard2
service fuse_sdcard0 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/sdcard0 /storage/sdcard0
class late_start
disabled
service fuse_sdcard1 /system/bin/sdcard -u 1023 -g 1023 -w 1023 -d /mnt/media_rw/sdcard1 /storage/sdcard1
class late_start
disabled
Partition_table_MT6572.xls
这个文件有修改好吗?
谢谢,已经OK了,结贴吧
原因是我工程代码里面init.no_ssd.rc文件代码写成了
service fuse_sdcard0 /system/bin/sdcard -u 1023 -g 1023 -
d /mnt/media_rw/sdcard0 /storage/sdcard0
class late_start
disabled
service fuse_sdcard1 /system/bin/sdcard -u 1023 -g 1023 -w 1023 -
d /mnt/media_rw/sdcard1 /storage/sdcard1
class late_start
disabled
======================
1023 -d 这里被分行了。改过了就好了