Skip to content

Instantly share code, notes, and snippets.

@tegila
Last active June 22, 2016 22:47
Show Gist options
  • Save tegila/b9f03f8b8c13003dc88b to your computer and use it in GitHub Desktop.
Save tegila/b9f03f8b8c13003dc88b to your computer and use it in GitHub Desktop.
LCD WaveShare32b (ili9340) Raspberry Pi 2 Guide

Atualize sua placa

sudo REPO_URI=https://github.com/notro/rpi-firmware rpi-update

Adicione os parametros para ligar os pinos do SPI

# sudo nano /boot/config.txt
dtparam=spi=on
dtoverlay=ads7846,penirq=17,swapxy=1

Carregar módulos automaticamente na inicialização (drivers)

## sudo nano /etc/modules
spi-bcm2708
fbtft_device name=waveshare32b gpios=dc:22,reset:27 speed=48000000
waveshare32b width=320 height=240 buswidth=8 init=-1,0xCB,0x39,0x2C,0x00,0x34,0x02,-1,0xCF,0x00,0XC1,0X30,-1,0xE8,0x85,0x00,0x78,-1,0xEA,0x00,0x00,-1,0xED,0x64,0x03,0X12,0X81,-1,0xF7,0x20,-1,0xC0,0x23,-1,0xC1,0x10,-1,0xC5,0x3e,0x28,-1,0xC7,0x86,-1,0x36,0x28,-1,0x3A,0x55,-1,0xB1,0x00,0x18,-1,0xB6,0x08,0x82,0x27,-1,0xF2,0x00,-1,0x26,0x01,-1,0xE0,0x0F,0x31,0x2B,0x0C,0x0E,0x08,0x4E,0xF1,0x37,0x07,0x10,0x03,0x0E,0x09,0x00,-1,0XE1,0x00,0x0E,0x14,0x03,0x11,0x07,0x31,0xC1,0x48,0x08,0x0F,0x0C,0x31,0x36,0x0F,-1,0x11,-2,120,-1,0x29,-1,0x2c,-3
ads7846_device model=7846 cs=1 gpio_pendown=17 speed=1000000 keep_vref_on=1 swap_xy=0 pressure_max=255 x_plate_ohms=60 x_min=200 x_max=3900 y_min=200 y_max=3900

Editar os parametros de inicialização do sistema

delete todo o conteudo desse arquivo e inclua os seguintes parametros:

# sudo nano /boot/cmdline.txt
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait fbtft_device.custom fbtft_device.name=waveshare32b fbtft_device.gpios=dc:22,reset:27 fbtft_device.bgr=1 fbtft_device.speed=48000000 fbcon=map:10 fbcon=font:ProFont6x11 logo.nologo dma.dmachans=0x7f35 console=tty1 consoleblank=0 fbtft_device.fps=50 fbtft_device.rotate=270

Direcionar o terminal 1 para o fb1 (framebuffer 1) [Opcional]

# sudo nano /etc/rc.local
con2fbmap 1 1

Configurar o xorg (modo gráfico) para utilizar o display [Opcional]

Procurar a linha onde tiver /dev/fb0 e substituir por /dev/fb1

# sudo nano /usr/share/X11/xorg.conf.d/99-fbturbo.conf

Iniciar o modo gráfico no display [Opcional]

FRAMEBUFFER=/dev/fb1 startx &

Calibrar o Touch [Opcional]

xinput_calibrator

@zottoz
Copy link

zottoz commented May 16, 2015

já está funcionando no Raspberry Pi 2?

@tegila
Copy link
Author

tegila commented May 23, 2015

sim, esse guia serve para raspberry pi 1 ou 2.

@tegila
Copy link
Author

tegila commented Jul 6, 2015

Valeu @zottoz. Tinha feito esse guia já a um tempo atrás e vi que estava desatualizado, acabei de testar tudo novamente e agora está ok.

@rodrigoprazim
Copy link

