xref: /OK3568_Linux_fs/buildroot/board/technologic/ts5500/readme.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunTechnologic Systems TS-5x00 SBCs
2*4882a593Smuzhiyun================================
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunThis document explains how to set up a basic Buildroot system for the
5*4882a593SmuzhiyunTechnologic Systems TS-5x00 serie of x86-based Single Board Computers.
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunTS-5x00 Single Board Computers are based on the AMD Elan520 processor. For more
8*4882a593Smuzhiyuninformation please have a look at http://wiki.embeddedarm.com/wiki/#AMD
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunThe kernel configuration works for any AMD Elan520-based SBCs, but the support
11*4882a593Smuzhiyunis enhanced for the TS-5500 and TS-5400 models (on-board devices registration
12*4882a593Smuzhiyunand additional sysfs attributes under /sys/devices/platform/).
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunTo build the default configuration you only have to:
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun    $ make ts5500_defconfig
17*4882a593Smuzhiyun    $ make
18*4882a593Smuzhiyun
19*4882a593SmuzhiyunYou will need a Compact Flash card of sufficient size and the first or only
20*4882a593Smuzhiyunpartition configured as Linux type, with the bootable flag.
21*4882a593Smuzhiyun
22*4882a593SmuzhiyunYou can transfer the system on the partition then optionally resize it with:
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun    # dd if=output/images/rootfs.ext4 of=/dev/sdX1
25*4882a593Smuzhiyun    # resize2fs /dev/sdX1
26*4882a593Smuzhiyun
27*4882a593SmuzhiyunOr you can just extract the root filesystem to the partition with:
28*4882a593Smuzhiyun
29*4882a593Smuzhiyun    # mount /dev/sdX1 /mnt
30*4882a593Smuzhiyun    # tar -pxf output/images/rootfs.tar -C /mnt
31*4882a593Smuzhiyun    # umount /mnt
32*4882a593Smuzhiyun
33*4882a593SmuzhiyunTo install the bootloader, you will need to copy the MBR:
34*4882a593Smuzhiyun
35*4882a593Smuzhiyun    # cat output/images/syslinux/mbr.bin > /dev/sdX
36*4882a593Smuzhiyun
37*4882a593SmuzhiyunThen install SYSLINUX in the mounted partition:
38*4882a593Smuzhiyun
39*4882a593Smuzhiyun    # mount /dev/sdX1 /mnt
40*4882a593Smuzhiyun    # output/host/sbin/extlinux --install /mnt/boot/syslinux
41*4882a593Smuzhiyun    # umount /mnt
42*4882a593Smuzhiyun
43*4882a593SmuzhiyunIMPORTANT: In order for the board to boot the Compact Flash with a recent
44*4882a593Smuzhiyunconfig, the BIOS must use Logical Block Addressing (LBA). You can do it by
45*4882a593Smuzhiyunchoosing "Ide 0: AUTOCONFIG, LBA" under "IDE DRIVE GEOMETRY" in the "Basic CMOS
46*4882a593SmuzhiyunConfiguration" screen. Also, don't forget to set the 'active' (or 'bootable')
47*4882a593Smuzhiyunflag on partition 1. For details about the CMOS setup, please see:
48*4882a593Smuzhiyunhttp://wiki.embeddedarm.com/wiki/TS-5500#System_BIOS_Setup_Screens
49*4882a593Smuzhiyun
50*4882a593SmuzhiyunConnect a terminal program to the rs232 connector marked "COM2"
51*4882a593Smuzhiyunwith baudrate set to 115200, insert the Compact Flash card into the socket,
52*4882a593Smuzhiyunpower up the board, and enjoy.
53