v2p-aarch64: Use sdcard partition rather than emulated storage

Change-Id: I7a1f4adb480e42493ea6cbcb465ced9f2bbf682d
diff --git a/device.mk b/device.mk
index 223b869..9371f51 100644
--- a/device.mk
+++ b/device.mk
@@ -1,5 +1,6 @@
 PRODUCT_COPY_FILES := \
     device/linaro/common/fstab.partitions:root/fstab.arm-versatileexpress \
+    device/linaro/common/fstab.partitions:root/fstab.v2p-aarch64 \
     device/linaro/vexpress/vold.fstab:system/etc/vold.fstab \
     device/linaro/vexpress/egl.cfg:system/lib/egl/egl.cfg
 
diff --git a/init.v2p-aarch64.rc b/init.v2p-aarch64.rc
index 6174423..75e393e 100644
--- a/init.v2p-aarch64.rc
+++ b/init.v2p-aarch64.rc
@@ -1,4 +1,8 @@
 on init
+    export EXTERNAL_STORAGE /mnt/sdcard
+    symlink /mnt/sdcard /storage/sdcard0
+    symlink /mnt/sdcard /sdcard
+
     # mount debugfs
     mount debugfs /sys/kernel/debug /sys/kernel/debug
 
@@ -33,6 +37,9 @@
     chown system system /sys/class/graphics/fb0/fit_to_screen
     chown system system /sys/class/graphics/fb1/overlays
 
+on fs
+    mount_all /fstab.v2p-aarch64
+
 service faketsd /system/bin/faketsd
     class main
     user bluetooth