P2041 : RGMII Configuration in device tree

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

P2041 : RGMII Configuration in device tree

6,164 Views
madhurwani
Contributor I

We are using custom P2041 based board & using two VSC8572 chips. One of them is configured in SGMII mode & Other in RGMII mode. With 'mii' command in u-boot we wrote few initialization commands to both PHY chips & got them working.

The PHY Addresses are as follos:

DTSEC1 : PHY address 0x00     : SGMII (Chip 1 - Port 1)

DTSEC2 : PHY address 0x01     : SGMII (Chip 1 - Port 2)

DTSEC4 : PHY address 0x04     : RGMII (Chip 2 - Port 1)

DTSEC5 : PHY address 0x05     : RGMII (Chip 2 - Port 2)

 

These DTSECs are working fine in u-boot.

When I modified Device Tree in Linux, I could enable & use both SGMII ports.

However RGMII ports are not working with the configurations I did in device tree.

Can you please check whether I am configuring DTS properly or not?

PFA for DTS file.

Original Attachment has been moved to: Working.dts.zip

Labels (1)
0 Kudos
Reply
4 Replies

1,879 Views
noufalp90
Contributor III

Hi @madhurwani ,

 

Can you please share the mii commands used for configuring VSC8572 in u-boot for RGMII mode?

 

Thanks,

Noufal P

0 Kudos
Reply

4,255 Views
yipingwang
NXP TechSupport
NXP TechSupport

Would you please also provide Linux Kernel boot up log?

Thanks,

Yiping

0 Kudos
Reply

4,255 Views
madhurwani
Contributor I

OF: default map, cp=0, s=16777216, da=5120000

OF: parent translation for: 0000000f fe000000

OF: with offset: 5120000

OF: one level translation: 0000000f fe4e2000

OF: reached root node

OF: ** translation for device ethernet@e6000 **

OF: bus is default (na=1, ns=1) on fman@400000

OF: translating address: 000e6000

OF: parent bus is default (na=1, ns=1) on soc@ffe000000

OF: walking ranges...

OF: default map, cp=0, s=1048576, da=942080

OF: parent translation for: 00400000

OF: with offset: 942080

OF: one level translation: 004e6000

OF: parent bus is default (na=2, ns=2) on

OF: walking ranges...

OF: default map, cp=0, s=16777216, da=5136384

OF: parent translation for: 0000000f fe000000

OF: with offset: 5136384

OF: one level translation: 0000000f fe4e6000

OF: reached root node

OF: ** translation for device ethernet@e8000 **

OF: bus is default (na=1, ns=1) on fman@400000

OF: translating address: 000e8000

OF: parent bus is default (na=1, ns=1) on soc@ffe000000

OF: walking ranges...

OF: default map, cp=0, s=1048576, da=950272

OF: parent translation for: 00400000

OF: with offset: 950272

OF: one level translation: 004e8000

OF: parent bus is default (na=2, ns=2) on

OF: walking ranges...

OF: default map, cp=0, s=16777216, da=5144576

OF: parent translation for: 0000000f fe000000

OF: with offset: 5144576

OF: one level translation: 0000000f fe4e8000

OF: reached root node

OF: ** translation for device ethernet@f0000 **

OF: bus is default (na=1, ns=1) on fman@400000

OF: translating address: 000f0000

OF: parent bus is default (na=1, ns=1) on soc@ffe000000

OF: walking ranges...

OF: default map, cp=0, s=1048576, da=983040

OF: parent translation for: 00400000

OF: with offset: 983040

OF: one level translation: 004f0000

OF: parent bus is default (na=2, ns=2) on

OF: walking ranges...

OF: default map, cp=0, s=16777216, da=5177344

OF: parent translation for: 0000000f fe000000

OF: with offset: 5177344

OF: one level translation: 0000000f fe4f0000

OF: reached root node

OF: ** translation for device ethernet@f0000 **

OF: bus is default (na=1, ns=1) on fman@400000

OF: translating address: 000f0000

OF: parent bus is default (na=1, ns=1) on soc@ffe000000

OF: walking ranges...

OF: default map, cp=0, s=1048576, da=983040

OF: parent translation for: 00400000

OF: with offset: 983040

OF: one level translation: 004f0000

OF: parent bus is default (na=2, ns=2) on

OF: walking ranges...

OF: default map, cp=0, s=16777216, da=5177344

OF: parent translation for: 0000000f fe000000

OF: with offset: 5177344

OF: one level translation: 0000000f fe4f0000

OF: reached root node

Updating property 'status' =  64 69 73 61 62 6c 65 64 00

Updating property '/soc@ffe000000/fman@400000/ethernet@e0000/mac-address' =  00 04 9f 02 00 fd

Updating property '/soc@ffe000000/fman@400000/ethernet@e0000/local-mac-address' =  00 04 9f 02 00 fd

Updating property '/soc@ffe000000/fman@400000/ethernet@e2000/mac-address' =  00 04 9f 02 01 fd

Updating property '/soc@ffe000000/fman@400000/ethernet@e2000/local-mac-address' =  00 04 9f 02 01 fd

Updating property '/soc@ffe000000/fman@400000/ethernet@e4000/mac-address' =  00 04 9f 02 02 fd

Unable to update property /soc@ffe000000/fman@400000/ethernet@e4000:mac-address, err=FDT_ERR_NOTFOUND

Updating property '/soc@ffe000000/fman@400000/ethernet@e4000/local-mac-address' =  00 04 9f 02 02 fd

Unable to update property /soc@ffe000000/fman@400000/ethernet@e4000:local-mac-address, err=FDT_ERR_NOTFOUND

Updating property '/soc@ffe000000/fman@400000/ethernet@e6000/mac-address' =  00 04 9f 02 03 fd

Updating property '/soc@ffe000000/fman@400000/ethernet@e6000/local-mac-address' =  00 04 9f 02 03 fd

Updating property '/soc@ffe000000/fman@400000/ethernet@e8000/mac-address' =  00 04 9f 02 04 fd

Updating property '/soc@ffe000000/fman@400000/ethernet@e8000/local-mac-address' =  00 04 9f 02 04 fd

Updating property '/soc@ffe000000/fman@400000/ethernet@f0000/mac-address' =  00 04 9f 02 05 fd

Updating property '/soc@ffe000000/fman@400000/ethernet@f0000/local-mac-address' =  00 04 9f 02 05 fd

OF: ** translation for device soc@ffe000000 **

OF: bus is default (na=2, ns=2) on

OF: translating address: 0000000f fe000000

OF: reached root node

OF: ** translation for device serial@11c500 **

OF: bus is default (na=1, ns=1) on soc@ffe000000

OF: translating address: 0011c500

OF: parent bus is default (na=2, ns=2) on

OF: walking ranges...

OF: default map, cp=0, s=16777216, da=1164544

OF: parent translation for: 0000000f fe000000

OF: with offset: 1164544

OF: one level translation: 0000000f fe11c500

OF: reached root node

OF: ** translation for device serial@11c600 **

OF: bus is default (na=1, ns=1) on soc@ffe000000

OF: translating address: 0011c600

OF: parent bus is default (na=2, ns=2) on

OF: walking ranges...

OF: default map, cp=0, s=16777216, da=1164800

OF: parent translation for: 0000000f fe000000

OF: with offset: 1164800

OF: one level translation: 0000000f fe11c600

OF: reached root node

OF: ** translation for device localbus@ffe124000 **

OF: bus is default (na=2, ns=2) on

OF: translating address: 0000000f fe124000

OF: reached root node

## Transferring control to Linux (at address 00000000) ...

   Booting using OF flat tree...

Using CoreNet Generic machine description

Memory CAM mapping: 256/256/256 Mb, residual: 256Mb

