Skip to content

Instantly share code, notes, and snippets.

@jadonk
Last active March 18, 2023 03:57
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jadonk/0e4a190fc01dc5723d1f183737af1d83 to your computer and use it in GitHub Desktop.
Save jadonk/0e4a190fc01dc5723d1f183737af1d83 to your computer and use it in GitHub Desktop.
Adafruit 2.4" LCD on BeagleBone Blue

Adafruit 2.4" LCD

Required components

Steps

  1. Solder across Adafruit 2.4" TFT Breakout IM1/IM2/IM3 jumpers: SPI Mode Jumpers

  2. Solder the two (2) JST SH 6 Wire Assemblies to the Adafruit 2.4" TFT Breakout with: Solder connections from JST headers to TFT JST connector example

    JST Pin TFT Pin
    1-1 GND
    1-2 Vin
    1-3 MOSI
    1-4 MISO
    1-5 CLK
    1-6 CS
    2-3 D/C
    2-4 RST
  3. Connect JST-1 to S1.1 connector on BeagleBone Blue.

  4. Connect JST-2 to GP0 connector on BeagleBone Blue.

  5. Boot BeagleBone Blue using 2016-11-06 or newer image from https://beagleboard.org/latest-images.

  6. Run the blue_adafruit24_setup.sh script below to create /dev/fb0.

  7. See any of the many tutorials on using a raw framebuffer (/dev/fb0) in Linux. As an example, I did 'cat /dev/random > /dev/fb0':
    Image of assembled demo

