Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
bbb fbtft ti-linux-4.1.y
==============================================
NOTE: on my laptop running Debian GNU/Linux 8.2
==============================================
$ git clone https://github.com/RobertCNelson/ti-linux-kernel-dev/
Cloning into 'ti-linux-kernel-dev'...
remote: Counting objects: 6549, done.
remote: Compressing objects: 100% (56/56), done.
remote: Total 6549 (delta 37), reused 0 (delta 0), pack-reused 6493
Receiving objects: 100% (6549/6549), 5.21 MiB | 3.17 MiB/s, done.
Resolving deltas: 100% (5036/5036), done.
Checking connectivity... done.
$ cd ti-linux-kernel-dev/
$ git checkout ti-linux-4.1.y
Branch ti-linux-4.1.y set up to track remote branch ti-linux-4.1.y from origin by rebasing.
Switched to a new branch 'ti-linux-4.1.y'
$ ./build_kernel.sh
Photos of kernel config:
https://photos.google.com/album/AF1QipPuGfQQx6eQ48GB-uX4z5PrSdAmc08qeGYFzPQs
$ sudo dd if=bone-debian-8.2-console-armhf-2015-10-11-2gb.img of=/dev/sdc
3481600+0 records in
3481600+0 records out
1782579200 bytes (1.8 GB) copied, 686.836 s, 2.6 MB/s
$ sudo eject /dev/sdc
Re-insert microSD so that it is mounted:
From the ti-linux-kernel-dev repo (branch: ti-linux-4.1.y)
$ sudo ./tools/install_kernel.sh
==============================================
NOTE: running commands on BeagleBone Black now
==============================================
$ cd /opt/scripts/tools
$ sudo ./grow_partition.sh
$ sudo reboot
$ sudo apt-get update
$ sudo apt-get install fbi
$ git clone https://github.com/beagleboard/bb.org-overlays
$ cd bb.org-overlays/
$ ./dtc-overlay.sh
$ ./install.sh
$ sudo vi /boot/uEnv.txt
uname_r=4.1.13-ti-r30
$ sudo cp /zImage /boot/vmlinuz-4.1.13-ti-r30
$ sudo cp -pr /dtbs /boot/dtbs/4.1.13-ti-r30
$ uname -a
Linux beaglebone 4.1.13-ti-r30 #1 SMP PREEMPT Mon Nov 16 00:50:22 CST 2015 armv7l GNU/Linux
$ sudo vi /boot/uEnv.txt
##BeagleBone Black: HDMI (Audio/Video)/eMMC disabled:
dtb=am335x-boneblack-overlay.dtb
$ sudo reboot
$ cat /sys/devices/platform/bone_capemgr/slots
0: PF---- -1
1: PF---- -1
2: PF---- -1
3: PF---- -1
$ sudo /bin/sh -c 'echo BB-SPIDEV1 > /sys/devices/platform/bone_capemgr/slots'
$ 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
$ sudo modprobe fbtft_device busnum=1 name=adafruit18 debug=7 verbose=3 gpios=dc:48,reset:60
$ wget 'http://beagleboard.org/static/uploads/BorisTux_w_Logo.png'
$ sudo fbi -d /dev/fb1 -T 1 -a BorisTux_w_Logo.png
@pdp7

This comment has been minimized.

Copy link
Owner Author

pdp7 commented Nov 19, 2015

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.