Reply To: [Resolved]piscreen does not work

Home Forums Forums Technical Support for PiScreen [Resolved]piscreen does not work Reply To: [Resolved]piscreen does not work

#4066
shannon
Participant

Hi Mark,

Thanks for your help!
The old method works, i can startup the X on LCD.

It’s still failed when i try the new method, i will confirm my steps to you:
1, download the newest IMG from RasPI website and write it to TF card, current the IMG is 2015-05-05-raspbian-wheezy.img;
2, start PI, execute apt-get update and apt-get upgrade then reboot PI(because the IMG is the newest version, some times i ignore this step, and some times i execute command raspi-config and rpi-update before this step);
3, add new line(dtoverlay=piscreen,speed=16000000,rotate=90) to file /boot/config.txt then reboot;
4, try to perform a quick test as your guideline, but failed:(

Below is the old method dmesg log:
[ 3.334731] smsc95xx v1.0.4
[ 3.399085] smsc95xx 1-1.1:1.0 eth0: register ‘smsc95xx’ at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:ff:a5:66
[ 4.463641] udevd[159]: starting version 175
[ 6.084807] bcm2708_spi 20204000.spi: master is unqueued, this is deprecated
[ 6.278465] bcm2708_spi 20204000.spi: SPI Controller at 0x20204000 (irq 80)
[ 10.697736] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 11.209960] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 11.334323] random: nonblocking pool is initialized
[ 12.260038] fbtft: module is from the staging directory, the quality is unknown, you have been warned.
[ 12.288992] flexfb: module is from the staging directory, the quality is unknown, you have been warned.
[ 12.423159] fbtft_device: module is from the staging directory, the quality is unknown, you have been warned.
[ 12.441957] fbtft_device: SPI devices registered:
[ 12.451598] fbtft_device: spidev spi0.0 500kHz 8 bits mode=0x00
[ 12.462528] fbtft_device: spidev spi0.1 500kHz 8 bits mode=0x00
[ 12.473332] fbtft_device: ‘fb’ Platform devices registered:
[ 12.483531] fbtft_device: bcm2708_fb id=-1 pdata? no
[ 12.493328] fbtft_device: Deleting spi0.0
[ 12.505544] flexfb spi0.0: fbtft_request_gpios: ‘reset’ = GPIO25
[ 12.534442] flexfb spi0.0: fbtft_request_gpios: ‘dc’ = GPIO24
[ 12.549363] flexfb spi0.0: fbtft_request_gpios: ‘led’ = GPIO22
[ 12.559733] flexfb spi0.0: flexfb_verify_gpios_dc()
[ 12.568870] flexfb spi0.0: fbtft_init_display()
[ 12.577763] flexfb spi0.0: fbtft_reset()
[ 12.705831] flexfb spi0.0: init: write(0xB0) 0x00
[ 12.714913] flexfb spi0.0: init: write(0x11)
[ 12.723338] flexfb spi0.0: init: mdelay(250)
[ 13.003962] flexfb spi0.0: init: write(0x3A) 0x55
[ 13.013063] flexfb spi0.0: init: write(0x36) 0x28
[ 13.022018] flexfb spi0.0: init: write(0xC2) 0x44
[ 13.030812] flexfb spi0.0: init: write(0xC5) 0x00 0x00 0x00 0x00
[ 13.040827] flexfb spi0.0: init: write(0xE0) 0x0F 0x1F 0x1C 0x0C 0x0F 0x08 0x48 0x98 0x37 0x0A 0x13 0x04 0x11 0x0D 0x00
[ 13.055664] flexfb spi0.0: init: write(0xE1) 0x0F 0x32 0x2E 0x0B 0x0D 0x05 0x47 0x75 0x37 0x06 0x10 0x03 0x24 0x20 0x00
[ 13.070436] flexfb spi0.0: init: write(0xE2) 0x0F 0x32 0x2E 0x0B 0x0D 0x05 0x47 0x75 0x37 0x06 0x10 0x03 0x24 0x20 0x00
[ 13.085156] flexfb spi0.0: init: write(0x11)
[ 13.092953] flexfb spi0.0: init: write(0x29)
[ 13.311370] flexfb spi0.0: Display update: 1423 kB/s (210.649 ms), fps=0 (0.000 ms)
[ 13.322617] flexfb spi0.0: fbtft_register_backlight()
[ 13.636525] graphics fb1: flexfb frame buffer, 480×320, 300 KiB video memory, 4 KiB DMA buffer memory, fps=20, spi0.0 at 16 MHz
[ 13.667483] flexfb spi0.0: fbtft_backlight_update_status: polarity=1, power=0, fb_blank=0
[ 13.680948] fbtft_device: GPIOS used by ‘flexfb’:
[ 13.687481] fbtft_device: ‘reset’ = GPIO25
[ 13.693142] fbtft_device: ‘dc’ = GPIO24
[ 13.698600] fbtft_device: ‘led’ = GPIO22
[ 13.704065] fbtft_device: SPI devices registered:
[ 13.710270] fbtft_device: spidev spi0.1 500kHz 8 bits mode=0x00
[ 13.719281] fbtft_device: flexfb spi0.0 16000kHz 8 bits mode=0x00
[ 25.417939] smsc95xx 1-1.1:1.0 eth0: hardware isn’t capable of remote wakeup
[ 27.078564] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[ 32.615050] cfg80211: Calling CRDA to update world regulatory domain
[ 36.957037] Adding 102396k swap on /var/swap. Priority:-1 extents:2 across:2134012k SSFS
[ 74.540288] flexfb spi0.0: fbtft_backlight_update_status: polarity=1, power=0, fb_blank=0
[ 79.704630] fuse init (API version 7.23)
[ 86.278607] smsc95xx 1-1.1:1.0 eth0: link down
[ 87.854895] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
root@raspberrypi:~#

Blip, blop, bloop…