This repository has been archived by the owner on Jun 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Home
notro edited this page Feb 22, 2015
·
7 revisions
2015-02-23
The FBTFT images have been discontinued.
The FBTFT images are built starting from a Raspian release using fbtft-spindle. Raspian itself is built using spindle.
The reason a Raspian image is used as a base, instead of building everything from scratch, is because packages gets updated all the time, and I want to be as close as possible to Raspian.
The images are built on Ubuntu 12.04
git clone https://github.com/notro/fbtft-spindle
cd fbtft-spindle
./setup
Enter schroot
cd spindle
schroot -c spindle
Extend sudo timeout (for the cmptree stage)
sudo visudo
-Defaults env_reset
+Defaults env_reset, timestamp_timeout=60
Downgrade qemu to 1.0.1, install some packages and setup build machine
sudo ./downgrade_qemu
sudo apt-get install zip unzip
./wheezy-stage0
./wheezy-stage1
Run from schroot inside spindle directory.
# unzip image and convert to qed
# 1st argument: Official Raspian image as zipfile
# optional 2nd argument: date: yyyy-mm-dd
../fbtft-stage0 img.zip [date]
# Install packages
../fbtft-stage1
# Configuration changes
../fbtft-stage2
# Optional stage:
# compare new base image with Raspian image and record changed/added files (~40min)
# result in: spindle/work/cmp_{boot,rootfs}.txt
../fbtft-stage4
# Install FBTFT kernels
../fbtft-stage5
# Make custom images for display shields
../fbtft-stage6
# leave schroot
exit
Zip up images and move them
pwd
fbtft-spindle
# ~30min
./zip-images
ls -l zip