kumquat-buildroot/board/technologic/ts4900
Arnout Vandecappelle 31be2ec220 boards: replace $HOST_DIR/usr/ with $HOST_DIR/ in scripts
Since things are no longer installed in $(HOST_DIR)/usr, the callers
should also not refer to it.

This is a mechanical change with
git grep -l 'HOST_DIR}\?/usr/' board | xargs sed -i 's%\(HOST_DIR}\?\)/usr/%\1/%g'

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-07-05 15:23:13 +02:00
..
genimage.cfg configs: add defconfig for TS-4900 2016-09-18 17:09:59 +02:00
post-image.sh boards: replace $HOST_DIR/usr/ with $HOST_DIR/ in scripts 2017-07-05 15:23:13 +02:00
readme.txt configs: add defconfig for TS-4900 2016-09-18 17:09:59 +02:00

Technologic Systems TS-4900
===========================

This document explains how to set up a basic Buildroot system for the
Technologic Systems TS-4900 System on Module.

The TS-4900 is a TS-SOCKET macrocontroller board based on the
Freescale i.MX6 Single or Quad Core ARM Cortex-A9 CPU clocked at
1GHz. The TS-4900 features Gigabit Ethernet, SATA II Port, PCI Express
Bus, high speed USB host and device (OTG), and microSD card.
More details on the board here:
   http://wiki.embeddedarm.com/wiki/TS-4900

The TS-4900 is not currently supported by mainline Linux, so a
Technologic Systems Linux is used based on Linux 4.1.
The default U-boot configuration flashed scans the SD card to find the
0x83 partition type, corresponding to the rootfs. Then it will load
both uImage and dts from the /boot directory.
To build the default configuration you only have to:

   $ make ts4900_defconfig
   $ make

The output looks like:
output/images/
├── imx6q-ts4900.dtb
├── rootfs.ext2
├── rootfs.tar
├── sdcard.img
└── uImage

Since both the uImage and the dts are contained in the /boot
directory, the provided post-image script generates an image file
containing only one partition for the rootfs:

   $ fdisk output/images/sdcard.img
                      Device Boot Start    End Blocks Id  System
output/images/sdcard.img1               1      524288      262144   83  Linux

This image can be directly written to an SD card.

   $ sudo dd if=output/images/sdcard.img of=/dev/mmcblk0

In order to test the image on TS-4900 board, a TS baseboard, such as
the TS-9xxx series, is needed to provide power, console header, RJ45
connector etc.

The bootloader comes pre-flashed on the board on an SPI flash. Since
updating the bootloader is risky and not trivial, it is not included
in the Buildroot defconfig. Refer to
http://wiki.embeddedarm.com/wiki/TS-4900#U-Boot for details on which
U-Boot config to use and how to flash it.