From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13063 invoked by alias); 7 Nov 2008 18:34:40 -0000 Received: (qmail 13027 invoked by uid 22791); 7 Nov 2008 18:34:40 -0000 X-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from exprod6og116.obsmtp.com (HELO exprod6og116.obsmtp.com) (64.18.1.37) by sourceware.org (qpsmtpd/0.31) with SMTP; Fri, 07 Nov 2008 18:33:43 +0000 Received: from source ([63.240.6.3]) (using TLSv1) by exprod6ob116.postini.com ([64.18.5.12]) with SMTP ID DSNKSRSKBLOqP+y5XtS3OiWrwhY1Y/3SszZL@postini.com; Fri, 07 Nov 2008 10:33:42 PST Received: from d01smtp07.Mi8.com ([172.16.1.114]) by Outbound01.Mi8.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 7 Nov 2008 13:33:39 -0500 Received: from mi8nycmail19.Mi8.com ([172.16.7.219]) by d01smtp07.Mi8.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 7 Nov 2008 13:33:39 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Intel strata flash -redboot Date: Fri, 07 Nov 2008 18:34:00 -0000 Message-ID: In-Reply-To: <20081107063407.GR20110@lunn.ch> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Intel strata flash -redboot thread-index: AclAovsRqSU1z5nPTnKqPhkACyV56wAY3/8g References: <007e01c9408d$fbda1670$1301a8c0@spappm.com> <20081107063407.GR20110@lunn.ch> From: "hartleys" To: "Andrew Lunn" , "Praveen VS" Cc: X-OriginalArrivalTime: 07 Nov 2008 18:33:39.0539 (UTC) FILETIME=[5A7B8230:01C94107] 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/msg00008.txt.bz2 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=20 >> from flash. But the flash we have is Intel Strata P30 (=20 >> JS48F4400P0VB00S). We are modifying the redboot which comes with=20 >> 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=20 >> redboot on any other board > > I think the P30 is a bit odd. Take a look at: >=20 > 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 =3D (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