Brian, thanks for the feedback. I got sidetracked by the nslu2-linux.
1. Span up a Ubuntu Karmic Koala (9.10) server on some slightly older hardware as this appears to be one the best platforms for this.
2. Installed the openembedded-
3. As a normal user(!) ran oe-setup-minimal. This pulls / updates the git repositiries etc, sets the environment variables correctly and then starts a new shell. This step needs to be run each time you want to develop.
4. Created ~/.oe.conf with
MACHINE="nslu2be"
DISTRO="slugos"
For Bigendian slugos.
5. Did 'bitbake meta-toolchain-
The only minor issue was it created Debian packages rooted in / and not /opt. Anyone know how to tweak the install root to /usr/local
Steve
--- In nslu2-linux@
>
> I don't know why you want to use crosstool for slugos5be toolchain.
>
> SlugOS5BE has its proven way of building toolchain (Openembedded and bitbake), optware just uses the resulting toolchain.
>
> For a new platform that you want to build toolchain from scratch, you should look at crosstool-ng.
>
> -Brian
>
> --- In nslu2-linux@
> >
> > I am posting here because nslu2-developers seems to have disappeared.
> >
> > I have installed SlugOSBE-5.3-
> >
> > The main problem I had was that the resulting binaries won't run. A couple of things appear odd:
> >
> > * file gives: 'ELF 32-bit MSB executable, ARM, version 1, for GNU/Linux 2.4.3', but on an installed ipkg binary it gives: 'ELF 32-bit MSB executable, ARM, version 1 (SYSV), for GNU/Linux 2.6.14'
> >
> > * Digging into the ELF I found the loader needed was ld-linux.so.
> >
> > It looks like the lib setup in the toolchain is broken. I tried forcing a more recent kernel but the 2.4.3 settings seem fairly embedded.
> >
> > Any help gratefully accepted
> >
>
Sunday, November 8, 2009
[nslu2-linux] Re: Building a cross compiler for SlugOSBE-5.3-beta
__._,_.___
MARKETPLACE
.
__,_._,___
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment