TS-7400: Difference between revisions
From embeddedTS Manuals
(added kernel compile information) |
|||
Line 26: | Line 26: | ||
make menuconfig | make menuconfig | ||
</source> | </source> | ||
---> Add extra kernel drivers as needed | ---> Add extra kernel drivers as needed | ||
---> WARNING: Compiling drivers into the kernel will make it larger. | ---> WARNING: Compiling drivers into the kernel will make it larger. | ||
---> 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. | ||
<source lang=bash> | <source lang=bash> | ||
make && make modules | make && make modules | ||
Line 38: | Line 40: | ||
INSTALL_MOD_PATH=./newmodules make modules_install | INSTALL_MOD_PATH=./newmodules make modules_install | ||
</source> | </source> | ||
(some systems may not copy the modules this way, if yours does not, use the following workaround) | (some systems may not copy the modules this way, if yours does not, use the following workaround) | ||
<source lang=bash> | <source lang=bash> | ||
cp /lib/modules/2.4.26-ts11/* newmodules | cp /lib/modules/2.4.26-ts11/* newmodules | ||
</source> | </source> | ||
(note these may require root privelidges) | (note these may require root privelidges) | ||
copy the <code>newmodules</code> 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. | copy the <code>newmodules</code> 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. |
Revision as of 16:55, 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.