public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Exceptions and interrupts
@ 2005-05-23 13:05 Enrico Piria
  2005-05-23 13:17 ` [ECOS] Etherboot Gonçalo Antunes
  2005-05-23 13:38 ` [ECOS] Exceptions and interrupts Gary Thomas
  0 siblings, 2 replies; 8+ messages in thread
From: Enrico Piria @ 2005-05-23 13:05 UTC (permalink / raw)
  To: ecos-discuss

Hello.
When an exception is triggered (especially the one that brings the GDB stub),
should all interrupts be disabled?

Other two more generic questions are:

1) May GDB debugging be done on a single thread,
with other threads and interrupts enabled?

2) May GDB debugging be done on ISRs?

Thank you

Enrico Piria



____________________________________________________________
Navighi a 4 MEGA e i primi 3 mesi sono GRATIS. 
Scegli Libero Adsl Flat senza limiti su http://www.libero.it



--
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] Etherboot
  2005-05-23 13:05 [ECOS] Exceptions and interrupts Enrico Piria
@ 2005-05-23 13:17 ` Gonçalo Antunes
  2005-05-23 13:38 ` [ECOS] Exceptions and interrupts Gary Thomas
  1 sibling, 0 replies; 8+ messages in thread
From: Gonçalo Antunes @ 2005-05-23 13:17 UTC (permalink / raw)
  To: ecos-discuss

Hi!

Is it possible to put an eCos application to load via Etherboot 
(www.etherboot.org) ?
I want to build an Etherboot floppy disk and boot it so it can access the 
dhcp server and retrieve the eCos application image and run it.
Which flags do I have to enable on eCos config?
- CYG_HAL_STARTUP = RAM ?
What is the image format to do this (bin, elf) ?

Thank you very much.

Gonçalo Antunes.



-- 
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] Exceptions and interrupts
  2005-05-23 13:05 [ECOS] Exceptions and interrupts Enrico Piria
  2005-05-23 13:17 ` [ECOS] Etherboot Gonçalo Antunes
@ 2005-05-23 13:38 ` Gary Thomas
  2005-05-23 17:43   ` [ECOS] Simulators Andrew Armstrong
  1 sibling, 1 reply; 8+ messages in thread
From: Gary Thomas @ 2005-05-23 13:38 UTC (permalink / raw)
  To: Enrico Piria; +Cc: eCos Discussion

On Mon, 2005-05-23 at 11:53 +0200, Enrico Piria wrote:
> Hello.
> When an exception is triggered (especially the one that brings the GDB stub),
> should all interrupts be disabled?

Yes

> 
> Other two more generic questions are:
> 
> 1) May GDB debugging be done on a single thread,
> with other threads and interrupts enabled?
> 

This is not currently supported

> 2) May GDB debugging be done on ISRs?
> 

Yes

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


-- 
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] Simulators
  2005-05-23 13:38 ` [ECOS] Exceptions and interrupts Gary Thomas
@ 2005-05-23 17:43   ` Andrew Armstrong
  2005-05-23 18:32     ` Gary Thomas
  0 siblings, 1 reply; 8+ messages in thread
From: Andrew Armstrong @ 2005-05-23 17:43 UTC (permalink / raw)
  To: 'eCos Discussion'

I would like to run Ecos on PC within a simulator. I have 'Virtual PC' but I
haven't managed to get redboot to work with my Network Adapters (Broadcom
570x Gigabit or Intel Pro/Wireless LAN 2100) and I don't want to fork out
for VMWare. Does anybody have suggestions of what to use?

Any help much appreciated

Regards

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] Simulators
  2005-05-23 17:43   ` [ECOS] Simulators Andrew Armstrong
@ 2005-05-23 18:32     ` Gary Thomas
  2005-05-23 19:26       ` Andrew Armstrong
  2005-05-23 23:52       ` [ECOS] Simulators Jani Monoses
  0 siblings, 2 replies; 8+ messages in thread
From: Gary Thomas @ 2005-05-23 18:32 UTC (permalink / raw)
  To: Andrew Armstrong; +Cc: eCos Discussion

On Mon, 2005-05-23 at 13:51 +0100, Andrew Armstrong wrote:
> I would like to run Ecos on PC within a simulator. I have 'Virtual PC' but I
> haven't managed to get redboot to work with my Network Adapters (Broadcom
> 570x Gigabit or Intel Pro/Wireless LAN 2100) and I don't want to fork out
> for VMWare. Does anybody have suggestions of what to use?

