bcm2835-driver: simplyfing framebuffer service script

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-08-07 11:15:38 +02:00
parent fbc7c3a1ab
commit 66b75c814b
3 changed files with 2 additions and 28 deletions

View File

@ -65,9 +65,6 @@ makeinstall_target() {
cp -PRv $FLOAT/opt/vc/lib/libvchiq_arm.so $INSTALL/usr/lib
cp -PRv $FLOAT/opt/vc/lib/libvcos.so $INSTALL/usr/lib
mkdir -p $INSTALL/usr/lib/bcm2835
cp -P $PKG_DIR/scripts/setup-framebuffer $INSTALL/usr/lib/bcm2835
# some usefull debug tools
mkdir -p $INSTALL/usr/bin
cp -PRv $FLOAT/opt/vc/bin/vcdbg $INSTALL/usr/bin

View File

@ -1,23 +0,0 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
echo 0 > /sys/class/vtconsole/vtcon1/bind
fbset -g 1 1 1 1 32

View File

@ -4,8 +4,8 @@ After=multi-user.target
[Service]
Type=oneshot
ExecStart=/usr/lib/bcm2835/setup-framebuffer
RemainAfterExit=yes
ExecStartPre=/bin/sh -c 'echo 0 > /sys/class/vtconsole/vtcon1/bind'
ExecStart=/sbin/fbset -g 1 1 1 1 32
[Install]
WantedBy=graphical.target