TS-72XX is a board types made by Technologic Systems. I have one of these boards in my hand, TS-7260. But the problem is the board was shipped with Linux 2.4 kernel. So, I decided to recompile the kernel to update mine.
Getting and Installing CodeSourcery Toolchain
CodeSourcery provides lite version of their modified GCC package. Even though CodeSourcery’s lite version doesn’t support GUIs out-of-the-box, it still works, and very useful for hobbyist like me.
You can get the toolchain from here. Don’t forget to choose the GNU/Linux version, since you need the bottom of the libc to be connected to GNU/Linux syscalls.
To install the toolchain, just untar the package into any directory. For me, it’s $HOME. It will generate a directory (mine is $HOME/arm-2007q3).
Getting and Compiling the Kernel
The Linux 2.6.21 source code for TS-72XX board can be downloaded here. Untar it to get the source code. Then:
- Type “make ts72xx_defconfig”
- Type “make menuconfig” (only if you want to add/reduce the kernel features..Otherwise you can skip it).
- Type “make ARCH=arm CROSS_COMPILE=/path/to/your/toolchain/arm-none-linux-gnueabi-“
The “arm-none-linux-gnueabi-” refers to the prefix of your cross compiler. Some cross compiler have different prefix (such as “arm-linux-” or “arm-elf-“, etc – depends on how the compiler was compiled).
The result is “arch/arm/boot/zImage” file, which can be copied into your SD-CARD for testing.