Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Build fbtft drivers for Linux 4.4 on BeagleBone Black
laptop$ git clone
laptop$ cd bb-kernel/
laptop$ git checkout am33x-v4.4
laptop$ ./
# enable Device Drivers->Staging->fbtft
# flash SD card
laptop$ wget
laptop$ xz -d bone-debian-8.2-console-armhf-2015-11-15-2gb.img.xz
laptop$ sudo dd if=/home/afustini/Downloads/bbb-images/bone-debian-8.2-console-armhf-2015-11-15-2gb.img.xz of=/dev/sdc
laptop$ sudo eject /dev/sdc
# remove and re-insert so that fs gets mounted
laptop$ ./tools/
bone$ sudo /opt/scripts/tools/
bone$ sudo reboot
bone$ sudo cp -pr /dtbs /boot/dtbs/4.4.0-rc1-bone0
bone$ sudo cp /zImage /boot/vmlinuz-4.4.0-rc1-bone0
bone$ sudo vi /boot/uEnv.txt
bone$ sudo reboot
bone$ uname -a
Linux beaglebone 4.4.0-rc1-bone0 #4 Thu Nov 19 20:26:04 CST 2015 armv7l GNU/Linux
bone$ sudo apt-get update
bone$ sudo apt-get install git
bone$ git clone
bone$ cd
bone$ ./
bone$ ./
bone$ cat /sys/devices/platform/bone_capemgr/slots
0: PF---- -1
1: PF---- -1
2: PF---- -1
3: PF---- -1
bone$ sudo /bin/sh -c 'echo BB-SPIDEV1 > /sys/devices/platform/bone_capemgr/slots'
bone$ cat /sys/devices/platform/bone_capemgr/slots
0: PF---- -1
1: PF---- -1
2: PF---- -1
3: PF---- -1
4: P-O-L- 0 Override Board Name,00A0,Override Manuf,BB-SPIDEV1
bone$ sudo modprobe fbtft_device busnum=1 name=adafruit18 debug=7 verbose=3 gpios=dc:48,reset:60
bone$ sudo apt-get install fbi
bone$ wget ''
bone$ sudo fbi -d /dev/fb0 -T 1 -a BorisTux_w_Logo.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.