[ELDK] ELDK Linux 2.6.29, MPC885ADS and early console

Sylvain ANDRE sandre at assystem.com
Wed Apr 8 12:28:34 CEST 2009


Hello,


here is the fdt command line and log from uboot boot to the last line I 
can see on the console.


    Sylvain ANDRE.

************************************* FDT 
***********************************************
=>tftpot 500000 mpc885.dtb
Using FEC ETHERNET device
TFTP from server 172.28.20.220; our IP address is 172.28.20.221
Filename 'mpc885.dtb'.
Load address: 0x500000
Loading: T #
done
Bytes transferred = 8002 (1f42 hex)
=>fdt addr 500000
=>fdt print
/ {
        model = "MPC885ADS";
        compatible = "fsl,mpc885ads";
        #address-cells = <0x1>;
        #size-cells = <0x1>;
        cpus {
                #address-cells = <0x1>;
                #size-cells = <0x0>;
                PowerPC,885 at 0 {
                        device_type = "cpu";
                        reg = <0x0>;
                        d-cache-line-size = <0x10>;
                        i-cache-line-size = <0x10>;
                        d-cache-size = <0x2000>;
                        i-cache-size = <0x2000>;
                        timebase-frequency = <0x0>;
                        bus-frequency = <0x2625a00>;
                        clock-frequency = <0x4c4b400>;
                        interrupts = <0xf 0x2>;
                        interrupt-parent = <0x1>;
                };
        };
        memory {
                device_type = "memory";
                reg = <0x0 0x10000000>;
        };
        localbus at ff000100 {
                compatible = "fsl,mpc885-localbus", "fsl,pq1-localbus";
                #address-cells = <0x2>;
                #size-cells = <0x1>;
                reg = <0xff000100 0x40>;
                ranges = <0x0 0x0 0xfe000000 0x800000 0x1 0x0 0xff080000 
0x8000 0x5 0x0 0xff0a0000 0x8000>;
                flash at 0,0 {
                        compatible = "jedec-flash";
                        reg = <0x0 0x0 0x800000>;
                        bank-width = <0x4>;
                        device-width = <0x1>;
                };
                board-control at 1,0 {
                        reg = <0x1 0x0 0x20 0x5 0x300 0x4>;
                        compatible = "fsl,mpc885ads-bcsr";
                };
        };
        soc at ff000000 {
                compatible = "fsl,mpc885", "fsl,pq1-soc";
                #address-cells = <0x1>;
                #size-cells = <0x1>;
                device_type = "soc";
                ranges = <0x0 0xff000000 0x4000>;
                bus-frequency = <0x0>;
                reg = <0xff000000 0x4000>;
                mdio at e00 {
                        compatible = "fsl,mpc885-fec-mdio", 
"fsl,pq1-fec-mdio";
                        reg = <0xe00 0x188>;
                        #address-cells = <0x1>;
                        #size-cells = <0x0>;
                        ethernet-phy at 0 {
                                reg = <0x0>;
                                device_type = "ethernet-phy";
                                linux,phandle = <0x2>;
                        };
                        ethernet-phy at 1 {
                                reg = <0x1>;
                                device_type = "ethernet-phy";
                                linux,phandle = <0x3>;
                        };
                        ethernet-phy at 2 {
                                reg = <0x2>;
                                device_type = "ethernet-phy";
                                linux,phandle = <0x5>;
                        };
                };
                ethernet at e00 {
                        device_type = "network";
                        compatible = "fsl,mpc885-fec-enet", 
"fsl,pq1-fec-enet";
                        reg = <0xe00 0x188>;
                        local-mac-address = [00 00 00 00 00 00];
                        interrupts = <0x3 0x1>;
                        interrupt-parent = <0x1>;
                        phy-handle = <0x2>;
                        linux,network-index = <0x0>;
                };
                ethernet at 1e00 {
                        device_type = "network";
                        compatible = "fsl,mpc885-fec-enet", 
"fsl,pq1-fec-enet";
                        reg = <0x1e00 0x188>;
                        local-mac-address = [00 00 00 00 00 00];
                        interrupts = <0x7 0x1>;
                        interrupt-parent = <0x1>;
                        phy-handle = <0x3>;
                        linux,network-index = <0x1>;
                };
                interrupt-controller at 0 {
                        interrupt-controller;
                        #interrupt-cells = <0x2>;
                        reg = <0x0 0x24>;
                        compatible = "fsl,mpc885-pic", "fsl,pq1-pic";
                        linux,phandle = <0x1>;
                };
                pcmcia at 80 {
                        #address-cells = <0x3>;
                        #interrupt-cells = <0x1>;
                        #size-cells = <0x2>;
                        compatible = "fsl,pq-pcmcia";
                        device_type = "pcmcia";
                        reg = <0x80 0x80>;
                        interrupt-parent = <0x1>;
                        interrupts = <0xd 0x1>;
                };
                cpm at 9c0 {
                        #address-cells = <0x1>;
                        #size-cells = <0x1>;
                        compatible = "fsl,mpc885-cpm", "fsl,cpm1";
                        command-proc = <0x9c0>;
                        interrupts = <0x0>;
                        interrupt-parent = <0x4>;
                        reg = <0x9c0 0x40>;
                        ranges;
                        muram at 2000 {
                                #address-cells = <0x1>;
                                #size-cells = <0x1>;
                                ranges = <0x0 0x2000 0x2000>;
                                data at 0 {
                                        compatible = "fsl,cpm-muram-data";
                                        reg = <0x0 0x1c00>;
                                };
                        };
                        brg at 9f0 {
                                compatible = "fsl,mpc885-brg", 
"fsl,cpm1-brg", "fsl,cpm-brg";
                                clock-frequency = <0x0>;
                                reg = <0x9f0 0x10>;
                        };
                        interrupt-controller at 930 {
                                interrupt-controller;
                                #interrupt-cells = <0x1>;
                                interrupts = <0x5 0x2 0x0 0x2>;
                                interrupt-parent = <0x1>;
                                reg = <0x930 0x20>;
                                compatible = "fsl,mpc885-cpm-pic", 
"fsl,cpm1-pic";
                                linux,phandle = <0x4>;
                        };
                        serial at a80 {
                                device_type = "serial";
                                compatible = "fsl,mpc885-smc-uart", 
"fsl,cpm1-smc-uart";
                                reg = <0xa80 0x10 0x3e80 0x40>;
                                interrupts = <0x4>;
                                interrupt-parent = <0x4>;
                                fsl,cpm-brg = <0x1>;
                                fsl,cpm-command = <0x90>;
                        };
                        serial at a90 {
                                device_type = "serial";
                                compatible = "fsl,mpc885-smc-uart", 
"fsl,cpm1-smc-uart";
                                reg = <0xa90 0x10 0x3f80 0x40>;
                                interrupts = <0x3>;
                                interrupt-parent = <0x4>;
                                fsl,cpm-brg = <0x2>;
                                fsl,cpm-command = <0xd0>;
                        };
                        ethernet at a40 {
                                device_type = "network";
                                compatible = "fsl,mpc885-scc-enet", 
"fsl,cpm1-scc-enet";
                                reg = <0xa40 0x18 0x3e00 0x100>;
                                local-mac-address = [00 00 00 00 00 00];
                                interrupts = <0x1c>;
                                interrupt-parent = <0x4>;
                                phy-handle = <0x5>;
                                fsl,cpm-command = <0x80>;
                                linux,network-index = <0x2>;
                        };
                        i2c at 860 {
                                compatible = "fsl,mpc885-i2c", 
"fsl,cpm1-i2c";
                                reg = <0x860 0x20 0x3c80 0x30>;
                                interrupts = <0x10>;
                                interrupt-parent = <0x4>;
                                fsl,cpm-command = <0x10>;
                                #address-cells = <0x1>;
                                #size-cells = <0x0>;
                        };
                };
        };
        chosen {
                linux,stdout-path = "/soc/cpm/serial at a80";
        };
};




