Help: I will port amcc yucca board to denx kernel ARCH=powepc directory.How to config dts file?

2 messages, 2 authors, 2008-01-30 · open the first message on its own page

Help: I will port amcc yucca board to denx kernel ARCH=powepc directory.How to config dts file?

From: jie han <hidden>
Date: 2008-01-30 00:11:37

Hi all,
I want to port amcc yucca board denx linux kernel from ARCH=ppc to ARCH=powerpc. I used sequoia.dts for yucca baord demo device tree file.
I set uart0 as follow:
            UART0: serial@f0000200 {
                   device_type = "serial";
                   compatible = "ns16550";
                   reg = <f0000200 8>;
                   virtual-reg = <f0000200>;
                   clock-frequency = <0>; /* Filled in by zImage */
                   current-speed = <1c200>;
                   interrupt-parent = <&UIC0>;
                   interrupts = <0 4>;
               };

    chosen {
        linux,stdout-path = "/plb/opb/serial@f0000300";
        bootargs = "console=ttyS0,115200";
    };

the other parts of dts file is same as sequoia.dts.
When I run kernel.the tlb entry setup is wrong,the physical addres should be 4f0000200,but kernel calcuate is 1f0000200.I know yucca dts file isn't right.how can I fix it?Give me some advices,Thanks ahead,

Sincerely,

Jie



       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

Re: Help: I will port amcc yucca board to denx kernel ARCH=powepc directory.How to config dts file?

From: Josh Boyer <hidden>
Date: 2008-01-30 01:50:48

On Tue, 29 Jan 2008 16:11:35 -0800 (PST)
jie han [off-list ref] wrote:
Hi all,
I want to port amcc yucca board denx linux kernel from ARCH=ppc to ARCH=powerpc. I used sequoia.dts for yucca baord demo device tree file.
I would start with the Katmai DTS instead.  It's at least the same CPU
type.

josh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help