xref: /OK3568_Linux_fs/buildroot/board/technologic/ts7680/readme.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunTechnologic Systems TS-7680 SBC
2*4882a593Smuzhiyun===============================
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunThis document explains how to set up a basic Buildroot system for
5*4882a593Smuzhiyunthe Technologic Systems TS-7680 Single Board Computer.
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunThe TS-7680 SBC is based on the Freescale i.MX286 ARM ARM926EJ-S
8*4882a593Smuzhiyunrunning at 454MHz. The TS-7680 features are 10/100 Ethernet ports,
9*4882a593SmuzhiyunWi-Fi, microSD card, eMMC, NOR Flash, USB host port, CAN ports,
10*4882a593Smuzhiyunrelays and ADC/DAC. More details on the board here:
11*4882a593Smuzhiyunhttps://wiki.embeddedarm.com/wiki/TS-7680
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunThe TS-7680 uses a 4.9 Linux kernel provided by Technologic Systems.
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunTo build the default configuration you only have to run:
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun  $ make ts7680_defconfig
18*4882a593Smuzhiyun  $ make
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunThe output looks like:
21*4882a593Smuzhiyunoutput/images
22*4882a593Smuzhiyun├── imx28-ts7680.dtb
23*4882a593Smuzhiyun├── rootfs.ext2
24*4882a593Smuzhiyun├── rootfs.ext4 -> rootfs.ext2
25*4882a593Smuzhiyun├── rootfs.tar
26*4882a593Smuzhiyun├── sdcard.img
27*4882a593Smuzhiyun└── uImage
28*4882a593Smuzhiyun
29*4882a593SmuzhiyunThe provided genimage configuration generates an image file containing
30*4882a593Smuzhiyuntwo partitions. The first one is unused, but mandatory as the
31*4882a593SmuzhiyunTS-7680 built-in bootloader loads the Linux uImage from the /boot
32*4882a593Smuzhiyundirectory in the second partition. The second partition contains the
33*4882a593Smuzhiyunrootfs with the Linux uImage into the /boot directory.
34*4882a593Smuzhiyun
35*4882a593Smuzhiyun  $ fdisk output/images/sdcard.img
36*4882a593Smuzhiyun  output/images/sdcard.img1          1      1       1  512B  0 Empty
37*4882a593Smuzhiyun  output/images/sdcard.img2          2 524289  524288  256M 83 Linux
38*4882a593Smuzhiyun
39*4882a593SmuzhiyunThis image can be directly written to an SD card.
40*4882a593Smuzhiyun
41*4882a593Smuzhiyun    $ sudo dd if=output/images/sdcard.img of=/dev/mmcblk0
42*4882a593Smuzhiyun
43*4882a593SmuzhiyunTo boot with Buildroot, insert this SD card on the board, make sure
44*4882a593Smuzhiyunthe SD jumper is present and the U-Boot jumper is not.
45*4882a593Smuzhiyun
46*4882a593SmuzhiyunThe bootloader comes pre-flashed on the board on an SPI flash. Since
47*4882a593Smuzhiyunupdating the bootloader is risky and not trivial, it is not included
48*4882a593Smuzhiyunin the Buildroot defconfig. Refer to
49*4882a593Smuzhiyunhttps://wiki.embeddedarm.com/wiki/TS-7680#U-Boot for details on
50*4882a593Smuzhiyunwhich U-Boot config to use and how to flash it.
51