Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: 2nd NIC on Rock64



Hi Jason --

To get the stuff on one of those daughter boards working, you need to either load a dtb overlay or modify the dtb you are using today (otherwise the kernel doesn't know that the hardware exists!).

Also it looks like our RK3328 clock driver doesn't support the clocks required for the second GMAC controller, so that will need to be patched as well.

Take care,
Jared


On Wed, 16 Sep 2020, Jason Mitchell wrote:

Hello,

    Pine64 sells a daughter board for the Rock64 that adds a second ethernet port. However, I only see one interface, but it has two phys. Am I correct in assuming that the two PHY's are for the two network ports or am I mistaken.

    The network interface is awge. Here are the relevant lines from dmesg (the full dmesg is attached both from 9.0_STABLE and current):

[     1.000006] awge0 at simplebus0: GMAC
[     1.000006] awge0: Core version: 00001035
[     1.000006] awge0: Ethernet address 76:c0:ab:f4:ca:6e
[     1.000006] awge0: HW feature mask: d0f17
[     1.000006] rgephy0 at awge0 phy 0: RTL8211F 1000BASE-T media interface
[     1.000006] rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
[     1.000006] rgephy1 at awge0 phy 1: RTL8211F 1000BASE-T media interface
[     1.000006] rgephy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto[     1.000006] awge0: interrupting on GIC irq 56

    According to pcictl none of the pci buses are configured. Here is everything that is "not configured" in dmesg

[     1.000006] /opp_table0 at simplebus0 not configured
[     1.000006] /vop@ff370000 at simplebus0 not configured
[     1.000006] /amba/dmac@ff1f0000 at simplebus1 not configured
[     1.000006] /codec@ff410000 at simplebus0 not configured
[     1.000006] /iommu@ff373f00 at simplebus0 not configured
[     1.000006] /hdmi@ff3c0000 at simplebus0 not configured
[     1.000006] /phy@ff430000 at simplebus0 not configured
[     1.000006] /i2s@ff010000 at simplebus0 not configured
[     1.000006] /efuse@ff260000 at simplebus0 not configured
[     1.000006] /spdif@ff030000 at simplebus0 not configured
[     1.000006] /syscon@ff100000/io-domains at syscon0 not configured
[     1.000006] /syscon@ff100000/grf-gpio at syscon0 not configured
[     1.000006] /syscon@ff100000/power-controller at syscon0 not configured
[     1.000006] /spi@ff190000 at simplebus0 not configured
[     1.000006] /watchdog@ff1a0000 at simplebus0 not configured
[     1.000006] /gpu@ff300000 at simplebus0 not configured
[     1.000006] /sound at simplebus0 not configured
[     1.000006] /syscon@ff100000/reboot-mode at syscon0 not configured

--
Thanks,

Jason M.


Home | Main Index | Thread Index | Old Index