Tive um problema ao Editar os parametros de inicialização do sistema, ao reboot da maquina, apresentava esse erro:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2).

Dai eu alterei parte da linha onde tem "root=/dev/mmcblk0p2", eu alterei para "root=/dev/mmcblk0p6"

Fonte: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=47286

@vbenso
Copy link

vbenso commented Jul 31, 2015

Senhores,

Testei o guia e aparentemente funciona. Mas tem algo estranho acontecendo, quando usa-se o touch, seja com o stylus ou com o dedo, acontece algum problema na rederização do X. O cursor anterior não apaga, o lcd fica todo blocado e em algumas regiões as cores se invertem. Nesta condição, se mover o mouse tudo se ajeita e o lcd volta ao normal.
Será que é alguma interferência no SPI?
Neste momento estou fazendo upload de um vídeo ( http://youtu.be/HpOzN5wFeho ) que mostra o problema acontecendo.
Estou usando o Raspberry 2 com raspbian baixado ontem do site oficial (kernel 4.0.7-v7)
segue cópia do dmesg:
[ 0.000000] Booting Linux on physical CPU 0xf00
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.0.7-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 Sat Jul 11 20:44:05 CEST 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 Rev 1.1
[ 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 808404c0, 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 (8660->f3003010)
[ 0.000000] [bcm2709_smp_init_cpus] ncores=4
[ 0.000000] PERCPU: Embedded 11 pages/cpu @b9f6d000 s16128 r8192 d20736 u45056
[ 0.000000] pcpu-alloc: s16128 r8192 d20736 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: 239540
[ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2709.boardrev=0xa21041 bcm2709.serial=0x13d4774c smsc95xx.macaddr=B8:27:EB:D4:77:4C 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 fbtft_device.custom fbtft_device.name=waveshare32b fbtft_device.gpios=dc:22,reset:27 fbtft_device.bgr=1 fbtft_device.speed=48000000 fbcon=map:10 fbcon=font:ProFont6x11 logo.nologo dma.dmachans=0x7f35 console=tty1 consoleblank=0 fbtft_device.fps=50 fbtft_device.rotate=0
[ 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: 939664K/966656K available (5885K kernel code, 378K rwdata, 1784K rodata, 400K init, 757K bss, 18800K reserved, 8192K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 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 - 0x8078575c (7670 kB)
[ 0.000000] .init : 0x80786000 - 0x807ea000 ( 400 kB)
[ 0.000000] .data : 0x807ea000 - 0x80848a64 ( 379 kB)
[ 0.000000] .bss : 0x80848a64 - 0x809061cc ( 758 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Additional per-CPU info printed with stalls.
[ 0.000000] NR_IRQS:608
[ 0.000000] Architected cp15 timer(s) running at 19.20MHz (virt).
[ 0.000013] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 3579139424256ns
[ 0.000037] Switching to timer-based delay loop, resolution 52ns
[ 0.000301] Console: colour dummy device 80x30
[ 0.002221] console [tty1] enabled
[ 0.002287] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[ 0.002388] pid_max: default: 32768 minimum: 301
[ 0.002760] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.002827] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.004116] Initializing cgroup subsys blkio
[ 0.004199] Initializing cgroup subsys memory
[ 0.004269] Initializing cgroup subsys devices
[ 0.004328] Initializing cgroup subsys freezer
[ 0.004402] Initializing cgroup subsys net_cls
[ 0.004524] CPU: Testing write buffer coherency: ok
[ 0.004647] ftrace: allocating 20007 entries in 59 pages
[ 0.053414] CPU0: update cpu_capacity 1024
[ 0.053497] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[ 0.053545] [bcm2709_smp_prepare_cpus] enter
[ 0.053703] Setting up static identity map for 0x54ef70 - 0x54efa4
[ 0.113301] [bcm2709_boot_secondary] cpu:1 started (0) 18
[ 0.113609] [bcm2709_secondary_init] enter cpu:1
[ 0.113662] CPU1: update cpu_capacity 1024
[ 0.113671] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[ 0.133288] [bcm2709_boot_secondary] cpu:2 started (0) 18
[ 0.133545] [bcm2709_secondary_init] enter cpu:2
[ 0.133578] CPU2: update cpu_capacity 1024
[ 0.133587] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[ 0.153330] [bcm2709_boot_secondary] cpu:3 started (0) 16
[ 0.153575] [bcm2709_secondary_init] enter cpu:3
[ 0.153605] CPU3: update cpu_capacity 1024
[ 0.153614] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[ 0.153709] Brought up 4 CPUs
[ 0.153843] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[ 0.153885] CPU: All CPU(s) started in SVC mode.
[ 0.154927] devtmpfs: initialized
[ 0.175307] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.176559] pinctrl core: initialized pinctrl subsystem
[ 0.181509] NET: Registered protocol family 16
[ 0.187718] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[ 0.189364] bcm2709.uart_clock = 3000000
[ 0.193961] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.194031] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.194204] Serial: AMBA PL011 UART driver
[ 0.194436] 3f201000.uart: ttyAMA0 at MMIO 0x3f201000 (irq = 83, base_baud = 0) is a PL011 rev2
[ 0.697231] console [ttyAMA0] enabled
[ 0.701705] bcm2708_vcio 3f00b880.mailbox: mailbox at f300b880
[ 0.775602] bcm2708-dmaengine 3f007000.dma: DMA legacy API manager at f3007000, dmachans=0x7f35
[ 0.784960] bcm2708-dmaengine 3f007000.dma: Load BCM2835 DMA engine driver
[ 0.791868] bcm2708-dmaengine 3f007000.dma: dma_debug:0
[ 0.797250] bcm_power: Broadcom power driver
[ 0.801546] bcm_power_open() -> 0
[ 0.804878] bcm_power_request(0, 8)
[ 0.834061] bcm_mailbox_read -> 00000080, 0
[ 0.838294] bcm_power_request -> 0
[ 0.842358] SCSI subsystem initialized
[ 0.846374] usbcore: registered new interface driver usbfs
[ 0.852015] usbcore: registered new interface driver hub
[ 0.857507] usbcore: registered new device driver usb
[ 0.864943] Switched to clocksource arch_sys_counter
[ 0.899741] FS-Cache: Loaded
[ 0.903027] CacheFiles: Loaded
[ 0.917671] NET: Registered protocol family 2
[ 0.923341] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.930606] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.937320] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.943801] TCP: reno registered
[ 0.947089] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.953084] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.959945] NET: Registered protocol family 1
[ 0.964765] RPC: Registered named UNIX socket transport module.
[ 0.970791] RPC: Registered udp transport module.
[ 0.975554] RPC: Registered tcp transport module.
[ 0.980280] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.988258] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[ 0.997861] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 1.019381] VFS: Disk quotas dquot_6.5.2
[ 1.023692] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.033492] FS-Cache: Netfs 'nfs' registered for caching
[ 1.040013] NFS: Registering the id_resolver key type
[ 1.045215] Key type id_resolver registered
[ 1.049423] Key type id_legacy registered
[ 1.056275] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 1.063900] io scheduler noop registered
[ 1.067892] io scheduler deadline registered (default)
[ 1.073369] io scheduler cfq registered
[ 1.079759] BCM2708FB: allocated DMA memory fac00000
[ 1.084784] BCM2708FB: allocated DMA channel 0 @ f3007000
[ 1.095855] Console: switching to colour frame buffer device 82x26
[ 1.107516] Serial: 8250/16550 driver, 0 ports, IRQ sharing disabled
[ 1.116201] uart-pl011 3f201000.uart: no DMA platform data
[ 1.124722] vc-cma: Videocore CMA driver
[ 1.130660] vc-cma: vc_cma_base = 0x00000000
[ 1.137338] vc-cma: vc_cma_size = 0x00000000 (0 MiB)
[ 1.144661] vc-cma: vc_cma_initial = 0x00000000 (0 MiB)
[ 1.152224] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB)
[ 1.180018] brd: module loaded
[ 1.194411] loop: module loaded
[ 1.200599] vchiq: vchiq_init_state: slot_zero = 0xbac80000, is_master = 0
[ 1.210390] Loading iSCSI transport class v2.0-870.
[ 1.218196] usbcore: registered new interface driver smsc95xx
[ 1.225969] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.433923] Core Release: 2.80a
[ 1.438956] Setting default values for core params
[ 1.445673] Finished setting default values for core params
[ 1.653552] Using Buffer DMA mode
[ 1.658754] Periodic Transfer Interrupt Enhancement - disabled
[ 1.666471] Multiprocessor Interrupt Enhancement - disabled
[ 1.673917] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 1.680175] Dedicated Tx FIFOs mode
[ 1.685893] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xbac14000 dma = 0xfac14000 len=9024
[ 1.699702] FIQ FSM acceleration enabled for :
[ 1.699702] Non-periodic Split Transactions
[ 1.699702] Periodic Split Transactions
[ 1.699702] High-Speed Isochronous Endpoints
[ 1.724056] dwc_otg: Microframe scheduler enabled
[ 1.724121] WARN::hcd_init_fiq:412: FIQ on core 1 at 0x803f3b68
[ 1.731979] WARN::hcd_init_fiq:413: FIQ ASM at 0x803f3ec4 length 36
[ 1.740208] WARN::hcd_init_fiq:438: MPHI regs_base at 0xbb89a000
[ 1.748265] dwc_otg 3f980000.usb: DWC OTG Controller
[ 1.755251] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[ 1.764564] dwc_otg 3f980000.usb: irq 32, io mem 0x00000000
[ 1.772163] Init: Port Power? op_state=1
[ 1.778074] Init: Power Port (0)
[ 1.783476] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.792252] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.801448] usb usb1: Product: DWC OTG Controller
[ 1.808098] usb usb1: Manufacturer: Linux 4.0.7-v7+ dwc_otg_hcd
[ 1.815978] usb usb1: SerialNumber: 3f980000.usb
[ 1.823351] hub 1-0:1.0: USB hub found
[ 1.829092] hub 1-0:1.0: 1 port detected
[ 1.835340] dwc_otg: FIQ enabled
[ 1.835354] dwc_otg: NAK holdoff enabled
[ 1.835365] dwc_otg: FIQ split-transaction FSM enabled
[ 1.835406] Module dwc_common_port init
[ 1.835789] usbcore: registered new interface driver usb-storage
[ 1.843950] mousedev: PS/2 mouse device common for all mice
[ 1.852369] bcm2835-cpufreq: min=600000 max=900000
[ 1.859383] Driver 'mmcblk' needs updating - please use bus_type methods
[ 1.868143] sdhci: Secure Digital Host Controller Interface driver
[ 1.876273] sdhci: Copyright(c) Pierre Ossman
[ 1.882900] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
[ 1.890709] mmc-bcm2835 3f300000.mmc: DMA channels allocated
[ 1.935081] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.945335] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.953506] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.961130] usbcore: registered new interface driver usbhid
[ 1.969729] usbhid: USB HID core driver
[ 1.975925] TCP: cubic registered
[ 1.981174] Initializing XFRM netlink socket
[ 1.987429] NET: Registered protocol family 17
[ 1.993946] Key type dns_resolver registered
[ 2.000970] Registering SWP/SWPB emulation handler
[ 2.008748] registered taskstats version 1
[ 2.015001] vc-sm: Videocore shared memory driver
[ 2.021551] [vc_sm_connected_init]: start
[ 2.028176] [vc_sm_connected_init]: end - returning 0
[ 2.035110] Indeed it is in host mode hprt0 = 00021501
[ 2.041594] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.043884] mmc0: new high speed SDHC card at address 59b4
[ 2.044426] mmcblk0: mmc0:59b4 SS08G 7.40 GiB
[ 2.054869] mmcblk0: p1 p2
[ 2.087496] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.099487] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 2.109470] devtmpfs: mounted
[ 2.115085] Freeing unused kernel memory: 400K (80786000 - 807ea000)
[ 2.245081] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 2.253828] Indeed it is in host mode hprt0 = 00001101
[ 2.455426] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 2.464485] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.475141] hub 1-1:1.0: USB hub found
[ 2.481188] hub 1-1:1.0: 5 ports detected
[ 2.765220] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 2.885752] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 2.895716] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.908771] smsc95xx v1.0.4
[ 2.969356] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:d4:77:4c
[ 3.065201] usb 1-1.4: new low-speed USB device number 4 using dwc_otg
[ 3.171991] udevd[177]: starting version 175
[ 3.209980] usb 1-1.4: New USB device found, idVendor=046d, idProduct=c521
[ 3.219409] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.229249] usb 1-1.4: Product: USB Receiver
[ 3.236355] usb 1-1.4: Manufacturer: Logitech
[ 3.254667] input: Logitech USB Receiver as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:046D:C521.0001/input/input0
[ 3.272750] hid-generic 0003:046D:C521.0001: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-3f980000.usb-1.4/input0
[ 3.319553] input: Logitech USB Receiver as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/1-1.4:1.1/0003:046D:C521.0002/input/input1
[ 3.395744] hid-generic 0003:046D:C521.0002: input,hiddev0,hidraw1: USB HID v1.11 Device [Logitech USB Receiver] on usb-3f980000.usb-1.4/input1
[ 4.105232] bcm2708_spi 3f204000.spi: DMA channel 2 at address 0xf3007200 with irq 77
[ 4.152986] bcm2708_spi 3f204000.spi: DMA channel 4 at address 0xf3007400 with irq 20
[ 4.211968] ads7846 spi0.1: touchscreen, irq 497
[ 4.223729] input: ADS7846 Touchscreen as /devices/platform/soc/3f204000.spi/spi_master/spi0/spi0.1/input/input2
[ 4.241631] bcm2708_spi 3f204000.spi: SPI Controller at 0x3f204000 (irq 80)
[ 4.252097] bcm2708_spi 3f204000.spi: SPI Controller running in dma mode
[ 5.221268] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 5.474220] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 6.070907] fbtft: module is from the staging directory, the quality is unknown, you have been warned.
[ 6.091054] fbtft_device: module is from the staging directory, the quality is unknown, you have been warned.
[ 6.106914] fbtft_device: SPI devices registered:
[ 6.114582] fbtft_device: ads7846 spi0.1 2000kHz 8 bits mode=0x00
[ 6.123447] fbtft_device: 'fb' Platform devices registered:
[ 6.131316] fbtft_device: soc:fb id=-1 pdata? no
[ 6.138799] fbtft_device: GPIOS used by 'waveshare32b':
[ 6.147791] fbtft_device: 'dc' = GPIO22
[ 6.154171] fbtft_device: 'reset' = GPIO27
[ 6.158805] fb_ili9340: module is from the staging directory, the quality is unknown, you have been warned.
[ 6.174374] fbtft_device: SPI devices registered:
[ 6.181233] fbtft_device: ads7846 spi0.1 2000kHz 8 bits mode=0x00
[ 6.189868] fbtft_device: fb_ili9340 spi0.0 48000kHz 8 bits mode=0x00
[ 6.482049] graphics fb1: fb_ili9340 frame buffer, 240x320, 150 KiB video memory, 4 KiB DMA buffer memory, fps=50, spi0.0 at 48 MHz
[ 7.633550] random: nonblocking pool is initialized
[ 10.378418] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 11.991162] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[ 13.834361] cfg80211: Calling CRDA to update world regulatory domain
[ 14.271787] Adding 102396k swap on /var/swap. Priority:-1 extents:2 across:2134012k SSFS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment