summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPraneeth Bajjuri2017-01-26 22:18:58 -0600
committerPraneeth Bajjuri2017-01-26 22:18:58 -0600
commita292a966b3312b3aa6a982b967e0402435ad7ac7 (patch)
tree1c4f3bb57d53aceefbfd8241badc1ac3bf519b83
parentbabe49a0dd60e1a6505b9304955997f84c6c70e2 (diff)
downloaddevice-ti-am57xevm-a292a966b3312b3aa6a982b967e0402435ad7ac7.tar.gz
device-ti-am57xevm-a292a966b3312b3aa6a982b967e0402435ad7ac7.tar.xz
device-ti-am57xevm-a292a966b3312b3aa6a982b967e0402435ad7ac7.zip
am57xevm: remove efs partition
remove factory or efs partition flashing as this is not applicable for the current configuration. Change-Id: I9434abb5d7057645a59d4f7959f4c1c457a7036b Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
-rw-r--r--Android.mk19
-rwxr-xr-xfastboot.sh15
-rw-r--r--fstab.am57xevmboard1
-rw-r--r--init.am57xevmboard.rc1
4 files changed, 0 insertions, 36 deletions
diff --git a/Android.mk b/Android.mk
index 7b2760f..4278dc5 100644
--- a/Android.mk
+++ b/Android.mk
@@ -28,25 +28,6 @@ LOCAL_PATH := $(call my-dir)
28ifeq ($(TARGET_DEVICE),am57xevm) 28ifeq ($(TARGET_DEVICE),am57xevm)
29include $(CLEAR_VARS) 29include $(CLEAR_VARS)
30 30
31LOCAL_MODULE := am57xevm_hdcp_keys
32LOCAL_MODULE_TAGS := optional
33LOCAL_MODULE_CLASS := FAKE
34LOCAL_MODULE_SUFFIX := -timestamp
35
36include $(BUILD_SYSTEM)/base_rules.mk
37
38$(LOCAL_BUILT_MODULE): HDCP_KEYS_FILE := /factory/hdcp.keys
39$(LOCAL_BUILT_MODULE): SYMLINK := $(TARGET_OUT_VENDOR)/firmware/hdcp.keys
40$(LOCAL_BUILT_MODULE): $(LOCAL_PATH)/Android.mk
41$(LOCAL_BUILT_MODULE):
42 $(hide) echo "Symlink: $(SYMLINK) -> $(HDCP_KEYS_FILE)"
43 $(hide) mkdir -p $(dir $@)
44 $(hide) mkdir -p $(dir $(SYMLINK))
45 $(hide) rm -rf $@
46 $(hide) rm -rf $(SYMLINK)
47 $(hide) ln -sf $(HDCP_KEYS_FILE) $(SYMLINK)
48 $(hide) touch $@
49
50# if some modules are built directly from this directory (not subdirectories), 31# if some modules are built directly from this directory (not subdirectories),
51# their rules should be written here. 32# their rules should be written here.
52 33
diff --git a/fastboot.sh b/fastboot.sh
index f4280aa..1be733f 100755
--- a/fastboot.sh
+++ b/fastboot.sh
@@ -108,7 +108,6 @@ bootimg="${PRODUCT_OUT}boot.img"
108systemimg="${PRODUCT_OUT}system.img" 108systemimg="${PRODUCT_OUT}system.img"
109userdataimg="${PRODUCT_OUT}userdata.img" 109userdataimg="${PRODUCT_OUT}userdata.img"
110cacheimg="${PRODUCT_OUT}cache.img" 110cacheimg="${PRODUCT_OUT}cache.img"
111efsimg="${PRODUCT_OUT}efs.img"
112recoveryimg="${PRODUCT_OUT}recovery.img" 111recoveryimg="${PRODUCT_OUT}recovery.img"
113 112
114 113
@@ -228,20 +227,6 @@ if [ $resizefail -eq 1 ]; then
228fi 227fi
229${FASTBOOT} flash userdata ${userdataimg} 228${FASTBOOT} flash userdata ${userdataimg}
230 229
231if [ "$1" != "--noefs" ] ; then
232 if [ ! -f ${efsimg} ] ; then
233 echo "Creating efs.img as 16M ext4 img..."
234 test -d ./efs/ || mkdir efs
235 ./make_ext4fs -s -l 16M -a efs efs.img efs/
236 else
237 echo "Using previously created efs.img..."
238 fi
239
240 ${FASTBOOT} flash efs ${efsimg}
241else
242 echo "efs partition is untouched"
243fi
244
245#flash cache.img 230#flash cache.img
246${FASTBOOT} flash cache ${cacheimg} 231${FASTBOOT} flash cache ${cacheimg}
247 232
diff --git a/fstab.am57xevmboard b/fstab.am57xevmboard
index cc19f84..b3bafb1 100644
--- a/fstab.am57xevmboard
+++ b/fstab.am57xevmboard
@@ -4,7 +4,6 @@
4# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK 4# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
5 5
6/dev/block/platform/44000000.ocp/480b4000.mmc/by-name/system /system ext4 ro wait 6/dev/block/platform/44000000.ocp/480b4000.mmc/by-name/system /system ext4 ro wait
7/dev/block/platform/44000000.ocp/480b4000.mmc/by-name/efs /factory ext4 ro wait
8/dev/block/platform/44000000.ocp/480b4000.mmc/by-name/cache /cache ext4 noatime,nosuid,nodev wait,check 7/dev/block/platform/44000000.ocp/480b4000.mmc/by-name/cache /cache ext4 noatime,nosuid,nodev wait,check
9/dev/block/platform/44000000.ocp/480b4000.mmc/by-name/userdata /data ext4 noatime,nosuid,nodev wait,check 8/dev/block/platform/44000000.ocp/480b4000.mmc/by-name/userdata /data ext4 noatime,nosuid,nodev wait,check
10/dev/block/platform/44000000.ocp/480b4000.mmc/by-name/recovery /recovery emmc defaults defaults 9/dev/block/platform/44000000.ocp/480b4000.mmc/by-name/recovery /recovery emmc defaults defaults
diff --git a/init.am57xevmboard.rc b/init.am57xevmboard.rc
index d48a4f3..eae0fc0 100644
--- a/init.am57xevmboard.rc
+++ b/init.am57xevmboard.rc
@@ -42,7 +42,6 @@ on boot
42 42
43 43
44on fs 44on fs
45 mkdir /factory 0775 radio radio
46 mount_all /fstab.am57xevmboard 45 mount_all /fstab.am57xevmboard
47 46
48service pvrsrvinit /vendor/bin/pvrsrvinit 47service pvrsrvinit /vendor/bin/pvrsrvinit