ts-7000
[Top] [All Lists]

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

To:
Subject: [ts-7000] Re: codesourcery 2.6 and NAND flash
From: "j.chitte" <>
Date: Sun, 25 May 2008 22:45:18 -0000
--- In  Triffid Hunter <> 
wrote:
>
> On Sun, 25 May 2008, j.chitte wrote:
> 
> > --- In  Triffid Hunter <triffid_hunter@>
> > wrote:
> >>
> >> I have a 2.6 kernel with nand flash working just fine on my ts- 
7250 
> >> (with 128MB nand flash and 64MB ram options). Simply select the 
ts-72xx 
> >> nand flash option in menuconfig. Note that the ts-7250 8MB nand 
flash 
> >> option is a different one completely, and I'm not sure it's 
needed. As 
> >> far as I know, these options are part of the mainline kernel and 
don't 
> >> need to be patched in.
> >
> > Thanks, that's brilliant.
> >
> > could you give enough detail that I can reproduce your build? 
Kernel
> > version (mainline tree?) and patches that you needed to apply.
> >
> > Also compiler/glibc versions etc. codesourcery , crosstools?
> >
> > Well you know , I don't need to detail it.
> >
> > This would be a huge help and timesaving not needing to duplicate 
the
> > effort.
> >
> > thanks again. ;)
> 
> I posted the config and patchset:
> http://triffid.funkmunch.net/console-tools/ts7250-linux-config-
2.6.21
> http://triffid.funkmunch.net/console-tools/ts7250-2.6.21-
gentoo.patch
> 
> patch is against gentoo-sources-2.6.21 I believe, although it 
should patch 
> against vanilla sources too. As far as I know, it's essentially one 
of the 
> patches posted by other members of the group with some offsets 
tweaked so 
> check this group's file section if it doesn't look good to you.
> 
> Not sure if it includes yaffs, but I always add yaffs support to my 
> kernels as my ts7250 had a yaffs rootfs when I got it.
> 
> Note that since I sorted all that stuff out, I've lost the drive it 
was on 
> so I don't have the exact setup and toolchain anymore. I do 
remember that 
> I generated it with gentoo's crossdev tool, and it was oabi since I 
can't 
> get any kernels made with eabi toolchains to actually run. They 
finish 
> unpacking and then stop telling me anything, appariently locked.
> 
> Running 'strings' against the binaries on the filesystem reveal gcc-
4.1.2 
> and GLIBC-2.4.
> 
> I would love a definitive guide on creating a {gnu,uclibc}eabi 
toolchain, 
> but am yet to find one that gives me a working result.
>

Thanks for your help.

That should at least give me a staring point. I have crossdev so I'll 
give it a try.

codesourcery provides a working toolchain that claims to work with 
EABI and requires >=2.6.19 so that would be worth a try as well, 
although they say it cant do hard-float. Still EABI would be a great 
first step.

Looks like all this is finally coming together. 

Here goes... 

thanks again.



------------------------------------

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