public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] mcf5307, timer 2 issue loading linux
@ 2011-08-03  8:09 angelo
  2011-08-03 12:50 ` Greg Ungerer
  2011-08-03 13:07 ` Wolfgang Denk
  0 siblings, 2 replies; 5+ messages in thread
From: angelo @ 2011-08-03  8:09 UTC (permalink / raw)
  To: u-boot

Hi all,

i am reporting the following issue, maybe related to something wrong in 
my new mcf5307 support addition (still under testing), or maybe not:


1. U-Boot run correctly, timer2 is enabled as a system timestamp counter.
2. I load a uClinux bianry from flash to SDRAM with  "cp.l FLASH_ADDR 
SDRAM_ADDR SIZE/4
3. i launch the binary with "go SDRAM_ADDR"

First startup of linux (head.S) is locked, since U-boot timer2 interrupt 
happen, exactly while linux startup (in head.S) is moving ROMFS inside 
sdram.
After the interrupt happen, i was assuming it return correctly allowing 
linux to load, but execution is locked inside this ROMFS copy of head.S.

Disabling the timer2 init in board.c, linux is loaded as expected.

Shouldn't timer2 be disabled for al coldfire models before loading linux ?

Every help is appreciated.

reagrds,
angelo

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

end of thread, other threads:[~2011-08-03 13:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-03  8:09 [U-Boot] mcf5307, timer 2 issue loading linux angelo
2011-08-03 12:50 ` Greg Ungerer
2011-08-03 13:06   ` angelo
2011-08-03 13:07 ` Wolfgang Denk
2011-08-03 13:29   ` angelo

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