Hi Eric,<br>
<br>
I am building the linux kernel V-2.6.27  based on MPC8349miTXGP dts file.<br>
I am still not able to boot the cuImage.<br>
<br>
But, I see serial outuput from kernel when I try to boot with &lt;kernel&gt; &lt;ramdisk&gt; &lt;dtb file&gt;<br>
<br>
Still the kernel hangs after &quot;Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)&quot;.<br>
<br>
Any clues ..?? We have DDR2 in this board and we are initializing it in U-Boot. <br>
<br>
Please find the screen dump below:<br>
<br>
Thanks,<br>
Junita<br>
<br>
Screen shot:<br>
===========<br>
u-boot&gt; bootm 0x2000000 0x3000000 0x4000000<br>
## Booting image at 02000000 ...<br>
   Image Name:   Linux-2.6.27.18-svn52-dirty8<br>
   Created:      2009-12-08  23:49:28 UTC<br>
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)<br>
   Data Size:    1416039 Bytes =  1.4 MB<br>
   Load Address: 00000000<br>
   Entry Point:  00000000<br>
   Verifying Checksum ... OK<br>
   Uncompressing Kernel Image ... OK<br>
## Current stack ends at 0x0FF9BD48 =&gt; set upper limit to 0x00800000<br>
## cmdline at 0x007FFF00 ... 0x007FFFA6<br>
bd address  = 0x0FF9BFC4<br>
memstart    = 0x00000000<br>
memsize     = 0x10000000<br>
flashstart  = 0xFE000000<br>
flashsize   = 0x00080000<br>
flashoffset = 0x00034000<br>
sramstart   = 0x00000000<br>
sramsize    = 0x00000000<br>
bootflags   = 0x00000001<br>
intfreq     = 399.999 MHz<br>
busfreq     = 266.666 MHz<br>
ethaddr     = 00:E0:0C:00:8C:01<br>
IP addr     = 192.168.201.199<br>
baudrate    = 115200 bps<br>
Not skipping initrd<br>
## Loading RAMDisk Image at 03000000 ...<br>
   Image Name:   uboot ext2 ramdisk rootfs<br>
   Created:      2009-10-30  20:15:22 UTC<br>
   Image Type:   PowerPC Linux RAMDisk Image (gzip compressed)<br>
   Data Size:    3889103 Bytes =  3.7 MB<br>
   Load Address: 00000000<br>
   Entry Point:  00000000<br>
   Verifying Checksum ... OK<br>
   Booting using the fdt at 0x4000000<br>
## initrd at 0x03000040 ... 0x033B580E (len=3889103=0x3B57CF)<br>
   Loading Ramdisk to 0fbe5000, end 0ff9a7cf ... OK<br>
## device tree at 0x04000000 ... 0x04002FFF (len=12288=0x3000)<br>
   Loading Device Tree to 007fc000, end 007fefff ... OK<br>
