[U-Boot-Users] how to run hello_world

hello everyone!
As described in u-boot readme file, to run hello_world example we have to write "loads", but this command doesnt seem to work with me and give the following msg
Unknown command 'loads' - try 'help'
and when i give the command go 40004 Hello World! This is a test.
following error msg appears
## Starting application at 0x00040004 ... Bus Fault @ 0x00000700, fixup 0x00000000 Machine check in kernel mode. Caused by (from msr): regs 03bc3190 Unknown values in msr NIP: 00000700 XER: 00000000 LR: 03FCE234 REGS: 03bc3190 TRAP: 0200 DAR: 03BC3268 MSR: 00001000 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 00
GPR00: 03FCE224 03BC3280 8C03115E 00000002 03BC3674 00000010 FFFFFFFE 00000004 GPR08: 00000041 FFF00208 00000000 FFF00211 00000030 00002002 03FF3000 C3FC4000 GPR16: 40022049 20224A10 03402C44 0000D00C 00003002 00000001 00000000 00000001 GPR24: 00000000 03BC3670 00000000 03BC3674 00040004 03BC3760 03FF35B0 00000002 Call backtrace: machine check
U-Boot 1.1.2 Version: 120/240804
MPC8250 Reset Status: Check Stop, External Soft, External Hard
MPC8250 Clock Configuration - Bus-to-Core Mult 3.5x, VCO Div 2, 60x Bus Freq 30-85 , Core Freq 100-300 - dfbrg 1, corecnf 0x1e, busdf 4, cpmdf 1, plldf 1, pllmf 4 - vco_out 333333330, scc_clk 83333332, brg_clk 20833333 - cpu_clk 233333331, cpm_clk 166666665, bus_clk 66666666
CPU: MPC8250 (HiP4 Rev 14, Mask B.1 4K25A) at 233.333 MHz Board: Marconi PUC I2C: ready DRAM: 64 MB FLASH: 8 MB Regular MDIO/MDC layout Net: FCC1 ETHERNET, FCC3 ETHERNET Enabled autonegotiation for PHY at addr 0 Enabled autonegotiation for PHY at addr 1 Hit any key to stop autoboot: 0 "U-Boot"
Please help me in this regard, as it migth be a minor error which i am unable to encounter. I am stuck at this point and cant start to write my own standalone applications.
Thanks in advance
Kind Regards
Chishti
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

In message 20041007160300.20228.qmail@web25404.mail.ukl.yahoo.com you wrote:
As described in u-boot readme file, to run hello_world example we have to write "loads", but this command doesnt seem to work with me and give the following msg Unknown command 'loads' - try 'help'
Then it seems this command was not enabled in your board configuration. But you can load the file using TFTP as well.
and when i give the command go 40004 Hello World! This is a test.
following error msg appears
Ummm.. did you really expect that some magic code would spring into life and do something reasonable when you jump to this address after you were not able to load any code? Gosh!
--0-1687066091-1097164980=:18993 Content-Type: text/html; charset=us-ascii
<P>hello everyone!</P>
AND NEVER POST HTML AGAIN!!!
Wolfgang Denk
participants (2)
-
Farrukh Masood
-
Wolfgang Denk