public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Some beginner's question
@ 2002-04-09  3:12 HuangQiang
  2002-04-11 20:26 ` Jonathan Larmour
  0 siblings, 1 reply; 4+ messages in thread
From: HuangQiang @ 2002-04-09  3:12 UTC (permalink / raw)
  To: eCos

Hi all:
   could anyone explain some of the following concept? Thanks  a lot!

Q1: What is RAM startup and ROM startup? What is different between those
two?

Q2: What is ROM monitor? Is there anything to do with RedBoot? or eCOS GDB
stub? Is there any RAM monitor then?

james

Thanks


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] Some beginner's question
  2002-04-09  3:12 [ECOS] Some beginner's question HuangQiang
@ 2002-04-11 20:26 ` Jonathan Larmour
  2002-04-12  1:54   ` HuangQiang
  0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Larmour @ 2002-04-11 20:26 UTC (permalink / raw)
  To: HuangQiang; +Cc: eCos

HuangQiang wrote:
> 
> Hi all:
>    could anyone explain some of the following concept? Thanks  a lot!
> 
> Q1: What is RAM startup and ROM startup? What is different between those
> two?

RAM startup means the program loads into RAM and starts from there. ROM
startup means the program loads into ROM (or is programmed) and starts from
there. There is also ROMRAM startup where the program is programmed into
ROM, copies itself into RAM and runs from RAM.

> Q2: What is ROM monitor? Is there anything to do with RedBoot? or eCOS GDB
> stub?

RedBoot is a ROM monitor. It runs from ROM and allows you to monitor your
program (e.g. by using its own inbuilt GDB stub). I'm sure a Google search
would help you find good definitions. The GDB stub is sort of a monitor,
but people normally reserve the term for something with more features like
RedBoot.

> Is there any RAM monitor then?

You can build a RAM version of RedBoot, but that's only used rarely
(normally just for reprogramming the ROM version since you can't reprogram
it while you're running from ROM).
 
Note that anywhere I mention ROM it could actually be Flash or an EEPROM
etc.etc.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [ECOS] Some beginner's question
  2002-04-11 20:26 ` Jonathan Larmour
@ 2002-04-12  1:54   ` HuangQiang
  2002-04-12  2:05     ` Jani Monoses
  0 siblings, 1 reply; 4+ messages in thread
From: HuangQiang @ 2002-04-12  1:54 UTC (permalink / raw)
  To: eCos, Jonathan Larmour

Thank you very much for your answer.

BTW Is the VMA and LMA to do with the startup type? ( What's the full name
of VMA and LMA? What is it used for?)

Thanks again.

regards!

james

-----Original Message-----
From: jlarmour@localhost.localdomain
[mailto:jlarmour@localhost.localdomain]On Behalf Of Jonathan Larmour
Sent: 12 April 2002 04:27
To: HuangQiang
Cc: eCos
Subject: Re: [ECOS] Some beginner's question


HuangQiang wrote:
>
> Hi all:
>    could anyone explain some of the following concept? Thanks  a lot!
>
> Q1: What is RAM startup and ROM startup? What is different between those
> two?

RAM startup means the program loads into RAM and starts from there. ROM
startup means the program loads into ROM (or is programmed) and starts from
there. There is also ROMRAM startup where the program is programmed into
ROM, copies itself into RAM and runs from RAM.

> Q2: What is ROM monitor? Is there anything to do with RedBoot? or eCOS GDB
> stub?

RedBoot is a ROM monitor. It runs from ROM and allows you to monitor your
program (e.g. by using its own inbuilt GDB stub). I'm sure a Google search
would help you find good definitions. The GDB stub is sort of a monitor,
but people normally reserve the term for something with more features like
RedBoot.

> Is there any RAM monitor then?

You can build a RAM version of RedBoot, but that's only used rarely
(normally just for reprogramming the ROM version since you can't reprogram
it while you're running from ROM).

Note that anywhere I mention ROM it could actually be Flash or an EEPROM
etc.etc.

Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [ECOS] Some beginner's question
  2002-04-12  1:54   ` HuangQiang
@ 2002-04-12  2:05     ` Jani Monoses
  0 siblings, 0 replies; 4+ messages in thread
From: Jani Monoses @ 2002-04-12  2:05 UTC (permalink / raw)
  To: HuangQiang; +Cc: eCos

On Fri, 12 Apr 2002, HuangQiang wrote:

> Thank you very much for your answer.
>
> BTW Is the VMA and LMA to do with the startup type? ( What's the full name
> of VMA and LMA? What is it used for?)
>
> Thanks again.
>
> regards!
>
> james

Load memory address and virtual memory address.
check the ld documentation (info ld) and look for linker scripts.
Jani.


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-04-12  9:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-09  3:12 [ECOS] Some beginner's question HuangQiang
2002-04-11 20:26 ` Jonathan Larmour
2002-04-12  1:54   ` HuangQiang
2002-04-12  2:05     ` Jani Monoses

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