Hello,
Can someone help me with compiling compiling a kernel for 2.6.
These are the steps I followed.
On my Fedora 9 Dev box I installed the cross compiler from the CD -
crosstool-linux-gcc-4.0.1-glibc-2.3.5.tar.bz2
I downloaded the Linux 2.6.27.4 distribution from :-
http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.27.4.tar.gz
Created a directory called ts-7250 and extracted the distribution to it.
I downloaded the patch file linux-2.6.27.4-ts7200_ matt-1.tar.gz and
extracted it into the ts-7250 directory.
I ran the patch the patch file using
patch -p0 <
linux-2.6.27.4-ts7200_matt-1/linux-2.6.27.4-ts7200_matt-1.patch
I then edited the Makefile in the ts-7250\linux-2.6.27.4 directory and
changed the CROSS_COMPILE entry to :-
CROSS_COMPILE ?=
/opt/crosstool/gcc-4.0.1-glibc-2.3.5/arm-unknown-linux-gnu/bin/arm-unknown-linux-gnu-
I ran
make menuconfig
I used the menu to load the ts7200_defconfig file from the
linux-2.6.27.4-ts7200_matt-1 directory
I saved this configuration and then ran
make oldconfig
make vmlinux
This produced a file called vmlinux and I tryed to load this using
redboot with
load -r -b 0x00218000 -h 192.168.0.2 vmlinux
The file can't be loaded, its's too large.
I'm obviously doing something wrong, if someone could point me in the
right direction then I would appreciate it.
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|