* [U-Boot] standalone hello_world example crashes on PowerPC
@ 2012-03-30 6:46 Manukumar
0 siblings, 0 replies; 5+ messages in thread
From: Manukumar @ 2012-03-30 6:46 UTC (permalink / raw)
To: u-boot
I have also experienced the same problem,
by using command md.w E8008080 10.
according to our memory map of our custom board.
please give solution or what is the cause for this
problem.
manukumar
signal-networks
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] standalone hello_world example crashes on PowerPC
@ 2010-05-13 21:34 Timur Tabi
2010-05-13 22:52 ` Wolfgang Denk
0 siblings, 1 reply; 5+ messages in thread
From: Timur Tabi @ 2010-05-13 21:34 UTC (permalink / raw)
To: u-boot
Has anyone tried recently to run the "hello world" example standalone
program on PowerPC, specifically an e500 system? When I try it, I get
this:
=> tftp 40000 timur/hello_world.bin
Using FM1 at DTSEC1 device
TFTP from server 192.168.1.1; our IP address is 192.168.1.145
Filename 'timur/hello_world.bin'.
Load address: 0x40000
Loading: #####
done
Bytes transferred = 66486 (103b6 hex)
=> go 40004 This is another test.
## Starting application at 0x00040004 ...
Bad trap at PC: 0, SR: 29200, vector=800
NIP: 00000000 XER: 20000000 LR: 00040040 REGS: 7fe2dcc8 TRAP: 0800 DAR: 00000000
MSR: 00029200 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 00
GPR00: 00040030 7FE2DDB8 7FE2DF40 00040304 00000006 7FE38804 00040004 00000010
GPR08: 00000000 00000003 00000030 00000000 48224082 00000000 7FF9FA00 00000000
GPR16: 00000000 7FF94000 7FFB1228 7FF9C424 00000000 00000000 00000000 7FE386F8
GPR24: 00000000 00000000 00000000 00000000 7FE38804 00000005 0005838E 00000000
Call backtrace:
00040030 00000000
Exception in kernel pc 0 signal 0
### ERROR ### Please RESET the board ###
I just want to make sure I'm not doing anything dumb before I start
debugging it.
--
Timur Tabi
Linux kernel developer at Freescale
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] standalone hello_world example crashes on PowerPC
2010-05-13 21:34 Timur Tabi
@ 2010-05-13 22:52 ` Wolfgang Denk
2010-05-14 13:13 ` Timur Tabi
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2010-05-13 22:52 UTC (permalink / raw)
To: u-boot
Dear Timur Tabi,
In message <AANLkTilu1VfVkh1jz1s_aKIn1AmJOthAf3n4D81b99So@mail.gmail.com> you wrote:
> Has anyone tried recently to run the "hello world" example standalone
> program on PowerPC, specifically an e500 system? When I try it, I get
> this:
Did you verify the entry point address as described in the FAQ?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You might not be as stupid as you look. This is not hard. Let's think
about this. I mean ... I'll think about this, and you can join in
when you know the words. - Terry Pratchett, _Men at Arms_
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] standalone hello_world example crashes on PowerPC
2010-05-13 22:52 ` Wolfgang Denk
@ 2010-05-14 13:13 ` Timur Tabi
2010-05-14 14:25 ` Wolfgang Denk
0 siblings, 1 reply; 5+ messages in thread
From: Timur Tabi @ 2010-05-14 13:13 UTC (permalink / raw)
To: u-boot
Wolfgang Denk wrote:
> Did you verify the entry point address as described in the FAQ?
Thanks, that was the problem. The entry point moved:
00040000 T hello_world
I suggest that you update the U-Boot Manual (specifically http://www.denx.de/wiki/DULG/UBootStandalone) to tell people to always use the nm command to find the entry point. That web page implies that compiling hello_world.c unmodified will always put the entry point at 40004. The statement, "It's configured to run at address 0x00040004" is false.
--
Timur Tabi
Linux Kernel Developer @ Freescale
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] standalone hello_world example crashes on PowerPC
2010-05-14 13:13 ` Timur Tabi
@ 2010-05-14 14:25 ` Wolfgang Denk
0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2010-05-14 14:25 UTC (permalink / raw)
To: u-boot
Dear Timur Tabi,
In message <4BED4C83.10600@freescale.com> you wrote:
> Wolfgang Denk wrote:
> > Did you verify the entry point address as described in the FAQ?
>
> Thanks, that was the problem. The entry point moved:
>
> 00040000 T hello_world
>
> I suggest that you update the U-Boot Manual (specifically http://www.denx.de/wiki/DULG/UBootStandalone) to tell people to always use the nm command to find the entry point. That web page implies that compiling hello_world.c unmodified will always put t
> he entry point at 40004. The statement, "It's configured to run at address 0x00040004" is false.
Why don't you do this yourself? It's a wiki!
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Far back in the mists of ancient time, in the great and glorious days
of the former Galactic Empire, life was wild, rich and largely tax
free. - Douglas Adams, _The Hitchhiker's Guide to the Galaxy_
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-03-30 6:46 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-30 6:46 [U-Boot] standalone hello_world example crashes on PowerPC Manukumar
-- strict thread matches above, loose matches on Subject: below --
2010-05-13 21:34 Timur Tabi
2010-05-13 22:52 ` Wolfgang Denk
2010-05-14 13:13 ` Timur Tabi
2010-05-14 14:25 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox