diff options
Diffstat (limited to 'jetson-tk1/recipes-bsp/binary-drivers/linux-driver-package')
-rwxr-xr-x | jetson-tk1/recipes-bsp/binary-drivers/linux-driver-package/nvfb | 25 | ||||
-rw-r--r-- | jetson-tk1/recipes-bsp/binary-drivers/linux-driver-package/xorg.conf.add | 11 |
2 files changed, 36 insertions, 0 deletions
diff --git a/jetson-tk1/recipes-bsp/binary-drivers/linux-driver-package/nvfb b/jetson-tk1/recipes-bsp/binary-drivers/linux-driver-package/nvfb new file mode 100755 index 0000000..e5f4502 --- /dev/null +++ b/jetson-tk1/recipes-bsp/binary-drivers/linux-driver-package/nvfb @@ -0,0 +1,25 @@ +#!/bin/sh +#"specific first-boot script" + +nvexec() { + RET=0 + if [ ! -e /etc/nv/nvfirstboot ]; then + RET=0 + else + echo "/usr/lib/arm-linux-gnueabihf/tegra" >> /etc/ld.so.conf + echo "/usr/lib/arm-linux-gnueabihf/tegra-egl" >> /etc/ld.so.conf + + ldconfig + rm -rf /etc/nv/nvfirstboot + fi + exit $RET +} + +case "$1" in + start) + nvexec + exit 0 + ;; + *) + exit 1 +esac diff --git a/jetson-tk1/recipes-bsp/binary-drivers/linux-driver-package/xorg.conf.add b/jetson-tk1/recipes-bsp/binary-drivers/linux-driver-package/xorg.conf.add new file mode 100644 index 0000000..0abe390 --- /dev/null +++ b/jetson-tk1/recipes-bsp/binary-drivers/linux-driver-package/xorg.conf.add @@ -0,0 +1,11 @@ +Section "Monitor" + Identifier "DSI-1" + Option "DPMS" "false" +EndSection + +Section "ServerLayout" + Identifier "ServerLayout0" + Option "StandbyTime" "0" + Option "SuspendTime" "0" + Option "OffTime" "0" +EndSection |