Linux version 3.12.37-rt51+g43cecda (elpc@elpc-OptiPlex-990) (gcc version 4.9.2 (GCC) ) #2 SMP Mon Dec 28 13:51:25 IST 2015

No /soc@ffe000000/qman@318000 property 'fsl,qman-fqd', using memblock_alloc(0000000000400000)

No /soc@ffe000000/qman@318000 property 'fsl,qman-pfdr', using memblock_alloc(0000000002000000)

Qman ver:0a01,01,02,00

No /soc@ffe000000/bman@31a000 property 'fsl,bman-fbpr', using memblock_alloc(0000000001000000)

Bman ver:0a02,01,00

pme: No /soc@ffe000000/pme@316000 property 'fsl,pme-pdsr', using memblock_alloc(0x0000000001000000)

pme: No /soc@ffe000000/pme@316000 property 'fsl,pme-sre', using memblock_alloc(0x0000000000a00000)

No USDPAA memory, no 'usdpaa_mem' bootarg

CPU maps initialized for 1 thread per core

bootconsole [udbg0] enabled

setup_arch: bootmem

CoreNet Generic board from Freescale Semiconductor

arch: exit

Zone ranges:

  DMA      [mem 0x00000000-0x2fffffff]

  Normal   empty

  HighMem  [mem 0x30000000-0x3fffffff]

Movable zone start for each node

Early memory node ranges

  node   0: [mem 0x00000000-0x3fffffff]

MMU: Allocated 1088 bytes of context maps for 255 contexts

PERCPU: Embedded 8 pages/cpu @c117c000 s9664 r8192 d14912 u32768

Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260608

Kernel command line: root=/dev/sda1 rw console=ttyS0,115200

PID hash table entries: 4096 (order: 2, 16384 bytes)

Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)

Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)

Sorting __ex_table...

Memory: 883636K/1048576K available (6724K kernel code, 332K rwdata, 1868K rodata, 280K init, 452K bss, 164940K reserved, 262136K highm)

Kernel virtual memory layout:

  * 0xfff5f000..0xfffff000  : fixmap

  * 0xffc00000..0xffe00000  : highmem PTEs

  * 0xffbfb000..0xffc00000  : early ioremap

  * 0xf1000000..0xffbfb000  : vmalloc & ioremap

Hierarchical RCU implementation.

        RCU debugfs-based tracing is enabled.

        RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.

NR_IRQS:512 nr_irqs:512 16

mpic: Setting up MPIC " OpenPIC  " version 1.2 at ffe040000, max 4 CPUs

mpic: ISU size: 512, shift: 9, mask: 1ff

mpic: Initializing for 512 sources

clocksource: timebase mult[50000000] shift[24] registered

Console: colour dummy device 80x25

pid_max: default: 32768 minimum: 301

Mount-cache hash table entries: 512

mpic: requesting IPIs...

e500 family performance monitor hardware support registered

Brought up 4 CPUs

devtmpfs: initialized

NET: Registered protocol family 16

            

Found FSL PCI host bridge at 0x0000000ffe201000. Firmware bus number: 0->7

PCI host bridge /pcie@ffe201000  ranges:

MEM 0x0000000c20000000..0x0000000c3fffffff -> 0x00000000e0000000

  IO 0x0000000ff8010000..0x0000000ff801ffff -> 0x0000000000000000

/pcie@ffe201000: PCICSRBAR @ 0xdf000000

EDAC PCI0: Giving out device to module 'MPC85xx_edac' controller 'mpc85xx_pci_err': DEV 'ffe201000.pcie' (INTERRUPT)

MPC85xx_edac acquired irq 481 for PCI Err

MPC85xx_edac PCI err registered

PCI: Probing PCI hardware

fsl-pci ffe201000.pcie: PCI host bridge to bus 0000:00

pci_bus 0000:00: root bus resource [io  0xf1040000-0xf104ffff] (bus address [0x0000-0xffff])

