Still having problems trying to get it to boot: PPCBOOT, MPC8260
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/
Quoted 4 lines · 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
0xfff0000in 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.
Quoted 2 lines
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: [email protected] 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/
Quoted 3 lines
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
Quoted 6 lines
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 "go0xfff00000" is definitely wrong - try "go0xfff00100" 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 0xfff00000fff00000 : 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/
Quoted 5 lines · 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: [email protected] 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/