Cours:Rpi3 : Différence entre versions
| Ligne 4 : | Ligne 4 : | ||
*https://wiki.qt.io/RaspberryPi2EGLFS | *https://wiki.qt.io/RaspberryPi2EGLFS | ||
*install rsync | *install rsync | ||
| + | *config pwm : /boot/config.txt | ||
| + | **https://www.raspberrypi.org/documentation/configuration/config-txt.md | ||
| + | **http://librpip.frasersdev.net/peripheral-config/pwm0and1/ | ||
| + | **http://www.jumpnowtek.com/rpi/Using-the-Raspberry-Pi-Hardware-PWM-timers.html | ||
| + | **dtparam=audio=off | ||
| + | **dtoverlay=pwm-2chan-with-clk,pin=12,func=4,pin2=13,func2=4 | ||
={{Rouge|Rétroéclairage}}= | ={{Rouge|Rétroéclairage}}= | ||
Version du 9 novembre 2016 à 14:36
Préparation carte SD
- https://www.raspberrypi.org/downloads/raspbian/
- https://www.raspberrypi.org/documentation/installation/installing-images/linux.md
- https://wiki.qt.io/RaspberryPi2EGLFS
- install rsync
- config pwm : /boot/config.txt
- https://www.raspberrypi.org/documentation/configuration/config-txt.md
- http://librpip.frasersdev.net/peripheral-config/pwm0and1/
- http://www.jumpnowtek.com/rpi/Using-the-Raspberry-Pi-Hardware-PWM-timers.html
- dtparam=audio=off
- dtoverlay=pwm-2chan-with-clk,pin=12,func=4,pin2=13,func2=4
Rétroéclairage
- allumer
- echo 0 > /sys/class/backlight/rpi_backlight/bl_power
- /usr/local/sbin/powerOnScreen
- éteindre
- echo 1 > /sys/class/backlight/rpi_backlight/bl_power
- /usr/local/sbin/powerOffScreen
mdp root geii
cross compilation
- extract cd image
- git clone https://github.com/raspberrypi/tools
- export CC=`pwd`/gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-
- https://wiki.qt.io/RaspberryPi_Beginners_Guide
- qt
- git clone git://code.qt.io/qt/qt5.git
- cd qt5
- ./init-repository
- git checkout 5.3.2
- git submodule update