public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Could anyone answer me this post thank you very much,  Linker script question? where is the fixed_vectors section?(Online waiting for help)
@ 2003-01-23 23:51 Qiang Huang
  2003-01-24  1:20 ` Gary D. Thomas
  0 siblings, 1 reply; 4+ messages in thread
From: Qiang Huang @ 2003-01-23 23:51 UTC (permalink / raw)
  To: Ecos-Discuss



-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com
[mailto:ecos-discuss-owner@sources.redhat.com]On Behalf Of Qiang Huang
Sent: 23 January 2003 21:45
To: Ecos-Discuss
Subject: [ECOS] Linker script question? where is the fixed_vectors
section?ARM


Hi all:
   In a rom startup linker script I saw these and I can't figure this
out.(ARM target)

MEMORY
{
    ram : ORIGIN = 0, LENGTH = 0x8000000
    rom : ORIGIN = 0x40000000, LENGTH = 0x100000
}

SECTIONS
{
    SECTIONS_BEGIN
    SECTION_rom_vectors (rom, 0x40000000, LMA_EQ_VMA)
    SECTION_text (rom, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_fini (rom, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_rodata (rom, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_rodata1 (rom, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_fixup (rom, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_gcc_except_table (rom, ALIGN (0x4), LMA_EQ_VMA)
    SECTION_fixed_vectors (ram, 0x20, LMA_EQ_VMA)
    SECTION_data (ram, 0x8000, FOLLOWING (.gcc_except_table))
    SECTION_bss (ram, ALIGN (0x4), LMA_EQ_VMA)
    CYG_LABEL_DEFN(__heap1) = ALIGN (0x8);
    SECTIONS_END
}

if the flash is originally located at 0x0000H, then if I create a S-record
file and want to download it to the rom, where will be the section:
fixed_vectors stored? because it is defined as:     SECTION_fixed_vectors
(ram, 0x20, LMA_EQ_VMA),  according to LMA_EQ_VMA it should be stored at the
same address as the VMA as here in the ram, how is this interpreted in the
S-record file (file for downloading into the flash memory)? Thanks a lot.

BTW the order of the sections in the flash memory after the S-record file
downloaded is:
0x0000H    1. rom_vectors
continue.   2. text
cont.           3. fini
cont.           4. rodata
cont.           5. rodata1
cont.           6. fixup
cont.           7. gcc_exception_table
cont.           8. data

Is the correct? if so where is the fixed_vectors section stored in
flash(rom).

Thanks a lot




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


-- 
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] Could anyone answer me this post thank you very much,  Linker script question? where is the fixed_vectors section?(Online waiting for help)
  2003-01-23 23:51 [ECOS] Could anyone answer me this post thank you very much, Linker script question? where is the fixed_vectors section?(Online waiting for help) Qiang Huang
@ 2003-01-24  1:20 ` Gary D. Thomas
  2003-01-24  6:48   ` Jonathan Larmour
  0 siblings, 1 reply; 4+ messages in thread
From: Gary D. Thomas @ 2003-01-24  1:20 UTC (permalink / raw)
  To: Qiang Huang; +Cc: eCos Discussion

On Thu, 2003-01-23 at 16:35, Qiang Huang wrote:
> 
> 

Don't forget that this discussion list is *VOLUNTARY*.  Asking a
question and then asking in less than two hours why you don't have an 
answer is a great way to get your name put into the "send this to
the bit bucket" list.

If you want instantaneous replies to your myriad questions, pay for
it.  There are a number of commercial entities out there which are
available.  If not, ask sensible questions and give folks a chance
to answer at their own pace.

-- 
.--------------------------------------------------------.
|       Mind: Embedded Linux and eCos Development        |
|--------------------------------------------------------|
| Gary Thomas              email:  gary.thomas@mind.be   |
| Mind ( http://mind.be )  tel:    +1 (970) 229-1963     |
| gpg: http://www.chez-thomas.org/gary/gpg_key.asc       |
'--------------------------------------------------------'


-- 
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] Could anyone answer me this post thank you very much, Linker script question? where is the fixed_vectors section?(Online waiting for help)
  2003-01-24  1:20 ` Gary D. Thomas
@ 2003-01-24  6:48   ` Jonathan Larmour
  2003-01-24  9:13     ` [ECOS] Newbie Santosh Bhat
  0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Larmour @ 2003-01-24  6:48 UTC (permalink / raw)
  To: Qiang Huang; +Cc: eCos Discussion

Gary D. Thomas wrote:
> On Thu, 2003-01-23 at 16:35, Qiang Huang wrote:
> 
> Don't forget that this discussion list is *VOLUNTARY*.  Asking a
> question and then asking in less than two hours why you don't have an 
> answer is a great way to get your name put into the "send this to
> the bit bucket" list.

And to emphasise the point, there is no entitlement to be on the list. 
Abuse of the list will result in removal. While that stage hasn't been 
reached here because this is a one-off, a repeat would not be good.

As it happens I had already drafted most of a response to your mail, but 
then put it to one side. So it is very much the case your mail was not 
ignored. I will send my response, but it doesn't inspire me to send many 
more mails in future.

> If you want instantaneous replies to your myriad questions, pay for
> it.  There are a number of commercial entities out there which are
> available.  If not, ask sensible questions and give folks a chance
> to answer at their own pace.

Quite. You've been using eCos for very nearly 2 years. Surely you should 
be better able to research and find the answers yourself by now.

Jifl
-- 
eCosCentric       http://www.eCosCentric.com/       <info@eCosCentric.com>
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- 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

* [ECOS] Newbie
  2003-01-24  6:48   ` Jonathan Larmour
@ 2003-01-24  9:13     ` Santosh Bhat
  0 siblings, 0 replies; 4+ messages in thread
From: Santosh Bhat @ 2003-01-24  9:13 UTC (permalink / raw)
  To: eCos Discussion

Hi List ,  I am a newbie to this list.I wnated to know
1)Is the ecos supported on ARM7tdmi (without mmu) (I just read on the web
page that it supports arm7tdmi but just wanted to make sure it works on a
non mmu machine )
2)Has anyone ported the Ecos to Samsung S3C44BOX ?  (The archive search
could not get me any valid result !!)

Thanx in advance for your reply.
Regards
Santosh Bhat



-- 
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:[~2003-01-24  9:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-23 23:51 [ECOS] Could anyone answer me this post thank you very much, Linker script question? where is the fixed_vectors section?(Online waiting for help) Qiang Huang
2003-01-24  1:20 ` Gary D. Thomas
2003-01-24  6:48   ` Jonathan Larmour
2003-01-24  9:13     ` [ECOS] Newbie Santosh Bhat

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