PiScreen2 + Raspberry Pi3 display not working

Home Forums Forums Technical Support for PiScreen PiScreen2 + Raspberry Pi3 display not working

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #5044
    krish05
    Participant

    Hi Mark,

    I have received the PiScreen2 kit with ILI9486 from Tindie, and after enabling the “piscree2r” + reboot with backlight switch on the backlight is visible, but only a white background is shown.

    I’m running the OS as followinf in config.txt

    # For more options and information see
    # http://www.raspberrypi.org/documentation/configuration/config-txt.md
    # Some settings may impact device functionality. See link above for details

    # uncomment if you get no picture on HDMI for a default “safe” mode
    #hdmi_safe=1

    # uncomment this if your display has a black border of unused pixels visible
    # and your display can output without overscan
    #disable_overscan=1

    # uncomment the following to adjust overscan. Use positive numbers if console
    # goes off screen, and negative if there is too much border
    #overscan_left=16
    #overscan_right=16
    #overscan_top=16
    #overscan_bottom=16

    # uncomment to force a console size. By default it will be display’s size minus
    # overscan.
    #framebuffer_width=1280
    #framebuffer_height=720

    # uncomment if hdmi display is not detected and composite is being output
    #hdmi_force_hotplug=1

    # uncomment to force a specific HDMI mode (this will force VGA)
    #hdmi_group=1
    #hdmi_mode=1

    # uncomment to force a HDMI mode rather than DVI. This can make audio work in
    # DMT (computer monitor) modes
    #hdmi_drive=2

    # uncomment to increase signal to HDMI, if you have interference, blanking, or
    # no display
    #config_hdmi_boost=4

    # uncomment for composite PAL
    #sdtv_mode=2

    #uncomment to overclock the arm. 700 MHz is the default.
    #arm_freq=800

    # Uncomment some or all of these to enable the optional hardware interfaces
    #dtparam=i2c_arm=on
    #dtparam=i2s=on
    #dtparam=spi=on

    # Uncomment this to enable the lirc-rpi module
    #dtoverlay=lirc-rpi

    # Additional overlays and parameters are documented /boot/overlays/README

    # Enable audio (loads snd_bcm2835)
    dtparam=audio=on

    # NOOBS Auto-generated Settings:
    hdmi_force_hotplug=1
    dtparam=spi=on
    dtparam=i2c_arm=on
    enable_uart=1
    dtoverlay=piscreen2r

    Following is the log after upgrading the OS and enabling the drivers:

    root@raspberrypi:/# dmesg
    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Initializing cgroup subsys cpuset
    [ 0.000000] Initializing cgroup subsys cpu
    [ 0.000000] Initializing cgroup subsys cpuacct
    [ 0.000000] Linux version 4.4.13-v7+ (dc4@dc4-XPS13-9333) (gcc
    version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #894
    SMP Mon Jun 13 13:13:27 BST 2016
    [ 0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing
    instruction cache
    [ 0.000000] Machine model: Raspberry Pi 3 Model B Rev 1.2
    [ 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 808c0e00,
    node_mem_map b9fa6000
    [ 0.000000] Normal zone: 2124 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 (9520->f3003010)
    [ 0.000000] [bcm2709_smp_init_cpus] ncores=4
    [ 0.000000] PERCPU: Embedded 13 pages/cpu @b9f62000 s22592 r8192
    d22464 u53248
    [ 0.000000] pcpu-alloc: s22592 r8192 d22464 u53248 alloc=13*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: 239540
    [ 0.000000] Kernel command line: 8250.nr_uarts=1
    dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1184 bcm2708_fb.fbheight=624
    bcm2709.boardrev=0xa02082 bcm2709.serial=0xbeaf45c3
    smsc95xx.macaddr=B8:27:EB:AF:45:C3 bcm2708_fb.fbswap=1
    bcm2709.uart_clock=48000000 vc_mem.mem_base=0x3dc00000
    vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=ttyS0,115200
    console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline
    fsck.repair=yes 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: 939080K/966656K available (6344K kernel code,
    432K rwdata, 1712K rodata, 476K init, 764K bss, 19384K reserved, 8192K
    cma-reserved)
    [ 0.000000] Virtual kernel memory layout:
    vector : 0xffff0000 – 0xffff1000 ( 4 kB)
    fixmap : 0xffc00000 – 0xfff00000 (3072 kB)
    vmalloc : 0xbb800000 – 0xff800000 (1088 MB)
    lowmem : 0x80000000 – 0xbb000000 ( 944 MB)
    modules : 0x7f000000 – 0x80000000 ( 16 MB)
    .text : 0x80008000 – 0x807e6470 (8058 kB)
    .init : 0x807e7000 – 0x8085e000 ( 476 kB)
    .data : 0x8085e000 – 0x808ca108 ( 433 kB)
    .bss : 0x808cd000 – 0x8098c1ac ( 765 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [ 0.000000] Hierarchical RCU implementation.
    [ 0.000000] Build-time adjustment of leaf fanout to 32.
    [ 0.000000] NR_IRQS:16 nr_irqs:16 16
    [ 0.000000] Architected cp15 timer(s) running at 19.20MHz (phys).
    [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff
    max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
    [ 0.000008] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps
    every 4398046511078ns
    [ 0.000025] Switching to timer-based delay loop, resolution 52ns
    [ 0.000284] Console: colour dummy device 80×30
    [ 0.001339] console [tty1] enabled
    [ 0.001391] Calibrating delay loop (skipped), value calculated
    using timer frequency.. 38.40 BogoMIPS (lpj=192000)
    [ 0.001461] pid_max: default: 32768 minimum: 301
    [ 0.001801] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.001844] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.002799] Disabling cpuset control group subsystem
    [ 0.002856] Initializing cgroup subsys io
    [ 0.002908] Initializing cgroup subsys memory
    [ 0.002968] Initializing cgroup subsys devices
    [ 0.003012] Initializing cgroup subsys freezer
    [ 0.003055] Initializing cgroup subsys net_cls
    [ 0.003126] CPU: Testing write buffer coherency: ok
    [ 0.003215] ftrace: allocating 21209 entries in 63 pages
    [ 0.053754] CPU0: update cpu_capacity 1024
    [ 0.053823] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [ 0.053856] [bcm2709_smp_prepare_cpus] enter
    [ 0.054013] Setting up static identity map for 0x8240 – 0x8274
    [ 0.055674] [bcm2709_boot_secondary] cpu:1 started (0) 18
    [ 0.056028] [bcm2709_secondary_init] enter cpu:1
    [ 0.056069] CPU1: update cpu_capacity 1024
    [ 0.056075] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [ 0.056451] [bcm2709_boot_secondary] cpu:2 started (0) 17
    [ 0.056714] [bcm2709_secondary_init] enter cpu:2
    [ 0.056735] CPU2: update cpu_capacity 1024
    [ 0.056741] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    [ 0.057095] [bcm2709_boot_secondary] cpu:3 started (0) 17
    [ 0.057277] [bcm2709_secondary_init] enter cpu:3
    [ 0.057297] CPU3: update cpu_capacity 1024
    [ 0.057303] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    [ 0.057364] Brought up 4 CPUs
    [ 0.057463] SMP: Total of 4 processors activated (153.60 BogoMIPS).
    [ 0.057492] CPU: All CPU(s) started in HYP mode.
    [ 0.057518] CPU: Virtualization extensions available.
    [ 0.058151] devtmpfs: initialized
    [ 0.068514] VFP support v0.3: implementor 41 architecture 3 part 40
    variant 3 rev 4
    [ 0.068879] clocksource: jiffies: mask: 0xffffffff max_cycles:
    0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.069618] pinctrl core: initialized pinctrl subsystem
    [ 0.070169] NET: Registered protocol family 16
    [ 0.075350] DMA: preallocated 4096 KiB pool for atomic coherent allocations
    [ 0.082805] bcm2709: Mini UART enabled
    [ 0.082867] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4
    watchpoint registers.
    [ 0.082914] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [ 0.083098] Serial: AMBA PL011 UART driver
    [ 0.083285] uart-pl011 3f201000.uart: could not find pctldev for
    node /soc/gpio@7e200000/uart0_pins, deferring probe
    [ 0.083498] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
    [ 0.155913] bcm2835-dma 3f007000.dma: DMA legacy API manager at
    f3007000, dmachans=0x1
    [ 0.156517] SCSI subsystem initialized
    [ 0.156715] usbcore: registered new interface driver usbfs
    [ 0.156825] usbcore: registered new interface driver hub
    [ 0.156939] usbcore: registered new device driver usb
    [ 0.163315] raspberrypi-firmware soc:firmware: Attached to firmware
    from 2016-06-20 18:13
    [ 0.190484] clocksource: Switched to clocksource arch_sys_counter
    [ 0.235232] FS-Cache: Loaded
    [ 0.235531] CacheFiles: Loaded
    [ 0.247824] NET: Registered protocol family 2
    [ 0.248701] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.248839] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [ 0.249050] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.249164] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [ 0.249232] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [ 0.249476] NET: Registered protocol family 1
    [ 0.249824] RPC: Registered named UNIX socket transport module.
    [ 0.249856] RPC: Registered udp transport module.
    [ 0.249884] RPC: Registered tcp transport module.
    [ 0.249912] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.251037] hw perfevents: enabled with armv7_cortex_a7 PMU driver,
    7 counters available
    [ 0.252382] futex hash table entries: 1024 (order: 4, 65536 bytes)
    [ 0.265765] VFS: Disk quotas dquot_6.6.0
    [ 0.266096] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 0.268328] FS-Cache: Netfs ‘nfs’ registered for caching
    [ 0.269254] NFS: Registering the id_resolver key type
    [ 0.269326] Key type id_resolver registered
    [ 0.269355] Key type id_legacy registered
    [ 0.271725] Block layer SCSI generic (bsg) driver version 0.4
    loaded (major 252)
    [ 0.271894] io scheduler noop registered
    [ 0.271933] io scheduler deadline registered (default)
    [ 0.272008] io scheduler cfq registered
    [ 0.274589] BCM2708FB: allocated DMA memory fac00000
    [ 0.274637] BCM2708FB: allocated DMA channel 0 @ f3007000
    [ 0.286386] Console: switching to colour frame buffer device 148×39
    [ 0.293367] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
    [ 0.294446] console [ttyS0] disabled
    [ 0.294569] 3f215040.uart: ttyS0 at MMIO 0x3f215040 (irq = 59,
    base_baud = 31250000) is a 16550
    [ 1.025670] console [ttyS0] enabled
    [ 1.992249] bcm2835-rng 3f104000.rng: hwrng registered
    [ 2.000066] vc-cma: Videocore CMA driver
    [ 2.006520] vc-cma: vc_cma_base = 0x00000000
    [ 2.013721] vc-cma: vc_cma_size = 0x00000000 (0 MiB)
    [ 2.021584] vc-cma: vc_cma_initial = 0x00000000 (0 MiB)
    [ 2.029615] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000
    mem_size:0x3f000000(1008 MiB)
    [ 2.055355] brd: module loaded
    [ 2.069443] loop: module loaded
    [ 2.075939] vchiq: vchiq_init_state: slot_zero = 0xbac80000, is_master = 0
    [ 2.086781] Loading iSCSI transport class v2.0-870.
    [ 2.094783] usbcore: registered new interface driver smsc95xx
    [ 2.103137] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
    [ 2.311717] Core Release: 2.80a
    [ 2.317335] Setting default values for core params
    [ 2.324639] Finished setting default values for core params
    [ 2.533063] Using Buffer DMA mode
    [ 2.538782] Periodic Transfer Interrupt Enhancement – disabled
    [ 2.547094] Multiprocessor Interrupt Enhancement – disabled
    [ 2.555126] OTG VER PARAM: 0, OTG VER FLAG: 0
    [ 2.561915] Dedicated Tx FIFOs mode
    [ 2.568063] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers:
    virt = 0xbac14000 dma = 0xfac14000 len=9024
    [ 2.580581] FIQ FSM acceleration enabled for :
    Non-periodic Split Transactions
    Periodic Split Transactions
    High-Speed Isochronous Endpoints
    Interrupt/Control Split Transaction hack enabled
    [ 2.615343] dwc_otg: Microframe scheduler enabled
    [ 2.615398] WARN::hcd_init_fiq:413: FIQ on core 1 at 0x80446a60
    [ 2.623872] WARN::hcd_init_fiq:414: FIQ ASM at 0x80446dd0 length 36
    [ 2.632703] WARN::hcd_init_fiq:439: MPHI regs_base at 0xbb9fc000
    [ 2.641289] dwc_otg 3f980000.usb: DWC OTG Controller
    [ 2.648777] dwc_otg 3f980000.usb: new USB bus registered, assigned
    bus number 1
    [ 2.658679] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
    [ 2.666770] Init: Port Power? op_state=1
    [ 2.673075] Init: Power Port (0)
    [ 2.678817] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 2.688073] usb usb1: New USB device strings: Mfr=3, Product=2,
    SerialNumber=1
    [ 2.697783] usb usb1: Product: DWC OTG Controller
    [ 2.704949] usb usb1: Manufacturer: Linux 4.4.13-v7+ dwc_otg_hcd
    [ 2.713490] usb usb1: SerialNumber: 3f980000.usb
    [ 2.721377] hub 1-0:1.0: USB hub found
    [ 2.727535] hub 1-0:1.0: 1 port detected
    [ 2.734449] dwc_otg: FIQ enabled
    [ 2.734458] dwc_otg: NAK holdoff enabled
    [ 2.734466] dwc_otg: FIQ split-transaction FSM enabled
    [ 2.734504] Module dwc_common_port init
    [ 2.734767] usbcore: registered new interface driver usb-storage
    [ 2.743480] mousedev: PS/2 mouse device common for all mice
    [ 2.752168] bcm2835-cpufreq: min=600000 max=1200000
    [ 2.759677] sdhci: Secure Digital Host Controller Interface driver
    [ 2.768293] sdhci: Copyright(c) Pierre Ossman
    [ 2.775342] sdhost: log_buf @ bac13000 (fac13000)
    [ 2.860515] mmc0: sdhost-bcm2835 loaded – DMA enabled (>1)
    [ 2.870656] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
    [ 2.878892] mmc-bcm2835 3f300000.mmc: DMA channel allocated
    [ 2.920596] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 2.929006] ledtrig-cpu: registered to indicate activity on CPUs
    [ 2.937500] Indeed it is in host mode hprt0 = 00021501
    [ 2.950701] hidraw: raw HID events driver (C) Jiri Kosina
    [ 2.958596] usbcore: registered new interface driver usbhid
    [ 2.966456] usbhid: USB HID core driver
    [ 2.973989] Initializing XFRM netlink socket
    [ 2.980712] NET: Registered protocol family 17
    [ 2.987636] Key type dns_resolver registered
    [ 2.994672] Registering SWP/SWPB emulation handler
    [ 3.002581] registered taskstats version 1
    [ 3.009184] vc-sm: Videocore shared memory driver
    [ 3.016233] mmc0: host does not support reading read-only switch,
    assuming write-enable
    [ 3.016243] [vc_sm_connected_init]: start
    [ 3.033328] [vc_sm_connected_init]: end – returning 0
    [ 3.040928] mmc0: new high speed SDHC card at address aaaa
    [ 3.042144] 3f201000.uart: ttyAMA0 at MMIO 0x3f201000 (irq = 87,
    base_baud = 0) is a PL011 rev2
    [ 3.042500] of_cfs_init
    [ 3.042605] of_cfs_init: OK
    [ 3.070014] Waiting for root device /dev/mmcblk0p7…
    [ 3.070386] mmcblk0: mmc0:aaaa SL16G 14.8 GiB
    [ 3.087112] mmcblk0: p1 p2 < p5 p6 p7 >
    [ 3.111247] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
    [ 3.120523] usb 1-1: new high-speed USB device number 2 using dwc_otg
    [ 3.120651] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
    [ 3.122196] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
    [ 3.124985] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
    [ 3.153015] Indeed it is in host mode hprt0 = 00001101
    [ 3.203688] EXT4-fs (mmcblk0p7): mounted filesystem with ordered
    data mode. Opts: (null)
    [ 3.214264] VFS: Mounted root (ext4 filesystem) readonly on device 179:7.
    [ 3.231419] devtmpfs: mounted
    [ 3.237428] Freeing unused kernel memory: 476K (807e7000 – 8085e000)
    [ 3.239330] mmc1: new high speed SDIO card at address 0001
    [ 3.350810] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
    [ 3.360026] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [ 3.370511] hub 1-1:1.0: USB hub found
    [ 3.376770] hub 1-1:1.0: 5 ports detected
    [ 3.504273] random: systemd urandom read with 59 bits of entropy available
    [ 3.517534] systemd[1]: systemd 215 running in system mode. (+PAM
    +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ
    -SECCOMP -APPARMOR)
    [ 3.536552] systemd[1]: Detected architecture ‘arm’.
    [ 3.654671] NET: Registered protocol family 10
    [ 3.660564] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
    [ 3.672550] systemd[1]: Inserted module ‘ipv6’
    [ 3.682188] systemd[1]: Set hostname to <raspberrypi>.
    [ 3.760975] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
    [ 3.770902] usb 1-1.1: New USB device strings: Mfr=0, Product=0,
    SerialNumber=0
    [ 3.787181] smsc95xx v1.0.4
    [ 3.853914] smsc95xx 1-1.1:1.0 eth0: register ‘smsc95xx’ at
    usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:af:45:c3
    [ 3.960606] usb 1-1.3: new low-speed USB device number 4 using dwc_otg
    [ 4.051919] systemd[1]: Starting Forward Password Requests to Wall
    Directory Watch.
    [ 4.062983] systemd[1]: Started Forward Password Requests to Wall
    Directory Watch.
    [ 4.073581] systemd[1]: Expecting device dev-ttyS0.device…
    [ 4.085644] systemd[1]: Starting Remote File Systems (Pre).
    [ 4.097459] systemd[1]: Reached target Remote File Systems (Pre).
    [ 4.106861] systemd[1]: Starting Arbitrary Executable File Formats
    File System Automount Point.
    [ 4.122656] systemd[1]: Set up automount Arbitrary Executable File
    Formats File System Automount Point.
    [ 4.135408] systemd[1]: Starting Encrypted Volumes.
    [ 4.146859] systemd[1]: Reached target Encrypted Volumes.
    [ 4.155476] systemd[1]: Starting Swap.
    [ 4.165652] systemd[1]: Reached target Swap.
    [ 4.173012] systemd[1]: Expecting device dev-mmcblk0p6.device…
    [ 4.185499] systemd[1]: Starting Root Slice.
    [ 4.195967] systemd[1]: Created slice Root Slice.
    [ 4.203555] systemd[1]: Starting User and Session Slice.
    [ 4.215126] systemd[1]: Created slice User and Session Slice.
    [ 4.223884] systemd[1]: Starting Delayed Shutdown Socket.
    [ 4.235683] systemd[1]: Listening on Delayed Shutdown Socket.
    [ 4.244398] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
    [ 4.257433] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [ 4.267436] systemd[1]: Starting Journal Socket (/dev/log).
    [ 4.279350] systemd[1]: Listening on Journal Socket (/dev/log).
    [ 4.288186] systemd[1]: Starting udev Control Socket.
    [ 4.299250] systemd[1]: Listening on udev Control Socket.
    [ 4.307474] systemd[1]: Starting udev Kernel Socket.
    [ 4.318378] systemd[1]: Listening on udev Kernel Socket.
    [ 4.326495] systemd[1]: Starting Journal Socket.
    [ 4.337038] systemd[1]: Listening on Journal Socket.
    [ 4.344763] systemd[1]: Starting System Slice.
    [ 4.354564] usb 1-1.3: New USB device found, idVendor=04d9, idProduct=1702
    [ 4.354574] usb 1-1.3: New USB device strings: Mfr=1, Product=2,
    SerialNumber=0
    [ 4.354581] usb 1-1.3: Product: USB Keyboard
    [ 4.354587] usb 1-1.3: Manufacturer:
    [ 4.387025] systemd[1]: Created slice System Slice.
    [ 4.394553] systemd[1]: Starting File System Check on Root Device…
    [ 4.431039] systemd[1]: Starting system-systemd\x2dfsck.slice.
    [ 4.443377] systemd[1]: Created slice system-systemd\x2dfsck.slice.
    [ 4.452468] systemd[1]: Starting system-autologin.slice.
    [ 4.464160] systemd[1]: Created slice system-autologin.slice.
    [ 4.472742] systemd[1]: Starting system-serial\x2dgetty.slice.
    [ 4.485206] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [ 4.494383] systemd[1]: Starting Increase datagram queue length…
    [ 4.509066] systemd[1]: Starting Restore / save the current clock…
    [ 4.523761] input: USB Keyboard as
    /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:04D9:1702.0001/input/input0
    [ 4.532382] systemd[1]: Starting udev Coldplug all Devices…
    [ 4.552838] systemd[1]: Mounted Huge Pages File System.
    [ 4.561325] systemd[1]: Mounting POSIX Message Queue File System…
    [ 4.601581] hid-generic 0003:04D9:1702.0001: input,hidraw0: USB HID
    v1.10 Keyboard [ USB Keyboard] on usb-3f980000.usb-1.3/input0
    [ 4.609751] systemd[1]: Started Set Up Additional Binary Formats.
    [ 4.634856] systemd[1]: Starting Load Kernel Modules…
    [ 4.649737] systemd[1]: Mounting Debug File System…
    [ 4.665572] systemd[1]: Starting Create list of required static
    device nodes for the current kernel…
    [ 4.684389] fuse init (API version 7.23)
    [ 4.685380] systemd[1]: Starting Slices.
    [ 4.702906] systemd[1]: Reached target Slices.
    [ 4.712734] i2c /dev entries driver
    [ 4.722941] systemd[1]: Mounted Debug File System.
    [ 4.724067] input: USB Keyboard as
    /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.1/0003:04D9:1702.0002/input/input1
    [ 4.749802] systemd[1]: Mounted POSIX Message Queue File System.
    [ 4.764195] systemd[1]: Started File System Check on Root Device.
    [ 4.780877] hid-generic 0003:04D9:1702.0002: input,hidraw1: USB HID
    v1.10 Device [ USB Keyboard] on usb-3f980000.usb-1.3/input1
    [ 4.801892] systemd[1]: Started Increase datagram queue length.
    [ 4.816110] systemd[1]: Started Restore / save the current clock.
    [ 4.868082] systemd[1]: Started Load Kernel Modules.
    [ 4.882338] systemd[1]: Started Create list of required static
    device nodes for the current kernel.
    [ 4.894843] usb 1-1.5: new low-speed USB device number 5 using dwc_otg
    [ 4.908195] systemd[1]: Time has been changed
    [ 4.920989] systemd[1]: Started udev Coldplug all Devices.
    [ 5.025524] usb 1-1.5: New USB device found, idVendor=046d, idProduct=c05a
    [ 5.035724] usb 1-1.5: New USB device strings: Mfr=1, Product=2,
    SerialNumber=0
    [ 5.046247] usb 1-1.5: Product: USB Optical Mouse
    [ 5.054096] usb 1-1.5: Manufacturer: Logitech
    [ 5.066200] input: Logitech USB Optical Mouse as
    /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0/0003:046D:C05A.0003/input/input2
    [ 5.076100] systemd[1]: Starting Create Static Device Nodes in /dev…
    [ 5.092842] hid-generic 0003:046D:C05A.0003: input,hidraw2: USB HID
    v1.11 Mouse [Logitech USB Optical Mouse] on
    usb-3f980000.usb-1.5/input0
    [ 5.151371] systemd[1]: Mounting Configuration File System…
    [ 5.167049] systemd[1]: Mounting FUSE Control File System…
    [ 5.183503] systemd[1]: Starting Apply Kernel Variables…
    [ 5.199687] systemd[1]: Starting Syslog Socket.
    [ 5.212386] systemd[1]: Listening on Syslog Socket.
    [ 5.220924] systemd[1]: Starting Journal Service…
    [ 5.231374] systemd[1]: Started Journal Service.
    [ 5.384346] systemd-udevd[139]: starting version 215
    [ 5.833146] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
    [ 5.842602] gpiomem-bcm2835 3f200000.gpiomem: Initialised:
    Registers at 0x3f200000
    [ 5.847241] bcm2708_i2c 3f804000.i2c: BSC1 Controller at 0x3f804000
    (irq 83) (baudrate 100000)
    [ 6.026898] EXT4-fs (mmcblk0p7): re-mounted. Opts: (null)
    [ 6.120034] ads7846 spi0.1: touchscreen, irq 183
    [ 6.121131] usbcore: registered new interface driver brcmfmac
    [ 6.123268] input: ADS7846 Touchscreen as
    /devices/platform/soc/3f204000.spi/spi_master/spi0/spi0.1/input/input3
    [ 6.178831] fbtft: module is from the staging directory, the
    quality is unknown, you have been warned.
    [ 6.193309] fb_ili9486: module is from the staging directory, the
    quality is unknown, you have been warned.
    [ 6.197071] fbtft_of_value: regwidth = 16
    [ 6.197098] fbtft_of_value: buswidth = 8
    [ 6.197109] fbtft_of_value: debug = 0
    [ 6.197119] fbtft_of_value: rotate = 90
    [ 6.197130] fbtft_of_value: fps = 30
    [ 6.197140] fbtft_of_value: txbuflen = 32768
    [ 6.320797] random: nonblocking pool is initialized
    [ 6.399520] brcmfmac: brcmf_c_preinit_dcmds: Firmware version =
    wl0: May 27 2016 00:13:38 version 7.45.41.26 (r640327) FWID
    01-df77e4a7
    [ 6.430303] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
    [ 6.496399] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
    [ 6.496435] cfg80211: World regulatory domain updated:
    [ 6.496445] cfg80211: DFS Master region: unset
    [ 6.496454] cfg80211: (start_freq – end_freq @ bandwidth),
    (max_antenna_gain, max_eirp), (dfs_cac_time)
    [ 6.496468] cfg80211: (2402000 KHz – 2472000 KHz @ 40000 KHz),
    (N/A, 2000 mBm), (N/A)
    [ 6.496481] cfg80211: (2457000 KHz – 2482000 KHz @ 40000 KHz),
    (N/A, 2000 mBm), (N/A)
    [ 6.496493] cfg80211: (2474000 KHz – 2494000 KHz @ 20000 KHz),
    (N/A, 2000 mBm), (N/A)
    [ 6.496507] cfg80211: (5170000 KHz – 5250000 KHz @ 80000 KHz,
    160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
    [ 6.496532] cfg80211: (5250000 KHz – 5330000 KHz @ 80000 KHz,
    160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
    [ 6.496559] cfg80211: (5490000 KHz – 5730000 KHz @ 160000 KHz),
    (N/A, 2000 mBm), (0 s)
    [ 6.496572] cfg80211: (5735000 KHz – 5835000 KHz @ 80000 KHz),
    (N/A, 2000 mBm), (N/A)
    [ 6.496584] cfg80211: (57240000 KHz – 63720000 KHz @ 2160000
    KHz), (N/A, 0 mBm), (N/A)
    [ 6.655166] graphics fb1: fb_ili9486 frame buffer, 480×320, 300 KiB
    video memory, 32 KiB DMA buffer memory, fps=33, spi0.0 at 64 MHz
    [ 6.743411] systemd-journald[138]: Received request to flush
    runtime journal from PID 1
    [ 7.514114] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
    [ 7.514138] brcmfmac: brcmf_add_if: ignore IF event
    [ 7.518889] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 7.518937] brcmfmac: power management disabled
    [ 8.022635] cfg80211: Regulatory domain changed to country: GB
    [ 8.022651] cfg80211: DFS Master region: ETSI
    [ 8.022657] cfg80211: (start_freq – end_freq @ bandwidth),
    (max_antenna_gain, max_eirp), (dfs_cac_time)
    [ 8.022664] cfg80211: (2402000 KHz – 2482000 KHz @ 40000 KHz),
    (N/A, 2000 mBm), (N/A)
    [ 8.022672] cfg80211: (5170000 KHz – 5250000 KHz @ 80000 KHz,
    160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
    [ 8.022680] cfg80211: (5250000 KHz – 5330000 KHz @ 80000 KHz,
    160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
    [ 8.022686] cfg80211: (5490000 KHz – 5710000 KHz @ 160000 KHz),
    (N/A, 2700 mBm), (0 s)
    [ 8.022692] cfg80211: (57000000 KHz – 66000000 KHz @ 2160000
    KHz), (N/A, 4000 mBm), (N/A)
    [ 8.026338] uart-pl011 3f201000.uart: no DMA platform data
    [ 8.276587] Adding 102396k swap on /var/swap. Priority:-1
    extents:3 across:552956k SSFS
    [ 8.662227] smsc95xx 1-1.1:1.0 eth0: hardware isn’t capable of remote wakeup
    [ 8.662665] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 9.286381] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
    [ 12.467364] Bluetooth: Core ver 2.21
    [ 12.467450] NET: Registered protocol family 31
    [ 12.467460] Bluetooth: HCI device and connection manager initialized
    [ 12.467483] Bluetooth: HCI socket layer initialized
    [ 12.467500] Bluetooth: L2CAP socket layer initialized
    [ 12.467533] Bluetooth: SCO socket layer initialized
    [ 12.477826] Bluetooth: HCI UART driver ver 2.3
    [ 12.477846] Bluetooth: HCI UART protocol H4 registered
    [ 12.477856] Bluetooth: HCI UART protocol Three-wire (H5) registered
    [ 12.478035] Bluetooth: HCI UART protocol BCM registered
    [ 12.720407] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [ 12.720421] Bluetooth: BNEP filters: protocol multicast
    [ 12.720436] Bluetooth: BNEP socket layer initialized
    [ 16.216032] EXT4-fs (mmcblk0p5): mounted filesystem with ordered
    data mode. Opts: (null)
    [ 410.874664] ICMPv6: process `grep’ is using deprecated sysctl
    (syscall) net.ipv6.neigh.default.base_reachable_time – use
    net.ipv6.neigh.default.base_reachable_time_ms instead
    [ 410.877072] nr_pdflush_threads exported in /proc is scheduled for removal
    root@raspberrypi:/# vcdbg log msg
    000951.726: HDMI:EDID version 1.3, 1 extensions, screen size 16×9 cm
    000951.790: HDMI:EDID features – videodef 0x80 !standby !suspend
    !active off; colour encoding:RGB444|YCbCr422; sRGB is not default
    colourspace; preferred format is native; does not support GTF
    000951.845: HDMI:EDID found preferred CEA detail timing format:
    1280x720p @ 50 Hz (19)
    000951.888: HDMI:EDID found CEA detail timing format: 1920x1080i @ 50 Hz (20)
    000951.928: HDMI:EDID found DMT format: code 4, 640x480p @ 60 Hz in
    established timing I/II
    000952.024: HDMI:EDID standard timings block x 8: 0x0101 0101 0101
    0101 0101 0101 0101 0101
    000965.035: HDMI:EDID parsing v3 CEA extension 0
    000965.073: HDMI:EDID monitor support – underscan IT formats:no, basic
    audio:yes, yuv444:yes, yuv422:yes, #native DTD:1
    000965.116: HDMI:EDID found CEA detail timing format: 720x576p @ 50 Hz (17)
    000965.158: HDMI:EDID found CEA detail timing format: 1280x720p @ 60 Hz (4)
    000965.198: HDMI:EDID found CEA detail timing format: 1920x1080i @ 60 Hz (5)
    000965.239: HDMI:EDID found CEA detail timing format: 720x480p @ 60 Hz (2)
    000965.276: HDMI:EDID found CEA format: code 19, 1280x720p @ 50Hz (native)
    000965.310: HDMI:EDID found CEA format: code 20, 1920x1080i @ 50Hz
    000965.344: HDMI:EDID found CEA format: code 18, 720x576p @ 50Hz
    000965.375: HDMI:EDID found CEA format: code 4, 1280x720p @ 60Hz
    000965.408: HDMI:EDID found CEA format: code 5, 1920x1080i @ 60Hz
    000965.439: HDMI:EDID found CEA format: code 3, 720x480p @ 60Hz
    000965.492: HDMI:EDID found audio format 2 channels PCM, sample rate:
    32|44|48 kHz, sample size: 16|20|24 bits
    000965.509: HDMI:EDID found HDMI VSDB length 5
    000965.533: HDMI:EDID HDMI VSDB has physical address 1.0.0.0
    000965.549: HDMI:EDID HDMI VSDB has no extension fields
    000965.591: HDMI:EDID filtering formats with pixel clock > 162 MHz or
    h. blanking > 1023
    000965.705: HDMI:EDID preferred mode remained as CEA (19) 1280x720p @
    50 Hz with pixel clock 74 MHz
    000980.614: HDMI:Setting property pixel encoding to Default
    000980.633: HDMI:Setting property pixel clock type to PAL
    000980.652: HDMI:Setting property content type flag to No data
    000980.670: HDMI:Setting property fuzzy format match to enabled
    001168.255: hdmi: HDMI:>>>>>>>>>>>>>Rx sensed, reading EDID<<<<<<<<<<<<<
    001180.391: hdmi: HDMI:EDID version 1.3, 1 extensions, screen size 16×9 cm
    001180.462: hdmi: HDMI:EDID features – videodef 0x80 !standby !suspend
    !active off; colour encoding:RGB444|YCbCr422; sRGB is not default
    colourspace; preferred format is native; does not support GTF
    001180.526: hdmi: HDMI:EDID found preferred CEA detail timing format:
    1280x720p @ 50 Hz (19)
    001180.575: hdmi: HDMI:EDID found CEA detail timing format: 1920x1080i
    @ 50 Hz (20)
    001180.620: hdmi: HDMI:EDID found DMT format: code 4, 640x480p @ 60 Hz
    in established timing I/II
    001180.716: hdmi: HDMI:EDID standard timings block x 8: 0x0101 0101
    0101 0101 0101 0101 0101 0101
    001193.733: hdmi: HDMI:EDID parsing v3 CEA extension 0
    001193.775: hdmi: HDMI:EDID monitor support – underscan IT formats:no,
    basic audio:yes, yuv444:yes, yuv422:yes, #native DTD:1
    001193.823: hdmi: HDMI:EDID found CEA detail timing format: 720x576p @
    50 Hz (17)
    001193.867: hdmi: HDMI:EDID found CEA detail timing format: 1280x720p
    @ 60 Hz (4)
    001193.913: hdmi: HDMI:EDID found CEA detail timing format: 1920x1080i
    @ 60 Hz (5)
    001193.956: hdmi: HDMI:EDID found CEA detail timing format: 720x480p @ 60 Hz (2)
    001193.995: hdmi: HDMI:EDID found CEA format: code 19, 1280x720p @ 50Hz (native)
    001194.032: hdmi: HDMI:EDID found CEA format: code 20, 1920x1080i @ 50Hz
    001194.067: hdmi: HDMI:EDID found CEA format: code 18, 720x576p @ 50Hz
    001194.103: hdmi: HDMI:EDID found CEA format: code 4, 1280x720p @ 60Hz
    001194.138: hdmi: HDMI:EDID found CEA format: code 5, 1920x1080i @ 60Hz
    001194.174: hdmi: HDMI:EDID found CEA format: code 3, 720x480p @ 60Hz
    001194.232: hdmi: HDMI:EDID found audio format 2 channels PCM, sample
    rate: 32|44|48 kHz, sample size: 16|20|24 bits
    001194.254: hdmi: HDMI:EDID found HDMI VSDB length 5
    001194.283: hdmi: HDMI:EDID HDMI VSDB has physical address 1.0.0.0
    001194.303: hdmi: HDMI:EDID HDMI VSDB has no extension fields
    001194.350: hdmi: HDMI:EDID filtering formats with pixel clock > 162
    MHz or h. blanking > 1023
    001194.466: hdmi: HDMI:EDID preferred mode remained as CEA (19)
    1280x720p @ 50 Hz with pixel clock 74 MHz
    001194.488: hdmi: HDMI: hotplug attached with HDMI support
    001194.554: hdmi: HDMI:hdmi_get_state is deprecated, use
    hdmi_get_display_state instead
    001197.020: hdmi: HDMI: power_on to CEA mode 720p50
    001200.191: hdmi: HDMI: Action callback added to queue to happen at frame 2
    001200.215: hdmi: HDMI: Action stop_3d_mode added to queue to happen at frame 2
    001200.236: hdmi: HDMI: Action unmute added to queue to happen at frame 3
    001200.264: hdmi: HDMI: Action cec_init added to queue to happen at frame 3
    001280.536: *** Restart logging
    001282.024: Read command line from file ‘cmdline.txt’
    dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1
    root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes
    rootwait
    001534.824: Loading ‘kernel7.img’ to 0x8000 size 0x4074e8
    001538.474: Kernel trailer DTOK property says yes
    001538.487: Kernel trailer DDTK property says yes
    001541.076: Loading ‘bcm2710-rpi-3-b.dtb’ to 0x40f4e8 size 0x3b85
    001619.975: dtparam: uart0_clkrate=48000000
    001632.910: dtparam: audio=on
    001643.519: dtparam: spi=on
    001651.222: dtparam: i2c_arm=on
    001678.698: Loaded overlay ‘piscreen2r’
    001821.264: dtparam: arm_freq=1200000000
    001864.534: dtparam: core_freq=250000000
    001876.135: dtparam: cache_line_size=64
    001895.411: Device tree loaded to 0x2fffbc00 (size 0x43d1)
    001897.676: gpioman: gpioman_get_pin_num: pin SDCARD_CONTROL_POWER not defined
    004405.545: vchiq_core: vchiq_init_state: slot_zero = 0xfac80000, is_master = 1
    004409.726: hdmi: HDMI:hdmi_get_state is deprecated, use
    hdmi_get_display_state instead
    004414.574: TV service:host side not connected, dropping notification
    0x00000002, 0x00000001, 0x00000013
    root@raspberrypi:/#

    I’m running this on a Raspberry Pi 3 with Raspbian:

    root@raspberrypi:/# uname -a
    Linux raspberrypi 4.4.13-v7+ #894 SMP Mon Jun 13 13:13:27 BST 2016
    armv7l GNU/Linux

    Looking in the forum here https://ozzmaker.com/forums/topic/piscreen-does-not-work/ i saw that the old driver mode used the following init sequence for the display:

    flexfb width=320 height=480 regwidth=16 init=-1,0xb0,0x0,-1,0×11,-2,250,-1,0x3A,0x55,-1,0×36,0x28,-1,0xC2,0x44,-1,0xC5,0x00,0x00,0x0,0x0,-1,0xE0,0x0F,0x1F,0x1C,0x0C,0x0F,0x08,0x48,0x98,0x37,0x0A,0x13,0x04,0x11,0x0D,0x00,-1,0xE1,0x0F,0x32,0x2E,0x0B,0x0D,0x05,0x47,0x75,0x37,0x06,0x10,0x03,0x24,0x20,0x00,-1,0xE2,0x0F,0x32,0x2E,0x0B,0x0D,0x05,0x47,0x75,0x37,0x06,0x10,0x03,0x24,0x20,0x00,-1,0×11,-1,0X29,-3

    I did not try to set this configuration (old driver mode) to avoid configuring in a bad state the display and breaking it apart.

    While trying to debug the issue i added the following notes to that display initialization sequence that i’m sending you here:

    flexfb
    width=320
    height=480
    regwidth=16
    init=
    __________________________________________________________________________________

    -1, 0xb0, Interface Mode Control CMD B0
    0x0,
    __________________________________________________________________________________

    -1, 0x11, Sleep OUT CMD 11
    __________________________________________________________________________________

    -2, 250, delay
    __________________________________________________________________________________

    -1, 0x3A, Interface Pixel Format CMD 3A
    0x55,
    __________________________________________________________________________________

    -1, 0x36, Memory Access Control CMD 36
    0x28,
    __________________________________________________________________________________

    -1, 0xC2, Memory Write CMD 2C
    0x44,
    __________________________________________________________________________________

    -1, 0xC5, VCOM Control CMD C5
    0x00,
    0x00,
    0x0,
    0x0,
    __________________________________________________________________________________

    -1, 0xE0, PGAMCTRL CMD E0
    0x0F,
    0x1F,
    0x1C,
    0x0C,
    0x0F,
    0x08,
    0x48,
    0x98,
    0x37,
    0x0A,
    0x13,
    0x04,
    0x11,
    0x0D,
    0x00,
    __________________________________________________________________________________

    -1, 0xE1, NGAMCTRL CMD E1
    0x0F,
    0x32,
    0x2E,
    0x0B,
    0x0D,
    0x05,
    0x47,
    0x75,
    0x37,
    0x06,
    0x10,
    0x03,
    0x24,
    0x20,
    0x00,
    __________________________________________________________________________________

    -1, 0xE2, Digital Gamma Control 1 CMD E2h
    0x0F,
    0x32,
    0x2E,
    0x0B,
    0x0D,
    0x05,
    0x47,
    0x75,
    0x37,
    0x06,
    0x10,
    0x03,
    0x24,
    0x20,
    0x00,
    __________________________________________________________________________________

    -1, 0x11, Sleep OUT CMD 11
    __________________________________________________________________________________

    -1, 0X29, Display ON CMD 29
    __________________________________________________________________________________

    -3 fbtft_device
    debug=3
    rotate=90
    name=flexfb
    speed=16000000
    __________________________________________________________________________________

    gpios=reset:25,dc:24,led:22
    __________________________________________________________________________________

    What is the Brand/Model and Part Number of the Display ?
    Do you have the Datasheet of the LCD/Touchscreen ?
    Can you send it to me ?
    If you don’t have it, who provided you the initialization codes ?

    I can try to perfom some tests with differnt configurations but i need the full documentation that the manifacturer should provide.

    Sorry for the question but did you test the display/piscreen kit before sending ?

    Thank you very much,
    Best Regards

    Chris

    krish0005@gmail.com

    #5046
    Mark Williams
    Keymaster

    Hi Chris, the IC for the TFT is ILI9488 and we corrected the description on the Tindie page a week ago. sorry for the confus
    ion.
    Here is the datasheet for the ILI4988;
    https://ozzmaker.com/piscreen/ILI9488_Preliminary_DS_V090.pdf

    You can see the init sequeince here in the overlay;
    https://github.com/raspberrypi/linux/blob/rpi-4.4.y/arch/arm/boot/dts/overlays/piscreen2r-overlay.dts
    Here it is for FBTFT;

    sudo modprobe flexfb width=320 height=480 regwidth=16 init=\
    -1,0xb0,0x0,\
    -1,0x11,-2,250,\
    -1,0x3A,0x55,\
    -1,0x36,0x28,\
    -1,0xC0,0x11,0x09,\
    -1,0xC1,0x41,\
    -1,0xC5,0x00,0x00,0x0,0x0,\
    -1,0xB6,0x00,0x02,\
    -1,0XF7,0xA9,0x51,0x2C,0x2,\
    -1,0xBE,0x00,0x04,\
    -1,0xE9,0x00,\
    -1,0x29,\
    -3
    sudo modprobe fbtft_device debug=3 rotate=90 name=flexfb speed=64000000 gpios=reset:25,dc:24,led:22

    Every PiScreen is tested before we package up. We test the display and touch.

    Can you disable SPI. In config.txt, place a # in font of
    dtparam=spi=on

    Add back the piscreen2 overlay;
    dtoverlay=piscreen2r

    If it still doesn’t work, please show me the output ofsudo vcdbg log msg

    Using

    Mark --OzzMaker.com --

    #5047
    krish05
    Participant

    Hi Mark,

    Thanks for replying so fast.

    I tried:

    1) disable dtparam=spi=on and dtoverlay=piscreen2r

    2) reboot

    3) enable dtoverlay=piscreen2r

    4) reboot

    5) send test image:

    pi@raspberrypi ~ $ wget https://ozzmaker.com/piscreen/image-test.gif
    pi@raspberrypi ~ $ sudo fbi -noverbose -T 1 -a -d /dev/fb1 image-test.gif

    but nothing happens on the display, instead on the HDMI/TV i see the shell going fullscreen until the pression of a key then goes back normal.

    Here is the log you requested after doing such tests:

    000951.736: HDMI:EDID version 1.3, 1 extensions, screen size 16×9 cm
    000951.801: HDMI:EDID features – videodef 0x80 !standby !suspend
    !active off; colour encoding:RGB444|YCbCr422; sRGB is not default
    colourspace; preferred format is native; does not support GTF
    000951.856: HDMI:EDID found preferred CEA detail timing format:
    1280x720p @ 50 Hz (19)
    000951.899: HDMI:EDID found CEA detail timing format: 1920x1080i @ 50 Hz (20)
    000951.939: HDMI:EDID found DMT format: code 4, 640x480p @ 60 Hz in
    established timing I/II
    000952.034: HDMI:EDID standard timings block x 8: 0x0101 0101 0101
    0101 0101 0101 0101 0101
    000965.046: HDMI:EDID parsing v3 CEA extension 0
    000965.084: HDMI:EDID monitor support – underscan IT formats:no, basic
    audio:yes, yuv444:yes, yuv422:yes, #native DTD:1
    000965.127: HDMI:EDID found CEA detail timing format: 720x576p @ 50 Hz (17)
    000965.169: HDMI:EDID found CEA detail timing format: 1280x720p @ 60 Hz (4)
    000965.209: HDMI:EDID found CEA detail timing format: 1920x1080i @ 60 Hz (5)
    000965.250: HDMI:EDID found CEA detail timing format: 720x480p @ 60 Hz (2)
    000965.287: HDMI:EDID found CEA format: code 19, 1280x720p @ 50Hz (native)
    000965.321: HDMI:EDID found CEA format: code 20, 1920x1080i @ 50Hz
    000965.354: HDMI:EDID found CEA format: code 18, 720x576p @ 50Hz
    000965.386: HDMI:EDID found CEA format: code 4, 1280x720p @ 60Hz
    000965.419: HDMI:EDID found CEA format: code 5, 1920x1080i @ 60Hz
    000965.449: HDMI:EDID found CEA format: code 3, 720x480p @ 60Hz
    000965.502: HDMI:EDID found audio format 2 channels PCM, sample rate:
    32|44|48 kHz, sample size: 16|20|24 bits
    000965.519: HDMI:EDID found HDMI VSDB length 5
    000965.544: HDMI:EDID HDMI VSDB has physical address 1.0.0.0
    000965.559: HDMI:EDID HDMI VSDB has no extension fields
    000965.601: HDMI:EDID filtering formats with pixel clock > 162 MHz or
    h. blanking > 1023
    000965.715: HDMI:EDID preferred mode remained as CEA (19) 1280x720p @
    50 Hz with pixel clock 74 MHz
    000980.622: HDMI:Setting property pixel encoding to Default
    000980.641: HDMI:Setting property pixel clock type to PAL
    000980.660: HDMI:Setting property content type flag to No data
    000980.678: HDMI:Setting property fuzzy format match to enabled
    001168.246: hdmi: HDMI:>>>>>>>>>>>>>Rx sensed, reading EDID<<<<<<<<<<<<<
    001180.382: hdmi: HDMI:EDID version 1.3, 1 extensions, screen size 16×9 cm
    001180.453: hdmi: HDMI:EDID features – videodef 0x80 !standby !suspend
    !active off; colour encoding:RGB444|YCbCr422; sRGB is not default
    colourspace; preferred format is native; does not support GTF
    001180.517: hdmi: HDMI:EDID found preferred CEA detail timing format:
    1280x720p @ 50 Hz (19)
    001180.566: hdmi: HDMI:EDID found CEA detail timing format: 1920x1080i
    @ 50 Hz (20)
    001180.611: hdmi: HDMI:EDID found DMT format: code 4, 640x480p @ 60 Hz
    in established timing I/II
    001180.707: hdmi: HDMI:EDID standard timings block x 8: 0x0101 0101
    0101 0101 0101 0101 0101 0101
    001193.724: hdmi: HDMI:EDID parsing v3 CEA extension 0
    001193.766: hdmi: HDMI:EDID monitor support – underscan IT formats:no,
    basic audio:yes, yuv444:yes, yuv422:yes, #native DTD:1
    001193.814: hdmi: HDMI:EDID found CEA detail timing format: 720x576p @
    50 Hz (17)
    001193.858: hdmi: HDMI:EDID found CEA detail timing format: 1280x720p
    @ 60 Hz (4)
    001193.904: hdmi: HDMI:EDID found CEA detail timing format: 1920x1080i
    @ 60 Hz (5)
    001193.947: hdmi: HDMI:EDID found CEA detail timing format: 720x480p @ 60 Hz (2)
    001193.986: hdmi: HDMI:EDID found CEA format: code 19, 1280x720p @ 50Hz (native)
    001194.022: hdmi: HDMI:EDID found CEA format: code 20, 1920x1080i @ 50Hz
    001194.058: hdmi: HDMI:EDID found CEA format: code 18, 720x576p @ 50Hz
    001194.094: hdmi: HDMI:EDID found CEA format: code 4, 1280x720p @ 60Hz
    001194.129: hdmi: HDMI:EDID found CEA format: code 5, 1920x1080i @ 60Hz
    001194.165: hdmi: HDMI:EDID found CEA format: code 3, 720x480p @ 60Hz
    001194.222: hdmi: HDMI:EDID found audio format 2 channels PCM, sample
    rate: 32|44|48 kHz, sample size: 16|20|24 bits
    001194.245: hdmi: HDMI:EDID found HDMI VSDB length 5
    001194.274: hdmi: HDMI:EDID HDMI VSDB has physical address 1.0.0.0
    001194.294: hdmi: HDMI:EDID HDMI VSDB has no extension fields
    001194.341: hdmi: HDMI:EDID filtering formats with pixel clock > 162
    MHz or h. blanking > 1023
    001194.457: hdmi: HDMI:EDID preferred mode remained as CEA (19)
    1280x720p @ 50 Hz with pixel clock 74 MHz
    001194.479: hdmi: HDMI: hotplug attached with HDMI support
    001194.545: hdmi: HDMI:hdmi_get_state is deprecated, use
    hdmi_get_display_state instead
    001197.011: hdmi: HDMI: power_on to CEA mode 720p50
    001200.181: hdmi: HDMI: Action callback added to queue to happen at frame 2
    001200.205: hdmi: HDMI: Action stop_3d_mode added to queue to happen at frame 2
    001200.226: hdmi: HDMI: Action unmute added to queue to happen at frame 3
    001200.254: hdmi: HDMI: Action cec_init added to queue to happen at frame 3
    001280.526: *** Restart logging
    001282.046: Read command line from file ‘cmdline.txt’
    dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1
    root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes
    rootwait
    001535.017: Loading ‘kernel7.img’ to 0x8000 size 0x4074e8
    001538.667: Kernel trailer DTOK property says yes
    001538.681: Kernel trailer DDTK property says yes
    001541.257: Loading ‘bcm2710-rpi-3-b.dtb’ to 0x40f4e8 size 0x3b85
    001620.126: dtparam: uart0_clkrate=48000000
    001633.057: dtparam: audio=on
    001643.671: dtparam: i2c_arm=on
    001671.013: Loaded overlay ‘piscreen2r’
    001813.700: dtparam: arm_freq=1200000000
    001856.917: dtparam: core_freq=250000000
    001868.567: dtparam: cache_line_size=64
    001887.836: Device tree loaded to 0x2fffbc00 (size 0x43d1)
    001890.099: gpioman: gpioman_get_pin_num: pin SDCARD_CONTROL_POWER not defined
    004370.064: vchiq_core: vchiq_init_state: slot_zero = 0xfac80000, is_master = 1
    004374.227: hdmi: HDMI:hdmi_get_state is deprecated, use
    hdmi_get_display_state instead
    004379.100: TV service:host side not connected, dropping notification
    0x00000002, 0x00000001, 0x00000013

    What else do you suggest to try ?

    In attach a photo of the actual status of the display.

    Thank you very much in advance,
    Best Regards

    Chris

    #5050
    Mark Williams
    Keymaster

    Hi Chris
    everything looks correct.
    So it does indeed look faulty.Maybe something happened to your display in transit??

    can you send your original receipt to sales@ozzmaker.com and we will send you out a new one.

    Mark --OzzMaker.com --

    #5051
    krish05
    Participant

    Hi Mark,

    Thanks for you support and excellent communication also when dealing with issues.

    The kit from Ozzmaker is really nice, it includes the pens and the case that really looks good..
    i’m looking forward to make the Piscreen work !

    The box didn’t look like it was damaged during shipping, everything seemed also very nicely packed.

    During some past tests i experienced a very fast single blinking on the screen when sending the test image, which happens to be random on a number of different tries.

    The display also goes in sleep mode automatically by diminishing the light at the same time as the HDMI/TV screen.

    I don’t know if those detailes are useful somehow.

    In the end it looks like the LCD/Touch is not properly initialized or i don’t know what’s going on with it.

    I forwarded the receipt mail from Tindie to the ozzmaker mail you indicated.

    Let me know if i can do some other tests in the meantime, maybe having the LCD datasheet (not the ILITEK controller one which i already had) could help in debuggining any issues with the init_sequence for this specific LCD.

    Thank you very much,
    Best Regards

    Chris

    #7552
    Glad Bok
    Participant

    Hi….I remember running Ardurover on a vanilla raspbian jessie image some time ago. Ardurover does not need fast stabilization calculations, so it worked alright. I did this with a Navio+ and I do not know if the Navio2 needs further changes to support the RCIO chip.

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

Blip, blop, bloop…