diff options
-rw-r--r-- | omap4.mk | 6 | ||||
-rw-r--r-- | rootdir/init.omap4.rc | 14 |
2 files changed, 20 insertions, 0 deletions
@@ -15,9 +15,15 @@ # This file lists the modules that are specific to OMAP4 but are used by # all OMAP4 devices. +OMAP4_NEXT_FOLDER := hardware/ti/omap4 + PRODUCT_PACKAGES += \ hwcomposer.omap4 PRODUCT_VENDOR_KERNEL_HEADERS := hardware/ti/omap4/kernel-headers +# Init +PRODUCT_COPY_FILES += \ + $(OMAP4_NEXT_FOLDER)/rootdir/init.omap4.rc:root/init.omap4.rc + $(call inherit-product, hardware/ti/omap4/common.mk) diff --git a/rootdir/init.omap4.rc b/rootdir/init.omap4.rc new file mode 100644 index 0000000..7895744 --- /dev/null +++ b/rootdir/init.omap4.rc @@ -0,0 +1,14 @@ +on boot + # Hardware tunables + chown root system /sys/devices/platform/omapdss/manager0/cpr_coef + chown root system /sys/devices/platform/omapdss/manager0/cpr_enable + chmod 0664 /sys/devices/platform/omapdss/manager0/cpr_coef + chmod 0664 /sys/devices/platform/omapdss/manager0/cpr_enable + restorecon /sys/devices/platform/omapdss/manager0/cpr_coef + restorecon /sys/devices/platform/omapdss/manager0/cpr_enable + +service pvrsrvinit /system/bin/pvrsrvinit + class core + user root + group root + oneshot |