pci_bus 0000:00: root bus resource [mem 0xc20000000-0xc3fffffff] (bus address [0xe0000000-0xffffffff])

pci_bus 0000:00: root bus resource [bus 00-ff]

pci 0000:00:00.0: ignoring class 0x0b2000 (doesn't match header type 01)

pci 0000:00:00.0: PCI bridge to [bus 01-ff]

pci 0000:01:00.0: PCI bridge to [bus 02-ff]

pci 0000:02:01.0: PCI bridge to [bus 03-ff]

pci 0000:02:02.0: PCI bridge to [bus 04-ff]

pci 0000:04:00.0: PCI bridge to [bus 05-ff]

pci 0000:02:03.0: PCI bridge to [bus 06-ff]

pci 0000:02:04.0: PCI bridge to [bus 07-ff]

pci 0000:00:00.0: BAR 9: can't assign mem pref (size 0x800000)

pci 0000:00:00.0: BAR 9: can't assign mem pref (size 0x800000)

pci 0000:01:00.0: BAR 9: assigned [mem 0xc20300000-0xc20afffff 64bit pref]

pci 0000:01:00.0: BAR 7: assigned [io  0xf1040000-0xf1043fff]

pci 0000:02:01.0: BAR 9: assigned [mem 0xc20300000-0xc204fffff 64bit pref]

pci 0000:02:02.0: BAR 9: assigned [mem 0xc20500000-0xc206fffff 64bit pref]

pci 0000:02:03.0: BAR 9: assigned [mem 0xc20700000-0xc208fffff 64bit pref]

pci 0000:02:04.0: BAR 8: can't assign mem (size 0x200000)

pci 0000:02:04.0: BAR 9: assigned [mem 0xc20900000-0xc20afffff 64bit pref]

pci 0000:02:01.0: BAR 7: assigned [io  0xf1040000-0xf1040fff]

pci 0000:02:02.0: BAR 7: assigned [io  0xf1041000-0xf1041fff]

pci 0000:02:03.0: BAR 7: assigned [io  0xf1042000-0xf1042fff]

pci 0000:02:04.0: BAR 7: assigned [io  0xf1043000-0xf1043fff]

pci 0000:02:04.0: BAR 8: can't assign mem (size 0x200000)

pci 0000:02:01.0: PCI bridge to [bus 03]

pci 0000:02:01.0:   bridge window [io  0xf1040000-0xf1040fff]

pci 0000:02:01.0:   bridge window [mem 0xc20000000-0xc200fffff]

pci 0000:02:01.0:   bridge window [mem 0xc20300000-0xc204fffff 64bit pref]

pci 0000:04:00.0: PCI bridge to [bus 05]

pci 0000:04:00.0:   bridge window [mem 0xc20100000-0xc201fffff]

pci 0000:02:02.0: PCI bridge to [bus 04-05]

pci 0000:02:02.0:   bridge window [io  0xf1041000-0xf1041fff]

pci 0000:02:02.0:   bridge window [mem 0xc20100000-0xc201fffff]

pci 0000:02:02.0:   bridge window [mem 0xc20500000-0xc206fffff 64bit pref]

pci 0000:02:03.0: PCI bridge to [bus 06]

pci 0000:02:03.0:   bridge window [io  0xf1042000-0xf1042fff]

pci 0000:02:03.0:   bridge window [mem 0xc20200000-0xc202fffff]

pci 0000:02:03.0:   bridge window [mem 0xc20700000-0xc208fffff 64bit pref]

pci 0000:02:04.0: PCI bridge to [bus 07]

pci 0000:02:04.0:   bridge window [io  0xf1043000-0xf1043fff]

pci 0000:02:04.0:   bridge window [mem 0xc20900000-0xc20afffff 64bit pref]

pci 0000:01:00.0: PCI bridge to [bus 02-07]

pci 0000:01:00.0:   bridge window [io  0xf1040000-0xf1043fff]

pci 0000:01:00.0:   bridge window [mem 0xc20000000-0xc202fffff]

pci 0000:01:00.0:   bridge window [mem 0xc20300000-0xc20afffff 64bit pref]

pci 0000:00:00.0: PCI bridge to [bus 01-07]

pci 0000:00:00.0:   bridge window [io  0xf1040000-0xf104ffff]

pci 0000:00:00.0:   bridge window [mem 0xc20000000-0xc3fffffff]

bio: create slab <bio-0> at 0

vgaarb: loaded

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

pps_core: LinuxPPS API ver. 1 registered

pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>

PTP clock support registered

EDAC MC: Ver: 3.0.0

Bman err interrupt handler present

Bman portal initialised, cpu 0

Bman portal initialised, cpu 1

Bman portal initialised, cpu 2

Bman portal initialised, cpu 3

Bman portals initialised

Qman err interrupt handler present

Qman portal initialised, cpu 0

Qman portal initialised, cpu 1

Qman portal initialised, cpu 2

Qman portal initialised, cpu 3

Qman portals initialised

Bman: BPID allocator includes range 32:32

Qman: FQID allocator includes range 256:256

Qman: FQID allocator includes range 32768:32768

Qman: CGRID allocator includes range 0:256

Qman: pool channel allocator includes range 33:15

Switched to clocksource timebase

NET: Registered protocol family 2

TCP established hash table entries: 8192 (order: 4, 65536 bytes)

TCP bind hash table entries: 8192 (order: 4, 65536 bytes)

TCP: Hash tables configured (established 8192 bind 8192)

TCP: reno registered

UDP hash table entries: 512 (order: 2, 16384 bytes)

UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)

