TS-7400

From embeddedTS Manuals

UNDER CONSTRUCTION

Please pardon our dust as this page is currently being constructed.

Kernel Compile

How to compile a new kernel.

Commands to compile 7260 kernel:

wget ftp://oz.embeddedarm.com/ts-arm-sbc/ts-7260-linux/cross-toolchains/crosstool-linux-gcc-3.3.4-glibc-2.3.2-0.28rc39.tar.bz2

bunzip2 crosstool-linux-gcc-3.3.4-glibc-2.3.2-0.28rc39.tar.bz2

tar -xvf crosstool-linux-gcc-3.3.4-glibc-2.3.2-0.28rc39.tar

wget ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7260-linux/sources/tskernel-2.4.26-ts11-feb232011.tar.gz

cd linux24

vi Makefile

---> edit CROSS_COMPILE to say: ---> CROSS_COMPILE = /home/mdpeters/ts-7260/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/arm-linux-

make ts7260_config
mek oldconfig
make menuconfig
 --->  Add extra kernel drivers as needed
 --->  WARNING:  Compiling drivers into the kernel will make it larger.
 --->  WARNING:  Large kernels may not fit on the kernel partition of the SD card.
make && make modules

make modules_install

mkdir newmodules

INSTALL_MOD_PATH=./newmodules make modules_install

(some systems may not copy the modules this way, if yours does not, use the following workaround)

cp /lib/modules/2.4.26-ts11/* newmodules

(note these may require root privelidges)

copy the newmodules directory to a thumb drive or other accessible media (ftp or NFS will work also), then copy newmodules/lib/modules/2.4.26-ts11/* to your TS-7400.