diff options
-rw-r--r-- | recipes/shr/initscripts-shr/70glamoFIFOtweak | 4 | ||||
-rw-r--r-- | recipes/shr/initscripts-shr_0.0.1.bb | 7 |
2 files changed, 10 insertions, 1 deletions
diff --git a/recipes/shr/initscripts-shr/70glamoFIFOtweak b/recipes/shr/initscripts-shr/70glamoFIFOtweak new file mode 100644 index 0000000000..fc8da9e64b --- /dev/null +++ b/recipes/shr/initscripts-shr/70glamoFIFOtweak @@ -0,0 +1,4 @@ +#!/bin/sh +# Enable FIFO stage for the LCD engine's memory access +# see http://git.bitwiz.org.uk/?p=kernel.git;a=commit;h=01e4e0c2a1c39d7e4556f8996f21dfaf73b2869c +echo "4366 16384" > /sys/class/i2c-adapter/i2c-0/0-0073/pcf50633-regltr.9/glamo3362.0/regs
\ No newline at end of file diff --git a/recipes/shr/initscripts-shr_0.0.1.bb b/recipes/shr/initscripts-shr_0.0.1.bb index 23fa05fd74..683268c507 100644 --- a/recipes/shr/initscripts-shr_0.0.1.bb +++ b/recipes/shr/initscripts-shr_0.0.1.bb @@ -5,7 +5,7 @@ DEPENDS = "" RDEPENDS = "" LICENSE = "GPL" PV = "0.0.1" -PR = "r11" +PR = "r12" RPROVIDES_${PN} = "initscripts" RCONFLICTS_${PN} = "initscripts" @@ -32,6 +32,7 @@ SRC_URI = "file://alignment.sh \ file://sendsigs \ file://umountfs \ file://umountnfs.sh \ + file://70glamoFIFOtweak \ " inherit base @@ -104,4 +105,8 @@ do_install () { ln -sf ../init.d/umountnfs.sh ${D}${sysconfdir}/rc6.d/S31umountnfs.sh ln -sf ../init.d/umountfs ${D}${sysconfdir}/rc6.d/S40umountfs ln -sf ../init.d/reboot ${D}${sysconfdir}/rc6.d/S90reboot + + # install the Glamo FIFO tweak in an xsession.d file + install -d ${D}${sysconfdir}/X11/Xsession.d + install -m 0755 ${WORKDIR}/70glamoFIFOtweak ${D}${sysconfdir}/X11/Xsession.d } |