************************************* U-BOOT 
***********************************************
U-Boot 1.3.4 (Apr  6 2009 - 15:11:48)

CPU:   MPC885ZPnn at 80 MHz: 8 kB I-Cache 8 kB D-Cache FEC present
Board: MPC885ADS
DRAM:  (40 MB SDRAM) 40 MB
FLASH:  8 MB
In:    serial
Out:   serial
Err:   serial
Net:   FEC ETHERNET
Hit any key to stop autoboot:  0

=>tftpboot 300000 uImage
Using FEC ETHERNET device
TFTP from server 172.28.20.220; our IP address is 172.28.20.221
Filename 'uImage'.
Load address: 0x300000
Loading: T #################################################
done
Bytes transferred = 715106 (ae962 hex)
=>tftpot 500000 mpc885.dtb
Using FEC ETHERNET device
TFTP from server 172.28.20.220; our IP address is 172.28.20.221
Filename 'mpc885.dtb'.
Load address: 0x500000
Loading: T #
done
Bytes transferred = 8002 (1f42 hex)
=>bootm 300000 - 500000
## Booting kernel from Legacy Image at 00300000 ...
   Image Name:   Linux-2.6.29-rc7
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    715042 Bytes = 698.3 kB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
It's my turn now !!!
   kernel loaded at 0x00000000, end = 0x001779c4
LMB Reserve
And now booting ...
Size OK
## Current stack ends at 0x025509a8
*  fdt: cmdline image address = 0x00500000
## Checking for 'FDT'/'FDT Image' at 00500000
*  fdt: raw FDT blob
## Flattened Device Tree blob at 00500000
   Booting using the fdt blob at 0x500000
   of_flat_tree at 0x00500000 size 0x00001f42
GetEntryPoint
RamdiskFound
## Transferring control to Linux (at address 00000000) ...
   Booting using OF flat tree...


More information about the eldk mailing list