NET: Registered protocol family 1

RPC: Registered named UNIX socket transport module.

RPC: Registered udp transport module.

RPC: Registered tcp transport module.

RPC: Registered tcp NFSv4.1 backchannel transport module.

audit: initializing netlink socket (disabled)

type=2000 audit(0.420:1): initialized

bounce pool size: 64 pages

HugeTLB registered 1 MB page size, pre-allocated 0 pages

HugeTLB registered 4 MB page size, pre-allocated 0 pages

HugeTLB registered 16 MB page size, pre-allocated 0 pages

HugeTLB registered 64 MB page size, pre-allocated 0 pages

HugeTLB registered 256 MB page size, pre-allocated 0 pages

HugeTLB registered 1 GB page size, pre-allocated 0 pages

NFS: Registering the id_resolver key type

Key type id_resolver registered

Key type id_legacy registered

NTFS driver 2.1.30 [Flags: R/O].

jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.

msgmni has been set to 1342

io scheduler noop registered

io scheduler deadline registered

io scheduler cfq registered (default)

Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled

serial8250.0: ttyS0 at MMIO 0xffe11c500 (irq = 36, base_baud = 12500000) is a 16550A

console [ttyS0] enabled, bootconsole disabled

console [ttyS0] enabled, bootconsole disabled

serial8250.0: ttyS1 at MMIO 0xffe11c600 (irq = 36, base_baud = 12500000) is a 16550A

serial8250.0: ttyS2 at MMIO 0xffe11d500 (irq = 37, base_baud = 12500000) is a 16550A

serial8250.0: ttyS3 at MMIO 0xffe11d600 (irq = 37, base_baud = 12500000) is a 16550A

__ioremap(): phys addr 0x20200000 is RAM lr setup_port

ePAPR hypervisor byte channel driver

Generic non-volatile memory driver v1.1

brd: module loaded

loop: module loaded

st: Version 20101219, fixed bufsize 32768, s/g segs 256

fsl-sata ffe220000.sata: Sata FSL Platform/CSB Driver init

scsi0 : sata_fsl

ata1: SATA max UDMA/133 irq 68

