From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20016 invoked by alias); 20 Apr 2007 05:12:57 -0000 Received: (qmail 20006 invoked by uid 22791); 20 Apr 2007 05:12:57 -0000 X-Spam-Status: No, hits=0.6 required=5.0 tests=DK_SIGNED,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from an-out-0708.google.com (HELO an-out-0708.google.com) (209.85.132.241) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 20 Apr 2007 06:12:54 +0100 Received: by an-out-0708.google.com with SMTP id b38so806250ana for ; Thu, 19 Apr 2007 22:12:52 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pUF2Xn8XCpB5gGchiH9p07/L5tZdMWTItsmtPD/dd6Myd02rYBMY2K6eYRRwctilh8z3qEwG+UGwCwlAH77IUKkA0EAWsRtPkv2dc/LLtti+rZomlNkI8ECcJboi6n21aHDCEmxw7hitHw+5JEFnR4LQLCdRI2HkUSlseVzutUU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=D3vyxqgVduJ3/LQwb4Hu5D0TQZlveHQ4C9YpGtwLoRsi5Y2s+KPBIQyxs0jWzbocvpdWOkayWCToPi0pK5M4i86Bk7qK6PcB1R0Ssi18Idp0S58O3fU0HetmVEg3UWsKHnvmnt30x76kn+kMJmeMiug9yFuHf7KkyGN/P3CRNjw= Received: by 10.100.164.14 with SMTP id m14mr1413155ane.1177045972343; Thu, 19 Apr 2007 22:12:52 -0700 (PDT) Received: by 10.100.209.9 with HTTP; Thu, 19 Apr 2007 22:12:52 -0700 (PDT) Message-ID: Date: Fri, 20 Apr 2007 11:53:00 -0000 From: "Maxin John" To: "Gary Thomas" Subject: Re: Trouble with redboot on SPANSION S29GL512N Cc: ecos-devel@ecos.sourceware.org In-Reply-To: <4627822A.7090902@mlbassoc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <10078647.post@talk.nabble.com> <4627822A.7090902@mlbassoc.com> 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/msg00008.txt.bz2 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 ? Thanks & regards, Maxin B. John 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 > ------------------------------------------------------------ >