Skip to contentSkip to conversation

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

DISCUSSION jie han 2 participants 2 messages Jan 30, 2008

lore
Share & tools
lore

jie han

author
#0 lore raw

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.

#1 lore raw
Quoted 2 lines · On Tue, 29 Jan 2008 16:11:35 -0800 (PST) jie han <[email protected]> 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