From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21439 invoked by alias); 19 Apr 2007 14:52:42 -0000 Received: (qmail 21429 invoked by uid 22791); 19 Apr 2007 14:52:41 -0000 X-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_20,FORGED_RCVD_HELO,UPPERCASE_25_50 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; Thu, 19 Apr 2007 15:52:34 +0100 Received: by mail.chez-thomas.org (Postfix, from userid 999) id 5FFF91950110; Thu, 19 Apr 2007 08:52:32 -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 4EDF71950090; Thu, 19 Apr 2007 08:52:29 -0600 (MDT) Message-ID: <4627822A.7090902@mlbassoc.com> Date: Thu, 19 Apr 2007 14:52:00 -0000 From: Gary Thomas User-Agent: Thunderbird 1.5.0.10 (X11/20070301) MIME-Version: 1.0 To: Maxin B John CC: ecos-devel@ecos.sourceware.org Subject: Re: Trouble with redboot on SPANSION S29GL512N References: <10078647.post@talk.nabble.com> In-Reply-To: <10078647.post@talk.nabble.com> 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/msg00006.txt.bz2 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 ------------------------------------------------------------