linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Still having problems trying to get it to boot: PPCBOOT, MPC8260
@ 2003-02-04  8:12 Jason Park
  2003-02-04  8:29 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Jason Park @ 2003-02-04  8:12 UTC (permalink / raw)
  To: LINUX MAILING LIST


Unfortunately, I'm still having some problems, and any info or light as to
which direction to go would be helpful (bear with me, I'm still an undergrad
student learning about all this stuff)

so here is what I have done so far
1)successfully installed ELDK from the DENX website on Red Hat 8.0 with
ppc_8260-gcc cross compiler working fine.

2)unpacked the source for PPCBOOT, my board is specifically the ep8260.
since it has a HRW set to boot from location 0xfff0000 in flash, i change
the appropriate starting location in the config.mk file for PPCBOOT then I

make distclean
make ep8260_config
make all

i get three ppcboot files
ppcboot (573516)
ppcboot.bin(181136)
ppcboot.srec(543460)
.. put them in the /tftpboot directory.

3)burn them into location 0xfff00000 with my trusty bdi.  it burns
correctly. (i can see that it has in fact written to that location with md
0xfff00000)

4)at prompt, i type in "reset", then "go" and it throws me into debug mode.
(or "go 0xfff00000")

i think i have followed the README from PPCBOOT correctly, as well as other
documentation given.  Is there a configuration or something im missing?


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

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

* Re: Still having problems trying to get it to boot: PPCBOOT, MPC8260
  2003-02-04  8:12 Still having problems trying to get it to boot: PPCBOOT, MPC8260 Jason Park
@ 2003-02-04  8:29 ` Wolfgang Denk
  2003-02-05  2:14   ` Jason Park
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2003-02-04  8:29 UTC (permalink / raw)
  To: Jason Park; +Cc: LINUX MAILING LIST


In message <000c01c2cc25$2ee65b20$5e207aa1@fish> you wrote:
>
> 2)unpacked the source for PPCBOOT, my board is specifically the ep8260.
> since it has a HRW set to boot from location 0xfff0000 in flash, i change
> the appropriate starting location in the config.mk file for PPCBOOT then I

Please explain what you changed; the config.mk for the  ep8260  board
reads "TEXT_BASE = 0xFFF00000" which looks OK to me.

> 4)at prompt, i type in "reset", then "go" and it throws me into debug mode.
> (or "go 0xfff00000")

Type "reset" and "info" and check where the PC is  pointing  to.  You
may  have  a  problem with your BDI's config file so the CPU does not
get stopped immediately after a reset, but  only  after  some  delay.
This  might explain that "reset" and "go" does not work. Also, please
note that  thge  reset  entry  point  is  at  offset  0x100,  so  "go
0xfff00000" is definitely wrong - try "go 0xfff00100" instead.

Another test: disconnect the BDI, and power-cycle the board.

Best regards,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Vor allem kein Gedanke! Nichts ist kompromittierender als ein  Gedan-
ke!            - Friedrich Wilhelm Nietzsche _Der Fall Wagner_ (1888)

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

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

* Re: Still having problems trying to get it to boot: PPCBOOT, MPC8260
  2003-02-04  8:29 ` Wolfgang Denk
@ 2003-02-05  2:14   ` Jason Park
  2003-02-05  9:14     ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Jason Park @ 2003-02-05  2:14 UTC (permalink / raw)
  To: Wolfgang Denk; +Cc: LINUX MAILING LIST


> Please explain what you changed; the config.mk for the  ep8260  board
> reads "TEXT_BASE = 0xFFF00000" which looks OK to me.

i did set TEXT_BASE = 0xFFF00000
i changed the makefile to pick the appropriate Cross Compiler.

ifndef CROSS_COMPILE
ifeq ($(HOSTARCH),ppc)
CROSS_COMPILE =
else
##  #ifeq ($(CPU),mpc8xx)
##  CROSS_COMPILE = ppc_8xx-
##  #endif
##  #ifeq ($(CPU),ppc4xx)
##  #CROSS_COMPILE = ppc_4xx-
##  #endif
##  #ifeq ($(CPU),mpc824x)
##  #CROSS_COMPILE = ppc_82xx-
##  #endif
ifeq ($(CPU),mpc8260)
CROSS_COMPILE = ppc_82xx-
endif
##  #ifeq ($(CPU),74xx_7xx)
##  #CROSS_COMPILE = ppc_74xx-)
##  #endif

##ifeq ($(ARCH),ppc)
##CROSS_COMPILE = ppc_8xx-
##endif
##ifeq ($(ARCH),arm)
##CROSS_COMPILE = arm_920TDI-
endif
endif
##endif

> Type "reset" and "info" and check where the PC is  pointing  to.  You
> may  have  a  problem with your BDI's config file so the CPU does not
> get stopped immediately after a reset, but  only  after  some  delay.
> This  might explain that "reset" and "go" does not work. Also, please
> note that  thge  reset  entry  point  is  at  offset  0x100,  so  "go
> 0xfff00000" is definitely wrong - try "go 0xfff00100" instead.

reset
info (PC: 0xfff00100)
go (it is actually running now.. but im not sure if it is running properly)
halt (PC: 0x03fdc420)

and.. this is what is at
md 0xfff00000
fff00000 : 10101010 10101010 40404040 40404040  ........@@@@@@@@
fff00010 : 02020202 02020202 45454545 45454545  ........EEEEEEEE
fff00020 : 00000000 00000000 00000000 00000000  ................
fff00030 : 00000000 00000000 00000000 00000000  ................
fff00040 : 00000000 00000000 00000000 00000000  ................
fff00050 : 00000000 00000000 00000000 00000000  ................
fff00060 : 00000000 00000000 00000000 00000000  ................
fff00070 : 00000000 00000000 00000000 00000000  ................
fff00080 : 00000000 00000000 00000000 00000000  ................
fff00090 : 00000000 00000000 00000000 00000000  ................
fff000a0 : 00000000 00000000 00000000 00000000  ................
fff000b0 : 00000000 00000000 00000000 00000000  ................
fff000c0 : 00000000 00000000 00000000 00000000  ................
fff000d0 : 00000000 00000000 00000000 00000000  ................
fff000e0 : 00000000 00000000 00000000 00000000  ................
fff000f0 : 00000000 00000000 00000000 00000000  ................

the output of the target board is just garbage characters now.

Tb.?.???
b?..???...?.a.B.?..?.V.?

Thanks,
Jason Park


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

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

* Re: Still having problems trying to get it to boot: PPCBOOT, MPC8260
  2003-02-05  2:14   ` Jason Park
@ 2003-02-05  9:14     ` Wolfgang Denk
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2003-02-05  9:14 UTC (permalink / raw)
  To: Jason Park; +Cc: LINUX MAILING LIST


In message <000801c2ccbc$74641830$5e207aa1@fish> you wrote:
>
> the output of the target board is just garbage characters now.
>
> Tb.?.???
> b?..???...?.a.B.?..?.V.?

Wrong baudrate?

Anyway: this is off  topic  on  the  linuxppc-embedded  list.  Better
continue this thread on the u-boot-users list.

Best regards,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Be careful what you wish for. You never know who will be listening.
                                      - Terry Pratchett, _Soul Music_

** 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-02-05  9:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-04  8:12 Still having problems trying to get it to boot: PPCBOOT, MPC8260 Jason Park
2003-02-04  8:29 ` Wolfgang Denk
2003-02-05  2:14   ` Jason Park
2003-02-05  9:14     ` Wolfgang Denk

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