#!/bin/sh
hexdump -C /sys/bus/i2c/devices/0-0050/0-00500/nvmem | head -2
rmmod --force fb_ili9341
rmmod --force fbtft
rmmod --force fbtft_device
dmesg | tail
ls /dev/spi*
perl /opt/scripts/device/bone/show-pins.pl -v | grep -E 'V14|U16|A13|B13|D12|C12|H18'
echo 49 > /sys/class/gpio/unexport # RESET - V14 - GP0_PIN4
echo 57 > /sys/class/gpio/unexport # D/C - U16 - GP0_PIN3
#echo 113 > /sys/class/gpio/unexport # CS - C12
echo 29 > /sys/class/gpio/unexport # CS - H18
echo gpio > /sys/devices/platform/ocp/ocp\:P9_23_pinmux/state # RESET - V14 - GP0_4
echo gpio > /sys/devices/platform/ocp/ocp\:U16_pinmux/state # D/C - U16 - GP0_3
echo spi > /sys/devices/platform/ocp/ocp\:P9_31_pinmux/state # SCLK - A13 - S1.1_5
echo spi > /sys/devices/platform/ocp/ocp\:P9_29_pinmux/state # MISO - B13 - S1.1_4
echo spi > /sys/devices/platform/ocp/ocp\:P9_30_pinmux/state # MOSI - D12 - S1.1_3
#echo spi > /sys/devices/platform/ocp/ocp\:P9_28_pinmux/state # CS - C12 - S1.1_6
echo spi > /sys/devices/platform/ocp/ocp\:H18_pinmux/state # CS - H18 - S1.1_6
sleep 2
modprobe fbtft_device name=adafruit28 busnum=1 rotate=90 gpios=reset:49,dc:57
perl /opt/scripts/device/bone/show-pins.pl -v | grep -E 'V14|U16|A13|B13|D12|C12|H18'
dmesg | tail
ls /dev/spi*
#cat /dev/random > /dev/fb0
[ 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.30-ti-r65 (root@a2-imx6q-wandboard-2gb) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Tue Nov 8 17:28:39 UTC 2016
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: TI AM335x BeagleBone Blue
[ 0.000000] cma: Reserved 48 MiB at 0x9c800000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] On node 0 totalpages: 130560
[ 0.000000] free_area_init_node: node 0, pgdat c105b2c0, node_mem_map df961000
[ 0.000000] Normal zone: 1152 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 130560 pages, LIFO batch:31
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES2.1 (sgx neon )
[ 0.000000] PERCPU: Embedded 13 pages/cpu @df8e5000 s24320 r8192 d20736 u53248
[ 0.000000] pcpu-alloc: s24320 r8192 d20736 u53248 alloc=13*4096
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129408
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=UUID=db8803d2-cfa1-43c1-a032-4ef121e66f76 ro rootfstype=ext4 rootwait coherent_pool=1M
[ 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: 444460K/522240K available (11361K kernel code, 917K rwdata, 3796K rodata, 744K init, 907K bss, 28628K reserved, 49152K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xe0800000 - 0xff800000 ( 496 MB)
lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc0ed58e8 (15159 kB)
.init : 0xc0ed6000 - 0xc0f90000 ( 744 kB)
.data : 0xc0f90000 - 0xc1075528 ( 918 kB)
.bss : 0xc1078000 - 0xc115afa8 ( 908 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[ 0.000022] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000050] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000063] OMAP clocksource: timer1 at 24000000 Hz
[ 0.002768] clocksource_probe: no matching clocksources found
[ 0.003088] Console: colour dummy device 80x30
[ 0.003121] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[ 0.003129] This ensures that you still see kernel messages. Please
[ 0.003135] update your kernel commandline.
[ 0.003157] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
[ 0.020819] pid_max: default: 32768 minimum: 301
[ 0.020969] Security Framework initialized
[ 0.020982] Yama: becoming mindful.
[ 0.021019] AppArmor: AppArmor disabled by boot time parameter
[ 0.021186] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.021199] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.022053] Initializing cgroup subsys io
[ 0.022087] Initializing cgroup subsys memory
[ 0.022134] Initializing cgroup subsys devices
[ 0.022151] Initializing cgroup subsys freezer
[ 0.022167] Initializing cgroup subsys net_cls
[ 0.022182] Initializing cgroup subsys perf_event
[ 0.022196] Initializing cgroup subsys net_prio
[ 0.022221] Initializing cgroup subsys pids
[ 0.022283] CPU: Testing write buffer coherency: ok
[ 0.022345] ftrace: allocating 34628 entries in 102 pages
[ 0.120213] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[ 0.120348] Setting up static identity map for 0x80008280 - 0x800082d8
[ 0.124479] Brought up 1 CPUs
[ 0.124505] SMP: Total of 1 processors activated (995.32 BogoMIPS).
[ 0.124514] CPU: All CPU(s) started in SVC mode.
[ 0.126246] devtmpfs: initialized
[ 0.167164] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.223465] omap_hwmod: debugss: _wait_target_disable failed
[ 0.277439] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.281501] xor: measuring software checksum speed
[ 0.320796] arm4regs : 1219.000 MB/sec
[ 0.360790] 8regs : 1091.000 MB/sec
[ 0.400791] 32regs : 1089.000 MB/sec
[ 0.440790] neon : 1730.000 MB/sec
[ 0.440799] xor: using function: neon (1730.000 MB/sec)
[ 0.440920] pinctrl core: initialized pinctrl subsystem
[ 0.443719] NET: Registered protocol family 16
[ 0.447370] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.449498] cpuidle: using governor ladder
[ 0.449525] cpuidle: using governor menu
[ 0.455247] OMAP GPIO hardware version 0.1
[ 0.457869] GPIO line 106 (LS_BUF_EN) hogged as output/high
[ 0.474394] No ATAGs?
[ 0.474432] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.475950] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[ 0.475975] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[ 0.553045] raid6: int32x1 gen() 230 MB/s
[ 0.620876] raid6: int32x1 xor() 176 MB/s
[ 0.688938] raid6: int32x2 gen() 304 MB/s
[ 0.756796] raid6: int32x2 xor() 199 MB/s
[ 0.824921] raid6: int32x4 gen() 284 MB/s
[ 0.892916] raid6: int32x4 xor() 199 MB/s
[ 0.960916] raid6: int32x8 gen() 282 MB/s
[ 1.028903] raid6: int32x8 xor() 186 MB/s
[ 1.096830] raid6: neonx1 gen() 1465 MB/s
[ 1.164821] raid6: neonx1 xor() 847 MB/s
[ 1.232796] raid6: neonx2 gen() 1886 MB/s
[ 1.300811] raid6: neonx2 xor() 1172 MB/s
[ 1.368814] raid6: neonx4 gen() 1929 MB/s
[ 1.436807] raid6: neonx4 xor() 1205 MB/s
[ 1.504832] raid6: neonx8 gen() 1188 MB/s
[ 1.572825] raid6: neonx8 xor() 844 MB/s
[ 1.572833] raid6: using algorithm neonx4 gen() 1929 MB/s
[ 1.572840] raid6: .... xor() 1205 MB/s, rmw enabled
[ 1.572846] raid6: using intx1 recovery algorithm
[ 1.582521] edma 49000000.edma: TI EDMA DMA engine driver
[ 1.591336] SCSI subsystem initialized
[ 1.591806] libata version 3.00 loaded.
[ 1.592151] usbcore: registered new interface driver usbfs
[ 1.592221] usbcore: registered new interface driver hub
[ 1.592330] usbcore: registered new device driver usb
[ 1.593207] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[ 1.594057] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz
[ 1.594723] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 400 kHz
[ 1.594975] media: Linux media interface: v0.10
[ 1.595055] Linux video capture interface: v2.00
[ 1.595162] pps_core: LinuxPPS API ver. 1 registered
[ 1.595170] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 1.595198] PTP clock support registered
[ 1.596083] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[ 1.597599] NetLabel: Initializing
[ 1.597617] NetLabel: domain hash size = 128
[ 1.597623] NetLabel: protocols = UNLABELED CIPSOv4
[ 1.597687] NetLabel: unlabeled traffic allowed by default
[ 1.598079] clocksource: Switched to clocksource timer1
[ 1.710478] NET: Registered protocol family 2
[ 1.711350] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 1.711399] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 1.711460] TCP: Hash tables configured (established 4096 bind 4096)
[ 1.711542] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 1.711563] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 1.711900] NET: Registered protocol family 1
[ 1.712499] RPC: Registered named UNIX socket transport module.
[ 1.712514] RPC: Registered udp transport module.
[ 1.712520] RPC: Registered tcp transport module.
[ 1.712526] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.713257] Unpacking initramfs...
[ 2.094933] Freeing initrd memory: 5112K (cfb02000 - d0000000)
[ 2.095568] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[ 2.098823] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 2.098952] audit: initializing netlink subsys (disabled)
[ 2.099039] audit: type=2000 audit(2.036:1): initialized
[ 2.109059] zbud: loaded
[ 2.109795] VFS: Disk quotas dquot_6.6.0
[ 2.110147] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 2.112948] NFS: Registering the id_resolver key type
[ 2.113029] Key type id_resolver registered
[ 2.113037] Key type id_legacy registered
[ 2.113066] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 2.113458] fuse init (API version 7.23)
[ 2.114150] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[ 2.122693] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 2.122978] io scheduler noop registered
[ 2.122996] io scheduler deadline registered
[ 2.123066] io scheduler cfq registered (default)
[ 2.124738] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 2.129852] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ 2.131935] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[ 2.135393] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
[ 3.025023] console [ttyS0] enabled
[ 3.029506] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 159, base_baud = 3000000) is a 8250
[ 3.039291] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 160, base_baud = 3000000) is a 8250
[ 3.049094] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 161, base_baud = 3000000) is a 8250
[ 3.058863] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 162, base_baud = 3000000) is a 8250
[ 3.068579] 481aa000.serial: ttyS5 at MMIO 0x481aa000 (irq = 163, base_baud = 3000000) is a 8250
[ 3.079435] [drm] Initialized drm 1.1.0 20060810
[ 3.095568] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.102245] ehci-platform: EHCI generic platform driver
[ 3.107793] ehci-omap: OMAP-EHCI Host Controller driver
[ 3.113628] usbcore: registered new interface driver usb-storage
[ 3.122646] 47401300.usb-phy supply vcc not found, using dummy regulator
[ 3.132115] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[ 3.132135] musb-hdrc: MHDRC RTL version 2.0
[ 3.132144] musb-hdrc: setup fifo_mode 4
[ 3.132164] musb-hdrc: 28/31 max ep, 16384/16384 memory
[ 3.134466] 47401b00.usb-phy supply vcc not found, using dummy regulator
[ 3.143765] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[ 3.143786] musb-hdrc: MHDRC RTL version 2.0
[ 3.143795] musb-hdrc: setup fifo_mode 4
[ 3.143811] musb-hdrc: 28/31 max ep, 16384/16384 memory
[ 3.143964] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 3.149843] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[ 3.158083] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.164929] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.172201] usb usb1: Product: MUSB HDRC host driver
[ 3.177201] usb usb1: Manufacturer: Linux 4.4.30-ti-r65 musb-hcd
[ 3.183249] usb usb1: SerialNumber: musb-hdrc.1.auto
[ 3.189244] hub 1-0:1.0: USB hub found
[ 3.193199] hub 1-0:1.0: 1 port detected
[ 3.207164] mousedev: PS/2 mouse device common for all mice
[ 3.215916] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[ 3.224214] i2c /dev entries driver
[ 3.230202] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 3.237695] cpuidle: enable-method property 'ti,am3352' found operations
[ 3.245433] omap_hsmmc 48060000.mmc: Got CD GPIO
[ 3.356853] mmc1: MAN_BKOPS_EN bit is not set
[ 3.368837] mmc1: new high speed MMC card at address 0001
[ 3.375318] mmcblk1: mmc1:0001 S10004 3.56 GiB
[ 3.380410] mmcblk1boot0: mmc1:0001 S10004 partition 1 4.00 MiB
[ 3.386852] mmcblk1boot1: mmc1:0001 S10004 partition 2 4.00 MiB
[ 3.394313] mmcblk1: p1
[ 3.424211] hidraw: raw HID events driver (C) Jiri Kosina
[ 3.431782] usbcore: registered new interface driver usbhid
[ 3.437450] usbhid: USB HID core driver
[ 3.443755] ashmem: initialized
[ 3.446991] omap_hsmmc 47810000.mmc: card claims to support voltages below defined range
[ 3.456248] remoteproc0: wkup_m3 is available
[ 3.460804] remoteproc0: Note: remoteproc is still under development and considered experimental.
[ 3.469824] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 3.484690] NET: Registered protocol family 10
[ 3.490931] mip6: Mobile IPv6
[ 3.494016] NET: Registered protocol family 17
[ 3.498808] Key type dns_resolver registered
[ 3.503198] mpls_gso: MPLS GSO support
[ 3.507270] omap_voltage_late_init: Voltage driver support not added
[ 3.515327] PM: Cannot get wkup_m3_ipc handle
[ 3.519916] ThumbEE CPU extension supported.
[ 3.524318] Registering SWP/SWPB emulation handler
[ 3.530405] registered taskstats version 1
[ 3.535717] mmc2: queuing unknown CIS tuple 0x91 (3 bytes)
[ 3.541462] zswap: loaded using pool lzo/zbud
[ 3.546939] mmc2: new high speed SDIO card at address 0001
[ 3.556364] Btrfs loaded
[ 3.585491] Key type encrypted registered
[ 3.593317] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/input/input0
[ 3.628350] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[ 3.634529] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 3.641545] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 3.648500] remoteproc0: powering up wkup_m3
[ 3.653581] remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217148
[ 3.662500] PM: bootloader does not support rtc-only!
[ 3.668098] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
[ 3.675095] remoteproc0: remote processor wkup_m3 is now up
[ 3.683151] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[ 3.693970] of_cfs_init
[ 3.696668] of_cfs_init: OK
[ 3.706738] PM: Hibernation image not present or could not be loaded.
[ 3.708451] Freeing unused kernel memory: 744K (c0ed6000 - c0f90000)
[ 3.948215] random: systemd-udevd: uninitialized urandom read (16 bytes read, 29 bits of entropy available)
[ 3.971187] random: systemd-udevd: uninitialized urandom read (16 bytes read, 29 bits of entropy available)
[ 3.981295] random: udevadm: uninitialized urandom read (16 bytes read, 29 bits of entropy available)
[ 3.991259] random: udevadm: uninitialized urandom read (16 bytes read, 29 bits of entropy available)
[ 4.000856] random: systemd-udevd: uninitialized urandom read (16 bytes read, 29 bits of entropy available)
[ 4.010975] random: udevadm: uninitialized urandom read (16 bytes read, 29 bits of entropy available)
[ 4.026516] random: udevadm: uninitialized urandom read (16 bytes read, 29 bits of entropy available)
[ 4.036678] random: udevadm: uninitialized urandom read (16 bytes read, 29 bits of entropy available)
[ 4.046862] random: udevadm: uninitialized urandom read (16 bytes read, 29 bits of entropy available)
[ 4.056909] random: udevadm: uninitialized urandom read (16 bytes read, 29 bits of entropy available)
[ 6.300704] ti-pruss 4a300000.pruss: creating PRU cores and other child platform devices
[ 6.416884] irq: no irq domain found for /ocp/pruss@4a300000/intc@4a320000 !
[ 6.480533] irq: no irq domain found for /ocp/pruss@4a300000/intc@4a320000 !
[ 6.617141] remoteproc1: 4a334000.pru0 is available
[ 6.622314] remoteproc1: Note: remoteproc is still under development and considered experimental.
[ 6.631343] remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 6.885421] remoteproc1: Direct firmware load for am335x-pru0-fw failed with error -2
[ 6.893550] remoteproc1: failed to load am335x-pru0-fw
[ 6.898983] pru-rproc 4a334000.pru0: booting the PRU core manually
[ 6.951285] remoteproc1: powering up 4a334000.pru0
[ 7.007458] remoteproc1: Direct firmware load for am335x-pru0-fw failed with error -2
[ 7.015570] remoteproc1: request_firmware failed: -2
[ 7.020681] pru-rproc 4a334000.pru0: rproc_boot failed
[ 7.169052] remoteproc1: releasing 4a334000.pru0
[ 7.217821] pru-rproc: probe of 4a334000.pru0 failed with error -2
[ 7.281753] remoteproc1: 4a338000.pru1 is available
[ 7.286910] remoteproc1: Note: remoteproc is still under development and considered experimental.
[ 7.295940] remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 7.497131] remoteproc1: Direct firmware load for am335x-pru1-fw failed with error -2
[ 7.505249] remoteproc1: failed to load am335x-pru1-fw
[ 7.510672] pru-rproc 4a338000.pru1: booting the PRU core manually
[ 7.570312] remoteproc1: powering up 4a338000.pru1
[ 7.614657] remoteproc1: Direct firmware load for am335x-pru1-fw failed with error -2
[ 7.622732] remoteproc1: request_firmware failed: -2
[ 7.627839] pru-rproc 4a338000.pru1: rproc_boot failed
[ 7.684321] remoteproc1: releasing 4a338000.pru1
[ 7.689425] pru-rproc: probe of 4a338000.pru1 failed with error -2
[ 8.863999] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)
[ 9.253856] systemd[1]: System time before build time, advancing clock.
[ 9.309587] systemd[1]: Failed to insert module 'kdbus': Function not implemented
[ 9.348348] systemd[1]: systemd 230 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[ 9.367344] systemd[1]: Detected architecture arm.
[ 9.392577] systemd[1]: Set hostname to <bla1a-9>.
[ 9.953076] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 9.975089] systemd[1]: Listening on Journal Socket (/dev/log).
[ 9.994741] systemd[1]: Reached target Swap.
[ 10.006802] systemd[1]: Reached target Encrypted Volumes.
[ 10.019179] systemd[1]: Listening on udev Control Socket.
[ 10.032361] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 10.055653] systemd[1]: Created slice User and Session Slice.
[ 10.071014] systemd[1]: Listening on fsck to fsckd communication Socket.
[ 10.091051] systemd[1]: Listening on Syslog Socket.
[ 10.103076] systemd[1]: Listening on udev Kernel Socket.
[ 10.115083] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 10.135139] systemd[1]: Listening on Journal Socket.
[ 10.147671] systemd[1]: Listening on Journal Audit Socket.
[ 10.167134] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 10.186721] systemd[1]: Reached target Paths.
[ 10.198833] systemd[1]: Reached target Remote File Systems (Pre).
[ 10.218737] systemd[1]: Reached target Remote File Systems.
[ 10.231592] systemd[1]: Created slice System Slice.
[ 10.247760] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[ 10.294786] systemd[1]: Mounting /sys/kernel/debug...
[ 10.362910] systemd[1]: Starting Journal Service...
[ 10.401584] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 10.444351] systemd[1]: Mounting POSIX Message Queue File System...
[ 10.542708] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 10.595537] systemd[1]: Created slice system-getty.slice.
[ 10.663367] systemd[1]: Starting Load Kernel Modules...
[ 10.698761] systemd[1]: Reached target Slices.
[ 10.729085] EXT4-fs (mmcblk1p1): re-mounted. Opts: errors=remount-ro
[ 10.781459] eqep 48300180.eqep: ver. 1.0
[ 10.795662] systemd[1]: Mounted POSIX Message Queue File System.
[ 10.818422] eqep 48300180.eqep: unable to select pin group
[ 10.835379] eqep 48302180.eqep: ver. 1.0
[ 10.840104] systemd[1]: Mounted /sys/kernel/debug.
[ 10.847115] eqep 48302180.eqep: unable to select pin group
[ 10.853860] eqep 48304180.eqep: ver. 1.0
[ 10.865328] systemd[1]: Started Journal Service.
[ 10.870382] eqep 48304180.eqep: unable to select pin group
[ 11.558819] systemd-journald[566]: Received request to flush runtime journal from PID 1
[ 11.895246] random: nonblocking pool is initialized
[ 16.331359] remoteproc1: 4a334000.pru0 is available
[ 16.336502] remoteproc1: Note: remoteproc is still under development and considered experimental.
[ 16.345567] remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 16.688684] pru-rproc 4a334000.pru0: booting the PRU core manually
[ 16.751956] remoteproc1: powering up 4a334000.pru0
[ 16.813343] remoteproc1: Booting fw image am335x-pru0-fw, size 36296
[ 16.820045] remoteproc1: remote processor 4a334000.pru0 is now up
[ 16.826356] pru-rproc 4a334000.pru0: PRU rproc node /ocp/pruss@4a300000/pru0@4a334000 probed successfully
[ 17.050595] remoteproc2: 4a338000.pru1 is available
[ 17.055706] remoteproc2: Note: remoteproc is still under development and considered experimental.
[ 17.064776] remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 17.279784] pru-rproc 4a338000.pru1: booting the PRU core manually
[ 17.354397] remoteproc2: powering up 4a338000.pru1
[ 17.409926] remoteproc2: Booting fw image am335x-pru1-fw, size 35364
[ 17.416648] remoteproc2: remote processor 4a338000.pru1 is now up
[ 17.422982] pru-rproc 4a338000.pru1: PRU rproc node /ocp/pruss@4a300000/pru1@4a338000 probed successfully
[ 18.640649] using random self ethernet address
[ 18.645273] using random host ethernet address
[ 18.677904] using host ethernet address: 1c:ba:8c:a2:ed:6a
[ 18.757584] Mass Storage Function, version: 2009/09/11
[ 18.774369] LUN: removable file: (no medium)
[ 18.802577] LUN: removable read only file: /var/cache/doc-beaglebone-getting-started/beaglebone-getting-started-2016-11-07.img
[ 18.814140] Number of LUNs=1
[ 18.880702] usb0: HOST MAC 1c:ba:8c:a2:ed:6a
[ 18.911316] usb0: MAC aa:37:f6:d0:2a:9b
[ 18.945138] g_multi gadget: Multifunction Composite Gadget
[ 18.950830] g_multi gadget: g_multi ready
[ 20.466792] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[ 34.192259] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[ 36.205187] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[ 36.482021] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[ 36.654861] [drm] Initialized pvr 1.14.3699939 20110701 on minor 0
[ 42.272100] Bluetooth: Core ver 2.21
[ 42.288481] NET: Registered protocol family 31
[ 42.293161] Bluetooth: HCI device and connection manager initialized
[ 42.322385] Bluetooth: HCI socket layer initialized
[ 42.343430] Bluetooth: L2CAP socket layer initialized
[ 42.359107] Bluetooth: SCO socket layer initialized
[ 42.393524] Bluetooth: HCI UART driver ver 2.3
[ 42.398201] Bluetooth: HCI UART protocol H4 registered
[ 42.403465] Bluetooth: HCI UART protocol BCSP registered
[ 42.408823] Bluetooth: HCI UART protocol LL registered
[ 42.414002] Bluetooth: HCI UART protocol ATH3K registered
[ 42.419443] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 42.505384] Bluetooth: HCI UART protocol BCM registered
[ 42.510810] Bluetooth: HCI UART protocol QCA registered
[ 43.284582] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 43.290077] Bluetooth: BNEP filters: protocol multicast
[ 43.346347] Bluetooth: BNEP socket layer initialized
[ 44.099428] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
[ 44.187948] wlcore: loaded
[ 44.656211] wlcore: PHY firmware version: Rev 8.2.0.0.236
[ 44.799909] wlcore: firmware booted (Rev 8.9.0.0.69)
[ 44.843439] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 45.184639] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 45.235433] wlcore: down
[ 45.856184] wlcore: down
[ 45.943780] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 45.983428] device wlan0 entered promiscuous mode
[ 46.229645] tether: port 1(wlan0) entered forwarding state
[ 46.235417] tether: port 1(wlan0) entered forwarding state
[ 56.451929] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 56.560749] nf_conntrack version 0.5.0 (7804 buckets, 31216 max)
[ 100.054967] hrtimer: interrupt took 122764 ns
[ 837.062125] fbtft: module is from the staging directory, the quality is unknown, you have been warned.
[ 837.105393] fbtft_device: module is from the staging directory, the quality is unknown, you have been warned.
[ 837.148845] spidev spi1.0: spidev spi1.0 24000kHz 8 bits mode=0x00
[ 837.155279] spidev spi1.1: spidev spi1.1 24000kHz 8 bits mode=0x00
[ 837.162127] spidev spi1.0: Deleting spi1.0
[ 837.206423] fbtft_device: GPIOS used by 'adafruit28':
[ 837.211958] fbtft_device: 'reset' = GPIO49
[ 837.216348] fbtft_device: 'dc' = GPIO57
[ 837.220413] spidev spi1.1: spidev spi1.1 24000kHz 8 bits mode=0x00
[ 837.226729] spi spi1.0: fb_ili9341 spi1.0 32000kHz 8 bits mode=0x00
[ 837.334458] fb_ili9341: module is from the staging directory, the quality is unknown, you have been warned.
[ 837.702613] Console: switching to colour frame buffer device 40x30
[ 837.715865] graphics fb0: fb_ili9341 frame buffer, 320x240, 150 KiB video memory, 16 KiB DMA buffer memory, fps=20, spi1.0 at 32 MHz
@MarkAYoder
Copy link

Jason: This was a great help in getting my LCD display to work. Now to get the touch panel working...

--Mark

@MaheshChaudhari2000
Copy link

Hi, I am working on the same project as this. I am completely new to frame buffer. I have done complete setup as well, can see the screen's lighten up with white light. But I don't really know how to proceed. Can you please guide me on this?

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