Hi group,
I have finally decided to move away from on-board development on my
TS-7800 and set up the cross compiler on my debian laptop. I used
crosstool from the TS ftp site. As a check, I decided to compile the
TS source of the linux kernel.
2 things that worry me about my cross compile setup:
1) The arguments include -mtune=xscale! I am not using an xscale
platform. Is this normal?
2) My cksum result of the modules differs from the TS supplied modules
and the file size differs too.
Here is my compiler output when I run a make modules V=1 (just a
sample of the gcc and ld arguments)
---------------------------------------------------------------
/home/zzz/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc
-Wp,-MD,fs/msdos/.namei.o.d -nostdinc -isystem
/home/zzz/arm-none-linux-gnueabi/bin/../lib/gcc/arm-none-linux-gnueabi/3.4.4/include
-D__KERNEL__ -Iinclude -include include/linux/autoconf.h
-mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -Os -marm -fno-omit-frame-pointer
-mapcs -mno-sched-prolog -mabi=aapcs-linux -mno-thumb-interwork
-D__LINUX_ARM_ARCH__=5 -march=armv5t -mtune=xscale -msoft-float -Uarm
-fno-omit-frame-pointer -fno-optimize-sibling-calls
-Wdeclaration-after-statement -DMODULE -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(namei)"
-D"KBUILD_MODNAME=KBUILD_STR(msdos)" -c -o fs/msdos/namei.o
fs/msdos/namei.c
/home/zzz/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-ld -EL
-r -o fs/msdos/msdos.o fs/msdos/namei.o
------------------------------------------------------------------
Here is what I did: Unzip the crosstool, edit the makefile of the
linux source (TS version) to CROSS_COMPILE= (my cross compiler
directory), and run the make commands in sequence (make
ts7800_defconfig, make oldconfig, make dep, make modules V=1)
The reason I am asking this is that the gspca driver does not work for
me, although it does on my laptop, so I thought I check my cross
compiler first, and try to understand those complex EABI/OABI issues.
Oh and Merry Christmas!
------------------------------------
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/
|