* Flash on ep8248e standard motherboards
2007-09-04 14:03 Newbie on embedded linux on PPC: error: cannot find boot.o Thomas Gerlach
@ 2007-09-04 17:09 ` Bennett, Alan
0 siblings, 0 replies; 6+ messages in thread
From: Bennett, Alan @ 2007-09-04 17:09 UTC (permalink / raw)
To: linuxppc-embedded
Hello;
We have a custom board based on the ep8248e design from Embedded Planet
and I'm trying to use something other than codewarrior to flash u-boot
srec's=20
I'm not sure where the problem is, but I'm unable to flash the
u-boot.srec onto the Embedded Planet board (using the BDI2000), let
alone our custom board.
1. Embedded Planet ep8248E
64 MB SDRAM
64 MB Flash (x2 Am29LV256M)
2. Custom
128 MB SDRAM
128 MB Flash (X2 Spansion S29GL512N)
NOTE: CW successfully flashes both parts, but then again, it's CW.
BDI 2000 Config File:
; initialize - FLASH BR0 & OR0 (64 Mbyte)
;*******************************************
WM32 0xf0010100 0xfc001801
WM32 0xf0010104 0xfc0008c2
[FLASH]
CHIPTYPE MIRRORX16
CHIPSIZE 0x2000000
BUSWIDTH 16
I then attempt to unlock/erase/program
Check for Sanity (NOTE: using BDI 2000 PROMPT)
md 0xf0010100 2
f0010100 : 0xf8001801 - 134211583 ....
f0010104 : 0xf80008b2 - 134215502 ....
md 0xfff00000 2
fff00000 : 0x10101010 269488144 ....
fff00004 : 0x10101010 269488144 ....
All looks good. (10101010 is the existing planet core header)
TRY TO UNLOCK
unlock 0xfff00000 1000
Unlocking flash at 0xfff00000
# Invalid parameter for flash programming
TRY TO ERASE
erase 0xfff00000 UNLOCK 1000
Erasing flash at 0xfff00000
# Erasing flash memory failed
BUT
erase 0xffff0000 UNLOCK 1000
Erasing flash at 0xffff0000
Erasing flash passed
HOWEVER
mm 0xffff0000 0xdeadbeef
md 0xffff0000 1
ffff0000 : 0xffffffff
SO it doesn't seem to allow write access afterall...
Is there anyone that has a BDI 2000 config file for flashing the ep8248e
motherboard the 8MB Flash Version (64 MB flash version)=20
Thanks
-Alan
*****************************************************************
*************
CONFIDENTIAL NOTE: This e-mail and any attachments may be
confidential and protected by legal privilege. If you are not
the intended recipient, be aware that you are hereby notified
that any unauthorized review, use, disclosure, dissemination,
distribution, or copying of this communication, or any of its
contents, is strictly prohibited. If you have received this
email in error, please notify us immediately by replying to the
sender and deleting this copy and the reply from your system.
Thank you for your cooperation.
EXPORT CONTROLLED DOCUMENT
This document may contain information whose export is restricted
by the Arms Export Control Act (Title 22, U.S.C., Sec 2751 Et
Seq.) or the Export Administration Act of 1979, as amended,
(Title 50, U.S.C., App. 2401, Et. Seq.) Violations to these
export laws are subject to severe criminal penalties.
All technical data forwarded by VT Miltope to its suppliers is
EXPORT CONTROLLED. Supplier shall not disclose technical data in
any form to a Foreign Person (including foreign person employees
of Supplier), or export the technical data from the United
States without U.S. Government authority and the written
authorization of VT Miltope Contracts Department.
*****************************************************************
*************
^ permalink raw reply [flat|nested] 6+ messages in thread
* Flash on ep8248e standard motherboards
@ 2007-09-04 18:08 Alan Bennett
2007-09-12 9:10 ` Laurent Pinchart
2007-09-13 8:25 ` Erik Christiansen
0 siblings, 2 replies; 6+ messages in thread
From: Alan Bennett @ 2007-09-04 18:08 UTC (permalink / raw)
To: linuxppc-embedded
Please accept my apologies for sending the last email and accept this
email address and question. without the disclaimer.
---------------------------------------------------
Hello;
We have a custom board based on the ep8248e design from Embedded
Planet and I'm trying to use something other than codewarrior to flash
u-boot srec's
I'm not sure where the problem is, but I'm unable to flash the
u-boot.srec onto the Embedded Planet board (using the BDI2000), let
alone our custom board.
1. Embedded Planet ep8248E
64 MB SDRAM
64 MB Flash (x2 Am29LV256M)
2. Custom
128 MB SDRAM
128 MB Flash (X2 Spansion S29GL512N)
NOTE: CW successfully flashes both parts, but then again, it's CW.
BDI 2000 Config File:
; initialize - FLASH BR0 & OR0 (64 Mbyte)
;*******************************************
WM32 0xf0010100 0xfc001801
WM32 0xf0010104 0xfc0008c2
[FLASH]
CHIPTYPE MIRRORX16
CHIPSIZE 0x2000000
BUSWIDTH 16
I then attempt to unlock/erase/program
Check for Sanity (NOTE: using BDI 2000 PROMPT)
md 0xf0010100 2
f0010100 : 0xf8001801 - 134211583 ....
f0010104 : 0xf80008b2 - 134215502 ....
md 0xfff00000 2
fff00000 : 0x10101010 269488144 ....
fff00004 : 0x10101010 269488144 ....
All looks good. (10101010 is the existing planet core header)
TRY TO UNLOCK
unlock 0xfff00000 1000
Unlocking flash at 0xfff00000
# Invalid parameter for flash programming
TRY TO ERASE
erase 0xfff00000 UNLOCK 1000
Erasing flash at 0xfff00000
# Erasing flash memory failed
BUT
erase 0xffff0000 UNLOCK 1000
Erasing flash at 0xffff0000
Erasing flash passed
HOWEVER
mm 0xffff0000 0xdeadbeef
md 0xffff0000 1
ffff0000 : 0xffffffff
SO it doesn't seem to allow write access afterall...
Is there anyone that has a BDI 2000 config file for flashing the
ep8248e motherboard the 8MB Flash Version (64 MB flash version)
Thanks
-Alan
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Flash on ep8248e standard motherboards
2007-09-04 18:08 Flash on ep8248e standard motherboards Alan Bennett
@ 2007-09-12 9:10 ` Laurent Pinchart
2007-09-13 8:25 ` Erik Christiansen
1 sibling, 0 replies; 6+ messages in thread
From: Laurent Pinchart @ 2007-09-12 9:10 UTC (permalink / raw)
To: linuxppc-embedded; +Cc: Alan Bennett
Hi Alan,
On Tuesday 04 September 2007 20:08, Alan Bennett wrote:
> Please accept my apologies for sending the last email and accept this
> email address and question. without the disclaimer.
> ---------------------------------------------------
>
> Hello;
> We have a custom board based on the ep8248e design from Embedded
> Planet and I'm trying to use something other than codewarrior to flash
> u-boot srec's
>
> I'm not sure where the problem is, but I'm unable to flash the
> u-boot.srec onto the Embedded Planet board (using the BDI2000), let
> alone our custom board.
> 1. Embedded Planet ep8248E
> 64 MB SDRAM
> 64 MB Flash (x2 Am29LV256M)
> 2. Custom
> 128 MB SDRAM
> 128 MB Flash (X2 Spansion S29GL512N)
>
> NOTE: CW successfully flashes both parts, but then again, it's CW.
>
>
> BDI 2000 Config File:
> ; initialize - FLASH BR0 & OR0 (64 Mbyte)
> ;*******************************************
> WM32 0xf0010100 0xfc001801
> WM32 0xf0010104 0xfc0008c2
> [FLASH]
> CHIPTYPE MIRRORX16
> CHIPSIZE 0x2000000
> BUSWIDTH 16
>
> I then attempt to unlock/erase/program
> Check for Sanity (NOTE: using BDI 2000 PROMPT)
> md 0xf0010100 2
> f0010100 : 0xf8001801 - 134211583 ....
> f0010104 : 0xf80008b2 - 134215502 ....
> md 0xfff00000 2
> fff00000 : 0x10101010 269488144 ....
> fff00004 : 0x10101010 269488144 ....
> All looks good. (10101010 is the existing planet core header)
>
> TRY TO UNLOCK
> unlock 0xfff00000 1000
> Unlocking flash at 0xfff00000
> # Invalid parameter for flash programming
>
> TRY TO ERASE
> erase 0xfff00000 UNLOCK 1000
> Erasing flash at 0xfff00000
> # Erasing flash memory failed
> BUT
> erase 0xffff0000 UNLOCK 1000
> Erasing flash at 0xffff0000
> Erasing flash passed
> HOWEVER
> mm 0xffff0000 0xdeadbeef
> md 0xffff0000 1
> ffff0000 : 0xffffffff
> SO it doesn't seem to allow write access afterall...
You need to use the 'prog' command to write to flash. 'md' won't do.
> Is there anyone that has a BDI 2000 config file for flashing the
> ep8248e motherboard the 8MB Flash Version (64 MB flash version)
Regards,
=2D-=20
Laurent Pinchart
CSE Semaphore Belgium
Chauss=E9e de Bruxelles, 732A
B-1410 Waterloo
Belgium
T +32 (2) 387 42 59
=46 +32 (2) 387 42 75
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Flash on ep8248e standard motherboards
2007-09-04 18:08 Flash on ep8248e standard motherboards Alan Bennett
2007-09-12 9:10 ` Laurent Pinchart
@ 2007-09-13 8:25 ` Erik Christiansen
2007-09-13 14:10 ` Ben Warren
1 sibling, 1 reply; 6+ messages in thread
From: Erik Christiansen @ 2007-09-13 8:25 UTC (permalink / raw)
To: linuxppc-embedded
On Tue, Sep 04, 2007 at 12:08:47PM -0600, Alan Bennett wrote:
> BDI 2000 Config File:
> ; initialize - FLASH BR0 & OR0 (64 Mbyte)
> ;*******************************************
> WM32 0xf0010100 0xfc001801
> WM32 0xf0010104 0xfc0008c2
> [FLASH]
> CHIPTYPE MIRRORX16
> CHIPSIZE 0x2000000
> BUSWIDTH 16
Having just taken delivery of an ep8248e, I'm surprised that the
supplied flash config is commented out and erroneous:
[FLASH]
;CHIPTYPE AM29F ;Flash type (AM29F | AM29BX8 | AM29BX16 | I28BX8 | I28BX16)
;CHIPSIZE 0x200000 ;The size of one flash chip in bytes (e.g. AM29F010 = 0x20000)
;BUSWIDTH 8 ;The width of the flash memory bus in bits (8 | 16 | 32 | 64)
;
Did you start with the Embedded Planet offering, in your current effort
to create a usable config? Is MIRRORX16 more than a guess?
I've found that my flash chips are "spansion GL256N10FFI02", which
AFAICT are S29GL256N10FFI02 from AMD, as we used to know them.
I wonder if S29M32X16 is a likely guess for CHIPTYPE on the card which
has landed in my lap?
Maybe the most important question is: Will a wrong algorithm choice let
the magic smoke out?
Erik
(With just one toenail on the road, so far.)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Flash on ep8248e standard motherboards
2007-09-13 8:25 ` Erik Christiansen
@ 2007-09-13 14:10 ` Ben Warren
2007-09-14 0:46 ` Erik Christiansen
0 siblings, 1 reply; 6+ messages in thread
From: Ben Warren @ 2007-09-13 14:10 UTC (permalink / raw)
To: Erik Christiansen; +Cc: linuxppc-embedded
Erik Christiansen wrote:
> On Tue, Sep 04, 2007 at 12:08:47PM -0600, Alan Bennett wrote:
>
>> BDI 2000 Config File:
>> ; initialize - FLASH BR0 & OR0 (64 Mbyte)
>> ;*******************************************
>> WM32 0xf0010100 0xfc001801
>> WM32 0xf0010104 0xfc0008c2
>> [FLASH]
>> CHIPTYPE MIRRORX16
>> CHIPSIZE 0x2000000
>> BUSWIDTH 16
>>
>
> Having just taken delivery of an ep8248e, I'm surprised that the
> supplied flash config is commented out and erroneous:
>
> [FLASH]
> ;CHIPTYPE AM29F ;Flash type (AM29F | AM29BX8 | AM29BX16 | I28BX8 | I28BX16)
> ;CHIPSIZE 0x200000 ;The size of one flash chip in bytes (e.g. AM29F010 = 0x20000)
> ;BUSWIDTH 8 ;The width of the flash memory bus in bits (8 | 16 | 32 | 64)
> ;
>
> Did you start with the Embedded Planet offering, in your current effort
> to create a usable config? Is MIRRORX16 more than a guess?
>
> I've found that my flash chips are "spansion GL256N10FFI02", which
> AFAICT are S29GL256N10FFI02 from AMD, as we used to know them.
> I wonder if S29M32X16 is a likely guess for CHIPTYPE on the card which
> has landed in my lap?
>
>
MIRRORX16 is the correct type for Spansion GL series NOR flash. AMD spun
off their flash business a while ago and renamed it Spansion. If you
look on the datasheet you'll see that Spansion calls the GL technology
'MirrorBit', and in all likelihood the device has a 16-bit data bus. The
AMD algorithm may work but the MIRRORX16 definitely will.
regards,
Ben
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Flash on ep8248e standard motherboards
2007-09-13 14:10 ` Ben Warren
@ 2007-09-14 0:46 ` Erik Christiansen
0 siblings, 0 replies; 6+ messages in thread
From: Erik Christiansen @ 2007-09-14 0:46 UTC (permalink / raw)
To: linuxppc-embedded
On Thu, Sep 13, 2007 at 10:10:06AM -0400, Ben Warren wrote:
> >
> MIRRORX16 is the correct type for Spansion GL series NOR flash. AMD spun
> off their flash business a while ago and renamed it Spansion. If you
> look on the datasheet you'll see that Spansion calls the GL technology
> 'MirrorBit', and in all likelihood the device has a 16-bit data bus. The
> AMD algorithm may work but the MIRRORX16 definitely will.
Yes, the "Flash Organisation" section of the ep8248e manual shows two
16-bit devices. (That's what seemed erroneous in the BDI2000 config file
supplied with the card. ;-)
Many thanks for putting me on the right track w.r.t. CHIPTYPE. It'll
save me trying all the wrong guesses first.
Regards,
Erik
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-09-14 0:46 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-04 18:08 Flash on ep8248e standard motherboards Alan Bennett
2007-09-12 9:10 ` Laurent Pinchart
2007-09-13 8:25 ` Erik Christiansen
2007-09-13 14:10 ` Ben Warren
2007-09-14 0:46 ` Erik Christiansen
-- strict thread matches above, loose matches on Subject: below --
2007-09-04 14:03 Newbie on embedded linux on PPC: error: cannot find boot.o Thomas Gerlach
2007-09-04 17:09 ` Flash on ep8248e standard motherboards Bennett, Alan
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 NNTP newsgroup(s).