You could try Qemu - I've not tried eCos on it, but it can load and run
most any PC version of Linux, so it should work fine.
  http://fabrice.bellard.free.fr/qemu/

Also, why not just use the "synthetic" target?  This is an eCos target
which runs within a normal Linux task.  For details:
  http://ecos.sourceware.org/docs-latest/ref/hal-synth-arch.html

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


-- 
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] Simulators
  2005-05-23 18:32     ` Gary Thomas
@ 2005-05-23 19:26       ` Andrew Armstrong
  2005-05-23 23:52       ` [ECOS] Simulators Jani Monoses
  1 sibling, 0 replies; 8+ messages in thread
From: Andrew Armstrong @ 2005-05-23 19:26 UTC (permalink / raw)
  To: 'Gary Thomas', 'Andrew Armstrong'
  Cc: 'eCos Discussion'

Thanks Gary, I look into both those options.

Andrew 

-----Original Message-----
From: Gary Thomas [mailto:gary@mlbassoc.com] 
Sent: 23 May 2005 14:05
To: Andrew Armstrong
Cc: eCos Discussion
Subject: Re: [ECOS] Simulators

On Mon, 2005-05-23 at 13:51 +0100, Andrew Armstrong wrote:
> I would like to run Ecos on PC within a simulator. I have 'Virtual PC' 
> but I haven't managed to get redboot to work with my Network Adapters 
> (Broadcom 570x Gigabit or Intel Pro/Wireless LAN 2100) and I don't 
> want to fork out for VMWare. Does anybody have suggestions of what to use?

You could try Qemu - I've not tried eCos on it, but it can load and run most
any PC version of Linux, so it should work fine.
  http://fabrice.bellard.free.fr/qemu/

Also, why not just use the "synthetic" target?  This is an eCos target which
runs within a normal Linux task.  For details:
  http://ecos.sourceware.org/docs-latest/ref/hal-synth-arch.html

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


-- 
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]  Re: Simulators
  2005-05-23 18:32     ` Gary Thomas
  2005-05-23 19:26       ` Andrew Armstrong
@ 2005-05-23 23:52       ` Jani Monoses
  2005-05-24  4:56         ` Gary Thomas
  1 sibling, 1 reply; 8+ messages in thread
From: Jani Monoses @ 2005-05-23 23:52 UTC (permalink / raw)
  To: ecos-discuss

> You could try Qemu - I've not tried eCos on it, but it can load and run
> most any PC version of Linux, so it should work fine.
>   http://fabrice.bellard.free.fr/qemu/

One caveat, at least with pre 0.7 versions. If you use a floppy_startup image to boot qemu 
from, make sure it is padded out to 512 bytes otherwise it may not work, as qemu will 
ignore tha last incomplete sector. Alternatively use cdrom or hd images.

Jani


-- 
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]  Re: Simulators
  2005-05-23 23:52       ` [ECOS] Simulators Jani Monoses
@ 2005-05-24  4:56         ` Gary Thomas
  0 siblings, 0 replies; 8+ messages in thread
From: Gary Thomas @ 2005-05-24  4:56 UTC (permalink / raw)
  To: Jani Monoses; +Cc: ecos-discuss

On Mon, 2005-05-23 at 16:21 +0300, Jani Monoses wrote:
> > You could try Qemu - I've not tried eCos on it, but it can load and run
> > most any PC version of Linux, so it should work fine.
> >   http://fabrice.bellard.free.fr/qemu/
> 
> One caveat, at least with pre 0.7 versions. If you use a floppy_startup image to boot qemu 
> from, make sure it is padded out to 512 bytes otherwise it may not work, as qemu will 
> ignore tha last incomplete sector. Alternatively use cdrom or hd images.

I've had much better luck running the version from CVS, at
least on some other issues (I don't know if the floppy bug is
fixed in CVS)

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


-- 
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-05-23 13:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-23 13:05 [ECOS] Exceptions and interrupts Enrico Piria
2005-05-23 13:17 ` [ECOS] Etherboot Gonçalo Antunes
2005-05-23 13:38 ` [ECOS] Exceptions and interrupts Gary Thomas
2005-05-23 17:43   ` [ECOS] Simulators Andrew Armstrong
2005-05-23 18:32     ` Gary Thomas
2005-05-23 19:26       ` Andrew Armstrong
2005-05-23 23:52       ` [ECOS] Simulators Jani Monoses
2005-05-24  4:56         ` Gary Thomas

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