linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Problem with BDI2000 flash programming
@ 2003-01-23  0:20 Jason Park
  2003-01-23  0:46 ` Vladimir Gurevich
  0 siblings, 1 reply; 4+ messages in thread
From: Jason Park @ 2003-01-23  0:20 UTC (permalink / raw)
  To: linuxppc-embedded


hi, im new to this email list.. but i am having some problems with my board
and don't know where to turn.

target board: ep8260
host distribution: redhat 8.0 (with powerpc cross compilers)
debugger: BDI2000

problem: trying to burn a PPCBOOT image into the flash memory at location
0xFF10 0000

setting up the initial bdi configurations.. i get the following output:

[root@FISH gdbcop21]# ./bdisetup -v -s
BDI Type : BDI2000 Rev.C (SN: 94406634)
Loader   : V1.05
Firmware : V1.14 bdiGDB for PPC6xx/PPC7xx
Logic    : V1.02 PPC6xx/PPC7xx
MAC      : 00-40-49-fa-40-66
IP Addr  : 161.122.32.98
Subnet   : 255.255.255.0
Gateway  : 161.122.32.1
Host IP  : 161.122.32.94
Config   : ep8260.cfg.init

everything looks normal to me... i have the ep8260.cfg.init file in the
/tftpboot directory.  so at this point i will connect to the board with
telnet.

# telnet 161.122.32.98
Trying 161.122.32.98...
Connected to 161.122.32.98.
Escape character is '^]'.
BDI Debugger for Embedded PowerPC
=================================

PHYS  <address>              converts an effective to a physical address
****
****
other stuff here..
****
****
QUIT                         terminate the Telnet session

bdi2000>

since there is not error outputting that it cannot find the original
configuration file ep8260.cfg.init, i conclude that tftp worked properly.
i can read the flash memory, including the existing bootloader i got from
embedded planet. (planetcore at location 0xFFF0 000)
Now i place ppcboot.bin into the /tftpboot directory, and after checking
whats in memory location 0xFF10 0000 (there is nothing there), i proceed
to try and write into the flash:

bdi2000>prog 0xFF100000 ppcboot.bin bin
Programming ppcboot.bin , please wait ....
# Cannot open program file on host
bdi2000>

this is what i can't figure out.  i think that it must be a problem
with the hosts tftp configuration, but i did check the tftp server several
times, even connected it to other computers and swapping files.  could there
be a setting i missed in the BDI2000?


also.. i was wondering if there was more detailed documentation on using
the BDI2000 besides the manual that came with the prooduct and WD's PPCBoot
and Linux Guide.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* RE: Problem with BDI2000 flash programming
@ 2003-01-23  0:30 Rod Boyce
  2003-01-23  2:28 ` Jason Park
  0 siblings, 1 reply; 4+ messages in thread
From: Rod Boyce @ 2003-01-23  0:30 UTC (permalink / raw)
  To: 'Jason Park', linuxppc-embedded


You are going to need to check the settings in your BDI configuration file
(ep8260.cfg.init).  This file is going to need a flash section that details
the address of the flash, the type of flash, and what programming mode to
use.  You do not include that here so I'll assume that you have not added
this section.  Check you BDI manual for the flash settings and set it to
what your board uses.


Regards,
Rod Boyce.



-----Original Message-----
From: Jason Park [mailto:jason@amadeus.kist.re.kr]
Sent: Thursday, 23 January 2003 1:20 p.m.
To: linuxppc-embedded@lists.linuxppc.org
Subject: Problem with BDI2000 flash programming


hi, im new to this email list.. but i am having some problems with my board
and don't know where to turn.

target board: ep8260
host distribution: redhat 8.0 (with powerpc cross compilers)
debugger: BDI2000

problem: trying to burn a PPCBOOT image into the flash memory at location
0xFF10 0000

setting up the initial bdi configurations.. i get the following output:

[root@FISH gdbcop21]# ./bdisetup -v -s
BDI Type : BDI2000 Rev.C (SN: 94406634)
Loader   : V1.05
Firmware : V1.14 bdiGDB for PPC6xx/PPC7xx
Logic    : V1.02 PPC6xx/PPC7xx
MAC      : 00-40-49-fa-40-66
IP Addr  : 161.122.32.98
Subnet   : 255.255.255.0
Gateway  : 161.122.32.1
Host IP  : 161.122.32.94
Config   : ep8260.cfg.init

everything looks normal to me... i have the ep8260.cfg.init file in the
/tftpboot directory.  so at this point i will connect to the board with
telnet.

# telnet 161.122.32.98
Trying 161.122.32.98...
Connected to 161.122.32.98.
Escape character is '^]'.
BDI Debugger for Embedded PowerPC
=================================

PHYS  <address>              converts an effective to a physical address
****
****
other stuff here..
****
****
QUIT                         terminate the Telnet session

bdi2000>

since there is not error outputting that it cannot find the original
configuration file ep8260.cfg.init, i conclude that tftp worked properly.
i can read the flash memory, including the existing bootloader i got from
embedded planet. (planetcore at location 0xFFF0 000)
Now i place ppcboot.bin into the /tftpboot directory, and after checking
whats in memory location 0xFF10 0000 (there is nothing there), i proceed
to try and write into the flash:

bdi2000>prog 0xFF100000 ppcboot.bin bin
Programming ppcboot.bin , please wait ....
# Cannot open program file on host
bdi2000>

this is what i can't figure out.  i think that it must be a problem
with the hosts tftp configuration, but i did check the tftp server several
times, even connected it to other computers and swapping files.  could there
be a setting i missed in the BDI2000?


also.. i was wondering if there was more detailed documentation on using
the BDI2000 besides the manual that came with the prooduct and WD's PPCBoot
and Linux Guide.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: Problem with BDI2000 flash programming
  2003-01-23  0:20 Jason Park
@ 2003-01-23  0:46 ` Vladimir Gurevich
  0 siblings, 0 replies; 4+ messages in thread
From: Vladimir Gurevich @ 2003-01-23  0:46 UTC (permalink / raw)
  To: Jason Park; +Cc: linuxppc-embedded


Hi Jason,

You are correct that your BDI2000 downloads the config file
successfully. Otherwise, it should print a message like

          *** CONFIG: cannot open ep8260.cfg.init

all the time once you telnet to BDI.

I'd suggest you check permissions on /tftpboot/ppcboot.bin
It should be readable by all.

Happy hacking,
Vladimir Gurevich


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: Problem with BDI2000 flash programming
  2003-01-23  0:30 Problem with BDI2000 flash programming Rod Boyce
@ 2003-01-23  2:28 ` Jason Park
  0 siblings, 0 replies; 4+ messages in thread
From: Jason Park @ 2003-01-23  2:28 UTC (permalink / raw)
  To: Rod Boyce, linuxppc-embedded


thanks.

i figured out my problem.. it was in the cfg file..

i didn't have the [HOST] configured properly to
access the ppcboot.bin file.. only the ppcboot.srec file.

simple answer to a simple problem.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2003-01-23  2:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-23  0:30 Problem with BDI2000 flash programming Rod Boyce
2003-01-23  2:28 ` Jason Park
  -- strict thread matches above, loose matches on Subject: below --
2003-01-23  0:20 Jason Park
2003-01-23  0:46 ` Vladimir Gurevich

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