Technologic Systems TS-7800
Useful Links and Tips - Various Boot Setup

 

 

Useful Links

TS-7800 High-End Performance with Embedded Ruggedness

ts7800-spec-h.htm

Getting Started with TS-7800

ts-7800-gs-sheet.pdf

Technologic Systems FTP server

ts-7800-linux-sd

 

SD Card partitions programmed from the factory

/dev/tssdcardb: the whole device

/dev/tssdcardb1: vfat partition with Eclipse IDE on 2GB or bigger cards or 4MB empty

/dev/tssdcardb2: 4MB for the uncompressed Linux Kernel Image

/dev/tssdcardb3: 4MB for the uncompressed initial ramdisk with busybox filesystem

/dev/tssdcardb4: complete Debian Linux filesystems

SD Card Setup

This quick setup explains how to configure your TS-7800 to boot your custom version of the Kernel and Root Filesystem from the SD card. Note that all the SD card preparation is done here on the host (running Fedora8), using a SD card USB adapter.

 

The first step will be to prepare a new SD card with the 4 partitions that the on-board Flash boot load is expecting. Here is the 2GB SD card flash partition (given as an example):

Disk /dev/sdb: 2045 MB, 2045247488 bytes

63 heads, 62 sectors/track, 1022 cylinders

Units = cylinders of 3906 * 512 = 1999872 bytes

Disk identifier: 0x00000000

 

Device Boot Start End Blocks Id System

/dev/sdb1 1 760 1482752 c W95 FAT32 (LBA)

/dev/sdb2 760 762 4096 da Non-FS data

/dev/sdb3 762 764 4096 da Non-FS data

/dev/sdb4 764 999 459648 83 Linux

 

We are interested in these 2 partitions:

        /dev/sdb2 We will store the Linux kernel (uncompressed image).

        /dev/sdb4 We will store the Root File System (EXT3).

 

Assuming we have built everything on the host (cross-compiler, libraries+utilities, linux, and the root filesystem), here is the step to install Linux on the SD Flash:

~$ cd sf/cross-stuff/armle/TS-7800/build/linux-2.6.21-ts/arch/arm/boot/

~/sf/cross-stuff/armle/TS-7800/build/linux-2.6.21-ts/arch/arm/boot$ sudo cp Image /dev/sdb2

~/sf/cross-stuff/armle/TS-7800/build/linux-2.6.21-ts/arch/arm/boot$ sync

 

Now let’s copy the root filesystem on the 4th partition.

~/sf/cross-stuff/armle/TS-7800/build$ sudo umount /dev/sdb3 /dev/sdb1 /dev/sdb4

~/sf/cross-stuff/armle/TS-7800/build$ sudo mkfs.ext3 /dev/sdb4

~/sf/cross-stuff/armle/TS-7800/build$ sync

~/sf/cross-stuff/armle/TS-7800/build$ mkdir temp

~/sf/cross-stuff/armle/TS-7800/build$ sudo mount -t ext3 /dev/sdb4 temp

~/sf/cross-stuff/armle/TS-7800/build$ sudo cp -a ../rootfs/* temp/

~/sf/cross-stuff/armle/TS-7800/build$ sync

~/sf/cross-stuff/armle/TS-7800/build$ sudo umount temp

~/sf/cross-stuff/armle/TS-7800/build$ sudo eject /dev/sdb

 

Insert now this SD on the TS-7800, and the boot loader should boot this image!

 

 

[Contents]