summaryrefslogtreecommitdiff
path: root/init.mackerel.rc
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-06-15 18:05:48 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2012-06-15 18:05:48 +0200
commitfa87e4df72fa6be93b412003ac4798292b32dc91 (patch)
treec4553a2cb040af25838c51ac4e543bac6a3fe5a8 /init.mackerel.rc
Initial import of the Mackerel device description for AndroidHEADmaster
This is an unmodified copy of the 20120530-1 sources from Guennadi Liakhovetski's Android camera blueprint. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'init.mackerel.rc')
-rw-r--r--init.mackerel.rc24
1 files changed, 24 insertions, 0 deletions
diff --git a/init.mackerel.rc b/init.mackerel.rc
new file mode 100644
index 0000000..c3ec6ed
--- /dev/null
+++ b/init.mackerel.rc
@@ -0,0 +1,24 @@
+on early-init
+ export EXTERNAL_STORAGE /mnt/sdcard
+ mkdir /mnt/sdcard 0000 system system
+ # for backwards compatibility
+ symlink /mnt/sdcard /sdcard
+
+on boot
+ setprop ARGH ARGH
+ setprop net.eth0.gw 192.168.1.9
+ setprop net.eth0.dns1 192.168.1.9
+# setprop net.gprs.local-ip 192.168.1.90
+# setprop ro.radio.use-ppp no
+# setprop ro.build.product generic
+# setprop ro.product.device generic
+
+ chmod 0666 /dev/video0
+ chmod 0664 /dev/graphics/fb0
+
+# fake some battery state
+ setprop hw.nobattery true
+# setprop status.battery.state Slow
+# setprop status.battery.level 5
+# setprop status.battery.level_raw 50
+# setprop status.battery.level_scale 9