All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] mpc512x: Trouble migrating from 2012.07 to 2013.01
@ 2013-01-23 15:24 Mats Kärrman
  2013-01-23 21:25 ` Wolfgang Denk
  0 siblings, 1 reply; 11+ messages in thread
From: Mats Kärrman @ 2013-01-23 15:24 UTC (permalink / raw)
  To: u-boot

> Now when I'm trying to migrate to U-Boot 2013.01 I face problems with a sudden hang. I see console output until the "Flash:" from arch/powerpc/lib/board.c::board_init_r() but nothing more until the board reboots on a watchdog reset after 30s.

Found that it was looping endlessly in arch/powerpc/lib/ticks.S::wait_ticks(). Reverting commit "ppc: Create a stack frame for wait_ticks()" made everything work again.

I am not fluent enough in powerpc assembly or gcc stack frames for the same to see exactly what is wrong. Perhaps someone with the necessary mileage could take a look?

BR // Mats

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [U-Boot] mpc512x: Trouble migrating from 2012.07 to 2013.01
@ 2013-01-23 13:17 Mats Kärrman
  2013-01-23 20:40 ` Wolfgang Denk
  0 siblings, 1 reply; 11+ messages in thread
From: Mats Kärrman @ 2013-01-23 13:17 UTC (permalink / raw)
  To: u-boot

Hi!

I have a system using a MPC5125 processor working fine using U-Boot 2012.07. I have based my board adaption etc on the mpc5121ads board and also patched the necessary parts of the serial port driver.

Now when I'm trying to migrate to U-Boot 2013.01 I face problems with a sudden hang. I see console output until the "Flash:" from arch/powerpc/lib/board.c::board_init_r() but nothing more until the board reboots on a watchdog reset after 30s.

I have looked for relevant changes in the U-Boot code and tried some printf debugging. So far I have been unable to pin down exactly where things go wrong.

Question: To help me decide where to look I would like to know if anyone has built the mpc5121ads board configuration using U-Boot 2013.01 and actually tested that it is still working?

Thanks & best regards,
Mats

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

end of thread, other threads:[~2013-01-24 13:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-23 15:24 [U-Boot] mpc512x: Trouble migrating from 2012.07 to 2013.01 Mats Kärrman
2013-01-23 21:25 ` Wolfgang Denk
2013-01-23 21:58   ` Mats Kärrman
2013-01-24  8:40     ` Joakim Tjernlund
     [not found]     ` <OFD3C888A1.560BEE31-ONC1257AFD.002DB246-C1257AFD.002FAD45@LocalDomain>
2013-01-24  8:58       ` Joakim Tjernlund
     [not found]       ` <OF5A9C9414.751DE82C-ONC1257AFD.0030970D-C1257AFD.00314F3A@LocalDomain>
2013-01-24  9:21         ` Joakim Tjernlund
2013-01-24 11:54           ` Mats Kärrman
2013-01-24 13:31           ` Mats Kärrman
2013-01-24 13:48             ` Joakim Tjernlund
  -- strict thread matches above, loose matches on Subject: below --
2013-01-23 13:17 Mats Kärrman
2013-01-23 20:40 ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.