fsl-sata ffe221000.sata: Sata FSL Platform/CSB Driver init

scsi1 : sata_fsl

ata2: SATA max UDMA/133 irq 69

fe8000000.flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002801

Amd/Fujitsu Extended Query Table at 0x0040

ata1: Signature Update detected @ 0 msecs

  Amd/Fujitsu Extended Query version 1.5.

number of CFI chips: 1

fsl-lbc ffe124000.localbus: address did not match any chip selects

fsl_espi ffe110000.spi: master is unqueued, this is deprecated

m25p80 spi32766.0: found s25fl128s, expected s25sl12801

m25p80 spi32766.0: s25fl128s (16384 Kbytes)

4 ofpart partitions found on MTD device spi32766.0

Creating 4 MTD partitions on "spi32766.0":

0x000000000000-0x000000100000 : "u-boot"

0x000000100000-0x000000600000 : "kernel"

0x000000600000-0x000000700000 : "dtb"

0x000000700000-0x000001000000 : "file system"

fsl_espi ffe110000.spi: at 0xf115e000 (irq = 53)

libphy: Fixed MDIO Bus: probed

libphy: Freescale PowerQUICC MII Bus: probed

mdio_bus mdio@ffe4e1120: cannot get PHY at address 28

mdio_bus mdio@ffe4e1120: cannot get PHY at address 29

mdio_bus mdio@ffe4e1120: cannot get PHY at address 30

mdio_bus mdio@ffe4e1120: cannot get PHY at address 31

libphy: Freescale XGMAC MDIO Bus: probed

Freescale FM module (Dec 28 2015:13:50:54), FMD API version 21.1.0

Freescale FM Ports module (Dec 28 2015:13:50:54)

fsl_mac: fsl_mac: FSL FMan MAC API based driver ()

fsl_mac ffe4e0000.ethernet: FMan dTSEC version: 0x08240101

fsl_mac ffe4e0000.ethernet: FMan MAC address: 00:04:9f:02:00:fd

fsl_mac ffe4e2000.ethernet: FMan dTSEC version: 0x08240101

fsl_mac ffe4e2000.ethernet: FMan MAC address: 00:04:9f:02:01:fd

fsl_mac ffe4e6000.ethernet: FMan dTSEC version: 0x08240101

fsl_mac ffe4e6000.ethernet: FMan MAC address: 00:04:9f:02:03:fd

fsl_mac ffe4e8000.ethernet: FMan dTSEC version: 0x08240101

fsl_mac ffe4e8000.ethernet: FMan MAC address: 00:04:9f:02:04:fd

ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)

ata1.00: ATA-8: SM651GEA BA, O0530M, max UDMA/133

ata1.00: 30932992 sectors, multi 0: LBA48

ata1.00: configured for UDMA/133

scsi 0:0:0:0: Direct-Access     ATA      SM651GEA BA      O053 PQ: 0 ANSI: 5

sd 0:0:0:0: [sda] 30932992 512-byte logical blocks: (15.8 GB/14.7 GiB)

sd 0:0:0:0: [sda] Write Protect is off

sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

fsl_dpa: FSL DPAA Ethernet driver ()

sd 0:0:0:0: Attached scsi generic sg0 type 0

sda: sda1

sd 0:0:0:0: [sda] Attached SCSI disk

fsl_dpa: FSL DPAA Ethernet debugfs entries ()

fsl_dpa: fsl_dpa: Probed interface eth0

fsl_dpa: fsl_dpa: Probed interface eth1

/fsl,dpaa/ethernet@2: could not find phandle

fsl_dpa ethernet.15: Cannot find MAC device device tree node

fsl_dpa: probe of ethernet.15 failed with error -14

fsl_dpa: fsl_dpa: Probed interface eth2

fsl_dpa: fsl_dpa: Probed interface eth3

fsl_advanced: FSL DPAA Advanced drivers: ()

fsl_proxy: FSL DPAA Proxy initialization driver ()

