public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [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; 8+ 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] 8+ 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; 8+ 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] 8+ 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; 8+ 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] 8+ messages in thread

* Re: [ECOS] Configtool Missing
  2004-11-01  9:56 ` [ECOS] Configtool Missing Steve West
@ 2004-11-01 10:48   ` Sebastian Block
  0 siblings, 0 replies; 8+ messages in thread
From: Sebastian Block @ 2004-11-01 10:48 UTC (permalink / raw)
  To: ecos-discuss

Am Montag, 1. November 2004 10:56 schrieb Steve West:
> 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
I don't know how to build the configtool, but in the prebuild-downloads it's 
included.
That can you use for the current - version !!

Sebastian

-- 
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] 8+ messages in thread

* Re: [ECOS] Configtool missing
  2005-11-05 13:11   ` Andrew Lunn
@ 2005-11-28 12:37     ` Ilija Koco
  0 siblings, 0 replies; 8+ messages in thread
From: Ilija Koco @ 2005-11-28 12:37 UTC (permalink / raw)
  To: ecos-discuss

Hello

I have executed procedure for Linux build "Building for Linux/GTK+" at
http://www.ecoscentric.com/devzone/configtool.shtml

At last step "Build and install the eCos Configuration Tool" compilation
stopped with following error:

- error msg begin --------------------------------
In file included from
/opt/ecos_cvs/ecos/host//tools/ecostest/common/ResetAttributes.h:41,
                 from
/opt/ecos_cvs/ecos/host//tools/ecostest/common/eCosTest.h:55,
                 from
/opt/ecos_cvs/ecos/host//tools/configtool/standalone/wxwin/appsettings.h:53,
                 from
/opt/ecos_cvs/ecos/host//tools/configtool/standalone/wxwin/configtool.h:60,
                 from
/opt/ecos_cvs/ecos/host//tools/configtool/standalone/wxwin/ecpch.h:72,
                 from
/opt/ecos_cvs/ecos/host//tools/configtool/standalone/wxwin/aboutdlg.cpp:50:
/opt/ecos_cvs/ecos/host//tools/Utils/common/eCosSocket.h:177: error:
`static CeCosSocket::SSReadResult CeCosSocket::SSRead(CeCosSerial&,
CeCosSocket&, void*, unsigned int, unsigned int&, bool*)' is protected
/opt/ecos_cvs/ecos/host//tools/Utils/common/eCosSerial.h:53: error:
within this context
make: *** [/root/build/ecos-host/configtool/aboutdlg.o] Error 1

---error msg end -----------------------------------------

Is it an error in declaration so?
Best regards
Ilija


Andrew Lunn wrote:

>On Sat, Nov 05, 2005 at 02:00:18PM +0100, Andrew Lunn wrote:
>  
>
>>On Fri, Nov 04, 2005 at 04:55:57PM -0800, Sridhar Sridhar wrote:
>>    
>>
>>>Hi am trying to install eCos latest version on my RedhatLinux9 with
>>>2.4.20-8 laptop.
>>>I have downloaded the "ecos-trunk-full.tar.bz2" from CVS weekly snapshot.
>>>And did configure ,make and make install.
>>>Am able to see ecosconfig but not configtool.
>>>Am i missing any thing obviously??
>>>      
>>>
>>The configtool is not easy to build, needs special ancient libraries
>>etc. So it is generally not built as part of the normal build.
>>
>>You can download it from 
>>http://www.ecoscentric.com/devzone/configtool.shtml
>>    
>>
>
>Ups, I have to correct myself. This site only has the M$ version.
>
>If you want to build it from source there are instructions
>there. However it is not easy.
>
>It should also be included in 
>ftp://ecos.sourceware.org/pub/ecos/releases/ecos-2.0/ecos-2.0.i386linux.tar.bz2
>
>but that version is a little out of date and might have problems with
>PTYs on some systems.
>
>        Andrew
>
>
>  
>


-- 
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] 8+ messages in thread

* Re: [ECOS] Configtool missing
  2005-11-05 13:00 ` Andrew Lunn
