From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7154 invoked by alias); 1 Jul 2005 07:46:13 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 7097 invoked by uid 22791); 1 Jul 2005 07:46:06 -0000 Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 01 Jul 2005 07:46:06 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1DoGDj-0007lg-00; Fri, 01 Jul 2005 09:45:55 +0200 Date: Fri, 01 Jul 2005 07:46:00 -0000 To: Harsha D Cc: ecos-discuss@sources.redhat.com Message-ID: <20050701074555.GH5563@lunn.ch> Mail-Followup-To: Harsha D , ecos-discuss@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i From: Andrew Lunn Subject: Re: [ECOS] Redboot :: __startup_stack X-SW-Source: 2005-07/txt/msg00008.txt.bz2 On Fri, Jul 01, 2005 at 10:09:49AM +0530, Harsha D wrote: > Hi > > =============================================================== > Porting : Redboot > Platform : ARM922T based board > source base : based on Excalibur package > > =============================================================== > Memory layout is > -------------------------- > SRAM(32KB) 0x00000000 - 0x00008000 > RAM(32MB) 0x20000000 - 0x02000000 > > =============================================================== > My ram ldi file > --------------------- > MEMORY > { > ram : ORIGIN = 0x20000000, LENGTH = 0x02000000 > } > > SECTIONS > { > SECTIONS_BEGIN > SECTION_fixed_vectors (ram, 0x20000020, LMA_EQ_VMA) > SECTION_rom_vectors (ram, 0x20300000, LMA_EQ_VMA) > SECTION_text (ram, ALIGN (0x4), LMA_EQ_VMA) > SECTION_fini (ram, ALIGN (0x4), LMA_EQ_VMA) > SECTION_rodata (ram, ALIGN (0x4), LMA_EQ_VMA) > SECTION_rodata1 (ram, ALIGN (0x4), LMA_EQ_VMA) > SECTION_fixup (ram, ALIGN (0x4), LMA_EQ_VMA) > SECTION_gcc_except_table (ram, ALIGN (0x4), LMA_EQ_VMA) > SECTION_data (ram, ALIGN (0x4), LMA_EQ_VMA) > SECTION_bss (ram, ALIGN (0x4), LMA_EQ_VMA) > CYG_LABEL_DEFN(__heap1) = ALIGN (0x8); > SECTIONS_END > } .... > [ I am loading redboot at 0x20300000] > Googling told me that > fixed_vectors should be at 0x20(???) which is not the case for me. > Will it cause any problems ? If yes then how should i have my memory layout. SECTION_fixed_vectors (ram, 0x20000020, LMA_EQ_VMA) Add an sram memory region and change this to 0x20 and the fixed vectors will move. 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