fsl_dpa_shared: FSL DPAA Shared Ethernet driver ()

fsl_dpa_macless: FSL DPAA MACless Ethernet driver ()

fsl_oh: FSL FMan Offline Parsing port driver ()

e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI

e1000: Copyright (c) 1999-2006 Intel Corporation.

e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k

e1000e: Copyright(c) 1999 - 2013 Intel Corporation.

ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

ehci-pci: EHCI PCI platform driver

ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

ohci-pci: OHCI PCI platform driver

fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller

fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1

fsl-ehci fsl-ehci.0: irq 45, io mem 0xffe211000

fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

/soc@ffe000000/usb@210000: Invalid 'dr_mode' property, fallback to host mode

fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller

fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2

fsl-ehci fsl-ehci.1: irq 44, io mem 0xffe210000

fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00

hub 2-0:1.0: USB hub found

hub 2-0:1.0: 1 port detected

usbcore: registered new interface driver usb-storage

i2c /dev entries driver

mpc-i2c ffe118000.i2c: timeout 1000000 us

rtc-ds1307: probe of 0-0068 failed with error -5

mpc-i2c ffe118100.i2c: timeout 1000000 us

mpc-i2c ffe119000.i2c: timeout 1000000 us

mpc-i2c ffe119100.i2c: timeout 1000000 us

Freescale(R) MPC85xx EDAC driver, (C) 2006 Montavista Software

EDAC MC0: Giving out device to 'MPC85xx_edac' 'mpc85xx_mc_err': DEV mpc85xx_mc_err

MPC85xx_edac acquired irq 490 for MC

MPC85xx_edac MC err registered

sdhci: Secure Digital Host Controller Interface driver

sdhci: Copyright(c) Pierre Ossman

sdhci-pltfm: SDHCI platform and OF driver helper

/soc@ffe000000/sdhc@114000: voltage-ranges unspecified

mmc0: Got command interrupt 0x00030000 even though no command operation was in progress.

ata2: No Device OR PHYRDY change,Hstatus = 0xa0000000

ata2: SATA link down (SStatus 0 SControl 300)

mmc0: SDHCI controller on ffe114000.sdhc [ffe114000.sdhc] using ADMA

Freescale USDPAA process driver

fsl-usdpaa: no region found

Freescale USDPAA process IRQ driver

fsl-pme ffe316000.pme: ver: 0x00100201

Freescale pme2 db driver

Freescale pme2 scan driver

fsl-pme2-scan: device pme_scan registered

Freescale hypervisor management driver

fsl-hv: no hypervisor found

ipip: IPv4 over IPv4 tunneling driver

TCP: cubic registered

Initializing XFRM netlink socket

NET: Registered protocol family 10

sit: IPv6 over IPv4 tunneling driver

NET: Registered protocol family 17

NET: Registered protocol family 15

8021q: 802.1Q VLAN Support v1.8

Key type dns_resolver registered

fsl_generic: FSL DPAA Generic Ethernet driver ()

fsl_generic: FSL DPAA Ethernet debugfs entries ()

/media/madhur/elpc/sdk1.9/QorIQ-SDK-V1.9-20151210-yocto/build_p2041rdb/tmp/work-shared/p2041rdb/kernel-source/drivers/rtc/hctosys.c: u)

### dt-test ### No testcase data in device tree; not running tests

EXT2-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended

VFS: Mounted root (ext2 filesystem) on device 8:1.

devtmpfs: mounted

Freeing unused kernel memory: 280K (c0868000 - c08ae000)

INIT: version 2.88 booting

usb 2-1: new high-speed USB device number 2 using fsl-ehci

Starting udev

usb-storage 2-1:1.0: USB Mass Storage device detected

scsi2 : usb-storage 2-1:1.0

udevd[964]: starting version 182

udevd[977]: renamed network interface eth0 to fm1-gb0

