* [U-Boot-Users] 8260 flash programming with BDI2000
@ 2003-01-31 4:59 Donald White
2003-01-31 8:17 ` Marius Groeger
0 siblings, 1 reply; 4+ messages in thread
From: Donald White @ 2003-01-31 4:59 UTC (permalink / raw)
To: u-boot
Hi Group,
About a year ago I ported ppcboot 1.0.5 and HHL 2.0 to a custom 860T board. I used
a wiggler to support that work and to migrate the ppcboot to U-Boot.
Today I was given a custom 8260 board and a BDI2000 with bdiGDB to use in porting
U-Boot and HHL 2.0. I have installed the hardware and can talk to the board.
Now here is my question. How do I use the BDI2000 to program flash? Do I just use
the telnet interface and do:
BDI>erase 0xfe000000 <step> <count> ;what is step?
BDI>prog 0 u-boot.srec SREC ;assuming u-boot is based at 0xfe000000
I am having trouble understanding the meaning of the telnet commands. Should I just
say I need bdiPro?
Thanks,
Don
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot-Users] 8260 flash programming with BDI2000
2003-01-31 4:59 [U-Boot-Users] 8260 flash programming with BDI2000 Donald White
@ 2003-01-31 8:17 ` Marius Groeger
2003-01-31 20:10 ` Wolfgang Denk
0 siblings, 1 reply; 4+ messages in thread
From: Marius Groeger @ 2003-01-31 8:17 UTC (permalink / raw)
To: u-boot
On Thu, 30 Jan 2003, Donald White wrote:
> BDI>erase 0xfe000000 <step> <count> ;what is step?
> BDI>prog 0 u-boot.srec SREC ;assuming u-boot is based at 0xfe000000
Assuming your flash parameters are set up correctly (CHIPTYPE,
CHIPSIZE, BUSWIDTH), you can just do an "erase 0xfe000000". (I never
used any parameters for the erase command, but I assume the manual you
received with the BDI2000 firmware software has some notes on it. :-)
Regards,
Marius
-----------------------------------------------------------------------------
Marius Groeger SYSGO Real-Time Solutions AG mgroeger at sysgo.de
Software Engineering Embedded and Real-Time Software www.sysgo.de
Voice: +49-6136-9948-0 Am Pfaffenstein 14 www.osek.de
FAX: +49-6136-9948-10 55270 Klein-Winternheim, Germany www.elinos.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot-Users] 8260 flash programming with BDI2000
2003-01-31 8:17 ` Marius Groeger
@ 2003-01-31 20:10 ` Wolfgang Denk
2003-02-02 15:40 ` Donald White
0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2003-01-31 20:10 UTC (permalink / raw)
To: u-boot
In message <Pine.LNX.4.52.0301310914020.1245@mag.devdep.sysgo.de> you wrote:
> On Thu, 30 Jan 2003, Donald White wrote:
>
> > BDI>erase 0xfe000000 <step> <count> ;what is step?
> > BDI>prog 0 u-boot.srec SREC ;assuming u-boot is based at 0xfe000000
>
> Assuming your flash parameters are set up correctly (CHIPTYPE,
> CHIPSIZE, BUSWIDTH), you can just do an "erase 0xfe000000". (I never
> used any parameters for the erase command, but I assume the manual you
> received with the BDI2000 firmware software has some notes on it. :-)
This will just erase the first flash sector starting at address
0xfe000000 - it depends on the flash sector size if this is
sufficient for the U-Boot image or not. With most bottom boot sector
types it will NOT be sufficient - you will need to know the sector
sizes of the flash chip and erase as many as needed.
For example on the TQM8260 board the following sequence is needed:
MPC8260>era 0
Erasing flash at 0x00000000
Erasing flash passed
MPC8260>era 0x10000
Erasing flash at 0x00010000
Erasing flash passed
MPC8260>era 0x18000
Erasing flash at 0x00018000
Erasing flash passed
MPC8260>era 0x20000
Erasing flash at 0x00020000
Erasing flash passed
MPC8260>prog 0 /tftpboot/ppcboot.bin bin
Programming /tftpboot/ppcboot.bin , please wait ....
Programming flash passed
Note that I usually do NOT initialize the memory controller registers
in the BDI config file, so flash is still addressed using the reset
mapping through CS0, i. e. it starts either at 0x0000 or at
0xFFF00000.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
"Who is the oldest inhabitant of this village?"
"We haven't got one; we had one, but he died three weeks ago."
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot-Users] 8260 flash programming with BDI2000
2003-01-31 20:10 ` Wolfgang Denk
@ 2003-02-02 15:40 ` Donald White
0 siblings, 0 replies; 4+ messages in thread
From: Donald White @ 2003-02-02 15:40 UTC (permalink / raw)
To: u-boot
All,
Thanks for the help and the examples. I can flash. Now I just have to develop
something worth flashing.
Don
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-02-02 15:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-31 4:59 [U-Boot-Users] 8260 flash programming with BDI2000 Donald White
2003-01-31 8:17 ` Marius Groeger
2003-01-31 20:10 ` Wolfgang Denk
2003-02-02 15:40 ` Donald White
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox