修改如下:
device/rockchip/rk312x
diff --git a/fstab.rk30board.bootmode.emmc b/fstab.rk30board.bootmode.emmc index 4b04d83..276b77b 100755 --- a/fstab.rk30board.bootmode.emmc +++ b/fstab.rk30board.bootmode.emmc @@ -8,10 +8,10 @@ /dev/block/platform/1021c000.rksdmmc/by-name/userdata /data ext4 noatime,nodiratime,nosuid,nodev,noauto_da_alloc,discard wait,encr # /dev/block/platform/1021c000.rksdmmc/by-name/radical_update /radical_update ext4 noatime,nodiratime,nosuid,nodev,noauto_da_alloc,discard wait -/devices/1021c000.rksdmmc/mmc_host/mmc /mnt/internal_sd vfat defaults voldmanaged=internal_sd:14,noemulatedsd +/devices/1021c000.rksdmmc/mmc_host/mmc /mnt/internal_sd vfat defaults voldmanaged=internal_sd:13,noemulatedsd /devices/10214000.rksdmmc/mmc_host/mmc /mnt/external_sd vfat defaults voldmanaged=external_sd:auto # Vold does not support multi device path yet # /devices/101e0000.usb /mnt/usb_storage vfat defaults voldmanaged=usb_storage:auto -# /devices/10180000.usb /mnt/usb_storage vfat defaults voldmanaged=usb_storage:auto +/devices/10180000.usb /mnt/usb_storage2 vfat defaults voldmanaged=usb_storage2:auto /devices/101c0000.usb /mnt/usb_storage vfat defaults voldmanaged=usb_storage:auto /dev/block/zram0 none swap defaults zramsize=67108864
device/rockchip/rksdk
diff --git a/init.rk30board.rc b/init.rk30board.rc index 342e034..2a045a1 100755 --- a/init.rk30board.rc +++ b/init.rk30board.rc @@ -8,6 +8,8 @@ on early-init mkdir /mnt/external_sd 0000 system system export THIRD_VOLUME_STORAGE /mnt/usb_storage mkdir /mnt/usb_storage 0000 system system + export THIRD_VOLUME_STORAGE /mnt/usb_storage2 + mkdir /mnt/usb_storage2 0000 system system on post-fs insmod /system/lib/modules/ump.ko
参考:https://www.cnblogs.com/chorm590/p/10919999.html
标签:usb,storage,android4.4,mnt,rk30board,devices,rk3128,defaults,存储空间 From: https://www.cnblogs.com/wmc245376374/p/18281688