Updating property &#39;/soc8349@e0000000/ethernet@24000/mac-address&#39;
=  00 e0 0c 001Updating property
&#39;/soc8349@e0000000/ethernet@24000/local-mac-address&#39; =  00
e01Updating property &#39;timebase-frequency&#39; =  03 f9 40 aa<br>
Updating property &#39;bus-frequency&#39; =  0f e5 02 a8<br>
Updating property &#39;clock-frequency&#39; =  17 d7 83 fc<br>
Updating property &#39;bus-frequency&#39; =  0f e5 02 a8<br>
Updating property &#39;clock-frequency&#39; =  0f e5 02 a8<br>
## Transferring control to Linux (at address 00000000) ...<br>
Using MPC834x ITX machine description<br>
Linux version 2.6.27.18-svn52-dirty8 (root@localhost.localdomain) (gcc version 9Found initrd at 0xcfbe5000:0xcff9a7cf<br>
console [udbg0] enabled<br>
setup_arch: bootmem<br>
mpc834x_itx_setup_arch()<br>
arch: exit<br>
Zone PFN ranges:<br>
  DMA      0x00000000 -&gt; 0x00010000<br>
  Normal   0x00010000 -&gt; 0x00010000<br>
Movable zone start PFN for each node<br>
early_node_map[1] active PFN ranges<br>
    0: 0x00000000 -&gt; 0x00010000<br>
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024<br>
Kernel command line: root=/dev/nfs rw nfsroot=192.168.200.230:/nfsroot/rootfs i0IPIC (128 IRQ sources) at fdffc700<br>
PID hash table entries: 1024 (order: 10, 4096 bytes)<br>
clocksource: timebase mult[3c00001] shift[22] registered<br>
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)<br>
<br>
<br>
<br>
<br><br><div><span class="gmail_quote">On 12/9/09, <b class="gmail_sendername">Lee, Eric</b> &lt;<a href="mailto:eric.lee@hp.com">eric.lee@hp.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I
would probably remove the bcsr region.  this was some cpld I
believe on a reference board.  with this dts it&#39;ll try to
write to some hardware registers that do not exist or are not mapped to
the same area.<br> <br><br> <br> <br> -----Original Message-----<br> From: linuxppc-dev-bounces+eric.lee=<a href="http://hp.com">hp.com</a>@<a href="http://lists.ozlabs.org">lists.ozlabs.org</a> [mailto:<a href="mailto:linuxppc-dev-bounces%2Beric.lee">linuxppc-dev-bounces+eric.lee</a>=<a href="http://hp.com">hp.com</a>@<a href="http://lists.ozlabs.org">lists.ozlabs.org</a>] On Behalf Of <a href="mailto:ajijuni@gmail.com">ajijuni@gmail.com</a><br>
 Sent: Sunday, December 06, 2009 11:41 PM<br> To: <a href="mailto:Linuxppc-dev@lists.ozlabs.org">Linuxppc-dev@lists.ozlabs.org</a><br> Subject: dts file for MPC8343EA<br> <br> Hi<br> <br> We have an MPC8343EA based custom board.<br>
 <br> I am not able to get Linux up and running in this. No serial output to debug further.<br>  U-boot shows correct &#39;bdinfo&#39; &amp; &#39;clocks&#39; output.<br> inux hangs at machine_probe.<br> <br> <br>I doubt the DTS file in Linux. anyone has DTS file for MPC8343??<br>
 <br> u-boot version - 1.3.2<br> linux-2.6.27<br> The board base files are drived from MPC8349Imtx-GP since we have the reference board in which we tested the linux image.<br> <br> My current DTS file<br> /dts-v1/;<br> <br>
 / {<br>        model = &quot;MPC8343&quot;;<br>        compatible = &quot;MPC8349EMDS&quot;, &quot;MPC834xMDS&quot;, &quot;MPC83xxMDS&quot;;<br>        linux,phandle = &lt;0x100&gt;;<br>        #size-cells = &lt;0x1&gt;;<br>
        #address-cells = &lt;0x1&gt;;<br> <br>        aliases {<br>                ethernet0 = &amp;enet0;<br>                ethernet1 = &amp;enet1;<br>                serial0 = &amp;serial0;<br>                serial1 = &amp;serial1;<br>
                pci0 = &amp;pci0;<br>                pci1 = &amp;pci1;<br>        };<br>         cpus {<br>                linux,phandle = &lt;0x200&gt;;<br>                #cpus = &lt;0x1&gt;;<br>                #address-cells = &lt;1&gt;;<br>
                #size-cells = &lt;0&gt;;<br> <br>  PowerPC,8343EA@0 {<br>                        device_type
= &quot;cpu&quot;;<br>                        reg
= &lt;0x0&gt;;<br>                        d-cache-line-size
= &lt;20&gt;;<br>                        i-cache-line-size
= &lt;20&gt;;<br>                        d-cache-size
= &lt;8000&gt;;<br>                        i-cache-size
= &lt;8000&gt;;<br>                        timebase-frequency
= &lt;0&gt;;       // from bootloader<br>                        bus-frequency
=
&lt;0&gt;;            //
from bootloader<br>                        clock-frequency
=
&lt;0&gt;;          //
from bootloader<br>                        32-bit;<br>                };<br>        };<br> <br> <br>        memory {<br>                device_type = &quot;memory&quot;;<br>                reg
= &lt;0x00000000 0x10000000&gt;;  // 256MB at 0<br>        };<br> <br>        bcsr@e2400000 {<br>                device_type = &quot;board-control&quot;;<br>                reg = &lt;0xe2400000 0x8000&gt;;<br>        };<br>
        soc8343@e0000000 {<br>                bus-frequency = &lt;0x1&gt;;<br>                reg = &lt;0xe0000000 0x200&gt;;<br>                ranges
= &lt;0x0 0xe0000000 0x100000&gt;;<br>                device_type = &quot;soc&quot;;<br>                #interrupt-cells = &lt;0x2&gt;;<br>                #size-cells = &lt;0x1&gt;;<br>                #address-cells = &lt;0x1&gt;;<br>
 <br>                wdt@200 {<br>                        device_type
= &quot;watchdog&quot;;<br>                        compatible
= &quot;mpc83xx_wdt&quot;;<br>                        reg
= &lt;0x200 0x100&gt;;<br>                };<br> <br> i2c@3000 {<br>                        #address-cells
= &lt;1&gt;;<br>                        #size-cells
= &lt;0&gt;;<br>                        cell-index
= &lt;0&gt;;<br>                        compatible
= &quot;fsl-i2c&quot;;<br>                        reg
= &lt;0x3000 0x100&gt;;<br>                        interrupts
= &lt;14 0x8&gt;;<br>                        interrupt-parent
= &lt;&amp;ipic&gt;;<br>                        dfsrr;<br> <br>                        rtc@68
{<br>                                compatible
= &quot;dallas,ds1374&quot;;<br>                                reg
= &lt;0x68&gt;;<br>                        };<br>                };<br> <br>                i2c@3100 {<br>                        #address-cells
= &lt;1&gt;;<br>                        #size-cells
= &lt;0&gt;;<br>                        cell-index
= &lt;1&gt;;<br>                        compatible
= &quot;fsl-i2c&quot;;<br>                        reg
= &lt;0x3100 0x100&gt;;<br>                        interrupts
= &lt;15 0x8&gt;;<br>                        interrupt-parent
= &lt;&amp;ipic&gt;;<br>                        dfsrr;<br>                };<br> <br>                spi@7000 {<br>                        cell-index
= &lt;0&gt;;<br>                        compatible
= &quot;fsl,spi&quot;;<br>                        reg
= &lt;0x7000 0x1000&gt;;<br>                        interrupts
= &lt;16 0x8&gt;;<br>                        interrupt-parent
= &lt;&amp;ipic&gt;;<br>                        mode
= &quot;cpu&quot;;<br>                };<br> <br> dma@82a8 {<br>                        #address-cells
= &lt;1&gt;;<br>                        #size-cells
= &lt;1&gt;;<br>                        compatible
= &quot;fsl,mpc8349-dma&quot;, &quot;fsl,elo-dma&quot;;<br>                        reg
= &lt;0x82a8 4&gt;;<br>                        ranges
= &lt;0 0x8100 0x1a8&gt;;<br>                        interrupt-parent
= &lt;&amp;ipic&gt;;<br>                        interrupts
= &lt;71 8&gt;;<br>                        cell-index
= &lt;0&gt;;<br>                        dma-channel@0
{<br>                                compatible
= &quot;fsl,mpc8349-dma-channel&quot;, &quot;fsl,elo-dma-channel&quot;;<br>                                reg
= &lt;0 0x80&gt;;<br>                                interrupt-parent
= &lt;&amp;ipic&gt;;<br>                                interrupts
= &lt;71 8&gt;;<br>                        };<br>                        dma-channel@80
{<br>                                compatible
= &quot;fsl,mpc8349-dma-channel&quot;, &quot;fsl,elo-dma-channel&quot;;<br>                                reg
= &lt;0x80 0x80&gt;;<br>                                interrupt-parent
= &lt;&amp;ipic&gt;;<br>                                interrupts
= &lt;71 8&gt;;<br>                        };<br>                        dma-channel@100
{<br>                                compatible
= &quot;fsl,mpc8349-dma-channel&quot;, &quot;fsl,elo-dma-channel&quot;;<br>                                reg
= &lt;0x100 0x80&gt;;<br>                                interrupt-parent
= &lt;&amp;ipic&gt;;<br>                                interrupts
= &lt;71 8&gt;;<br>                        };<br>                        dma-channel@180
{<br>                                compatible
= &quot;fsl,mpc8349-dma-channel&quot;, &quot;fsl,elo-dma-channel&quot;;<br>                                reg
= &lt;0x180 0x28&gt;;<br>                                interrupt-parent
= &lt;&amp;ipic&gt;;<br>                                interrupts
= &lt;71 8&gt;;<br>                        };<br>                };<br> /* phy type (ULPI or SERIAL) are only types supported for MPH */<br>                /* port = 0 or 1 */<br>                usb@22000 {<br>                        compatible
= &quot;fsl-usb2-mph&quot;;<br>                        reg
= &lt;0x22000 0x1000&gt;;<br>                        #address-cells
= &lt;1&gt;;<br>                        #size-cells
= &lt;0&gt;;<br>                        interrupt-parent
= &lt;&amp;ipic&gt;;<br>                        interrupts
= &lt;39 0x8&gt;;<br>                        phy_type
= &quot;ulpi&quot;;<br>                        port1;<br>                };<br>                /*
phy type (ULPI, UTMI, UTMI_WIDE, SERIAL) */<br>                usb@23000 {<br>                        compatible
= &quot;fsl-usb2-dr&quot;;<br>                        reg
= &lt;0x23000 0x1000&gt;;<br>                        #address-cells
= &lt;1&gt;;<br>                        #size-cells
= &lt;0&gt;;<br>                        interrupt-parent
= &lt;&amp;ipic&gt;;<br>                        interrupts
= &lt;38 0x8&gt;;<br>                        dr_mode
= &quot;otg&quot;;<br>                        phy_type
= &quot;ulpi&quot;;<br>                };<br> <br>                mdio@24520 {<br>                        #address-cells
= &lt;1&gt;;<br>                        #size-cells
= &lt;0&gt;;<br>                        compatible
= &quot;fsl,gianfar-mdio&quot;;<br>                        reg
= &lt;0x24520 0x20&gt;;<br> <br>                        phy0:
ethernet-phy@0 {<br>                                interrupt-parent
= &lt;&amp;ipic&gt;;<br>                                interrupts
= &lt;17 0x8&gt;;<br>                                reg
= &lt;0x0&gt;;<br>                                device_type
= &quot;ethernet-phy&quot;;<br>                        };<br>                        phy1:
ethernet-phy@1 {<br>                                interrupt-parent
= &lt;&amp;ipic&gt;;<br>                                interrupts
= &lt;18 0x8&gt;;<br>                                reg
= &lt;0x1&gt;;<br>                                device_type
= &quot;ethernet-phy&quot;;<br>                        };<br> enet0: ethernet@24000 {<br>                        cell-index
= &lt;0&gt;;<br>                        device_type
= &quot;network&quot;;<br>                        model
= &quot;TSEC&quot;;<br>                        compatible
= &quot;gianfar&quot;;<br>                        reg
= &lt;0x24000 0x1000&gt;;<br>                        local-mac-address
= [ 00 00 00 00 00 00 ];<br>                        interrupts
= &lt;32 0x8 33 0x8 34 0x8&gt;;<br>                        interrupt-parent
= &lt;&amp;ipic&gt;;<br>                        phy-handle
= &lt;&amp;phy0&gt;;<br>                        linux,network-index
= &lt;0&gt;;<br>                };<br> <br>                enet1: ethernet@25000 {<br>                        cell-index
= &lt;1&gt;;<br>                        device_type
= &quot;network&quot;;<br>                        model
= &quot;TSEC&quot;;<br>                        compatible
= &quot;gianfar&quot;;<br>                        reg
= &lt;0x25000 0x1000&gt;;<br>                        local-mac-address
= [ 00 00 00 00 00 00 ];<br>                        interrupts
= &lt;35 0x8 36 0x8 37 0x8&gt;;<br>                        interrupt-parent
= &lt;&amp;ipic&gt;;<br>                        phy-handle
= &lt;&amp;phy1&gt;;<br>                        linux,network-index
= &lt;1&gt;;<br>                };<br> <br> serial0: serial@4500 {<br>                        cell-index
= &lt;0&gt;;<br>                        device_type
= &quot;serial&quot;;<br>                        compatible
= &quot;ns16550&quot;;<br>                        reg
= &lt;0x4500 0x100&gt;;<br>                        clock-frequency
= &lt;0&gt;;<br>                        interrupts
= &lt;9 0x8&gt;;<br>                        interrupt-parent
= &lt;&amp;ipic&gt;;<br>                };<br> <br>                serial1: serial@4600 {<br>                        cell-index
= &lt;1&gt;;<br>                        device_type
= &quot;serial&quot;;<br>                        compatible
= &quot;ns16550&quot;;<br>                        reg
= &lt;0x4600 0x100&gt;;<br>                        clock-frequency
= &lt;0&gt;;<br>                        interrupts
= &lt;10 0x8&gt;;<br>                        interrupt-parent
= &lt;&amp;ipic&gt;;<br>                };<br> <br>                crypto@30000 {<br>                        compatible
= &quot;fsl,sec2.0&quot;;<br>                        reg
= &lt;0x30000 0x10000&gt;;<br>                        interrupts
= &lt;11 0x8&gt;;<br>                        interrupt-parent
= &lt;&amp;ipic&gt;;<br>                        fsl,num-channels
= &lt;4&gt;;<br>                        fsl,channel-fifo-len
= &lt;24&gt;;<br>                        fsl,exec-units-mask
= &lt;0x7e&gt;;<br>                        fsl,descriptor-types-mask
= &lt;0x01010ebf&gt;;<br>                };<br> <br> Thanks,<br> agnel<br> <br> _______________________________________________<br> Linuxppc-dev mailing list<br> <a href="mailto:Linuxppc-dev@lists.ozlabs.org">Linuxppc-dev@lists.ozlabs.org</a><br>
 <a href="https://lists.ozlabs.org/listinfo/linuxppc-dev">https://lists.ozlabs.org/listinfo/linuxppc-dev</a><br> </blockquote></div><br>