From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from web15102.mail.cnb.yahoo.com (web15102.mail.cnb.yahoo.com [202.165.103.71]) by ozlabs.org (Postfix) with SMTP id 1F90BDDE2D for ; Wed, 30 Jan 2008 11:11:37 +1100 (EST) Date: Tue, 29 Jan 2008 16:11:35 -0800 (PST) From: jie han Subject: Help: I will port amcc yucca board to denx kernel ARCH=powepc directory.How to config dts file? To: linuxppc-embedded@ozlabs.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-314876389-1201651895=:20606" Message-ID: <593873.20606.qm@web15102.mail.cnb.yahoo.com> List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --0-314876389-1201651895=:20606 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 = ; virtual-reg = ; 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. --0-314876389-1201651895=:20606 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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. --0-314876389-1201651895=:20606--