udevd[974]: renamed network interface eth1 to fm1-gb1

udevd[972]: renamed network interface eth2 to fm1-gb3

udevd[975]: renamed network interface eth3 to fm1-gb4

bootlogd: cannot allocate pseudo tty: No such file or directory

Starting random number generator daemonUnable to open file: /dev/tpm0

can't open any entropy source

Maybe RNG device modules are not loaded

.

EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 213057

EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 213057

EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 213057

rm: cannot remove '/var/lib/urandom/random-seed': Input/output error

EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 213057

urandom start: failed.

EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 835828

EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 835828

EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 835828

ln: failed to access '/etc/resolv.conf': Input/output error

EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 835828

EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 835828

EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 835828

ln: failed to access '/etc/resolv.conf': Input/output error

hwclock: can't open '/dev/misc/rtc': No such file or directory

Sat Dec 12 11:39:14 UTC 2015

INIT: Entering runlevel: 5misc/r

Configuring network interfaces... done.

Starting system message bus: dbus.

Starting OpenBSD Secure Shell server: sshd

done.

scsi 2:0:0:0: Direct-Access     Netac    OnlyDisk         PMAP PQ: 0 ANSI: 4

sd 2:0:0:0: Attached scsi generic sg1 type 0

Starting rpcbind daemon...done.

Starting watchdog: [  OK  ]

starting statd: done

Starting atd: OK

Starting domain name service: namedEXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 835828

/etc/resolvconf/update.d/libc: Warning: /etc/resolv.conf is not a symbolic link to /etc/resolvconf/run/resolv.conf

EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 835828

.

starting DNS forwarder and DHCP server: dnsmasq...

dnsmasq: failed to create listening socket for port 53: Address already in use

hwclock: can't open '/dev/misc/rtc': No such file or directory

Starting network benchmark server: netserver.

Installing knfsd (copyright (C) 1996 okir@monad.swb.de).

starting 8 nfsd kernel threads: done

starting mountd: done

Starting Samba: smbdsd 2:0:0:0: [sdb] 7831552 512-byte logical blocks: (4.00 GB/3.73 GiB)

nmbdsd 2:0:0:0: [sdb] Write Protect is off

sd 2:0:0:0: [sdb] No Caching mode page found

sd 2:0:0:0: [sdb] Assuming drive cache: write through

sd 2:0:0:0: [sdb] No Caching mode page found

sd 2:0:0:0: [sdb] Assuming drive cache: write through

.

sdb: sdb1

sd 2:0:0:0: [sdb] No Caching mode page found

sd 2:0:0:0: [sdb] Assuming drive cache: write through

sd 2:0:0:0: [sdb] Attached SCSI removable disk

Starting system log daemon...0

Starting kernel log daemon...0

Starting internet superserver: xinetd.

server port not configured, not running lighttpd...

* Starting virtualization library daemon: libvirtd

no /usr/bin/dnsmasq found; none killed

EXT2-fs (sdb1): warning: mounting unchecked fs, running e2fsck is recommended

EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 835828

EXT2-fs (sda1): error: ext2_lookup: deleted inode referenced: 835828

2015-12-12 11:39:15.277+0000: 1529: info : libvirt version: 1.2.12

2015-12-12 11:39:15.277+0000: 1529: warning : virGetHostname:671 : getaddrinfo failed for 'p2041rdb': Temporary failure in name resolun

Starting crond: OK

Starting tcf-agent: OK

QorIQ SDK (FSL Reference Distro) 1.9 p2041rdb /dev/ttyS0

0 Kudos
Reply

4,255 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello madhur wani,

Please check whether this log is coincident with the dts file which you provided, it looks that the following error in the log is not coincident with your attached dts file.

/fsl,dpaa/ethernet@2: could not find phandle

fsl_dpa ethernet.15: Cannot find MAC device device tree node

fsl_dpa: probe of ethernet.15 failed with error -14


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply