Add basic change for v1453
Change-Id: I9497a61bbc3717f66413794a4e7dee0347c0bc33
diff --git a/target/linux/mmp/base-files/etc/adb_profile b/target/linux/mmp/base-files/etc/adb_profile
new file mode 100755
index 0000000..3296d20
--- /dev/null
+++ b/target/linux/mmp/base-files/etc/adb_profile
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+. /etc/profile
\ No newline at end of file
diff --git a/target/linux/mmp/base-files/etc/config/network b/target/linux/mmp/base-files/etc/config/network
old mode 100644
new mode 100755
index a3e94df..10a5fc5
--- a/target/linux/mmp/base-files/etc/config/network
+++ b/target/linux/mmp/base-files/etc/config/network
@@ -17,7 +17,7 @@
config interface lan
option device br-lan
option proto static
- option ipaddr 192.168.1.1
+ option ipaddr 192.168.100.1
option netmask 255.255.255.0
option ip6assign 60
diff --git a/target/linux/mmp/base-files/etc/group b/target/linux/mmp/base-files/etc/group
old mode 100644
new mode 100755
index 1dbf901..02a94c6
--- a/target/linux/mmp/base-files/etc/group
+++ b/target/linux/mmp/base-files/etc/group
@@ -1 +1,2 @@
root:x:0:
+mbtk:x:1000:
diff --git a/target/linux/mmp/base-files/etc/init.d/enable_autosleep b/target/linux/mmp/base-files/etc/init.d/enable_autosleep
index 50a3c8a..5641a8b 100755
--- a/target/linux/mmp/base-files/etc/init.d/enable_autosleep
+++ b/target/linux/mmp/base-files/etc/init.d/enable_autosleep
@@ -14,11 +14,11 @@
[ -e /sys/class/devfreq/devfreq-ddr/polling_interval ] && {
echo 50 > /sys/class/devfreq/devfreq-ddr/polling_interval
}
-
- [ -e /sys/power/autosleep ] && {
- echo booting 8000000000 > /sys/power/wake_lock
- echo mem > /sys/power/autosleep
- }
+#close for mbtk
+ #[ -e /sys/power/autosleep ] && {
+ # echo booting 8000000000 > /sys/power/wake_lock
+ # echo mem > /sys/power/autosleep
+ #}
[ -e /sys/devices/platform/soc/d4000000.apb/pxa2xx-i2c.1/i2c-1/1-0030/88pm80x-wdt/pm80x_wdt_sec ] && {
echo 128:1 > /sys/devices/platform/soc/d4000000.apb/pxa2xx-i2c.1/i2c-1/1-0030/88pm80x-wdt/pm80x_wdt_sec
diff --git a/target/linux/mmp/base-files/etc/init.d/sdcard_mount b/target/linux/mmp/base-files/etc/init.d/sdcard_mount
index ee6b104..45490e5 100755
--- a/target/linux/mmp/base-files/etc/init.d/sdcard_mount
+++ b/target/linux/mmp/base-files/etc/init.d/sdcard_mount
@@ -1,7 +1,8 @@
#!/bin/sh /etc/rc.common
# Marvell sd card detect & mount script
-START=50
+# Change by mbtk
+START=10
STOP=91
WEBDAV_SD=/www/webdav/sdcard
diff --git a/target/linux/mmp/base-files/etc/init.d/services.init b/target/linux/mmp/base-files/etc/init.d/services.init
index a843afc..fe3afc8 100755
--- a/target/linux/mmp/base-files/etc/init.d/services.init
+++ b/target/linux/mmp/base-files/etc/init.d/services.init
@@ -58,7 +58,13 @@
start_instance 0 "hawk" "${PATH_BIN}" -p
fi
+#edit for mbtk
+ if [ -f /etc/init.d/mbtk_platform_version ]
+ then
+ echo "--mbtk platform version--" > /dev/kmsg
+ else
[ -e /sys/devices/platform/asr-gps* ] && {
start_instance 0 "gnss_demo" "${PATH_BIN}"
}
+ fi
}
diff --git a/target/linux/mmp/base-files/etc/passwd b/target/linux/mmp/base-files/etc/passwd
old mode 100644
new mode 100755
index 4e5e0b8..dcfb4a9
--- a/target/linux/mmp/base-files/etc/passwd
+++ b/target/linux/mmp/base-files/etc/passwd
@@ -1 +1,2 @@
root:x:0:0:root:/root:/bin/ash
+mbtk:x:1000:1000:mbtk:/home/mbtk:/bin/ash
diff --git a/target/linux/mmp/base-files/etc/shadow b/target/linux/mmp/base-files/etc/shadow
old mode 100644
new mode 100755
index 3f96672..d05132b
--- a/target/linux/mmp/base-files/etc/shadow
+++ b/target/linux/mmp/base-files/etc/shadow
@@ -1 +1,2 @@
root:$1$tR1FaG6u$aT1PfA0UAU0tAYhmlogog0:16666:0:99999:7:::
+mbtk:$1$tR1FaG6u$aT1PfA0UAU0tAYhmlogog0:16666:0:99999:7:::
\ No newline at end of file