This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Redboot image size and CYGMEM_REGION_rom_SIZE
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Claudio Di Vittorio <lallo82 at yahoo dot it>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Mon, 16 Oct 2006 22:45:18 +0200
- Subject: Re: [ECOS] Redboot image size and CYGMEM_REGION_rom_SIZE
- References: <20061016124702.46960.qmail@web26611.mail.ukl.yahoo.com>
On Mon, Oct 16, 2006 at 02:47:02PM +0200, Claudio Di Vittorio wrote:
> Hi everyone!
>
> I have a question about the parameter
> CYGMEM_REGION_rom_SIZE.
>
> I'm building a quite "large" image of redboot (it
> includes a custom firmware for an fpga, and the image
> size exceeds the address 0x80000 .. i will try to
> reduce this later)
>
> If i compile the image, the linker complains about the
>
> rom_size (almost every section is out of rom
> addressing).
>
> I'm using the ixdp465 and i've seen that
> in mlt_arm_xscale_ixdp465_*.h that parameter is
> defined as
>
> #define CYGMEM_REGION_rom_SIZE 0x80000
>
> the same value is defined in
> mlt_arm_xscale_ixdp465_*.ldi
>
> now i'm using a 32 MByte flash memory (so the rom size
> become 0x2000000)
>
> now i changed that value in both definitions
> file (and also in target.ld) and then rebuild RedBoot
> (completely, deleting old headers and binaries).
> I load in flash memory (using the fis utility of
> RedBoot) but when i reset, the platform hangs during
> bootup..
>
> Am i missing something?
Does the MMU setup need changing? It could be the MMU is not allowing
access to all the flash. Check the HAL.
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