This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Link problem with i386-pc platform
- To: Jonathan Larmour <jlarmour at redhat dot co dot uk>
- Subject: Re: [ECOS] Link problem with i386-pc platform
- From: Alex Mathews <alexma at crosstor dot com>
- Date: Thu, 24 Aug 2000 10:44:23 -0400
- Cc: Fabrice Gautier <Fabrice_Gautier at sdesigns dot com>, "Ecos-List (E-mail)" <ecos-discuss at sourceware dot cygnus dot com>
- Organization: CrosStor Software, Inc.
- References: <8AE4B526B977D411841F00A0CC334020052C24@cuz-exchange.sdesigns.net> <39A52EC5.A74A5873@redhat.co.uk>
Jonathan Larmour wrote:
>
> Fabrice Gautier wrote:
> > Before enabling tracing the downloaded size was about 350-400k, is it
> > possible that just enabling tracing and asserts make the size more than the
> > maximum allowed size (which should be 640ko minus 64 or 128k I think) ?
>
> Yes.
Jonathan,
I've made changes to load above 1MB and have room upto 16MB. I've
tested the change with the hello world example. I still need to test
with larger programs. I've made the below change to the memory layout.
Is there any reason why I cannot make the below change to extend the
length and begin above the 1M boundary for the i386 PC port?
packages/hal/i386/pc/v1_3_1/include/pkgconf/mlt_i386_pc_ram.ldi
MEMORY
{
ram : ORIGIN = 0x0, LENGTH = 0x1000000 /* 16M length */
}
SECTIONS
{
SECTIONS_BEGIN
SECTION_vectors (ram, 0x108000, LMA_EQ_VMA) /* load above 1M */
SECTION_text (ram, ALIGN (0x4), LMA_EQ_VMA)
SECTION_fini (ram, ALIGN (0x4), LMA_EQ_VMA)
SECTION_rodata1 (ram, ALIGN (0x8), LMA_EQ_VMA)
SECTION_rodata (ram, ALIGN (0x8), LMA_EQ_VMA)
SECTION_fixup (ram, ALIGN (0x4), LMA_EQ_VMA)
SECTION_gcc_except_table (ram, ALIGN (0x1), LMA_EQ_VMA)
SECTION_rel__got (ram, ALIGN (0x1), LMA_EQ_VMA)
SECTION_data (ram, ALIGN (0x8), LMA_EQ_VMA)
SECTION_sbss (ram, ALIGN (0x4), LMA_EQ_VMA)
SECTION_bss (ram, ALIGN (0x10), LMA_EQ_VMA)
SECTIONS_END
}
Thanks,
Alex
--
Alex Mathews
CrosStor Software, Inc.
908-226-0100 ext 148
alexma@crosstor.com