From: "Alan Bennett" <embedded@akb.net>
To: linuxppc-embedded@ozlabs.org
Subject: Flash on ep8248e standard motherboards
Date: Tue, 4 Sep 2007 12:08:47 -0600 [thread overview]
Message-ID: <bfa0697f0709041108u2c6b719dj600cb2eb25b66a4a@mail.gmail.com> (raw)
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
next reply other threads:[~2007-09-04 18:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-04 18:08 Alan Bennett [this message]
2007-09-12 9:10 ` Flash on ep8248e standard motherboards 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
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=bfa0697f0709041108u2c6b719dj600cb2eb25b66a4a@mail.gmail.com \
--to=embedded@akb.net \
--cc=linuxppc-embedded@ozlabs.org \
/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 NNTP newsgroup(s).