From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22797 invoked by alias); 7 Apr 2002 23:14:54 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 22789 invoked from network); 7 Apr 2002 23:14:53 -0000 Received: from unknown (HELO hermes.fm.intel.com) (192.55.52.18) by sources.redhat.com with SMTP; 7 Apr 2002 23:14:53 -0000 Received: from petasus.fm.intel.com (petasus.fm.intel.com [10.1.192.37]) by hermes.fm.intel.com (8.11.6/8.11.6/d: outer.mc,v 1.37 2002/04/01 17:50:55 root Exp $) with ESMTP id g37NG7811684 for ; Sun, 7 Apr 2002 23:16:07 GMT Received: from fmsmsxvs040.fm.intel.com (fmsmsxv040-1.fm.intel.com [132.233.48.108]) by petasus.fm.intel.com (8.11.6/8.11.6/d: inner.mc,v 1.15 2002/04/01 17:51:48 root Exp $) with SMTP id g37NDU301595 for ; Sun, 7 Apr 2002 23:13:30 GMT Received: from fmsmsx28.fm.intel.com ([132.233.42.28]) by fmsmsxvs040.fm.intel.com (NAVGW 2.5.1.16) with SMTP id M2002040716141608323 for ; Sun, 07 Apr 2002 16:14:16 -0700 Received: by fmsmsx28.fm.intel.com with Internet Mail Service (5.5.2653.19) id <2KDVTG2V>; Sun, 7 Apr 2002 16:14:52 -0700 Message-ID: <01BDB7EEF8D4D3119D95009027AE999512F65F0A@FMSMSX33> From: "Agarwal, Lomesh" To: eCos Discuss Date: Sun, 07 Apr 2002 16:14:00 -0000 MIME-Version: 1.0 Content-Type: text/plain Subject: [ECOS] Memory layout X-SW-Source: 2002-04/txt/msg00146.txt.bz2 I want to burn RedBoot in a flash. I should use "ROM" start type. Right? On my platform during boot Flash is aliased at 0 and after unaliasing flash my DRAM is at 0 address. I have modified the rom.ldi file as follows: MEMORY { ram : ORIGIN = 0xA0000000, LENGTH = 0x2000000 rom : ORIGIN = 0x00000000, LENGTH = 0x800000 } SECTIONS { SECTIONS_BEGIN SECTION_rom_vectors (ram, 0xA0000000, AT(0x00000000)) // vector page gets remapped from ROM to RAM SECTION_text (rom, 0x00002000, 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 (rom, 0x20, LMA_EQ_VMA) SECTION_data (ram, 0xA000A000, FOLLOWING (.gcc_except_table)) SECTION_bss (ram, ALIGN (0x4), LMA_EQ_VMA) CYG_LABEL_DEFN(__heap1) = ALIGN (0x8); // CYG_LABEL_DEFN(__pci_window) = 0xf00000; . = CYG_LABEL_DEFN(__pci_window) + 0x100000; SECTIONS_END } I wanted to know whether this is right or not? Can someone help? Thanks, Lomesh -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss