From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3135 invoked by alias); 11 Nov 2008 12:21:48 -0000 Received: (qmail 3072 invoked by uid 22791); 11 Nov 2008 12:21:47 -0000 X-Spam-Status: No, hits=0.6 required=5.0 tests=AWL,BAYES_50 X-Spam-Check-By: sourceware.org Received: from smtpauth03.csee.onr.siteprotect.com (HELO smtpauth03.csee.onr.siteprotect.com) (64.26.60.137) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 11 Nov 2008 12:20:55 +0000 Received: from praveenvs (unknown [124.30.115.150]) (Authenticated sender: praveen@spacomp.com) by smtpauth03.csee.onr.siteprotect.com (Postfix) with ESMTP id 71A8A103801F; Tue, 11 Nov 2008 06:20:51 -0600 (CST) Message-ID: <00c301c943f8$27f30c40$1301a8c0@spappm.com> From: "Praveen VS" To: "hartleys" , "Andrew Lunn" Cc: References: <007e01c9408d$fbda1670$1301a8c0@spappm.com> <20081107063407.GR20110@lunn.ch> Subject: Re: Intel strata flash -redboot Date: Tue, 11 Nov 2008 12:21:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original 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/msg00020.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