* [ECOS] redboot scripting additions
@ 2004-10-31 21:44 Andrew Dyer
2004-11-01 9:37 ` David Vrabel
2004-11-01 9:56 ` [ECOS] Configtool Missing Steve West
0 siblings, 2 replies; 4+ messages in thread
From: Andrew Dyer @ 2004-10-31 21:44 UTC (permalink / raw)
To: ecos-discuss
Hi, I am interested in adding some things to redboot's command line processing
to allow a bit more flexibility in scripting - specifically in
allowing a user to
choose between several linux images to boot without having to know the redboot
syntax for load or the kernel command line syntax for exec.
I think the basics I need are an echo type command to print stuff, a way of
grabbing user CLI input into a variable, a basic set of tests, and some kind
of conditional execution.
Has anybody implemented something like this for redboot? I don't really
want/need a full blown extension language, at the same time I don't want
to paint myself into a corner...
--
Hardware, n.:
The parts of a computer system that can be kicked.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [ECOS] redboot scripting additions
2004-10-31 21:44 [ECOS] redboot scripting additions Andrew Dyer
@ 2004-11-01 9:37 ` David Vrabel
2004-11-01 9:56 ` [ECOS] Configtool Missing Steve West
1 sibling, 0 replies; 4+ messages in thread
From: David Vrabel @ 2004-11-01 9:37 UTC (permalink / raw)
To: Andrew Dyer; +Cc: ecos-discuss
Andrew Dyer wrote:
> Hi, I am interested in adding some things to redboot's command line processing
> to allow a bit more flexibility in scripting - specifically in
> allowing a user to
> choose between several linux images to boot without having to know the redboot
> syntax for load or the kernel command line syntax for exec.
We use aliases for this here. i.e., the bootscript looks something like
mount -t jffs2 -f filesystem
load -r -b %{FREEMEMLO} %{zimage}
exec -c %{cmdline}
with appropriate aliases:
alias zimage /boot/vmlinuz-2.4.26-blah-blah
alias cmdline "\"console=ttyS0,115200 etc. etc.\""
David Vrabel
--
David Vrabel, Design Engineer
Arcom, Clifton Road Tel: +44 (0)1223 411200 ext. 3233
Cambridge CB1 7EA, UK Web: http://www.arcom.com/
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 4+ messages in thread
* [ECOS] Configtool Missing
2004-10-31 21:44 [ECOS] redboot scripting additions Andrew Dyer
2004-11-01 9:37 ` David Vrabel
@ 2004-11-01 9:56 ` Steve West
2004-11-01 10:48 ` Sebastian Block
1 sibling, 1 reply; 4+ messages in thread
From: Steve West @ 2004-11-01 9:56 UTC (permalink / raw)
To: ecos-discuss
I just upgraded my Ecos 1.0 to the latest rev. I built the code on a Linux
box. All installed fine, but I do not have a Configtool. I have it in Ecos
1.0. How do I build a Configtool?
Steve
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-11-01 10:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-31 21:44 [ECOS] redboot scripting additions Andrew Dyer
2004-11-01 9:37 ` David Vrabel
2004-11-01 9:56 ` [ECOS] Configtool Missing Steve West
2004-11-01 10:48 ` Sebastian Block
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).