public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
From: "hartleys" <hartleys@visionengravers.com>
To: "Andrew Lunn" <andrew@lunn.ch>, 	"Praveen VS" <praveen@spacomp.com>
Cc: <ecos-devel@ecos.sourceware.org>
Subject: RE: Intel strata flash -redboot
Date: Fri, 07 Nov 2008 18:34:00 -0000	[thread overview]
Message-ID: <BD79186B4FD85F4B8E60E381CAEE1909CEA10E@mi8nycmail19.Mi8.com> (raw)
In-Reply-To: <20081107063407.GR20110@lunn.ch>

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

  reply	other threads:[~2008-11-07 18:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-07  4:04 Praveen VS
2008-11-07  6:35 ` Andrew Lunn
2008-11-07 18:34   ` hartleys [this message]
2008-11-11 12:21     ` Praveen VS
2008-11-12  5:44 Praveen VS

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BD79186B4FD85F4B8E60E381CAEE1909CEA10E@mi8nycmail19.Mi8.com \
    --to=hartleys@visionengravers.com \
    --cc=andrew@lunn.ch \
    --cc=ecos-devel@ecos.sourceware.org \
    --cc=praveen@spacomp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).