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