TS-7400: Difference between revisions
From embeddedTS Manuals
m (→Kernel Compile) |
|||
Line 19: | Line 19: | ||
vi Makefile | vi Makefile | ||
</source> | </source> | ||
---> edit CROSS_COMPILE to say: | ---> edit CROSS_COMPILE to say:<br> | ||
---> CROSS_COMPILE = /home/mdpeters/ts-7260/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/arm-linux- | ---> CROSS_COMPILE = /home/mdpeters/ts-7260/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/arm-linux- | ||
<source lang=bash> | <source lang=bash> | ||
Line 25: | Line 25: | ||
mek oldconfig | mek oldconfig | ||
make menuconfig | make menuconfig | ||
</source> | </source> | ||
---> Add extra kernel drivers as needed | ---> Add extra kernel drivers as needed<br> | ||
---> WARNING: Compiling drivers into the kernel will make it larger. | ---> WARNING: Compiling drivers into the kernel will make it larger.<br> | ||
---> WARNING: Large kernels may not fit on the kernel partition of the SD card. | ---> WARNING: Large kernels may not fit on the kernel partition of the SD card.<br> | ||
<source lang=bash> | <source lang=bash> |
Revision as of 16:57, 12 October 2011
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.