public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Flash problem with Intel P30
@ 2005-11-29  7:32 Abraham Celik
  2005-11-29  8:16 ` Andrew Lunn
  0 siblings, 1 reply; 4+ messages in thread
From: Abraham Celik @ 2005-11-29  7:32 UTC (permalink / raw)
  To: ecos-discuss

Hi Guys,
 
I am using an intel 28f256p30B flash on my ixp425 board. I get the following
upon boot up:

_________________________________________________________
 
+**Warning** FLASH configuration checksum error or invalid key
Use 'fconfig -i' to [re]initialize database
 
Trying NPE-B...success. Using NPE-B with PHY 0.
... waiting for BOOTP information
Ethernet eth0: MAC address 00:03:47:df:32:a8
IP: 192.168.100.13/255.255.255.0, Gateway: 192.168.100.1
Default server: 0.0.0.0
 
XoIP Systems RedBoot(tm) bootstrap and debug environment [ROM]
Red Hat certified release, version 2.02 - built 06:03:40, Nov 21 2005
 
Platform: XoIP Systems Pty Ltd 1000 BaseBoard IAD (IXP42X 266MHz) BE
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
 
RAM: 0x00000000-0x02000000, [0x00026780-0x01fd9000] available
FLASH: 0x50000000 - 0x50020000, 4 blocks of 0x00008000 bytes each.
RedBoot>
RedBoot>
RedBoot>
RedBoot> fis free
  0x50080000 .. 0x5001FFFF
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
*** Initialize FLASH Image System
... Unlock from 0x50018000-0x50020000:
 
_________________________________________________

And now it stays like that. 

The question i have is how do i set up the flash system locking/unlocking
mechanism for the P30 series. How do I change the flash size to suite the
256P30?
 
I notice when it boots up it says ""FLASH: 0x50000000 - 0x50020000, 4 blocks
of 0x00008000 bytes each"". How do I increase the number of blocks
available?

I can upload things to RAM, but cant create/move them to flash due to the
=a2 or =a92 errors. I imagine that I could try and unlock sectors manually,
but it seems that the flash size is reporting incorrect.

Any ideas?
 

Regards, 

Abraham




-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] Flash problem with Intel P30
  2005-11-29  7:32 [ECOS] Flash problem with Intel P30 Abraham Celik
@ 2005-11-29  8:16 ` Andrew Lunn
  2005-11-29  9:47   ` Abraham Celik
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Lunn @ 2005-11-29  8:16 UTC (permalink / raw)
  To: Abraham Celik; +Cc: ecos-discuss

On Tue, Nov 29, 2005 at 06:31:23PM +1100, Abraham Celik wrote:
> Hi Guys,
>  
> I am using an intel 28f256p30B flash on my ixp425 board. I get the following
> upon boot up:

Is this the normal flash device for that board? The source code for
the ixpd425 says it should be a 28F128.

My guess is that your flash device is being wrongly identified, or the
configuration parameters are wrong. You need to take a close look at
the hardware specific part of the flash driver in
packages/devs/flash/arm/ixp425 and the generic intel strata flash
driver in packages/dev/flash/intel/strata.

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [ECOS] Flash problem with Intel P30
  2005-11-29  8:16 ` Andrew Lunn
@ 2005-11-29  9:47   ` Abraham Celik
  2005-11-29 10:19     ` Andrew Lunn
  0 siblings, 1 reply; 4+ messages in thread
From: Abraham Celik @ 2005-11-29  9:47 UTC (permalink / raw)
  To: 'Andrew Lunn'; +Cc: ecos-discuss

Hi Andrew,

I agree that I have something not set up correctly.

Its not the correct flash for the IXDPG425, however the changes that were
recommended for the switch to the P30 do not work as hoped.

I was actually hoping that someone had already gone through this major pain,
and could shed some light on how they fixed it, or better still, if someone
could point me in the right direction of how to fix it.

I know that its not configured correctly, but where do I start to learn how
to fix it?


Regards, 

Abraham  

-----Original Message-----
From: ecos-discuss-owner@ecos.sourceware.org
[mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of Andrew Lunn
Sent: Tuesday, 29 November 2005 7:16 PM
To: Abraham Celik
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] Flash problem with Intel P30

On Tue, Nov 29, 2005 at 06:31:23PM +1100, Abraham Celik wrote:
> Hi Guys,
>  
> I am using an intel 28f256p30B flash on my ixp425 board. I get the 
> following upon boot up:

Is this the normal flash device for that board? The source code for the
ixpd425 says it should be a 28F128.

My guess is that your flash device is being wrongly identified, or the
configuration parameters are wrong. You need to take a close look at the
hardware specific part of the flash driver in
packages/devs/flash/arm/ixp425 and the generic intel strata flash driver in
packages/dev/flash/intel/strata.

        Andrew

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss




-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] Flash problem with Intel P30
  2005-11-29  9:47   ` Abraham Celik
@ 2005-11-29 10:19     ` Andrew Lunn
  0 siblings, 0 replies; 4+ messages in thread
From: Andrew Lunn @ 2005-11-29 10:19 UTC (permalink / raw)
  To: Abraham Celik; +Cc: ecos-discuss

On Tue, Nov 29, 2005 at 08:46:37PM +1100, Abraham Celik wrote:
> Hi Andrew,
> 
> I agree that I have something not set up correctly.
> 
> Its not the correct flash for the IXDPG425, however the changes that were
> recommended for the switch to the P30 do not work as hoped.
> 
> I was actually hoping that someone had already gone through this major pain,
> and could shed some light on how they fixed it, or better still, if someone
> could point me in the right direction of how to fix it.
> 
> I know that its not configured correctly, but where do I start to learn how
> to fix it?

You need to look at the code in the driver. Put in some debug prints,
find out what happens in the flash_hwr_init() function. Basically, do
some debugging.

I suggest you use a ram version of redboot, not a rom version.

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-11-29 10:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-29  7:32 [ECOS] Flash problem with Intel P30 Abraham Celik
2005-11-29  8:16 ` Andrew Lunn
2005-11-29  9:47   ` Abraham Celik
2005-11-29 10:19     ` Andrew Lunn

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).