This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
RE: Redboot on IXDPG425 using P30 Flash
- From: "Abraham Celik" <abrahamc at emtec dot com dot au>
- To: "'Mark Salter'" <msalter at redhat dot com>, <ecos-discuss at sources dot redhat dot com>
- Date: Sun, 13 Nov 2005 18:19:23 +1100
- Subject: RE: [ECOS] Redboot on IXDPG425 using P30 Flash
Hi Mark,
Thanks for that.
Do you know where/how the unlock code for the flash in redboot is? I search
around everywhere and could find anywhere? I can see that the P30 has some
weird locking systems (we used the P30 cause Intel are pushing to phase out
the J series). I can ensure you there is not external locking mechanisms.
Also how do I hardcode the MAC before I compile the binary image? I tried to
hardcode the IP settings but this didn't seem to work (as I image it wont
until I program the MAC).
Regards,
Abraham Celik
-----Original Message-----
From: Mark Salter [mailto:msalter@redhat.com]
Sent: Sunday, 13 November 2005 5:00 AM
To: Abraham Celik
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] Redboot on IXDPG425 using P30 Flash
On Sat, 2005-11-12 at 20:41 +1100, Abraham Celik wrote:
> Hi Guys,
>
> Im having trouble trying to initialize redboot on our board.
>
> RedBoot> fis init
> About to initialize [format] FLASH image system - continue (y/n)? y
> *** Initialize FLASH Image System
> ... Unlock from 0x50018000-0x50020000: .
> ... Erase from 0x50018000-0x50020000: Err = a2
>
> Error erasing FIS directory at 0x50018000: Error trying to erase ...
> Lock from 0x50018000-0x50020000: .
> RedBoot>
>
>
> <SNIP>
>
> Im using the ixdpg425 board package, as our board is quite similar in
> design. The only different is that we are using a 256MB Intel P30 flash.
>
> I modified the source as per the following document
> http://download.intel.com/design/flcomp/applnots/30829402.pdf in Appendix
B.
>
> Can anyone suggest why it is not initializing and/or why I cant get
> the network interface up? I read somewhere that the network interface
> will not work until you program a mac address. I dont have the command
> in redboot
> 2.02 to set mac_npe.
I'm pretty sure the a2 error code is a write protect error. So either the
unlock code is not working or there is some external write-protect circuitry
getting in the way.
The mac address (depending on configuration) can be hard-coded in RedBoot,
stored in an EEPROM, or stored in FLASH. If you don't have the command to
set the MAC, most likely it is being stored in FLASH and you'll have to sort
out that problem first.
--Mark
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss