From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27256 invoked by alias); 12 Nov 2008 05:44:50 -0000 Received: (qmail 27204 invoked by uid 22791); 12 Nov 2008 05:44:49 -0000 X-Spam-Status: No, hits=0.1 required=5.0 tests=AWL,BAYES_00,FAKE_REPLY_C X-Spam-Check-By: sourceware.org Received: from smtpauth02.csee.onr.siteprotect.com (HELO smtpauth02.csee.onr.siteprotect.com) (64.26.60.136) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 12 Nov 2008 05:43:53 +0000 Received: from praveenvs (unknown [124.30.115.150]) (Authenticated sender: praveen@spacomp.com) by smtpauth02.csee.onr.siteprotect.com (Postfix) with ESMTP id 856E6E38020; Tue, 11 Nov 2008 23:43:45 -0600 (CST) Message-ID: <009e01c94489$d879d080$1301a8c0@spappm.com> From: "Praveen VS" To: "hartleys" , "Andrew Lunn" Cc: Subject: Re: Intel strata flash -redboot Date: Wed, 12 Nov 2008 05:44:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 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: 2008-11/txt/msg00022.txt.bz2 We are using customized arm ADS imx27 board. Got the redboot source with board. We are using JS48F4400P0VB00S intel nor strataflash 64MB. Redboot what we had got has the support for Spansion Nor flash size 64MB , it is working for the reference board. But in our board we have the Intel strata flash. Can anybody explain where to change in the redboot so that it will take the IntelStrata flash instead of Spansion flash Thanks in advance Regards Praveen ----- Original Message ----- > From: "hartleys" > To: "Andrew Lunn" ; "Praveen VS" > Cc: > Sent: Saturday, November 08, 2008 12:03 AM > Subject: RE: Intel strata flash -redboot > > > On Thursday, November 06, 2008 11:34 PM, Andrew Lunn wrote: >> On Fri, Nov 07, 2008 at 09:33:08AM +0530, Praveen VS wrote: >>> >>> >>> We have a custom board based on imx27 & we want to boot the kernel >>> from flash. But the flash we have is Intel Strata P30 ( >>> JS48F4400P0VB00S). We are modifying the redboot which comes with >>> imx27ADS reference board. We want to know which file we need to > modify? >>> Any body has successfully able to boot kernel from this flash using >>> redboot on any other board >> >> I think the P30 is a bit odd. Take a look at: >> >> http://sourceware.org/ml/ecos-discuss/2007-04/msg00178.html > > I'm using the same patch on a ep93xx based board using P30 flash. Works > great for me. > > The only problem I found in the patch is in flash_hwr_init() the first: > > + __strata_info.base1 = (void *)CYGNUM_FLASH_BASE; > > Should be removed. The __strata.info is only available #ifndef > CYGOPT_FLASH_IS_BOOTBLOCK. The .base1 is actually set correctly a bit > later in the code. > > Regards, > Hartley >