public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Image.c get_table_entry_name
@ 2008-09-05 16:22 Swarthout Edward L-SWARTHOU
  2008-09-05 17:00 ` Peter Tyser
  0 siblings, 1 reply; 10+ messages in thread
From: Swarthout Edward L-SWARTHOU @ 2008-09-05 16:22 UTC (permalink / raw)
  To: u-boot

The string pointers in uimage_{arch,os,type,comp}[] are not being
relocated and still point to flash.
If flash is erased (all f's), this causes bootm to trap on a bad
pointer.

This is for powerpc (mpc8572ds).  How are they suppose to be relocated?

-EdS

=> boot
boot
## Booting kernel from Legacy Image at 01000000 ...
   Image Name:   Linux-2.6.26-f8572-8572ds-00610-
   Image Type:   Bad trap at PC: 3ffa7ae8, SR: 29200, vector=d00
NIP: 3FFA7AE8 XER: 20000000 LR: 3FFA74F8 REGS: 3fe9d8b0 TRAP: 0d00 DAR:
F0000000
MSR: 00029200 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 00

GPR00: 000000FF 3FE9D9A0 3FE9DF70 F0000000 00000000 3FE9D9E0 EFFB8358
EFFB8300 
GPR08: 000000A0 EFFB849C 3FFD7FD5 00000002 00000001 10030BD0 3FFEAC00
00000000 
GPR16: 3FFC28D0 3FFD782C 00000000 00000000 00000000 00000000 00000000
3FFD6168 
GPR24: 3FE9D9A8 3FE9D9EC 00000000 FFFFFFFF EFFB849C 3FE9D9EC 3FFEADCC
3FE9D9E0 

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

end of thread, other threads:[~2008-10-14  7:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-05 16:22 [U-Boot] Image.c get_table_entry_name Swarthout Edward L-SWARTHOU
2008-09-05 17:00 ` Peter Tyser
2008-09-08  8:26   ` [U-Boot] [PATCH RFC] mpc8572ds relocatable Ed Swarthout
2008-09-08 15:34     ` JerryVanBaren
2008-10-12 22:53     ` Wolfgang Denk
2008-10-12 23:55       ` Graeme Russ
2008-10-13 13:06       ` Joakim Tjernlund
2008-10-14  3:59         ` Swarthout Edward L
2008-10-14  7:58           ` Joakim Tjernlund
2008-10-14  3:58       ` Swarthout Edward L

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