From: "Daniel Stonier" <d.stonier@gmail.com>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] Configuration of an embedded system
Date: Thu, 20 Nov 2008 16:31:38 +0900 [thread overview]
Message-ID: <27dfa3d0811192331t7426a819k6fd0802754059b9e@mail.gmail.com> (raw)
In-Reply-To: <20081120105052.GC2577@tarpman.is-a-geek.org>
2008/11/20 Ryan Tandy <tarpman@gmail.com>:
> On Wed, Nov 19, 2008 at 11:13:46AM -0000, Gareth McClean wrote:
>> a) Do any open source projects target the initial setup of an embedded
>> system i.e. basics like manually configuring an Ethernet port, configuration
>> of wireless networking or possibly other essentials like hostname, timezone,
>> etc?
>
> ...
>> b) If not, do you perform your 'out-of-the-box setup' i.e. did you create
>> your own set of tools using packages like awk, sed, perl etc?
>
> Again, depending on the scale of the project, I use either a stripped
> down Gentoo system or a simple Busybox-based system.
>
I just set up a control board and was also wondering about the best way to
create a runtime root. Since a control board only requires a few packages,
busybox ended up being really simple. I put the kernel and rootfs in ram
and let the user manually extend it by mounting a drive
on /usr/local where they can dump any extra binaries and libs they want.
But I wouldn't recommend it for a system where you wanted to pile on
packages up to the point of needing an x server.
I also tried gentoo's crossdev to create a root fs, thinking that would be
really easy just to xmerge in the right packages. But you end up with alot
of cruft that way, and the other problem is most ebuilds aren't set up to
work with cross-compiling out of the box (lots of bugs), so xmerge falls
over alot.
The other option I tried is openembedded. Which for me, was using a sledge
hammer on a tiny nail. Probably really good as your embedded project scales
up though - it gives you a way of defining your filesystem/package
configuration.
>> c) How are you communicating with the user during the installation process?
>
> Most of the systems I'm used to aren't designed to be installed by a
> user - at least the software side of things.
>
>> c) Are there any intentions to migrate the Linux 'system configuration' into
>> a machine readable format like XML.
>
> No. Do you have any idea how long it takes to read and write XML?
>
>> Ignore that that might sound like a call to implement the equivalent
>> of the windows registry
>
> It doesn't, although it does sound like unnecessary overhead.
>
>> and focus on the fact I am concerned about the potential issues of
>> processing unstructured, human readable text files
>
> Which issues? All of the base system configuration files seem fairly
> structured to me. At any rate I'd much rather be parsing simple text
> files than XML. Which files are you having trouble with?
>
>> and want an easy/reliable way to programmatically change the system
>> configuration and manage future system updates.
>
> Most people that I know of solve these problems with shell or
> perl/python/language-of-the-moment scripts.
>
> Bear in mind that these are just my opinions; other people on the list
> will doubtless disagree with them. :)
>
> Thanks,
> Ryan
>
>
next prev parent reply other threads:[~2008-11-20 7:31 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-10 13:07 [gentoo-embedded] Trying to get toolchain Jean-Marc Beaune
2008-10-10 14:40 ` Peter Stuge
2008-10-10 14:44 ` Ned Ludd
2008-10-11 7:32 ` Jean-Marc Beaune
2008-10-11 18:24 ` Ryan Tandy
2008-10-11 19:08 ` Martin Gysel
2008-10-11 19:43 ` Ryan Tandy
2008-11-15 5:47 ` Enrico Weigelt
[not found] ` <001d01c94a37$e4331720$ac994560$@com>
2008-11-19 11:13 ` [gentoo-embedded] Configuration of an embedded system Gareth McClean
2008-11-20 10:50 ` Ryan Tandy
2008-11-20 7:31 ` Daniel Stonier [this message]
2008-11-20 8:49 ` Ryan Tandy
2008-11-20 22:59 ` Daniel Stonier
2008-11-20 23:01 ` Peter Stuge
2008-11-20 8:39 ` Natanael Copa
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=27dfa3d0811192331t7426a819k6fd0802754059b9e@mail.gmail.com \
--to=d.stonier@gmail.com \
--cc=gentoo-embedded@lists.gentoo.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