Eine Zusammenfassung, da es doch viele anscheinend nicht zum Laufen bekommen: WaveShare SpotPear V4.
Ohne große Experimente die vorhandenen(!) Kernel-Module für FBTFT
verwenden. Dazu die Firmware updaten:
sudo REPO_URI=https://github.com/notro/rpi-firmware BRANCH=builtin rpi-update
Bei eventuell auftretenden Inkompatibilitäts-Fehlern:
sudo -E RPI_UPDATE_UNSUPPORTED=0 REPO_URI=https://github.com/notro/rpi-firmware rpi-update
Danach rebooten, anschließened die SPI-Initialisierung prüfen:
root@piplusb /etc # dmesg | grep spi
[ 0.000000] Linux version 3.12.34+ (pi@raspi2) (gcc version 4.8.3 20140106 (prerelease) (crosstool-NG linaro-1.13.1-4.8-2014.01 - Linaro GCC 2013.11) ) #1 PREEMPT Mon Dec 8 00:05:41 CET 2014
[ 1.476126] bcm2708_spi bcm2708_spi.0: DMA channel 2 at address 0xf2007200 with irq 77
[ 1.486376] bcm2708_spi bcm2708_spi.0: DMA channel 4 at address 0xf2007400 with irq 20
[ 1.878728] graphics fb1: fb_ili9340 frame buffer, 320x240, 150 KiB video memory, 4 KiB DMA buffer memory, fps=50, spi0.0 at 48 MHz
[ 1.893629] bcm2708_spi bcm2708_spi.0: SPI Controller at 0x20204000 (irq 80)
[ 1.902863] bcm2708_spi bcm2708_spi.0: SPI Controller running in dma mode
In /boot/cmdline.txt
die Einstellungen des LCDs für den Kernel setzen (alles in einer Zeile, hintereinander, mit Leerzeichen getrennt!):
fbtft_device.custom
fbtft_device.name=fb_ili9340
fbtft_device.gpios=dc:22,reset:27
fbtft_device.bgr=1
fbtft_device.speed=48000000
Die Konsole beim Booten aktivieren, Console-Font wählen (ebenfalls in /boot/cmdline.txt
):
fbcon=map:10
#fbcon=font:ProFont6x11
fbcon=font:VGA8x8
logo.nologo
Weitere Einstellungen und Drehen des Display-Inhalts zum Experimentieren (ebenfalls in /boot/cmdline.txt
):
dma.dmachans=0x7f35
console=tty1
consoleblank=0
fbtft_device.fps=50
fbtft_device.rotate=270
Infos zum Framebuffer-Device:
root@piplusb /etc # fbset -i -fb /dev/fb1
mode "320x240"
geometry 320 240 320 240 16
timings 0 0 0 0 0 0 0
nonstd 1
rgba 5/11,6/5,5/0,0/0
endmode
Frame buffer device information:
Name : fb_ili9340
Address : 0
Size : 153600
Type : PACKED PIXELS
Visual : TRUECOLOR
XPanStep : 0
YPanStep : 0
YWrapStep : 0
LineLength : 640
Accelerator : No
Video-Test:
wget http://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_320x180.mp4
mplayer -vo fbdev2:/dev/fb1 -vf scale=320:-3 BigBuckBunny_320x180.mp4
Emma sagt: "Hasiiiii kuckennnn!"
Kommentare (8)
on reboot after running
sudo REPO_URI=https://github.com/notro/rpi-firmware BRANCH=builtin rpi-update
I get Multi colored Block in middle of the screen and not respond to keyboard or anything. Is there anything I’m missing. I’m using latest 2015-2-16 raspbian image with fresh setup.
Hi,
hast du dafür ein bestimmtes Image genutzt oder reicht das Standard-Raspbian aus?
Benutzt du einen Pi oder Pi 2?
Grüße!
Ein Raspberry Pi Version B+ mit einem frischen Raspbian.
Kannst du mir sagen, wo die Unterschiede zum Raspberry Pi Modell B (256 MB) sind ?
Ich bekomm das Display nicht zum laufen….
Danke
Big11
Can I get the URL to download the .img file..?
Please, can I get the url link for the, .img file
geht wunderbar danke !!!
egal welches image man nimmt wheezy oder jessie
Hast du ne idee der pi zeigt zwar ein Bild aber wenn ich auf den monitor klicke kommt keine maus und es passiert auch nichts