public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] MPC8349Emitx-GP hangs with latest u-boot
@ 2007-05-04  6:52 Gregoire Banderet
  2007-05-04 13:36 ` Timur Tabi
  0 siblings, 1 reply; 4+ messages in thread
From: Gregoire Banderet @ 2007-05-04  6:52 UTC (permalink / raw)
  To: u-boot

Hello,

Using the latest sources from u-boot, my MPC8349Emitx-GP hangs after a 
few seconds when I'm in userspace (i.e. after Linux successfully 
booted). I tried both vanilla linux 2.6.20 and 2.6.14 from WindRiver, 
same result.

When I use u-boot 1.1.3 with patches from Freescale, the system is OK.
I also tried the latest u-boot with linux 2.6.20 on a MPC8349Emds board 
and everything is fine.

I tried disabling nearly all the buses/devices in the Device Tree, but 
the system still hangs (even the serial console does not respond).

What (in u-boot) could make my system hang when linux is up and running?

-- 
Greg

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

* [U-Boot-Users] MPC8349Emitx-GP hangs with latest u-boot
  2007-05-04  6:52 [U-Boot-Users] MPC8349Emitx-GP hangs with latest u-boot Gregoire Banderet
@ 2007-05-04 13:36 ` Timur Tabi
  2007-05-04 14:16   ` Gregoire Banderet
  0 siblings, 1 reply; 4+ messages in thread
From: Timur Tabi @ 2007-05-04 13:36 UTC (permalink / raw)
  To: u-boot

Gregoire Banderet wrote:
> Hello,
> 
> Using the latest sources from u-boot, my MPC8349Emitx-GP hangs after a 
> few seconds when I'm in userspace (i.e. after Linux successfully 
> booted). I tried both vanilla linux 2.6.20 and 2.6.14 from WindRiver, 
> same result.

That's a new one.

> When I use u-boot 1.1.3 with patches from Freescale, the system is OK.

Weird.  The only thing I can suggest is that perhaps you need the 
CFG_DDR_SDRAM_CLK_CNTL fix for the latest U-Boot.

In MPC8349ITX.h, add this line

#define CFG_DDR_SDRAM_CLK_CNTL	(DDR_SDRAM_CLK_CNTL_SS_EN | 
DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05)

right after this line:

#define CFG_MEMTEST_END		0x2000

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

* [U-Boot-Users] MPC8349Emitx-GP hangs with latest u-boot
  2007-05-04 13:36 ` Timur Tabi
@ 2007-05-04 14:16   ` Gregoire Banderet
  2007-05-04 16:05     ` Timur Tabi
  0 siblings, 1 reply; 4+ messages in thread
From: Gregoire Banderet @ 2007-05-04 14:16 UTC (permalink / raw)
  To: u-boot

Timur Tabi wrote:
> Gregoire Banderet wrote:
>> Hello,
>>
>> Using the latest sources from u-boot, my MPC8349Emitx-GP hangs after a 
>> few seconds when I'm in userspace (i.e. after Linux successfully 
>> booted). I tried both vanilla linux 2.6.20 and 2.6.14 from WindRiver, 
>> same result.
> 
> That's a new one.
> 
>> When I use u-boot 1.1.3 with patches from Freescale, the system is OK.
> 
> Weird.  The only thing I can suggest is that perhaps you need the 
> CFG_DDR_SDRAM_CLK_CNTL fix for the latest U-Boot.

Whaoo! No more hangs. *Thanks*.

-- 
Greg

> 
> In MPC8349ITX.h, add this line
> 
> #define CFG_DDR_SDRAM_CLK_CNTL    (DDR_SDRAM_CLK_CNTL_SS_EN | 
> DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05)
> 
> right after this line:
> 
> #define CFG_MEMTEST_END        0x2000
> 

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

* [U-Boot-Users] MPC8349Emitx-GP hangs with latest u-boot
  2007-05-04 14:16   ` Gregoire Banderet
@ 2007-05-04 16:05     ` Timur Tabi
  0 siblings, 0 replies; 4+ messages in thread
From: Timur Tabi @ 2007-05-04 16:05 UTC (permalink / raw)
  To: u-boot

Gregoire Banderet wrote:

  fix for the latest U-Boot.
> 
> Whaoo! No more hangs. *Thanks*.

I'm glad it works.  It's weird - I wrote the code for the ITX almost 9 months ago, and 
suddenly people are reporting problems related to CFG_DDR_SDRAM_CLK_CNTL.  The board I use 
to test never experienced this problem.

Anyway, this fix is already in the uboot-83xx repo and will be merged into WD's repo soon.

-- 
Timur Tabi
Linux Kernel Developer @ Freescale

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

end of thread, other threads:[~2007-05-04 16:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-04  6:52 [U-Boot-Users] MPC8349Emitx-GP hangs with latest u-boot Gregoire Banderet
2007-05-04 13:36 ` Timur Tabi
2007-05-04 14:16   ` Gregoire Banderet
2007-05-04 16:05     ` Timur Tabi

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