From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23023 invoked by alias); 20 Apr 2007 11:53:27 -0000 Received: (qmail 23007 invoked by uid 22791); 20 Apr 2007 11:53:26 -0000 X-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_20,FORGED_RCVD_HELO X-Spam-Check-By: sourceware.org Received: from 204-133-123-27.dia.static.slbbi.com (HELO mail.chez-thomas.org) (204.133.123.27) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 20 Apr 2007 12:53:24 +0100 Received: by mail.chez-thomas.org (Postfix, from userid 999) id D59E8195019B; Fri, 20 Apr 2007 05:53:22 -0600 (MDT) X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on hermes.chez-thomas.org X-Spam-Level: Received: from [192.168.1.101] (hermes_local [192.168.1.101]) by mail.chez-thomas.org (Postfix) with ESMTP id 48E0A1950090; Fri, 20 Apr 2007 05:53:20 -0600 (MDT) Message-ID: <4628A9AF.6020108@mlbassoc.com> Date: Fri, 20 Apr 2007 12:33:00 -0000 From: Gary Thomas User-Agent: Thunderbird 1.5.0.10 (X11/20070301) MIME-Version: 1.0 To: Maxin John CC: ecos-devel@ecos.sourceware.org Subject: Re: Trouble with redboot on SPANSION S29GL512N References: <10078647.post@talk.nabble.com> <4627822A.7090902@mlbassoc.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2007-04/txt/msg00009.txt.bz2 Maxin John wrote: > Dear Gary Thomas, > > Thank you very much. But I am a bit consfused. I would like to know > where I need to modify that. So how user can change the memory layout > if he wants to change ? > I not sure that I am suppossed to change the *.ldi files. So am I > suppossed to change the size in *.h or *.mlt file and recompile > again ? The current files (as provided by Cirrus) only map 16MB for FLASH. You'll need to make adjustments in 3 places to handle your 64MB device. hal/arm/arm9/ep93xx/v2_0/include/pkgconf/mlt_arm_arm9_edb9301_romram.h hal/arm/arm9/ep93xx/v2_0/include/pkgconf/mlt_arm_arm9_edb9301_romram.ldi hal/arm/arm9/ep93xx/v2_0/include/hal_platform_setup.h > > On 4/19/07, Gary Thomas wrote: >> Maxin B John wrote: >> > Dear all, >> > >> > I have compiled ECOS to support AMD/SPANSION S29GL512N flash for >> EP9301 . >> > I have compiled the the redboot.bin but on booting , the system hangs. >> > The flash_am29xxxxx_parts.inl is modified like this >> > >> > #ifdef CYGHWR_DEVS_FLASH_AMD_S29GL512N >> > { >> > //AMD/SPANSION S29GL512N >> > long_device_id:true, >> > device_id: FLASHWORD(0x227e), >> > device_id2: FLASHWORD(0x2223), >> > device_id3: FLASHWORD(0x2221), >> > block_size:0x20000 * CYGNUM_FLASH_INTERLEAVE, >> > block_count:512, >> > device_size:0x4000000 * CYGNUM_FLASH_INTERLEAVE, >> > base_mask:~(0x4000000 * CYGNUM_FLASH_INTERLEAVE-1), >> > bootblock : false, >> > banked :false, >> > }, >> > #endif >> > >> > Please let me know if anyone had successfully compiled the redboot with >> > SPANSION S29GL512N with EP9301. >> >> Make sure your memory map (which on ARM includes some >> assembly tables) have been adjusted to handle the FLASH. >> If they are not able to handle the entire size (64MB in >> this case), then RedBoot will hang/die. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------