summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPraneeth Bajjuri2016-11-28 18:12:09 -0600
committerPraneeth Bajjuri2017-01-26 16:18:12 -0600
commit8b1aea660d6663ef0c126675cfafad47d498049f (patch)
treebdde3c8871e95cf9ddfab2d20969670f0ad76729
parentca23acc4ef22b0c8c0d29228f0dffec0713faa7e (diff)
downloaddevice-ti-jacinto6evm-8b1aea660d6663ef0c126675cfafad47d498049f.tar.gz
device-ti-jacinto6evm-8b1aea660d6663ef0c126675cfafad47d498049f.tar.xz
device-ti-jacinto6evm-8b1aea660d6663ef0c126675cfafad47d498049f.zip
jacinto6evm: remove efs partition
remove factory or efs partition flashing as this is not applicable for the current configuration. Change-Id: I0fe2758bb653b07a56befdcf2072004c71e4f05a Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
-rw-r--r--Android.mk19
-rwxr-xr-xfastboot.sh15
-rw-r--r--fstab.jacinto6evmboard1
-rw-r--r--init.jacinto6evmboard.rc1
4 files changed, 0 insertions, 36 deletions
diff --git a/Android.mk b/Android.mk
index 37d2bcb..f78a347 100644
--- a/Android.mk
+++ b/Android.mk
@@ -28,25 +28,6 @@ LOCAL_PATH := $(call my-dir)
28ifeq ($(TARGET_DEVICE),jacinto6evm) 28ifeq ($(TARGET_DEVICE),jacinto6evm)
29include $(CLEAR_VARS) 29include $(CLEAR_VARS)
30 30
31LOCAL_MODULE := jacinto6evm_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 b0c770e..ebbc7c8 100755
--- a/fastboot.sh
+++ b/fastboot.sh
@@ -100,7 +100,6 @@ bootimg="${PRODUCT_OUT}boot.img"
100systemimg="${PRODUCT_OUT}system.img" 100systemimg="${PRODUCT_OUT}system.img"
101userdataimg="${PRODUCT_OUT}userdata.img" 101userdataimg="${PRODUCT_OUT}userdata.img"
102cacheimg="${PRODUCT_OUT}cache.img" 102cacheimg="${PRODUCT_OUT}cache.img"
103efsimg="${PRODUCT_OUT}efs.img"
104recoveryimg="${PRODUCT_OUT}recovery.img" 103recoveryimg="${PRODUCT_OUT}recovery.img"
105 104
106 105
@@ -220,20 +219,6 @@ if [ $resizefail -eq 1 ]; then
220fi 219fi
221${FASTBOOT} flash userdata ${userdataimg} 220${FASTBOOT} flash userdata ${userdataimg}
222 221
223if [ "$1" != "--noefs" ] ; then
224 if [ ! -f ${efsimg} ] ; then
225 echo "Creating efs.img as 16M ext4 img..."
226 test -d ./efs/ || mkdir efs
227 ./make_ext4fs -s -l 16M -a efs efs.img efs/
228 else
229 echo "Using previously created efs.img..."
230 fi
231
232 ${FASTBOOT} flash efs ${efsimg}
233else
234 echo "efs partition is untouched"
235fi
236
237#flash cache.img 222#flash cache.img
238${FASTBOOT} flash cache ${cacheimg} 223${FASTBOOT} flash cache ${cacheimg}
239 224
diff --git a/fstab.jacinto6evmboard b/fstab.jacinto6evmboard
index cc19f84..b3bafb1 100644
--- a/fstab.jacinto6evmboard
+++ b/fstab.jacinto6evmboard
@@ -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.jacinto6evmboard.rc b/init.jacinto6evmboard.rc
index 77ca7a0..d6988be 100644
--- a/init.jacinto6evmboard.rc
+++ b/init.jacinto6evmboard.rc
@@ -42,7 +42,6 @@ on boot
42 chmod 0755 /sys/kernel/debug/tracing 42 chmod 0755 /sys/kernel/debug/tracing
43 43
44on fs 44on fs
45 mkdir /factory 0775 radio radio
46 mount_all /fstab.jacinto6evmboard 45 mount_all /fstab.jacinto6evmboard
47 46
48service pvrsrvinit /vendor/bin/pvrsrvinit 47service pvrsrvinit /vendor/bin/pvrsrvinit