ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: codesourcery 2.6 and NAND flash

To:
Subject: Re: [ts-7000] Re: codesourcery 2.6 and NAND flash
From: Triffid Hunter <>
Date: Mon, 26 May 2008 23:44:28 +1000 (EST)
> 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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU