From: Koen Kooi <k.kooi@student.utwente.nl>
To: Using the OpenEmbedded metadata to build Distributions
<openembedded-devel@openembedded.org>
Subject: Re: building uClinux using OE
Date: Thu, 14 Feb 2008 17:47:07 +0100 [thread overview]
Message-ID: <47B4708B.6050008@student.utwente.nl> (raw)
In-Reply-To: <20080214155508.GA4163@deadlock.dhs.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sergey 'Jin' Bostandzhyan schreef:
| Hi,
|
| I'd like to be able to build uClinux using OE and I hope to gather some
| pointers to the right direction.
|
| I think it would generally be a nice thing to have, so I would like to do
| the work in a way that it could be incorporated in OE, provided that you
| guys are interested.
|
| According to the post below the toolchain should not be a problem:
| http://mailman.uclinux.org/pipermail/uclinux-dev/2007-May/042993.html
| "uClinux development on ARM now uses a standard arm-linux targeted
tool chain.
| We add the elf2flt tool, but it is otherwise a standard arm-linux
toolchain."
|
| As far as I know the uClinux/ARM kernel patches are already in the
mainline:
| http://opensrc.sec.samsung.com/
|
| uClibc is also already supported by OE, not sure if I would have to add
| an option for uC-libc.
|
| So basically it seems that almost everything that is needed is already
there.
|
| What is missing?
|
| - applying elf2flt processing to produced binaries
That should happen automagically, we just need to stage some more
binutils-cross headers for elf2flt to build
| - have a way of knowing that the particular build is done for the uClinux
| targets (maybe for some tweaks in .bb files if required or to apply
patches
| only when necessary, allthough ifdef __uClinux__ defines could be used)
|
| - not sure what else?
Since you can't (practically) do shared libraries, all packaging (and
probably staging) will be wrong, since you won't have libfoo.so.1, but
something different.
| I do not have any uClinux experience yet, and it seems to be quite
difficult
| to gather all the bits and pieces of information, so I'd appreciate
comments
| and suggestions, especially if you see that I am missing something.
|
| I'd also be interested in your thoughts on what would be the best way to
| integrate it into OE.
I had a go at this a while ago, but I had to halt working on it since
the uboot on the blackfin site refuses to load the uImage on the
blackfin site, leaving me without a good testing target.
I think forcing static linking would be the fastest way to get an image
built, we can work on details (flat, shared-flat, fdpic, etc) after that.
regards,
Koen
- --
koen@dominion.kabel.utwente.nl will go go away in december 2007, please
use k.kooi@student.utwente.nl instead.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFHtHCLMkyGM64RGpERAl7KAJ4sD85YqG+OrTVUx+eLuCb9js4TvQCffI35
7wUmhJZu6YpoBfu6e4kbEg0=
=Ez6i
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2008-02-14 16:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-14 15:55 building uClinux using OE Sergey 'Jin' Bostandzhyan
2008-02-14 16:47 ` Koen Kooi [this message]
2008-02-19 13:01 ` Sergey 'Jin' Bostandzhyan
2008-02-22 18:32 ` Sergey 'Jin' Bostandzhyan
2008-02-17 15:28 ` Alan Carvalho de Assis
2008-02-19 13:07 ` Sergey 'Jin' Bostandzhyan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47B4708B.6050008@student.utwente.nl \
--to=k.kooi@student.utwente.nl \
--cc=openembedded-devel@lists.openembedded.org \
--cc=openembedded-devel@openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox