public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] built examples but need help running them.
@ 2005-11-16 11:39 John Davis
  2005-11-16 11:50 ` Wolfgang Denk
  2005-11-16 12:22 ` Jerry Van Baren
  0 siblings, 2 replies; 4+ messages in thread
From: John Davis @ 2005-11-16 11:39 UTC (permalink / raw)
  To: u-boot

Hello

I rebuilt the firmware and even the examples directory using the ELDK.
Everthing went smooth. I have uploaded the firmware and am running it.

I am having trouble with the execution of the examples/hello_world app
though. The readme mentions "CU" is used to upload s-rec files. I am unsure
how to use that. I am not sure if it is a new executable or part of the
kermit. Anyway, I deviated from using the loads procedure with kermit to
using loadb with kermit. This is how I did it:

=> loadb
## Ready for binary (kermit) download to 0x00100000 at 57600 bps...
type ctrl-\
(/home/davis/cvs/tools/bringup/scripts/) C-Kermit>send
/home/davis/cvs/mcp4/uboot/mine/u-boot-1.1.2/examples/hello_world
the send completes
type c
## Total Size = 0x00013acc = 80588 Bytes
## Start Addr = 0x00100000

=> go 100000
## Starting application at 0x00100000 ...
NIP: 00100000 XER: 00000000 LR: 065C81D4 REGS: 06576c50 TRAP: 0700 DAR:
065C2728
MSR: 00029000 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 00

GPR00: 065C81C4 06576D40 0000051B 00000001 0659737C 00000016 00000016
004E4C34
GPR08: 065C272C 00000020 04FA1BE0 00FED260 00000030 00000000 065EFC00
06637000
GPR16: 00000000 00000000 00000000 0000000B 00000000 00000000 00000001
00000000
GPR24: 00000000 00000000 00000000 00000001 00100000 06576F40 065F0370
0659737C
** Illegal Instruction **
Call backtrace:
Program Check Exception

My flash starts at 0xfc000000
I have tried to loadb at that offset and then go from there. The result is
the same. I did a md to see if the file was uploaded correctly. I could see
the "elf" magic number in ascii so it looks like it is ok.


Any help is appreciated,

JD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20051116/64a7700e/attachment.htm 

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

end of thread, other threads:[~2005-11-16 14:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-16 11:39 [U-Boot-Users] built examples but need help running them John Davis
2005-11-16 11:50 ` Wolfgang Denk
2005-11-16 14:48   ` Andrew Wozniak
2005-11-16 12:22 ` Jerry Van Baren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox