Home
Pages 12
- Home
- Building with Yocto
- Cross compiling toolchain setup
- Flashing u boot onto the tbs2910
- Generate a root file system (image)
- Get, patch and build the kernel
- Get, patch and build u boot
- GPIO fan and blue LED control
- Setting up cpu frequency scaling
- Setting up the internal eMMC
- Switching what you boot from
- WiFi
Clone this wiki locally
Welcome to the tbs2910-from-scratch wiki!
This wiki describes the steps required to get a TBS matrix (TBS2910) single board computer up and running from scratch with the latest u-boot, Linux kernel and Debian Sid. These steps should be done on a computer running Linux.
Here is the product page for the target device
-
Set up your cross compiler (optional)
This step can be skipped if you want to download the prebuilt binaries I've released. -
Setup your servers (optional)
Make sure you have working and properly configured DHCP, TFTP and NFS servers. Your DHCP server needs to be setup properly to provide all the info needed to populate the environment variables shown at the bottom of the page here. Things will go very wrong, very fast if your DHCP server is not properly configured. I use dnsmasq for the DHCP and TFTP servers and nfs-kernel-server for the NFS server.
There is currently a bug in u-boot:
Your DHCP server must not provide a bootfile name (DHCP option #67) to your board or else it becomes impossible for u-boot to download any other file. This is a bug in u-boot. -
Get, patch and build u-boot
After this step you'll have a u-boot.imx file. This is the "BIOS" for the device. u-boot's job here to somehow get the Linux kernel running.
Note: This step can be skipped if you'd rather just download my precompiled u-boot.imx found here. -
Get, patch and build the kernel
After this step you'll have a Linux kernel image file (zImage) and a flattened device tree binary file (imx6q-sabresd.dtb).
Note: This step can be skipped if you'd rather just download my precompiled zImage and imx6q-sabresd.dtb found here. -
Create the root file system image
After this step you'll have a root file system image file (matrixBoot.img).
Note: This step can be skipped if you'd rather just download my matrixBoot.img from here.