Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
T
T2080customizations
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Registry
    • Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • oshw-powerpc-notebook
  • T2080customizations
  • Issues
  • #1

Closed
Open
Opened Sep 27, 2018 by Mario Locati@virgola
  • Report abuse
  • New issue
Report abuse New issue

Unable to use the onboard T2080rdb RealTek RTL8211E (ETH4 or ETH5)

I am unable to make the kernel correctly setting up the onboard RealTek RTL8211E, even if the DPAA FMAN microcode was correctly loaded (the kernel reports Fman1: Uploading microcode version 106.4.18).

This is the 4.18.10 kernel log https://gitlab.com/oshw-powerpc-notebook/T2080customizations/blob/master/kernel/4.18.10/kernel_4.18.10_debian_sid_serial.log

In the log the following errors appears

fsl_dpaa_mac ffe4e0000.ethernet: of_count_phandle_with_args(/soc@ffe000000/fman@400000/ethernet@e0000, fsl,fman-ports) failed

fsl_dpaa_mac: probe of ffe4e0000.ethernet failed with error -2

fsl_dpaa_mac ffe4e2000.ethernet: of_get_mac_address(/soc@ffe000000/fman@400000/ethernet@e2000) failed

fsl_dpaa_mac: probe of ffe4e2000.ethernet failed with error -22

fsl_dpaa_mac ffe4e4000.ethernet: of_count_phandle_with_args(/soc@ffe000000/fman@400000/ethernet@e4000, fsl,fman- ports) failed

fsl_dpaa_mac: probe of ffe4e4000.ethernet failed with error -2

fsl_dpaa_mac ffe4e6000.ethernet: of_count_phandle_with_args(/soc@ffe000000/fman@400000/ethernet@e6000, fsl,fman-ports) failed

fsl_dpaa_mac: probe of ffe4e6000.ethernet failed with error -2

fsl_dpaa_mac ffe4f0000.ethernet: of_get_mac_address(/soc@ffe000000/fman@400000/ethernet@f0000) failed

fsl_dpaa_mac: probe of ffe4f0000.ethernet failed with error -22

fsl_dpaa_mac ffe4f2000.ethernet: of_get_mac_address(/soc@ffe000000/fman@400000/ethernet@f2000) failed

fsl_dpaa_mac: probe of ffe4f2000.ethernet failed with error -22

This is the output of the command "mdio list" in u-boot

FSL_MDIO0:

1 - RealTek RTL8211E <--> FM1@DTSEC3

2 - RealTek RTL8211E <--> FM1@DTSEC4

FM_TGEC_MDIO:

0 - Aquantia AQ1202 <--> FM1@TGEC3

1 - Aquantia AQ1202 <--> FM1@TGEC4

12 - Cortina CS4315/CS4340 <--> FM1@TGEC1

13 - Cortina CS4315/CS4340 <--> FM1@TGEC2

This is the output of the command "ping 192.168.1.1" fm_eth_open: MacAddress is multcast address Using FM1@DTSEC3 device

FM1@DTSEC3: Tx error, txbd->status = 0x8800

FM1@DTSEC3: Tx buffer not ready, txbd->status = 0x8800

FM1@DTSEC3: Tx buffer not ready, txbd->status = 0x8800

FM1@DTSEC3: Tx buffer not ready, txbd->status = 0x8800

And this is the output of "printenv" i nu-boot

baudrate=115200

bdev=sda3

bootargs=root=/dev/sda3 rw rootdelay=5 console=ttyS0,115200

bootcmd=setenv bootargs root=/dev/sda3 rw rootdelay=5 console=$consoledev,$baudrate;mmcinfo;ext2load mmc 0:1 $loadaddr /boot/$bootfile;ext2load mmc 0:1 $fdtaddr /boot/$fdtfile;bootm $loadaddr - $fdtaddr

bootdelay=10

bootfile=uImage

consoledev=ttyS0

eth0addr=AF:F5:59:14:09:DE

eth1addr=D7:C8:74:00:61:24

eth2addr=C2:B0:72:06:58:8A

eth3addr=A2:BF:1C:7A:80:E0

eth4addr=05:BC:26:F4:B3:65

eth5addr=F4:84:06:81:03:54

eth6addr=B4:6E:ED:11:F0:4B

ethact=FM1@DTSEC3

ethaddr=AF:F5:59:14:09:DE

ethprime=FM1@DTSEC3

fdtaddr=0x05000000

fdtfile=uImage.dtb

fec_addr=AF:F5:59:14:09:DE

fileaddr=4000000

filesize=8ec1

fman_ucode=7fb28dc8

gatewayip=192.168.1.1

hwconfig=fsl_ddr:ctlr_intlv=cacheline,bank_intlv=auto;usb1:dr_mode=host,phy_type=utmi

initrd_high=0xffffffff

ipaddr=192.168.1.111

loadaddr=0x3000000

mem=3500Mvideo-mode="fslfb:1024x768-32@60,monitor=vga"

netdev=eth0

nfsboot=setenv bootargs root=/dev/nfs rw nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off console=$consoledev,$baudrate $othbootargs;tftp $loadaddr $bootfile;tftp $fdtaddr $fdtfile;bootm $loadaddr - $fdtaddr

ramboot=setenv bootargs root=/dev/ram rw console=$consoledev,$baudrate $othbootargs;tftp $ramdiskaddr $ramdiskfile;tftp $loadaddr $bootfile;tftp $fdtaddr $fdtfile;bootm $loadaddr $ramdiskaddr $fdtaddr

ramdiskaddr=2000000

ramdiskfile=t2080rdb/ramdisk.uboot

rootpath=/opt/nfsroot

stderr=serial

stdin=serial

stdout=serial

tftpflash=tftpboot $loadaddr $uboot && protect off $ubootaddr +$filesize && erase $ubootaddr +$filesize && cp.b $loadaddr $ubootaddr $filesize && protect on $ubootaddr +$filesize && cmp.b $loadaddr $ubootaddr $filesize

uboot="u-boot.bin"

ubootaddr=0x00201000

Edited Sep 28, 2018 by Mario Locati

Related issues

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
No due date
0
Labels
None
Assign labels
  • View project labels
Reference: oshw-powerpc-notebook/T2080customizations#1