GBA SP Zero
-
Hi i've made this GBA SP with raspberry Pi zero, firstly i was using an RCA monitor, now i wanti switch to SPI LCD ( Waveshare 3,2 High Speed 320x240) i used wires to connect display pins with raspberry pins, when i power up it the screen is white, i had installed the driver for SPI display but it doesn't work
Photos:
This is my DMESG:
"pi@retropie:~ $ dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.30+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1102 Mon Mar 26 16:20:05 BST 2018
[ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Raspberry Pi Zero W Rev 1.1
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] cma: Reserved 8 MiB at 0x1b400000
[ 0.000000] On node 0 totalpages: 114688
[ 0.000000] free_area_init_node: node 0, pgdat c099c2fc, node_mem_map db010000
[ 0.000000] Normal zone: 1008 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 114688 pages, LIFO batch:31
[ 0.000000] random: fast init done
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 113680
[ 0.000000] Kernel command line: 8250.nr_uarts=1 bcm2708_fb.fbwidth=320 bcm2708_fb.fbheight=240 bcm2708_fb.fbswap=1 smsc95xx.macaddr=B8:27:EB:1F:1A:E8 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait fbcon=map:10 fbcon=font:ProFont6x11 logo.nologo
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 435400K/458752K available (6332K kernel code, 562K rwdata, 1964K rodata, 436K init, 677K bss, 15160K reserved, 8192K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xdc800000 - 0xff800000 ( 560 MB)
lowmem : 0xc0000000 - 0xdc000000 ( 448 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc0637268 (6333 kB)
.init : 0xc08ad000 - 0xc091a000 ( 436 kB)
.data : 0xc091a000 - 0xc09a6848 ( 563 kB)
.bss : 0xc09ac194 - 0xc0a55654 ( 678 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] ftrace: allocating 23773 entries in 70 pages
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000031] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[ 0.000073] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[ 0.000164] bcm2835: system timer (irq = 27)
[ 0.000740] Console: colour dummy device 80x30
[ 0.001353] console [tty1] enabled
[ 0.001414] Calibrating delay loop... 697.95 BogoMIPS (lpj=3489792)
[ 0.060343] pid_max: default: 32768 minimum: 301
[ 0.060878] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.060933] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.062274] Disabling memory control group subsystem
[ 0.062489] CPU: Testing write buffer coherency: ok
[ 0.063616] Setting up static identity map for 0x8200 - 0x8238
[ 0.064896] devtmpfs: initialized
[ 0.074839] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[ 0.075303] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.075376] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.076732] pinctrl core: initialized pinctrl subsystem
[ 0.078128] NET: Registered protocol family 16
[ 0.081139] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.087418] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
[ 0.087491] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.087640] Serial: AMBA PL011 UART driver
[ 0.090387] bcm2835-mbox 2000b880.mailbox: mailbox enabled
[ 0.091242] uart-pl011 20201000.serial: could not find pctldev for node /soc/gpio@7e200000/uart0_pins, deferring probe
[ 0.131257] bcm2835-dma 20007000.dma: DMA legacy API manager at dc80d000, dmachans=0x1
[ 0.133508] SCSI subsystem initialized
[ 0.133791] usbcore: registered new interface driver usbfs
[ 0.133937] usbcore: registered new interface driver hub
[ 0.134164] usbcore: registered new device driver usb
[ 0.140850] raspberrypi-firmware soc:firmware: Attached to firmware from 2018-03-23 16:31
[ 0.142915] clocksource: Switched to clocksource timer
[ 0.228277] VFS: Disk quotas dquot_6.6.0
[ 0.228455] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.228779] FS-Cache: Loaded
[ 0.229148] CacheFiles: Loaded
[ 0.245931] NET: Registered protocol family 2
[ 0.247164] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.247301] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.247421] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.247599] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.247659] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.248045] NET: Registered protocol family 1
[ 0.248790] RPC: Registered named UNIX socket transport module.
[ 0.248846] RPC: Registered udp transport module.
[ 0.248875] RPC: Registered tcp transport module.
[ 0.248900] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.250855] hw perfevents: no irqs for PMU, sampling events not supported
[ 0.250980] hw perfevents: enabled with armv6_1176 PMU driver, 3 counters available
[ 0.254877] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 0.266762] FS-Cache: Netfs 'nfs' registered for caching
[ 0.268135] NFS: Registering the id_resolver key type
[ 0.268230] Key type id_resolver registered
[ 0.268263] Key type id_legacy registered
[ 0.273003] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.273484] io scheduler noop registered
[ 0.273535] io scheduler deadline registered (default)
[ 0.274096] io scheduler cfq registered
[ 0.274144] io scheduler mq-deadline registered
[ 0.274174] io scheduler kyber registered
[ 0.276513] BCM2708FB: allocated DMA memory 5b500000
[ 0.276623] BCM2708FB: allocated DMA channel 0 @ dc80d000
[ 0.280459] Console: switching to colour frame buffer device 40x30
[ 0.286032] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[ 0.290769] bcm2835-rng 20104000.rng: hwrng registered
[ 0.293294] vc-mem: phys_addr:0x00000000 mem_base=0x1ec00000 mem_size:0x20000000(512 MiB)
[ 0.297589] vc-sm: Videocore shared memory driver
[ 0.300580] gpiomem-bcm2835 20200000.gpiomem: Initialised: Registers at 0x20200000
[ 0.322461] brd: module loaded
[ 0.335661] loop: module loaded
[ 0.336995] Loading iSCSI transport class v2.0-870.
[ 0.340240] usbcore: registered new interface driver smsc95xx
[ 0.342807] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 0.573831] Core Release: 2.80a
[ 0.575198] Setting default values for core params
[ 0.577791] Finished setting default values for core params
[ 0.780783] Using Buffer DMA mode
[ 0.782226] Periodic Transfer Interrupt Enhancement - disabled
[ 0.785065] Multiprocessor Interrupt Enhancement - disabled
[ 0.787864] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 0.790697] Dedicated Tx FIFOs mode
[ 0.793079] WARN::dwc_otg_hcd_init:1046: FIQ DMA bounce buffers: virt = 0xdb514000 dma = 0x5b514000 len=9024
[ 0.797321] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[ 0.811107] dwc_otg: Microframe scheduler enabled
[ 0.811335] WARN::hcd_init_fiq:459: FIQ on core 0 at 0xc0485eb4
[ 0.814232] WARN::hcd_init_fiq:460: FIQ ASM at 0xc0486190 length 36
[ 0.817102] WARN::hcd_init_fiq:486: MPHI regs_base at 0xdc878000
[ 0.820139] dwc_otg 20980000.usb: DWC OTG Controller
[ 0.823149] dwc_otg 20980000.usb: new USB bus registered, assigned bus number 1
[ 0.827559] dwc_otg 20980000.usb: irq 56, io mem 0x00000000
[ 0.830520] Init: Port Power? op_state=1
[ 0.833473] Init: Power Port (0)
[ 0.835370] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.838331] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.842620] usb usb1: Product: DWC OTG Controller
[ 0.845550] usb usb1: Manufacturer: Linux 4.14.30+ dwc_otg_hcd
[ 0.848458] usb usb1: SerialNumber: 20980000.usb
[ 0.852467] hub 1-0:1.0: USB hub found
[ 0.855597] hub 1-0:1.0: 1 port detected
[ 0.859469] dwc_otg: FIQ enabled
[ 0.859481] dwc_otg: NAK holdoff enabled
[ 0.859488] dwc_otg: FIQ split-transaction FSM enabled
[ 0.859506] Module dwc_common_port init
[ 0.859988] usbcore: registered new interface driver usb-storage
[ 0.863522] mousedev: PS/2 mouse device common for all mice
[ 0.866511] IR NEC protocol handler initialized
[ 0.869400] IR RC5(x/sz) protocol handler initialized
[ 0.872274] IR RC6 protocol handler initialized
[ 0.875222] IR JVC protocol handler initialized
[ 0.878118] IR Sony protocol handler initialized
[ 0.880999] IR SANYO protocol handler initialized
[ 0.883962] IR Sharp protocol handler initialized
[ 0.886901] IR MCE Keyboard/mouse protocol handler initialized
[ 0.889842] IR XMP protocol handler initialized
[ 0.894120] bcm2835-wdt 20100000.watchdog: Broadcom BCM2835 watchdog timer
[ 0.897691] bcm2835-cpufreq: min=700000 max=1000000
[ 0.901303] sdhci: Secure Digital Host Controller Interface driver
[ 0.904419] sdhci: Copyright(c) Pierre Ossman
[ 0.908058] mmc-bcm2835 20300000.mmc: could not get clk, deferring probe
[ 0.911719] sdhost-bcm2835 20202000.mmc: could not get clk, deferring probe
[ 0.915052] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.918602] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.921741] hidraw: raw HID events driver (C) Jiri Kosina
[ 0.925078] usbcore: registered new interface driver usbhid
[ 0.928066] usbhid: USB HID core driver
[ 0.931902] vchiq: vchiq_init_state: slot_zero = db580000, is_master = 0
[ 0.936891] [vc_sm_connected_init]: start
[ 0.947112] [vc_sm_connected_init]: end - returning 0
[ 0.951207] Initializing XFRM netlink socket
[ 0.954365] NET: Registered protocol family 17
[ 0.957464] Key type dns_resolver registered
[ 0.962036] registered taskstats version 1
[ 0.973498] uart-pl011 20201000.serial: cts_event_workaround enabled
[ 0.976673] 20201000.serial: ttyAMA0 at MMIO 0x20201000 (irq = 81, base_baud = 0) is a PL011 rev2
[ 0.983729] console [ttyS0] disabled
[ 0.985370] 20215040.serial: ttyS0 at MMIO 0x0 (irq = 160, base_baud = 31250000) is a 16550
[ 1.934646] console [ttyS0] enabled
[ 1.941363] mmc-bcm2835 20300000.mmc: mmc_debug:0 mmc_debug2:0
[ 1.950362] mmc-bcm2835 20300000.mmc: DMA channel allocated
[ 2.015398] sdhost: log_buf @ db513000 (5b513000)
[ 2.057256] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 2.067524] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 2.077810] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 2.089427] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 2.102977] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[ 2.112898] of_cfs_init
[ 2.117109] of_cfs_init: OK
[ 2.122364] Waiting for root device /dev/mmcblk0p2...
[ 2.200805] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.215974] mmc0: new high speed SDHC card at address 1234
[ 2.225524] mmcblk0: mmc0:1234 SA08G 7.21 GiB
[ 2.235593] mmcblk0: p1 p2
[ 2.248630] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[ 2.260427] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[ 2.310709] mmc1: new high speed SDIO card at address 0001
[ 2.676585] EXT4-fs (mmcblk0p2): recovery complete
[ 2.701029] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.713621] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 2.725445] devtmpfs: mounted
[ 2.732519] Freeing unused kernel memory: 436K
[ 2.739903] This architecture does not have kernel memory protection.
[ 3.260794] systemd[1]: System time before build time, advancing clock.
[ 3.403430] NET: Registered protocol family 10
[ 3.413035] Segment Routing with IPv6
[ 3.431797] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 3.477541] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[ 3.505723] systemd[1]: Detected architecture arm.
[ 3.523265] systemd[1]: Set hostname to <retropie>.
[ 4.582064] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 4.598510] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 4.616460] systemd[1]: Created slice System Slice.
[ 4.628316] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ 4.646250] systemd[1]: Mounting POSIX Message Queue File System...
[ 4.672873] systemd[1]: Created slice system-autologin.slice.
[ 4.696435] systemd[1]: Listening on Journal Socket.
[ 7.492879] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 8.226025] systemd-journald[94]: Received request to flush runtime journal from PID 1
[ 11.320778] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 11.342798] bcm2835_alsa bcm2835_alsa: card created with 8 channels
[ 12.644646] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[ 12.687206] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43430-sdio.bin for chip 0x00a9a6(43430) rev 0x000001
[ 12.687582] usbcore: registered new interface driver brcmfmac
[ 13.299435] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Oct 23 2017 03:55:53 version 7.45.98.38 (r674442 CY) FWID 01-e58d219f
[ 13.300580] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 7.11.15 Compiler: 1.24.2 ClmImport: 1.24.1 Creation: 2014-05-26 10:53:55 Inc Data: 9.10.39 Inc Compiler: 1.29.4 Inc ClmImport: 1.36.3 Creation: 2017-10-23 03:47:14
[ 15.090442] uart-pl011 20201000.serial: no DMA platform data
[ 17.227952] Adding 102396k swap on /var/swap. Priority:-2 extents:2 across:191896k SSFS
[ 17.895177] ads7846 spi0.1: spi0.1 supply vcc not found, using dummy regulator
[ 17.900278] ads7846 spi0.1: touchscreen, irq 163
[ 17.902688] input: ADS7846 Touchscreen as /devices/platform/soc/20204000.spi/spi_master/spi0/spi0.1/input/input0
[ 17.965904] fbtft: module is from the staging directory, the quality is unknown, you have been warned.
[ 18.003156] fb_ili9340: module is from the staging directory, the quality is unknown, you have been warned.
[ 18.017434] fbtft_of_value: regwidth = 16
[ 18.017451] fbtft_of_value: buswidth = 8
[ 18.017459] fbtft_of_value: debug = 0
[ 18.017465] fbtft_of_value: rotate = 270
[ 18.017471] fbtft_of_value: fps = 25
[ 18.017478] fbtft_of_value: txbuflen = 32768
[ 18.594822] graphics fb1: fb_ili9340 frame buffer, 320x240, 150 KiB video memory, 32 KiB buffer memory, fps=25, spi0.0 at 125 MHz
[ 18.980978] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 18.981028] brcmfmac: power management disabled
[ 19.072653] random: crng init done
[ 19.603212] Bluetooth: Core ver 2.22
[ 19.603384] NET: Registered protocol family 31
[ 19.603393] Bluetooth: HCI device and connection manager initialized
[ 19.603421] Bluetooth: HCI socket layer initialized
[ 19.603436] Bluetooth: L2CAP socket layer initialized
[ 19.603491] Bluetooth: SCO socket layer initialized
[ 19.609524] Bluetooth: HCI UART driver ver 2.3
[ 19.609542] Bluetooth: HCI UART protocol H4 registered
[ 19.609548] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 19.973510] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 19.973526] Bluetooth: BNEP filters: protocol multicast
[ 19.973558] Bluetooth: BNEP socket layer initialized
[ 452.875650] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
"How can i solve?
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.