xref: /OK3568_Linux_fs/buildroot/board/technologic/ts4900/readme.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Technologic Systems TS-4900
2===========================
3
4This document explains how to set up a basic Buildroot system for the
5Technologic Systems TS-4900 System on Module.
6
7The TS-4900 is a TS-SOCKET macrocontroller board based on the
8Freescale i.MX6 Single or Quad Core ARM Cortex-A9 CPU clocked at
91GHz. The TS-4900 features Gigabit Ethernet, SATA II Port, PCI Express
10Bus, high speed USB host and device (OTG), and microSD card.
11More details on the board here:
12   http://wiki.embeddedarm.com/wiki/TS-4900
13
14The TS-4900 is not currently supported by mainline Linux, so a
15Technologic Systems Linux is used based on Linux 4.1.
16The default U-boot configuration flashed scans the SD card to find the
170x83 partition type, corresponding to the rootfs. Then it will load
18both uImage and dts from the /boot directory.
19To build the default configuration you only have to:
20
21   $ make ts4900_defconfig
22   $ make
23
24The output looks like:
25output/images/
26├── imx6q-ts4900.dtb
27├── rootfs.ext2
28├── rootfs.tar
29├── sdcard.img
30└── uImage
31
32Since both the uImage and the dts are contained in the /boot
33directory, the provided post-image script generates an image file
34containing only one partition for the rootfs:
35
36   $ fdisk output/images/sdcard.img
37                      Device Boot Start    End Blocks Id  System
38output/images/sdcard.img1               1      524288      262144   83  Linux
39
40This image can be directly written to an SD card.
41
42   $ sudo dd if=output/images/sdcard.img of=/dev/mmcblk0
43
44In order to test the image on TS-4900 board, a TS baseboard, such as
45the TS-9xxx series, is needed to provide power, console header, RJ45
46connector etc.
47
48The bootloader comes pre-flashed on the board on an SPI flash. Since
49updating the bootloader is risky and not trivial, it is not included
50in the Buildroot defconfig. Refer to
51http://wiki.embeddedarm.com/wiki/TS-4900#U-Boot for details on which
52U-Boot config to use and how to flash it.
53