@ 2005-11-05 13:11   ` Andrew Lunn
  2005-11-28 12:37     ` Ilija Koco
  0 siblings, 1 reply; 8+ messages in thread
From: Andrew Lunn @ 2005-11-05 13:11 UTC (permalink / raw)
  To: Sridhar Sridhar, ecos-discuss

On Sat, Nov 05, 2005 at 02:00:18PM +0100, Andrew Lunn wrote:
> On Fri, Nov 04, 2005 at 04:55:57PM -0800, Sridhar Sridhar wrote:
> > Hi am trying to install eCos latest version on my RedhatLinux9 with
> > 2.4.20-8 laptop.
> > I have downloaded the "ecos-trunk-full.tar.bz2" from CVS weekly snapshot.
> > And did configure ,make and make install.
> > Am able to see ecosconfig but not configtool.
> > Am i missing any thing obviously??
> 
> The configtool is not easy to build, needs special ancient libraries
> etc. So it is generally not built as part of the normal build.
> 
> You can download it from 
> http://www.ecoscentric.com/devzone/configtool.shtml

Ups, I have to correct myself. This site only has the M$ version.

If you want to build it from source there are instructions
there. However it is not easy.

It should also be included in 
ftp://ecos.sourceware.org/pub/ecos/releases/ecos-2.0/ecos-2.0.i386linux.tar.bz2

but that version is a little out of date and might have problems with
PTYs on some systems.

        Andrew


-- 
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] 8+ messages in thread

* Re: [ECOS] Configtool missing
  2005-11-05  0:56 [ECOS] Configtool missing Sridhar Sridhar
@ 2005-11-05 13:00 ` Andrew Lunn
  2005-11-05 13:11   ` Andrew Lunn
  0 siblings, 1 reply; 8+ messages in thread
From: Andrew Lunn @ 2005-11-05 13:00 UTC (permalink / raw)
  To: Sridhar Sridhar; +Cc: ecos-discuss

On Fri, Nov 04, 2005 at 04:55:57PM -0800, Sridhar Sridhar wrote:
> Hi am trying to install eCos latest version on my RedhatLinux9 with
> 2.4.20-8 laptop.
> I have downloaded the "ecos-trunk-full.tar.bz2" from CVS weekly snapshot.
> And did configure ,make and make install.
> Am able to see ecosconfig but not configtool.
> Am i missing any thing obviously??

The configtool is not easy to build, needs special ancient libraries
etc. So it is generally not built as part of the normal build.

You can download it from 
http://www.ecoscentric.com/devzone/configtool.shtml

        Andrew

-- 
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] 8+ messages in thread

* [ECOS] Configtool missing
@ 2005-11-05  0:56 Sridhar Sridhar
  2005-11-05 13:00 ` Andrew Lunn
  0 siblings, 1 reply; 8+ messages in thread
From: Sridhar Sridhar @ 2005-11-05  0:56 UTC (permalink / raw)
  To: ecos-discuss

Hi am trying to install eCos latest version on my RedhatLinux9 with
2.4.20-8 laptop.
I have downloaded the "ecos-trunk-full.tar.bz2" from CVS weekly snapshot.
And did configure ,make and make install.
Am able to see ecosconfig but not configtool.
Am i missing any thing obviously??
Please let me know other options and steps involved.
Appreciate any help.

Thanks

--
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] 8+ messages in thread

end of thread, other threads:[~2005-11-28 12:37 UTC | newest]

Thread overview: 8+ 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
2005-11-05  0:56 [ECOS] Configtool missing Sridhar Sridhar
2005-11-05 13:00 ` Andrew Lunn
2005-11-05 13:11   ` Andrew Lunn
2005-11-28 12:37     ` Ilija Koco

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).