This layer depends on:
URI: git://git.yoctoproject.org/poky.git
branch: rocko
revision: HEAD
commit: 16e22f3
URI: git://git.openembedded.org/meta-openembedded
branch: rocko
revision: HEAD
commit: 6e3fc5b
URI: https://github.com/meta-qt5/meta-qt5.git
branch: rocko
revision: HEAD
commit: d87335a
meta-bbb layer maintainer: Scott Ellis <scott@jumpnowtek.com>
Instructions for using this layer can be found on the jumpnowtek site.
Major Software Versions
- Yocto 2.4.1 [rocko] branch
- Linux kernel 4.9.70 (4.14.7 available)
- U-Boot 2017.09
The qt5-image includes Qt 5.9.2 built for framebuffer use only.
There is a demo qt5 app installed - tspress.
There is a spidev loopback test app installed - spiloop.
The default dtb with the example uEnv.txt enables HDMI
- bbb-hdmi.dtb
There is a dtb without HDMI/display support, freeing up some GPIO pins and UART5
- bbb-nohdmi.dtb
And there are dtbs for a couple of touchscreen capes
- bbb-4dcape43t.dtb - 4D Systems 4.3 inch touchscreen, 480x272
- bbb-4dcape50t.dtb - 4D Systems 5 inch touchscreen, 800x480
- bbb-4dcape70t.dtb - 4D Systems 7 inch touchscreen, 800x480
- bbb-nh5cape.dtb - NewHaven Capacitive, 5-inch, 800x480 touchscreen
- bbb-nhd7cape.dtb - NewHaven 7-inch display capes, 800x480 touchscreen
All the dtbs include the following
- /dev/spidev1.0 - pins P9.28 cs0, P9.29 d0, P9.30 d1, P9.31 sclk - d0 is MOSI
- /dev/i2c1 - pins P9.17 scl and P9.18 sda
- /dev/i2c2 - pins P9.19 scl and P9.20 sda
To switch between these dtbs, take a look at uEnv.txt on the boot partition.
You can mount the boot partition like this
root@bbb~# mount /dev/mmcblk0p1 /mnt
root@bbb:~# ls -l /mnt
total 466
-rwxr-xr-x 1 root root 64408 Jul 24 09:00 MLO
-rwxr-xr-x 1 root root 410860 Jul 24 09:00 u-boot.img
-rwxr-xr-x 1 root root 1112 Jul 24 09:00 uEnv.txt
Modify the fdtfile= line.
If you want touchscreen support for either of the New Haven displays
the ft5x06_ts touchscreen driver needs to be loaded
You can load it manually with modprobe
root@bbb:~# modprobe ft5x06_ts
Add it to /etc/modules to have it load every boot.
The 4.3 and 7 inch 4D displays use the BBB built-in ADCs for the touchscreen.
The 4D Systems 5.0 inch uses the ar1021_i2c driver which needs to be loaded at boot. Add the driver to /etc/modules.