From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] Kernel and buildroot in 1MB
Date: Sat, 3 Mar 2012 17:00:48 +0000 [thread overview]
Message-ID: <201203031700.49091.arnout@mind.be> (raw)
In-Reply-To: <4F525794.5010406@yahoo.co.uk>
Hoi Biff,
Please always respond to the list (which should happen automatically
when you press reply) and please don't top-post.
On Saturday 03 March 2012 17:40:36 bifferos wrote:
> Yes, I'm fairly new to buildroot, so it was all a bit of a hack!
A lot of good work starts as a hack :-)
> However, I haven't really finished yet, and wanted to get RTAI working
> in the same system. Unfortunately HAL patches are not available for
> that kernel, so I planned to switch to 2.6.37.6 where they do work.
> There is also a HAL patch for 2.6.38.8, however I had some difficulties
> to get RTAI cross-compiling with that version.
>
> My instructions need to be corrected, because BR2_PREFER_STATIC_LINK
> does the job much better than my hack. It only consumes about 20k extra
> (compressed) over my hand-crafted minimal rootfs, although I noticed
> that it still creates applet links regardless of whether the given
> applets have been selected for build. Probably not a significant space
> overhead, just slightly confusing.
That shouldn't happen! The applet links are created by the busybox
build system and should be based on the busybox configuration. Which
applets are wrongly linked? Can you find in the build log where they
were created? Or possibly they're a left-over from a previous build;
did you run a make clean?
> One thing that could be improved in buildroot, is some setting to give
> the minimum required busybox functionality for it to function without
> error.
We could add a busybox_minimal config.
> I *think* this is something like:
>
> cat
> run-parts
> init
> support for shadow passwords
> getty
> login
> mount
> umount
> swapoff
> ifupdown
> hostname
> killall
> hush -> support for for, while, until
> hush -> support for case ... esac
>
> Of course, having utilities like 'ls' is also pretty useful, but not
> required :). I think it was the 'shadow passwords' that had be confused
> for a while because you don't get any error message about it when you
> try to log in (which is what you would expect).
>
> Thanks for the patch, I'll try to adapt it for the earlier kernel and
> re-submit it.
Actually, we prefer to have a minimal working config in buildroot, so
without RTAI. And with the latest stable kernel (that's why I moved
back from 3.3-rc1 to 3.2.x).
> regards,
> Biff.
[snip]
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120303/c638e683/attachment-0001.html>
next prev parent reply other threads:[~2012-03-03 17:00 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-01 0:52 [Buildroot] Kernel and buildroot in 1MB bifferos
2012-03-01 7:50 ` Thomas Petazzoni
2012-03-01 11:13 ` bifferos
2012-03-03 15:29 ` Arnout Vandecappelle
2012-03-03 15:35 ` [Buildroot] [PATCH] bifferboard: new board Arnout Vandecappelle
2012-03-05 9:49 ` Thomas Petazzoni
2012-03-06 7:00 ` Arnout Vandecappelle
2012-03-11 10:58 ` [Buildroot] [PATCH v2] " Arnout Vandecappelle
2012-03-12 14:46 ` bifferos
2012-03-12 1:23 ` [Buildroot] [PATCH] " bifferos
2012-03-16 1:58 ` [Buildroot] Debugging /sbin/init startup issues bifferos
2012-03-17 4:03 ` Charles Krinke
2012-03-17 14:10 ` bifferos
2012-03-18 13:50 ` [Buildroot] [PATCH] bifferboard: new board Arnout Vandecappelle
2012-03-18 16:12 ` bifferos
2012-03-18 17:13 ` Arnout Vandecappelle
2012-03-18 19:51 ` Alexandre Pereira da Silva
2012-03-18 20:54 ` bifferos
2012-03-18 21:40 ` Arnout Vandecappelle
2012-03-19 12:36 ` bifferos
[not found] ` <4F525794.5010406@yahoo.co.uk>
2012-03-03 17:00 ` Arnout Vandecappelle [this message]
2012-03-01 12:18 ` [Buildroot] Kernel and buildroot in 1MB Peter Korsgaard
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=201203031700.49091.arnout@mind.be \
--to=arnout@mind.be \
--cc=buildroot@busybox.net \
/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