This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

在DM8168上使用官方推荐的BCM5751 PCIE网卡不能ping通



processors.wiki.ti.com/.../DM81xx_AM38xx_PCI_Express_Root_Complex_Driver_User_Guide

按照官方推荐的,我使用了BCM5751,可是还不能工作。求助。以下是相关log:

ti81xx_pcie: Invoking PCI BIOS...
ti81xx_pcie: Setting up Host Controller...
ti81xx_pcie: Register base mapped @0xd7020000
ti81xx_pcie: Starting PCI scan...
PCI: bus0: Fast back to back transfers disabled
PCI: bus1: Fast back to back transfers disabled
pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x200fffff]
pci 0000:00:00.0: BAR 9: assigned [mem 0x20100000-0x201fffff pref]
pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x2000ffff 64bit]
pci 0000:01:00.0: BAR 0: set to [mem 0x20000000-0x2000ffff 64bit] (PCI address [0x20000000-0x2000ffff])
pci 0000:01:00.0: BAR 6: assigned [mem 0x20100000-0x2010ffff pref]
pci 0000:00:00.0: PCI bridge to [bus 01-01]
pci 0000:00:00.0: bridge window [io disabled]
pci 0000:00:00.0: bridge window [mem 0x20000000-0x200fffff]
pci 0000:00:00.0: bridge window [mem 0x20100000-0x201fffff pref]
PCI: enabling device 0000:00:00.0 (0140 -> 0143)
bio: create slab <bio-0> at 0

regulator: VFB: 800 <--> 1025 mV at 1010 mV 
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
USBSS revision 4ea20809
registerd cppi-dma Intr @ IRQ 17
Cppi41 Init Done
omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz
omap_i2c omap_i2c.2: bus 2 rev4.0 at 100 kHz
Advanced Linux Sound Architecture Driver Version 1.0.23.
Switching to clocksource gp timer
musb-hdrc: version 6.0, host, debug=0
musb-hdrc musb-hdrc.0: dma type: dma-cppi41
MUSB controller-0 revision 4ea20800
musb-hdrc musb-hdrc.0: MUSB HDRC host driver
musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: MUSB HDRC host driver
usb usb1: Manufacturer: Linux 2.6.37 musb-hcd
usb usb1: SerialNumber: musb-hdrc.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
musb-hdrc musb-hdrc.0: USB Host mode controller at d701e000 using DMA, IRQ 18
musb-hdrc musb-hdrc.1: dma type: dma-cppi41
MUSB controller-1 revision 4ea20800
musb-hdrc musb-hdrc.1: MUSB HDRC host driver
musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: MUSB HDRC host driver
usb usb2: Manufacturer: Linux 2.6.37 musb-hcd
usb usb2: SerialNumber: musb-hdrc.1
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
musb-hdrc musb-hdrc.1: USB Host mode controller at d7026800 using DMA, IRQ 19
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NetWinder Floating Point Emulator V0.97 (double precision)
PMU: registered new PMU device of type 0
omap-iommu omap-iommu.0: ducati registered
omap-iommu omap-iommu.1: sys registered
JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
msgmni has been set to 609
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0
omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
console [ttyO2] enabled
brd: module loaded
loop: module loaded
ahci ahci.0: forcing PORTS_IMPL to 0x3
ahci ahci.0: AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl platform mode
ahci ahci.0: flags: ncq sntf pm led clo only pmp pio slum part ccc 
scsi0 : ahci_platform
scsi1 : ahci_platform
ata1: SATA max UDMA/133 irq_stat 0x00400040, connection status changed irq 16
ata2: SATA max UDMA/133 irq_stat 0x00400040, connection status changed irq 16
m25p80 spi1.0: found w25q32, expected m25p80
m25p80 spi1.0: w25q32 (4096 Kbytes)
Creating 4 MTD partitions on "spi_flash":
0x000000000000-0x000000040000 : "U-Boot"
0x000000040000-0x000000042000 : "U-Boot Env"
0x000000042000-0x0000002c2000 : "Kernel"
0x0000002c2000-0x000000400000 : "File System"
omap2-nand driver initializing
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xca (Micron )
Creating 5 MTD partitions on "omap2-nand.0":
0x000000000000-0x000000260000 : "U-Boot"
0x000000260000-0x000000280000 : "U-Boot Env"
0x000000280000-0x0000006c0000 : "Kernel"
0x0000006c0000-0x00000cee0000 : "File System"
0x00000cee0000-0x000010000000 : "Reserved"
davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
davinci_mdio davinci_mdio.0: detected phy mask fffffff9
davinci_mdio.0: probed
davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
davinci_mdio davinci_mdio.0: phy[2]: device 0:02, driver unknown
e1000e: Intel(R) PRO/1000 Network Driver - 1.2.7-k2
e1000e: Copyright (c) 1999 - 2010 Intel Corporation.
tg3.c:v3.115 (October 14, 2010)
PCI: enabling device 0000:01:00.0 (0140 -> 0142)
usb 1-1: new full speed USB device using musb-hdrc and address 2
tg3 0000:01:00.0: eth0: Tigon3 [partno(BCM95751A519) rev 4101] (PCI Express) MAC address 00:10:18:24:41:ac
tg3 0000:01:00.0: eth0: attached PHY is 5750 (10/100/1000Base-T Ethernet) (WireSpeed[1])
tg3 0000:01:00.0: eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
tg3 0000:01:00.0: eth0: dma_rwctrl[76180000] dma_mask[64-bit]
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver smsc95xx
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
uhci_hcd: USB Universal Host Controller Interface driver
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage

Configuring network interfaces... ADDRCONF(NETDEV_UP): eth0: link is not ready
eth0 no wireless extensions.

/bin/sh: udhcpc: not found
done.
Setting up IP spoofing protection: rp_filter.
Thu May 9 15:54:00 CST 2013
INIT: Entering runlevel: 5
Starting system message bus: dbus.
Starting Hardware abstraction layer hald
Starting Dropbear SSH server: dropbear.
Starting telnet daemon.
Starting network benchmark server: netserver.
Starting syslogd/klogd: done
tg3 0000:01:00.0: eth0: Link is up at 100 Mbps, full duplex
tg3 0000:01:00.0: eth0: Flow control is on for TX and on for RX
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

我lspci -v ,如下信息打印:

00:00.0 Class 0604: Device 104c:b800 (rev 01)
Flags: bus master, fast devsel, latency 0
Memory at <ignored> (32-bit, non-prefetchable)
Memory at <ignored> (32-bit, prefetchable)
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: 20000000-200fffff
Prefetchable memory behind bridge: 20100000-201fffff
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Root Port (Slot-), MSI 00
Capabilities: [100] Advanced Error Reporting

01:00.0 Class 0200: Device 14e4:1677 (rev 11)
Subsystem: Device 14e4:1677
Flags: bus master, fast devsel, latency 0, IRQ 48
Memory at 20000000 (64-bit, non-prefetchable) [size=64K]
Expansion ROM at 20100000 [disabled] [size=64K]
Capabilities: [48] Power Management version 2
Capabilities: [50] Vital Product Data
Capabilities: [58] MSI: Enable- Count=1/8 Maskable- 64bit+
Capabilities: [d0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [13c] Virtual Channel <?>
Kernel driver in use: tg3

配置IP,但是ping不通,已经排除网线的问题

  • 检查一下,内核有没有讲Broadcom Tigon3 support的驱动编进去。

    可以看一下下面的wiki page,里面有详细的描述。

    http://processors.wiki.ti.com/index.php/DM81xx_AM38xx_PCI_Express_Root_Complex_Driver_User_Guide

     

  • 你好,已经配置了tg3的驱动。

  • 有没有检查一下lspci -v 的打印信息?

  • root@luhao:~# lspci -v
    00:00.0 Class 0604: Device 104c:b800 (rev 01)
    Flags: bus master, fast devsel, latency 0
    Memory at <ignored> (32-bit, non-prefetchable)
    Memory at <ignored> (32-bit, prefetchable)
    Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
    Memory behind bridge: 20000000-200fffff
    Prefetchable memory behind bridge: 20100000-201fffff
    Capabilities: [40] Power Management version 3
    Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
    Capabilities: [70] Express Root Port (Slot-), MSI 00
    Capabilities: [100] Advanced Error Reporting

    01:00.0 Class 0200: Device 14e4:1677 (rev 01)
    Subsystem: Device 14e4:1677
    Flags: bus master, fast devsel, latency 0, IRQ 48
    Memory at 20000000 (64-bit, non-prefetchable) [size=64K]
    Expansion ROM at 20100000 [disabled] [size=64K]
    Capabilities: [48] Power Management version 2
    Capabilities: [50] Vital Product Data
    Capabilities: [58] MSI: Enable- Count=1/8 Maskable- 64bit+
    Capabilities: [d0] Express Endpoint, MSI 00
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [13c] Virtual Channel <?>
    Kernel driver in use: tg3

    root@luhao:~#

    以上是lspci的信息,跟TI给出的是一样的。

    我想请问louis,你们那边有DM8168的板子吗?可否基于BCM5751网卡做一个测试,我这边已经测了三块不同的BCM5751的模块了。结果都是一样的。

    我们自己做的板子下周估计就贴片回来了...PCIE还没调通,项目比较急...求帮忙。

  • 以下是完整的log,请帮忙看一下。

    2866716 bytes read
    ## Booting kernel from Legacy Image at 80009000 ...
    Image Name: Linux-2.6.37
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 2866652 Bytes = 2.7 MiB
    Load Address: 80008000
    Entry Point: 80008000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.
    Linux version 2.6.37 (root@ubuntu) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #13 Fri May 10 14:34:31 CST 2013
    CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    Machine: ti8168evm
    reserved size = 52428800 at 0x0
    FB: Reserving 52428800 bytes SDRAM for VRAM
    Memory policy: ECC disabled, Data cache writeback
    OMAP chip is TI8168 2.0
    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 79656
    Kernel command line: console=ttyO2,115200n8 rootwait root=/dev/sdb4 rw mem=364M@0x80000000 324M@0x9F900000 notifyk.vpssm3_sva=0xBF900000 ip=off noinitrd
    PID hash table entries: 2048 (order: 1, 8192 bytes)
    Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    Memory: 314MB = 314MB total
    Memory: 312020k/312020k available, 60716k reserved, 0K highmem
    Virtual kernel memory layout:
    vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
    DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
    vmalloc : 0xd7000000 - 0xf8000000 ( 528 MB)
    lowmem : 0xc0000000 - 0xd6c00000 ( 364 MB)
    pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    .init : 0xc0008000 - 0xc003d000 ( 212 kB)
    .text : 0xc003d000 - 0xc057d000 (5376 kB)
    .data : 0xc057e000 - 0xc05ca8c0 ( 307 kB)
    SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    NR_IRQS:407
    IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    Total of 128 interrupts on 1 active controller
    GPMC revision 6.0
    Trying to install interrupt handler for IRQ400
    Trying to install interrupt handler for IRQ401
    Trying to install interrupt handler for IRQ402
    Trying to install interrupt handler for IRQ403
    Trying to install interrupt handler for IRQ404
    Trying to install interrupt handler for IRQ405
    Trying to install interrupt handler for IRQ406
    Trying to install type control for IRQ407
    Trying to set irq flags for IRQ407
    OMAP clockevent source: GPTIMER1 at 27000000 Hz
    Console: colour dummy device 80x30
    Calibrating delay loop... 986.31 BogoMIPS (lpj=4931584)
    pid_max: default: 32768 minimum: 301
    Security Framework initialized
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    devtmpfs: initialized
    omap_voltage_early_init: voltage driver support not added
    regulator: core version 0.5
    regulator: dummy:
    NET: Registered protocol family 16
    omap_voltage_domain_lookup: Voltage driver init not yet happened.Faulting!
    omap_voltage_add_dev: VDD specified does not exist!
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    omap_mux_init: Add partition: #1: core, flags: 0
    _omap_mux_get_by_name: Could not find signal i2c2_scl.i2c2_scl
    _omap_mux_get_by_name: Could not find signal i2c2_sda.i2c2_sda
    NOR: Can't request GPMC CS
    registered ti816x_gpio_vr device
    registered ti816x_sr device
    clk get on i2c3 fck failed
    _omap_mux_get_by_name: Could not find signal dcan0_tx.dcan0_tx
    _omap_mux_get_by_name: Could not find signal dcan0_rx.dcan0_rx
    pm_dbg_init: only OMAP3 supported
    registered ti81xx_vpss device
    registered ti81xx_vidout device
    registered ti81xx on-chip HDMI device
    registered ti81xx_fb device
    registered ti81xx_vin device
    ti81xx_pcie: Invoking PCI BIOS...
    ti81xx_pcie: Setting up Host Controller...
    ti81xx_pcie: Register base mapped @0xd7020000
    ti81xx_pcie: Starting PCI scan...
    PCI: bus0: Fast back to back transfers disabled
    PCI: bus1: Fast back to back transfers disabled
    pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x200fffff]
    pci 0000:00:00.0: BAR 9: assigned [mem 0x20100000-0x201fffff pref]
    pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x2000ffff 64bit]
    pci 0000:01:00.0: BAR 0: set to [mem 0x20000000-0x2000ffff 64bit] (PCI address [0x20000000-0x2000ffff])
    pci 0000:01:00.0: BAR 6: assigned [mem 0x20100000-0x2010ffff pref]
    pci 0000:00:00.0: PCI bridge to [bus 01-01]
    pci 0000:00:00.0: bridge window [io disabled]
    pci 0000:00:00.0: bridge window [mem 0x20000000-0x200fffff]
    pci 0000:00:00.0: bridge window [mem 0x20100000-0x201fffff pref]
    PCI: enabling device 0000:00:00.0 (0140 -> 0143)
    bio: create slab <bio-0> at 0
    regulator: VFB: 800 <--> 1025 mV at 1010 mV
    vgaarb: loaded
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    USBSS revision 4ea20809
    registerd cppi-dma Intr @ IRQ 17
    Cppi41 Init Done
    omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz
    omap_i2c omap_i2c.2: bus 2 rev4.0 at 100 kHz
    Advanced Linux Sound Architecture Driver Version 1.0.23.
    Switching to clocksource gp timer
    musb-hdrc: version 6.0, host, debug=0
    musb-hdrc musb-hdrc.0: dma type: dma-cppi41
    MUSB controller-0 revision 4ea20800
    musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb1: Product: MUSB HDRC host driver
    usb usb1: Manufacturer: Linux 2.6.37 musb-hcd
    usb usb1: SerialNumber: musb-hdrc.0
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    musb-hdrc musb-hdrc.0: USB Host mode controller at d701e000 using DMA, IRQ 18
    musb-hdrc musb-hdrc.1: dma type: dma-cppi41
    MUSB controller-1 revision 4ea20800
    musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
    usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb2: Product: MUSB HDRC host driver
    usb usb2: Manufacturer: Linux 2.6.37 musb-hcd
    usb usb2: SerialNumber: musb-hdrc.1
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    musb-hdrc musb-hdrc.1: USB Host mode controller at d7026800 using DMA, IRQ 19
    NET: Registered protocol family 2
    IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
    TCP established hash table entries: 16384 (order: 5, 131072 bytes)
    TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
    TCP: Hash tables configured (established 16384 bind 16384)
    TCP reno registered
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    NetWinder Floating Point Emulator V0.97 (double precision)
    PMU: registered new PMU device of type 0
    omap-iommu omap-iommu.0: ducati registered
    omap-iommu omap-iommu.1: sys registered
    JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
    msgmni has been set to 609
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0
    omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    console [ttyO2] enabled
    brd: module loaded
    loop: module loaded
    ahci ahci.0: forcing PORTS_IMPL to 0x3
    ahci ahci.0: AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl platform mode
    ahci ahci.0: flags: ncq sntf pm led clo only pmp pio slum part ccc
    scsi0 : ahci_platform
    scsi1 : ahci_platform
    ata1: SATA max UDMA/133 irq_stat 0x00400040, connection status changed irq 16
    ata2: SATA max UDMA/133 irq_stat 0x00400040, connection status changed irq 16
    m25p80 spi1.0: found w25q32, expected m25p80
    m25p80 spi1.0: w25q32 (4096 Kbytes)
    Creating 4 MTD partitions on "spi_flash":
    0x000000000000-0x000000040000 : "U-Boot"
    0x000000040000-0x000000042000 : "U-Boot Env"
    0x000000042000-0x0000002c2000 : "Kernel"
    0x0000002c2000-0x000000400000 : "File System"
    omap2-nand driver initializing
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xca (Micron )
    Creating 5 MTD partitions on "omap2-nand.0":
    0x000000000000-0x000000260000 : "U-Boot"
    0x000000260000-0x000000280000 : "U-Boot Env"
    0x000000280000-0x0000006c0000 : "Kernel"
    0x0000006c0000-0x00000cee0000 : "File System"
    0x00000cee0000-0x000010000000 : "Reserved"
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    davinci_mdio davinci_mdio.0: detected phy mask fffffff9
    davinci_mdio.0: probed
    davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
    davinci_mdio davinci_mdio.0: phy[2]: device 0:02, driver unknown
    e1000e: Intel(R) PRO/1000 Network Driver - 1.2.7-k2
    e1000e: Copyright (c) 1999 - 2010 Intel Corporation.
    tg3.c:v3.115 (October 14, 2010)
    PCI: enabling device 0000:01:00.0 (0140 -> 0142)
    usb 1-1: new full speed USB device using musb-hdrc and address 2
    tg3 0000:01:00.0: eth0: Tigon3 [partno(BCM95751A519) rev 4001] (PCI Express) MAC address 00:10:18:0b:3b:76
    tg3 0000:01:00.0: eth0: attached PHY is 5750 (10/100/1000Base-T Ethernet) (WireSpeed[1])
    tg3 0000:01:00.0: eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
    tg3 0000:01:00.0: eth0: dma_rwctrl[76180000] dma_mask[64-bit]
    usbcore: registered new interface driver cdc_ether
    usbcore: registered new interface driver smsc95xx
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    uhci_hcd: USB Universal Host Controller Interface driver
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    mice: PS/2 mouse device common for all mice
    omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
    i2c /dev entries driver
    Linux video capture interface: v2.00
    usbcore: registered new interface driver uvcvideo
    USB Video Class driver (v1.0.0)
    OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    notify_init : notify drivercreated for remote proc id 2 at physical Address 0xbf900000
    usbcore: registered new interface driver snd-usb-audio
    asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok
    ALSA device list:
    #0: TI81XX EVM
    TCP cubic registered
    NET: Registered protocol family 17
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    omap_voltage_late_init: Voltage driver support not added
    Power Management for TI81XX.
    smartreflex smartreflex: Driver initialized
    omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    usb 1-1: New USB device found, idVendor=05e3, idProduct=0606
    usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    usb 1-1: Product: USB Hub 2.0
    usb 1-1: Manufacturer: ALCOR
    hub 1-1:1.0: USB hub found
    hub 1-1:1.0: 4 ports detected
    mmc0: new high speed SD card at address cffe
    mmcblk0: mmc0:cffe SD02G 1.83 GiB
    mmcblk0: p1 p2 p3
    usb 1-1.3: new low speed USB device using musb-hdrc and address 3
    usb 1-1.3: New USB device found, idVendor=0425, idProduct=0001
    usb 1-1.3: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    usb 1-1.3: Product: USB OPTICAL MOUSE
    input: USB OPTICAL MOUSE as /devices/platform/omap/ti81xx-usbss/musb-hdrc.0/usb1/1-1/1-1.3/1-1.3:1.0/input/input0
    generic-usb 0003:0425:0001.0001: input: USB HID v1.11 Mouse [ USB OPTICAL MOUSE] on usb-musb-hdrc.0-1.3/input0
    usb 1-1.4: new low speed USB device using musb-hdrc and address 4
    usb 1-1.4: New USB device found, idVendor=04d9, idProduct=1702
    usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
    usb 1-1.4: Product: USB Keyboard
    usb 1-1.4: Manufacturer:
    input: USB Keyboard as /devices/platform/omap/ti81xx-usbss/musb-hdrc.0/usb1/1-1/1-1.4/1-1.4:1.0/input/input1
    generic-usb 0003:04D9:1702.0002: input: USB HID v1.10 Keyboard [ USB Keyboard] on usb-musb-hdrc.0-1.4/input0
    input: USB Keyboard as /devices/platform/omap/ti81xx-usbss/musb-hdrc.0/usb1/1-1/1-1.4/1-1.4:1.1/input/input2
    generic-usb 0003:04D9:1702.0003: input: USB HID v1.10 Device [ USB Keyboard] on usb-musb-hdrc.0-1.4/input1
    ata2: link is slow to respond, please be patient (ready=0)
    ata1: link is slow to respond, please be patient (ready=0)
    ata2: softreset failed (device not ready)
    ata1: softreset failed (device not ready)
    ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata2.00: ATA-8: Hitachi HTS545032B9A300, PB3OC64G, max UDMA/133
    ata2.00: 625142448 sectors, multi 0: LBA48 NCQ (depth 31/32)
    ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata2.00: configured for UDMA/133
    ata1.00: ATA-8: Hitachi HTS545032B9A300, PB3OC64G, max UDMA/133
    ata1.00: 625142448 sectors, multi 0: LBA48 NCQ (depth 31/32)
    ata1.00: configured for UDMA/133
    scsi 0:0:0:0: Direct-Access ATA Hitachi HTS54503 PB3O PQ: 0 ANSI: 5
    sd 0:0:0:0: Attached scsi generic sg0 type 0
    scsi 1:0:0:0: Direct-Access ATA Hitachi HTS54503 PB3O PQ: 0 ANSI: 5
    sd 1:0:0:0: Attached scsi generic sg1 type 0
    sd 0:0:0:0: [sda] 625142448 512-byte logical blocks: (320 GB/298 GiB)
    sd 1:0:0:0: [sdb] 625142448 512-byte logical blocks: (320 GB/298 GiB)
    sd 1:0:0:0: [sdb] Write Protect is off
    sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    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
    sda: sda1 sda2 sda3
    sd 0:0:0:0: [sda] Attached SCSI disk
    sdb: sdb1 sdb2 sdb3 sdb4
    sd 1:0:0:0: [sdb] Attached SCSI disk
    EXT3-fs: barriers not enabled
    kjournald starting. Commit interval 5 seconds
    EXT3-fs (sdb4): warning: maximal mount count reached, running e2fsck is recommended
    EXT3-fs (sdb4): using internal journal
    EXT3-fs (sdb4): mounted filesystem with writeback data mode
    VFS: Mounted root (ext3 filesystem) on device 8:20.
    devtmpfs: mounted
    Freeing init memory: 212K
    INIT: version 2.86 booting
    Please wait: booting...
    Error opening /dev/fb0: No such file or directory
    Starting udev
    udevd (90): /proc/90/oom_adj is deprecated, please use /proc/90/oom_score_adj instead.
    udev: starting version 141
    Remounting root file system...
    Caching udev devnodes
    Populating dev cacheminix: disagrees about version of symbol module_layout
    modprobe: FATAL: Error inserting minix (/lib/modules/2.6.37/kernel/fs/minix/minix.ko): Invalid module format

    FAT: bogus number of reserved sectors
    VFS: Can't find a valid FAT filesystem on dev sda.
    EXT3-fs (sda): error: can't find ext3 filesystem on dev sda.
    EXT2-fs (sda): error: can't find an ext2 filesystem on dev sda.
    FAT: bogus number of reserved sectors
    VFS: Can't find a valid FAT filesystem on dev sda.
    ISOFS: Unable to identify CD-ROM format.
    minix: disagrees about version of symbol module_layout
    modprobe: FATAL: Error inserting minix (/lib/modules/2.6.37/kernel/fs/minix/minix.ko): Invalid module format

    minix: disagrees about version of symbol module_layout
    modprobe: FATAL: Error inserting minix (/lib/modules/2.6.37/kernel/fs/minix/minix.ko): Invalid module format

    FAT: bogus number of reserved sectors
    VFS: Can't find a valid FAT filesystem on dev mmcblk0.
    EXT3-fs (mmcblk0): error: can't find ext3 filesystem on dev mmcblk0.
    EXT2-fs (mmcblk0): error: can't find an ext2 filesystem on dev mmcblk0.
    FAT: bogus number of reserved sectors
    VFS: Can't find a valid FAT filesystem on dev mmcblk0.
    ISOFS: Unable to identify CD-ROM format.
    mv: cannot rename '/tmp/devices': No such file or directory
    NET: Registered protocol family 10
    EXT3-fs: barriers not enabled
    kjournald starting. Commit interval 5 seconds
    EXT3-fs (sda3): warning: maximal mount count reached, running e2fsck is recommended
    EXT3-fs: barriers not enabled
    kjournald starting. Commit interval 5 seconds
    EXT3-fs (sda1): warning: maximal mount count reached, running e2fsck is recommended
    EXT3-fs (sda3): using internal journal
    EXT3-fs (sda3): mounted filesystem with writeback data mode
    EXT3-fs (sda1): using internal journal
    EXT3-fs (sda1): mounted filesystem with writeback data mode
    EXT3-fs: barriers not enabled
    EXT3-fs: barriers not enabled
    kjournald starting. Commit interval 5 seconds
    EXT3-fs (sda2): warning: maximal mount count reached, running e2fsck is recommended
    kjournald starting. Commit interval 5 seconds
    EXT3-fs (sdb1): warning: maximal mount count reached, running e2fsck is recommended
    EXT3-fs (sdb1): using internal journal
    EXT3-fs (sdb1): mounted filesystem with writeback data mode
    EXT3-fs (sda2): using internal journal
    EXT3-fs (sda2): mounted filesystem with writeback data mode
    EXT3-fs: barriers not enabled
    kjournald starting. Commit interval 5 seconds
    EXT3-fs (sdb3): warning: maximal mount count reached, running e2fsck is recommended
    EXT3-fs (sdb3): using internal journal
    EXT3-fs (sdb3): mounted filesystem with writeback data mode
    EXT3-fs: barriers not enabled
    kjournald starting. Commit interval 5 seconds
    EXT3-fs (sdb2): warning: maximal mount count reached, running e2fsck is recommended
    EXT3-fs (sdb2): using internal journal
    EXT3-fs (sdb2): mounted filesystem with writeback data mode
    EXT3-fs: barriers not enabled
    kjournald starting. Commit interval 5 seconds
    EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended
    ALSA: Restoring mixer settings...
    EXT3-fs (mmcblk0p2): using internal journal
    EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode
    Configuring network interfaces... ADDRCONF(NETDEV_UP): eth0: link is not ready
    eth0 no wireless extensions.

    /bin/sh: udhcpc: not found
    done.
    Setting up IP spoofing protection: rp_filter.
    Thu May 9 17:21:00 CST 2013
    INIT: Entering runlevel: 5
    Starting system message bus: dbus.
    Starting Hardware abstraction layer hald
    tg3 0000:01:00.0: eth0: Link is up at 100 Mbps, full duplex
    tg3 0000:01:00.0: eth0: Flow control is on for TX and on for RX
    ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    Starting Dropbear SSH server: dropbear.
    Starting telnet daemon.
    Starting network benchmark server: netserver.
    Starting syslogd/klogd: done
    Starting thttpd.
    Starting Lighttpd Web Server: lighttpd.
    2013-05-09 17:21:01: (log.c.166) server started
    /
    /
    Starting Matrix GUI application.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the followin GPLv3 packages:
    binutils-dev
    binutils-symlinks
    binutils
    gdbserver

    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution. This can be done using
    the opkg remove command. i.e.:
    opkg remove <package>
    Where <package> is the name printed in the list above

    NOTE: If the package is a dependency of another package you
    will be notified of the dependent packages. You should
    use the --force-removal-of-dependent-packages option to
    also remove the dependent packages as well
    ***************************************************************
    *********************************************************T
    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|

    Arago Project http://arago-project.org luhao ttyO2

    Arago 2011.09 luhao ttyO2

    luhao login: root
    root@luhao:~# ifconfig eth0 192.168.1.18
    root@luhao:~# ping 192.168.1.59
    PING 192.168.1.59 (192.168.1.59): 56 data bytes

    --- 192.168.1.59 ping statistics ---
    4 packets transmitted, 0 packets received, 100% packet loss
    root@luhao:~# lspci -v
    00:00.0 Class 0604: Device 104c:b800 (rev 01)
    Flags: bus master, fast devsel, latency 0
    Memory at <ignored> (32-bit, non-prefetchable)
    Memory at <ignored> (32-bit, prefetchable)
    Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
    Memory behind bridge: 20000000-200fffff
    Prefetchable memory behind bridge: 20100000-201fffff
    Capabilities: [40] Power Management version 3
    Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
    Capabilities: [70] Express Root Port (Slot-), MSI 00
    Capabilities: [100] Advanced Error Reporting

    01:00.0 Class 0200: Device 14e4:1677 (rev 01)
    Subsystem: Device 14e4:1677
    Flags: bus master, fast devsel, latency 0, IRQ 48
    Memory at 20000000 (64-bit, non-prefetchable) [size=64K]
    Expansion ROM at 20100000 [disabled] [size=64K]
    Capabilities: [48] Power Management version 2
    Capabilities: [50] Vital Product Data
    Capabilities: [58] MSI: Enable- Count=1/8 Maskable- 64bit+
    Capabilities: [d0] Express Endpoint, MSI 00
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [13c] Virtual Channel <?>
    Kernel driver in use: tg3

    root@luhao:~#

  • root@luhao:~# ifconfig -a
    eth0 Link encap:Ethernet HWaddr 00:10:18:0B:3B:76
    inet addr:192.168.1.18 Bcast:192.168.1.255 Mask:255.255.255.0
    inet6 addr: fe80::210:18ff:fe0b:3b76/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:1307 errors:0 dropped:1759 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:137257 (134.0 KiB) TX bytes:321920 (314.3 KiB)
    Interrupt:48

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:3 errors:0 dropped:0 overruns:0 frame:0
    TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:336 (336.0 B) TX bytes:336 (336.0 B)

  • root@luhao:~# ethtool eth0
    Settings for eth0:
    Supported ports: [ TP ]
    Supported link modes: 10baseT/Half 10baseT/Full
    100baseT/Half 100baseT/Full
    1000baseT/Half 1000baseT/Full
    Supports auto-negotiation: Yes
    Advertised link modes: 10baseT/Half 10baseT/Full
    100baseT/Half 100baseT/Full
    1000baseT/Half 1000baseT/Full
    Advertised pause frame use: No
    Advertised auto-negotiation: Yes
    Speed: 100Mb/s
    Duplex: Full
    Port: Twisted Pair
    PHYAD: 1
    Transceiver: internal
    Auto-negotiation: on
    MDI-X: Unknown
    Supports Wake-on: g
    Wake-on: g
    Current message level: 0x000000ff (255)
    drv probe link timer ifdown ifup rx_err tx_err
    Link detected: yes
    root@luhao:~#

    这是ethtools 检测到了的eth0的相关信息,eth0是BCM5751

  • hi,Louis

    希望能够给予支持...项目卡这里了...我对比过PC上PCIE的原理图,和TI的确实不一样。就TI手册给出的BCM5751参考设计,我的设备也识别出来了,但是ti并没有ping一下,所以我也不确定到底能不能ping通。