linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* The 2.6.25 kernel dosen't run on pq2fads based board
@ 2008-06-04 12:25 Matvejchikov Ilya
  2008-06-04 18:41 ` Scott Wood
  2008-06-05 19:04 ` Matvejchikov Ilya
  0 siblings, 2 replies; 4+ messages in thread
From: Matvejchikov Ilya @ 2008-06-04 12:25 UTC (permalink / raw)
  To: linuxppc-embedded

Hi all!

There is a problem with 2.6.25.4 kernel on the pq2fads based board.
The board resets after "MMU:exit" called (early debuging is used).See
the attached log:

========
## Booting kernel from Legacy Image at 00200000 ...
   Image Name:   Linux-2.6.25.4
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    1534783 Bytes =  1.5 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
## Flattened Device Tree blob at 00800000
   Booting using the fdt blob at 0x800000
   Loading Device Tree to 007fe000, end 007fffff ... OK
Xid mach(): done
MMU:enter
MMU:hw init
MMU:mapin
MMU:setio
MMU:exit
<<---- the reset was here :(

U-Boot 1.3.3-dirty (Jun  2 2008 - 15:43:45)

MPC8260 Reset Status: Check Stop, External Soft, External Hard

MPC8260 Clock Configuration
 - Bus-to-Core Mult 4x, VCO Div 2, 60x Bus Freq  25-75 , Core Freq 100-300
 - dfbrg 1, corecnf 0x1a, busdf 4, cpmdf 1, plldf 1, pllmf 4, pcidf 3
 - vco_out  330000000, scc_clk   82500000, brg_clk   20625000
 - cpu_clk  264000000, cpm_clk  165000000, bus_clk   66000000

CPU:   MPC8260 (HiP4 Rev 14, Mask C.0 5K25A) at 264 MHz
========

Can anyone help me with this?

Thanks.

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

* Re: The 2.6.25 kernel dosen't run on pq2fads based board
  2008-06-04 12:25 The 2.6.25 kernel dosen't run on pq2fads based board Matvejchikov Ilya
@ 2008-06-04 18:41 ` Scott Wood
  2008-06-05 19:04 ` Matvejchikov Ilya
  1 sibling, 0 replies; 4+ messages in thread
From: Scott Wood @ 2008-06-04 18:41 UTC (permalink / raw)
  To: matvejchikov; +Cc: linuxppc-embedded

Matvejchikov Ilya wrote:
> Hi all!
> 
> There is a problem with 2.6.25.4 kernel on the pq2fads based board.

Works for me using cuImage.

> ## Booting kernel from Legacy Image at 00200000 ...
>    Image Name:   Linux-2.6.25.4
>    Image Type:   PowerPC Linux Kernel Image (gzip compressed)
>    Data Size:    1534783 Bytes =  1.5 MB
>    Load Address: 00000000
>    Entry Point:  00000000
>    Verifying Checksum ... OK
>    Uncompressing Kernel Image ... OK
> ## Flattened Device Tree blob at 00800000
>    Booting using the fdt blob at 0x800000
>    Loading Device Tree to 007fe000, end 007fffff ... OK

I don't see FDT support for this board in current u-boot (I should 
really get around to fixing that...), so I assume you're using a 
modified u-boot?

> Xid mach(): done
> MMU:enter
> MMU:hw init
> MMU:mapin
> MMU:setio
> MMU:exit
> <<---- the reset was here :(

Perhaps your u-boot isn't properly filling in the memory node.

Oh, and just in case -- if you're using binutils 2.17, it's buggy.

-Scott

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

* Re: The 2.6.25 kernel dosen't run on pq2fads based board
  2008-06-04 12:25 The 2.6.25 kernel dosen't run on pq2fads based board Matvejchikov Ilya
  2008-06-04 18:41 ` Scott Wood
@ 2008-06-05 19:04 ` Matvejchikov Ilya
  2008-06-07 11:04   ` Detlev Zundel
  1 sibling, 1 reply; 4+ messages in thread
From: Matvejchikov Ilya @ 2008-06-05 19:04 UTC (permalink / raw)
  To: linuxppc-embedded

Solved. The problem was in zero-filled memory node in DTS file. U-boot
doesn't fix it and the kernel gots wrong value. Thanks to Scot Wood.

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

* Re: The 2.6.25 kernel dosen't run on pq2fads based board
  2008-06-05 19:04 ` Matvejchikov Ilya
@ 2008-06-07 11:04   ` Detlev Zundel
  0 siblings, 0 replies; 4+ messages in thread
From: Detlev Zundel @ 2008-06-07 11:04 UTC (permalink / raw)
  To: linuxppc-embedded

Hi Ilya,

> Solved. The problem was in zero-filled memory node in DTS file. U-boot
> doesn't fix it and the kernel gots wrong value. Thanks to Scot Wood.

So when do you post the patch for U-Boot? ;)

Cheers
  Detlev

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu@denx.de

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

end of thread, other threads:[~2008-06-07 11:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-04 12:25 The 2.6.25 kernel dosen't run on pq2fads based board Matvejchikov Ilya
2008-06-04 18:41 ` Scott Wood
2008-06-05 19:04 ` Matvejchikov Ilya
2008-06-07 11:04   ` Detlev Zundel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).