Raspberry pi 2 support

Home Forums Forums Technical Support for PiScreen Raspberry pi 2 support

Tagged: 

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #3444
    locusf
    Participant

    Hi,

    I'm wondering if PiScreen would work on a Raspberry Pi 2, I've tested one which I got today but the screen stays blank. Notro has updated his firmware to support RPi 2 and I've updated to it just now using a Ubuntu image.

    #3446
    locusf
    Participant

    I get this message in my dmesg:

    
    [    3.491878] fbtft_device:  SPI devices registered:
    [    3.491908] fbtft_device:  'fb' Platform devices registered:
    [    3.491954] fbtft_device:      bcm2708_fb id=-1 pdata? no
    [    3.492008] fbtft_device:  spi_busnum_to_master(0) returned NULL
    [    3.498882] fbtft_device: failed to register SPI device
    [    3.554198] 
    ads7846_device: ads7846_device_init()
    [    3.554230] ads7846_device: SPI devices registered:
    [    3.554244] ads7846_device:
    [    3.554256] ads7846_device: Settings:
    [    3.554268] ads7846_device:   model = 7846
    [    3.554279] ads7846_device:   gpio_pendown = 17
    [    3.554289] ads7846_device:   swap_xy = 1
    [    3.554299] ads7846_device:   x_min = 0
    [    3.554309] ads7846_device:   x_max = 4095
    [    3.554319] ads7846_device:   y_min = 0
    [    3.554329] ads7846_device:   y_max = 4095
    [    3.554339] ads7846_device:   x_plate_ohms = 100
    [    3.554349] ads7846_device:   pressure_min = 0
    [    3.554360] ads7846_device:   pressure_max = 255
    [    3.554370] ads7846_device:   keep_vref_on = 1
    [    3.554380] ads7846_device:   vref_delay_usecs = 0
    [    3.554390] ads7846_device:   vref_mv = 0
    [    3.554400] ads7846_device:   settle_delay_usecs = 0
    [    3.554410] ads7846_device:   penirq_recheck_delay_usecs = 0
    [    3.554420] ads7846_device:   y_plate_ohms = 0
    [    3.554430] ads7846_device:   debounce_max = 0
    [    3.554440] ads7846_device:   debounce_tol = 0
    [    3.554450] ads7846_device:   debounce_rep = 0
    [    3.554463] ads7846_device: spi_busnum_to_master(0) returned NULL.
    [    3.624356] fbtft_device:  SPI devices registered:
    [    3.624386] fbtft_device:  'fb' Platform devices registered:
    [    3.624425] fbtft_device:      bcm2708_fb id=-1 pdata? no
    [    3.624472] fbtft_device:  spi_busnum_to_master(0) returned NULL
    [    3.631414] fbtft_device: failed to register SPI device
    [    3.681188] 
    ads7846_device: ads7846_device_init()
    [    3.681256] ads7846_device: SPI devices registered:
    [    3.681279] ads7846_device:
    [    3.681309] ads7846_device: Settings:
    [    3.681333] ads7846_device:   model = 7846
    [    3.681350] ads7846_device:   gpio_pendown = 17
    [    3.681364] ads7846_device:   swap_xy = 1
    [    3.681375] ads7846_device:   x_min = 0
    [    3.681385] ads7846_device:   x_max = 4095
    [    3.681408] ads7846_device:   y_min = 0
    [    3.681436] ads7846_device:   y_max = 4095
    [    3.681457] ads7846_device:   x_plate_ohms = 100
    [    3.681484] ads7846_device:   pressure_min = 0
    [    3.681508] ads7846_device:   pressure_max = 255
    [    3.681521] ads7846_device:   keep_vref_on = 1
    [    3.681531] ads7846_device:   vref_delay_usecs = 0
    [    3.681542] ads7846_device:   vref_mv = 0
    [    3.681552] ads7846_device:   settle_delay_usecs = 0
    [    3.681563] ads7846_device:   penirq_recheck_delay_usecs = 0
    [    3.682141] ads7846_device:   y_plate_ohms = 0
    [    3.682169] ads7846_device:   debounce_max = 0
    [    3.682182] ads7846_device:   debounce_tol = 0
    [    3.682193] ads7846_device:   debounce_rep = 0
    [    3.682211] ads7846_device: spi_busnum_to_master(0) returned NULL.
    
    #3447
    Mark Williams
    Keymaster

    open
    /boot/config.txt
    and add this line to the bottom of the file.
    dtparam=spi=on

    Let me know how you go.

    Mark --OzzMaker.com --

    #3448
    locusf
    Participant

    Sorry, no changes. The screen doesn't even light on, as I have read that it should do that. I have dtoverlay=piscreen in my cmdline.txt as well.

    #3449
    locusf
    Participant

    Moved dtoverlay=piscreen to config.txt, now got a fb1 entry in kernel.

    #3587
    brizio71
    Participant

    Hi,
    I have try the manual install but doesn't work, this is the dmesg output, can you help me on Pi 2:

    [ 0.000000] Booting Linux on physical CPU 0xf00
    [ 0.000000] Initializing cgroup subsys cpu
    [ 0.000000] Initializing cgroup subsys cpuacct
    [ 0.000000] Linux version 3.18.5-v7+ (pi@raspi2) (gcc version 4.8.3 20140106 (prerelease) (crosstool-NG linaro-1.13.1-4.8-2014.01 - Linaro GCC 2013.11) ) #1 SMP PREEMPT Fri Feb 6 23:06:57 CET 2015
    [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [ 0.000000] Machine model: Raspberry Pi 2 Model B
    [ 0.000000] cma: Reserved 8 MiB at 0x3a800000
    [ 0.000000] Memory policy: Data cache writealloc
    [ 0.000000] On node 0 totalpages: 241664
    [ 0.000000] free_area_init_node: node 0, pgdat 8085ca00, node_mem_map ba093000
    [ 0.000000] Normal zone: 1888 pages used for memmap
    [ 0.000000] Normal zone: 0 pages reserved
    [ 0.000000] Normal zone: 241664 pages, LIFO batch:31
    [ 0.000000] [bcm2709_smp_init_cpus] enter (8620->f3003010)
    [ 0.000000] [bcm2709_smp_init_cpus] ncores=4
    [ 0.000000] PERCPU: Embedded 11 pages/cpu @ba05d000 s12864 r8192 d24000 u45056
    [ 0.000000] pcpu-alloc: s12864 r8192 d24000 u45056 alloc=11*4096
    [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 239776
    [ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2709.boardrev=0xa01041 bcm2709.serial=0x869c861e smsc95xx.macaddr=B8:27:EB:9C:86:1E bcm2708_fb.fbswap=1 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
    [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [ 0.000000] Memory: 940460K/966656K available (5902K kernel code, 404K rwdata, 1876K rodata, 404K init, 784K bss, 26196K reserved)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xffe00000 (2048 kB)
    [ 0.000000] vmalloc : 0xbb800000 - 0xff000000 (1080 MB)
    [ 0.000000] lowmem : 0x80000000 - 0xbb000000 ( 944 MB)
    [ 0.000000] modules : 0x7f000000 - 0x80000000 ( 16 MB)
    [ 0.000000] .text : 0x80008000 - 0x807a0b04 (7779 kB)
    [ 0.000000] .init : 0x807a1000 - 0x80806000 ( 404 kB)
    [ 0.000000] .data : 0x80806000 - 0x8086b06c ( 405 kB)
    [ 0.000000] .bss : 0x8086b06c - 0x8092f06c ( 784 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] NR_IRQS:480
    [ 0.000000] Architected cp15 timer(s) running at 19.20MHz (virt).
    [ 0.000014] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 3579139424256ns
    [ 0.000036] Switching to timer-based delay loop, resolution 52ns
    [ 0.000343] Console: colour dummy device 80x30
    [ 0.001772] console [tty1] enabled
    [ 0.001823] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
    [ 0.001904] pid_max: default: 32768 minimum: 301
    [ 0.002324] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.002381] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.003669] Initializing cgroup subsys memory
    [ 0.003756] Initializing cgroup subsys devices
    [ 0.003811] Initializing cgroup subsys freezer
    [ 0.003861] Initializing cgroup subsys net_cls
    [ 0.003926] Initializing cgroup subsys blkio
    [ 0.004041] CPU: Testing write buffer coherency: ok
    [ 0.004157] ftrace: allocating 20192 entries in 60 pages
    [ 0.053998] CPU0: update cpu_capacity 1024
    [ 0.054075] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
    [ 0.054113] [bcm2709_smp_prepare_cpus] enter
    [ 0.054280] Setting up static identity map for 0x552d78 - 0x552dd0
    [ 0.113966] [bcm2709_boot_secondary] cpu:1 started (0) 17
    [ 0.114269] CPU1: Booted secondary processor
    [ 0.114278] [bcm2709_secondary_init] enter cpu:1
    [ 0.114334] CPU1: update cpu_capacity 1024
    [ 0.114343] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
    [ 0.133919] [bcm2709_boot_secondary] cpu:2 started (0) 18
    [ 0.134164] CPU2: Booted secondary processor
    [ 0.134171] [bcm2709_secondary_init] enter cpu:2
    [ 0.134205] CPU2: update cpu_capacity 1024
    [ 0.134213] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
    [ 0.153986] [bcm2709_boot_secondary] cpu:3 started (0) 17
    [ 0.154214] CPU3: Booted secondary processor
    [ 0.154221] [bcm2709_secondary_init] enter cpu:3
    [ 0.154252] CPU3: update cpu_capacity 1024
    [ 0.154261] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
    [ 0.154357] Brought up 4 CPUs
    [ 0.154479] SMP: Total of 4 processors activated (153.60 BogoMIPS).
    [ 0.154512] CPU: All CPU(s) started in SVC mode.
    [ 0.155561] devtmpfs: initialized
    [ 0.178559] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
    [ 0.180770] pinctrl core: initialized pinctrl subsystem
    [ 0.183964] NET: Registered protocol family 16
    [ 0.189595] DMA: preallocated 4096 KiB pool for atomic coherent allocations
    [ 0.213774] cpuidle: using governor ladder
    [ 0.243805] cpuidle: using governor menu
    [ 0.244214] bcm2709.uart_clock = 3000000
    [ 0.247206] No ATAGs?
    [ 0.247272] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [ 0.247328] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [ 0.247388] mailbox: Broadcom VideoCore Mailbox driver
    [ 0.247523] bcm2708_vcio: mailbox at f300b880
    [ 0.247630] bcm_power: Broadcom power driver
    [ 0.247663] bcm_power_open() -> 0
    [ 0.247689] bcm_power_request(0, 8)
    [ 0.748391] bcm_mailbox_read -> 00000080, 0
    [ 0.748424] bcm_power_request -> 0
    [ 0.748562] Serial: AMBA PL011 UART driver
    [ 0.748711] dev:f1: ttyAMA0 at MMIO 0x3f201000 (irq = 83, base_baud = 0) is a PL011 rev3
    [ 1.266378] console [ttyAMA0] enabled
    [ 1.337469] SCSI subsystem initialized
    [ 1.341478] usbcore: registered new interface driver usbfs
    [ 1.347149] usbcore: registered new interface driver hub
    [ 1.352621] usbcore: registered new device driver usb
    [ 1.359599] Switched to clocksource arch_sys_counter
    [ 1.394581] FS-Cache: Loaded
    [ 1.397841] CacheFiles: Loaded
    [ 1.413326] NET: Registered protocol family 2
    [ 1.418940] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [ 1.426184] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [ 1.432877] TCP: Hash tables configured (established 8192 bind 8192)
    [ 1.439346] TCP: reno registered
    [ 1.442615] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [ 1.448599] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [ 1.455344] NET: Registered protocol family 1
    [ 1.460167] RPC: Registered named UNIX socket transport module.
    [ 1.466108] RPC: Registered udp transport module.
    [ 1.470904] RPC: Registered tcp transport module.
    [ 1.475624] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 1.483140] bcm2708_dma: DMA manager at f3007000
    [ 1.487940] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB)
    [ 1.497991] futex hash table entries: 1024 (order: 4, 65536 bytes)
    [ 1.504505] audit: initializing netlink subsys (disabled)
    [ 1.510044] audit: type=2000 audit(1.299:1): initialized
    [ 1.531506] VFS: Disk quotas dquot_6.5.2
    [ 1.535827] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 1.545545] FS-Cache: Netfs 'nfs' registered for caching
    [ 1.551839] NFS: Registering the id_resolver key type
    [ 1.556963] Key type id_resolver registered
    [ 1.561217] Key type id_legacy registered
    [ 1.566334] msgmni has been set to 1852
    [ 1.571912] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
    [ 1.579535] io scheduler noop registered
    [ 1.583517] io scheduler deadline registered (default)
    [ 1.589003] io scheduler cfq registered
    [ 1.595507] BCM2708FB: allocated DMA memory fac00000
    [ 1.600551] BCM2708FB: allocated DMA channel 0 @ f3007000
    [ 1.612449] Console: switching to colour frame buffer device 82x26
    [ 1.624753] bcm2708-dmaengine bcm2708-dmaengine: Load BCM2835 DMA engine driver
    [ 1.634090] uart-pl011 dev:f1: no DMA platform data
    [ 1.641148] vc-cma: Videocore CMA driver
    [ 1.646655] vc-cma: vc_cma_base = 0x00000000
    [ 1.652945] vc-cma: vc_cma_size = 0x00000000 (0 MiB)
    [ 1.659911] vc-cma: vc_cma_initial = 0x00000000 (0 MiB)
    [ 1.678591] brd: module loaded
    [ 1.689263] loop: module loaded
    [ 1.694205] vchiq: vchiq_init_state: slot_zero = 0xba800000, is_master = 0
    [ 1.703316] Loading iSCSI transport class v2.0-870.
    [ 1.710525] CAN device driver interface
    [ 1.716000] usbcore: registered new interface driver smsc95xx
    [ 1.723384] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
    [ 1.930951] Core Release: 2.80a
    [ 1.935527] Setting default values for core params
    [ 1.941850] Finished setting default values for core params
    [ 2.149305] Using Buffer DMA mode
    [ 2.154114] Periodic Transfer Interrupt Enhancement - disabled
    [ 2.161501] Multiprocessor Interrupt Enhancement - disabled
    [ 2.168632] OTG VER PARAM: 0, OTG VER FLAG: 0
    [ 2.174535] Dedicated Tx FIFOs mode
    [ 2.179896] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xbac14000 dma = 0xfac14000 len=9024
    [ 2.192807] FIQ FSM acceleration enabled for :
    [ 2.192807] Non-periodic Split Transactions
    [ 2.192807] Periodic Split Transactions
    [ 2.192807] High-Speed Isochronous Endpoints
    [ 2.215773] dwc_otg: Microframe scheduler enabled
    [ 2.215842] WARN::hcd_init_fiq:412: FIQ on core 1 at 0x803f7a24
    [ 2.223417] WARN::hcd_init_fiq:413: FIQ ASM at 0x803f7d80 length 36
    [ 2.231296] WARN::hcd_init_fiq:438: MPHI regs_base at 0xbb806000
    [ 2.238903] dwc_otg bcm2708_usb: DWC OTG Controller
    [ 2.245400] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
    [ 2.254279] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
    [ 2.261393] Init: Port Power? op_state=1
    [ 2.266854] Init: Power Port (0)
    [ 2.271894] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 2.280288] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 2.289082] usb usb1: Product: DWC OTG Controller
    [ 2.295339] usb usb1: Manufacturer: Linux 3.18.5-v7+ dwc_otg_hcd
    [ 2.302923] usb usb1: SerialNumber: bcm2708_usb
    [ 2.310048] hub 1-0:1.0: USB hub found
    [ 2.315372] hub 1-0:1.0: 1 port detected
    [ 2.321284] dwc_otg: FIQ enabled
    [ 2.321298] dwc_otg: NAK holdoff enabled
    [ 2.321309] dwc_otg: FIQ split-transaction FSM enabled
    [ 2.321352] Module dwc_common_port init
    [ 2.321728] usbcore: registered new interface driver usb-storage
    [ 2.329464] mousedev: PS/2 mouse device common for all mice
    [ 2.337228] bcm2835-cpufreq: min=600000 max=900000
    [ 2.343861] sdhci: Secure Digital Host Controller Interface driver
    [ 2.351598] sdhci: Copyright(c) Pierre Ossman
    [ 2.357667] DMA channels allocated for the MMC driver
    [ 2.399687] Load BCM2835 MMC driver
    [ 2.406506] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 2.414393] ledtrig-cpu: registered to indicate activity on CPUs
    [ 2.426520] hidraw: raw HID events driver (C) Jiri Kosina
    [ 2.433846] usbcore: registered new interface driver usbhid
    [ 2.442096] usbhid: USB HID core driver
    [ 2.449948] TCP: cubic registered
    [ 2.454889] Initializing XFRM netlink socket
    [ 2.460798] NET: Registered protocol family 17
    [ 2.467947] can: controller area network core (rev 20120528 abi 9)
    [ 2.477985] NET: Registered protocol family 29
    [ 2.484065] can: netlink gateway (rev 20130117) max_hops=1
    [ 2.491730] Key type dns_resolver registered
    [ 2.497960] Registering SWP/SWPB emulation handler
    [ 2.505308] registered taskstats version 1
    [ 2.511238] vc-sm: Videocore shared memory driver
    [ 2.517288] mmc0: host does not support reading read-only switch, assuming write-enable
    [ 2.519413] mmc0: new high speed SDHC card at address 59b4
    [ 2.520041] mmcblk0: mmc0:59b4 00000 7.47 GiB
    [ 2.529866] mmcblk0: p1 p2
    [ 2.546210] [vc_sm_connected_init]: start
    [ 2.551881] Indeed it is in host mode hprt0 = 00021501
    [ 2.559161] [vc_sm_connected_init]: end - returning 0
    [ 2.597236] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 2.608652] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
    [ 2.618385] devtmpfs: mounted
    [ 2.623832] Freeing unused kernel memory: 404K (807a1000 - 80806000)
    [ 2.729711] usb 1-1: new high-speed USB device number 2 using dwc_otg
    [ 2.738144] Indeed it is in host mode hprt0 = 00001101
    [ 2.940047] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
    [ 2.948645] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [ 2.958610] hub 1-1:1.0: USB hub found
    [ 2.964319] hub 1-1:1.0: 5 ports detected
    [ 3.249938] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
    [ 3.370400] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
    [ 3.379258] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [ 3.392583] smsc95xx v1.0.4
    [ 3.454226] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:9c:86:1e
    [ 3.825775] udevd[174]: starting version 175
    [ 4.467911] bcm2708_spi 3f204000.spi: DMA channel 2 at address 0xf3007200 with irq 77
    [ 4.498313] bcm2708_spi 3f204000.spi: DMA channel 4 at address 0xf3007400 with irq 20
    [ 4.584172] ads7846 spi0.1: touchscreen, irq 465
    [ 4.601751] input: ADS7846 Touchscreen as /devices/soc/3f204000.spi/spi_master/spi0/spi0.1/input/input0
    [ 4.677692] fbtft_of_value: regwidth = 16
    [ 4.684263] fbtft_of_value: buswidth = 8
    [ 4.691191] fbtft_of_value: debug = 0
    [ 4.697630] fbtft_of_value: rotate = 270
    [ 4.704004] fbtft_of_value: fps = 30
    [ 5.067002] graphics fb1: fb_ili9486 frame buffer, 480x320, 300 KiB video memory, 4 KiB DMA buffer memory, fps=33, spi0.0 at 32 MHz
    [ 5.082542] bcm2708_spi 3f204000.spi: SPI Controller at 0x3f204000 (irq 80)
    [ 5.091365] bcm2708_spi 3f204000.spi: SPI Controller running in dma mode
    [ 6.548484] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [ 6.856881] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [ 7.444562] fbtft_device: SPI devices registered:
    [ 7.451103] fbtft_device: ads7846 spi0.1 2000kHz 8 bits mode=0x00
    [ 7.459247] fbtft_device: ili9486 spi0.0 32000kHz 8 bits mode=0x00
    [ 7.467487] fbtft_device: 'fb' Platform devices registered:
    [ 7.474689] fbtft_device: bcm2708_fb id=-1 pdata? no
    [ 7.481703] fbtft_device: Deleting spi0.0
    [ 7.488672] flexfb spi0.0: fbtft_request_gpios: 'reset' = GPIO25
    [ 7.496456] flexfb spi0.0: fbtft_request_gpios: 'dc' = GPIO24
    [ 7.504073] flexfb spi0.0: fbtft_request_gpios: 'led' = GPIO22
    [ 7.511433] flexfb spi0.0: flexfb_verify_gpios_dc()
    [ 7.517725] flexfb spi0.0: fbtft_init_display()
    [ 7.523676] flexfb spi0.0: fbtft_reset()
    [ 7.648957] flexfb spi0.0: init: write(0xB0) 0x00
    [ 7.655210] flexfb spi0.0: init: write(0x11)
    [ 7.660868] flexfb spi0.0: init: mdelay(250)
    [ 7.916988] flexfb spi0.0: init: write(0x3A) 0x55
    [ 7.923091] flexfb spi0.0: init: write(0x36) 0x28
    [ 7.929022] flexfb spi0.0: init: write(0xC2) 0x44
    [ 7.934938] flexfb spi0.0: init: write(0xC5) 0x00 0x00 0x00 0x00
    [ 7.942221] flexfb spi0.0: init: write(0xE0) 0x0F 0x1F 0x1C 0x0C 0x0F 0x08 0x48 0x98 0x37 0x0A 0x13 0x04 0x11 0x0D 0x00
    [ 7.955422] flexfb spi0.0: init: write(0xE1) 0x0F 0x32 0x2E 0x0B 0x0D 0x05 0x47 0x75 0x37 0x06 0x10 0x03 0x24 0x20 0x00
    [ 7.968805] flexfb spi0.0: init: write(0xE2) 0x0F 0x32 0x2E 0x0B 0x0D 0x05 0x47 0x75 0x37 0x06 0x10 0x03 0x24 0x20 0x00
    [ 7.982379] flexfb spi0.0: init: write(0x11)
    [ 7.988085] flexfb spi0.0: init: write(0x29)
    [ 8.158301] flexfb spi0.0: Display update: 1823 kB/s (164.527 ms), fps=0 (0.000 ms)
    [ 8.168643] flexfb spi0.0: fbtft_register_backlight()
    [ 8.175870] graphics fb1: flexfb frame buffer, 480x320, 300 KiB video memory, 4 KiB DMA buffer memory, fps=20, spi0.0 at 16 MHz
    [ 8.190549] flexfb spi0.0: fbtft_backlight_update_status: polarity=1, power=0, fb_blank=0
    [ 8.202115] fbtft_device: GPIOS used by 'flexfb':
    [ 8.208649] fbtft_device: 'reset' = GPIO25
    [ 8.214794] fbtft_device: 'dc' = GPIO24
    [ 8.220658] fbtft_device: 'led' = GPIO22
    [ 8.226597] fbtft_device: SPI devices registered:
    [ 8.233180] fbtft_device: ads7846 spi0.1 2000kHz 8 bits mode=0x00
    [ 8.241542] fbtft_device: flexfb spi0.0 16000kHz 8 bits mode=0x00
    [ 8.297363]
    [ 8.297363]
    [ 8.297363] ads7846_device: ads7846_device_init()
    [ 8.309686] ads7846_device: SPI devices registered:
    [ 8.316040] ads7846_device: ads7846 spi0.1 2000kHz 8 bits mode=0x00
    [ 8.324138] ads7846_device: flexfb spi0.0 16000kHz 8 bits mode=0x00
    [ 8.332173] ads7846_device:
    [ 8.336345] ads7846_device: Settings:
    [ 8.341397] ads7846_device: model = 7846
    [ 8.346768] ads7846_device: gpio_pendown = 17
    [ 8.352526] ads7846_device: swap_xy = 1
    [ 8.357657] ads7846_device: x_min = 0
    [ 8.362552] ads7846_device: x_max = 4095
    [ 8.367637] ads7846_device: y_min = 0
    [ 8.372467] ads7846_device: y_max = 4095
    [ 8.377526] ads7846_device: x_plate_ohms = 100
    [ 8.383142] ads7846_device: pressure_min = 0
    [ 8.388554] ads7846_device: pressure_max = 255
    [ 8.394113] ads7846_device: keep_vref_on = 1
    [ 8.399475] ads7846_device: vref_delay_usecs = 0
    [ 8.405206] ads7846_device: vref_mv = 0
    [ 8.410071] ads7846_device: settle_delay_usecs = 0
    [ 8.415914] ads7846_device: penirq_recheck_delay_usecs = 0
    [ 8.422485] ads7846_device: y_plate_ohms = 0
    [ 8.427805] ads7846_device: debounce_max = 0
    [ 8.433102] ads7846_device: debounce_tol = 0
    [ 8.438362] ads7846_device: debounce_rep = 0
    [ 8.443604] ads7846_device: Deleting spi0.1
    [ 8.500529] ads7846 spi0.1: touchscreen, irq 465
    [ 8.506833] input: ADS7846 Touchscreen as /devices/soc/3f204000.spi/spi_master/spi0/spi0.1/input/input1
    [ 8.519320] ads7846_device: SPI devices registered:
    [ 8.525454] ads7846_device: flexfb spi0.0 16000kHz 8 bits mode=0x00
    [ 8.533243] ads7846_device: ads7846 spi0.1 2000kHz 8 bits mode=0x00
    [ 8.541050] ads7846_device:
    [ 10.637175] random: nonblocking pool is initialized
    [ 12.913196] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
    [ 14.461025] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
    [ 15.888122] Adding 102396k swap on /var/swap. Priority:-1 extents:2 across:2134012k SSFS

    Thanks

    #3589
    Mark Williams
    Keymaster

    Mmmm... that looks correct.
    have you double checked the switch on the side of PiScreen is in the "On" position?

    Mark --OzzMaker.com --

    #3592
    brizio71
    Participant

    Hi there is no switch on mi Pi 2 the screen remain white

    #3621
    brizio71
    Participant

    Hi,
    I have reinstall the image and follow the step on your guide but on sten n.4 Enable SPI I can not find the file raspi-blacklist.conf, do you know why ? Can be this the problem ?
    thx

    #3642
    Mark Williams
    Keymaster

    can you please test with this image
    https://ozzmaker.com/piscreen/PiScreenImage-SDCard-1.7.zip

    Mark --OzzMaker.com --

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.

Blip, blop, bloop...