> Hi again.
>
> I did not get far with crossdev (looks like a project in itself to
> get the magic numbers right) so I went with codesourcery 2008q1 and
> got a hello.c example compiled with all lib paths etc. so looks like
> a working eabi toolchain.
>
> However I can't enable ARM on gentoo-sources 2.6.25 or 2.6.21 (BTW
> the patch you linked applies cleanly on both).
>
> Neither the arch nor the cpu are there. :?
>
> CC="arm-none-linux-gnueabi-gcc" CFLAGS="-march=armv4 -mtune=arm9tdmi"
> LDFLAGS=" -Wl,-rpath=/cstools/lib:/cstools/usr/lib -Wl,--dynamic-
> linker=/cstools/lib/ld-linux.so.3" make menuconfig
>
> that's full command but that lack of ARM is the same if I just run
> make with the native compiler
>
>
> If I try your config I get these warnings amongst others:
>
> .config:165:warning: trying to assign nonexistent symbol CPU_32
> .config:166:warning: trying to assign nonexistent symbol CPU_ARM920T
> .config:167:warning: trying to assign nonexistent symbol CPU_32v4T
> .config:168:warning: trying to assign nonexistent symbol CPU_ABRT_EV4T
> .config:169:warning: trying to assign nonexistent symbol
> CPU_CACHE_V4WT
> .config:170:warning: trying to assign nonexistent symbol
> CPU_CACHE_VIVT
> .config:171:warning: trying to assign nonexistent symbol CPU_COPY_V4WB
> .config:172:warning: trying to assign nonexistent symbol CPU_TLB_V4WBI
> .config:173:warning: trying to assign nonexistent symbol CPU_CP15
> .config:174:warning: trying to assign nonexistent symbol CPU_CP15_MMU
> .config:179:warning: trying to assign nonexistent symbol ARM_THUMB
>
>
> It seems there's some other patches I need to apply , unless I'm just
> missing something obvious.
>
> Can you see what I'm missing?
ARCH="arm"
you may also want INSTALL_MOD_PATH=/cstools, and
CROSS_COMPILE="arm-none-linux-gnueabi-" instead of CC= so it can figure
out that HOSTCC != CC
I use make CROSS_COMPILE='arm-none-linux-gnueabi-" ARCH="arm"
INSTALL_MOD_PATH="/my/arm/root" menuconfig
http://gentoo-wiki.com/HARDWARE_TS72xx_Single_Board_Computer is a good
reference :)
------------------------------------
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/
|