#1004474 "Debian 11.2 arm64 install successed in Phytium CPU FT-2000/4 box, but NIC Atheros 8035 not work"

#1004474#5
Date:
2022-01-28 10:48:16 UTC
From:
To:
Boot method: USB
Image version: https://mirrors.bfsu.edu.cn/debian-cd/11.2.0/arm64/iso-dvd/debian-11.2.0-arm64-DVD-1.iso
Date: 2020-01-22

Machine: Phytium CPU FT-2000/4
Partitions:
udev           devtmpfs   8095284        0   8095284    0% /dev
tmpfs          tmpfs      1629332     1080   1628252    1% /run
/dev/nvme0n1p8 ext4      57358176 15467140  38944988   29% /
tmpfs          tmpfs      8146652        0   8146652    0% /dev/shm
tmpfs          tmpfs         5120        4      5116    1% /run/lock
/dev/nvme0n1p7 ext4     123268672  8663604 108297228    8% /data
/dev/nvme0n1p1 vfat        523248    16404    506844    4% /boot/efi
tmpfs          tmpfs      1629328        0   1629328    0% /run/user/0
tmpfs          tmpfs      1629328        0   1629328    0% /run/user/1000


Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:           [O]
Detect network card:    [E]
Configure network:      [E]
Detect media:           [O]
Load installer modules: [O]
Clock/timezone setup:   [O]
User/password setup:    [O]
Detect hard drives:     [O]
Partition hard drives:  [O]
Install base system:    [O]
Install tasks:          [O]
Install boot loader:    [O]
Overall install:        [O]

Comments/Problems:

The hardware info can also find in:

https://linux-hardware.org/?probe=d0ecbeff52

The box has one NIC,it can't been find in the install.

The NIC type is Atheros 8035 ethernet.

This NIC is integrated in board, use phy.

This NIC can drived by the other distribution base on Debian, like UOS
or Kylin.

kernel is:
4.19.0-arm64-desktop #4310 SMP Tue Dec 28 22:31:27 CST 2021 aarch64 GNU/Linux

The dmesg output is:

    [ 0.955906] libphy: Fixed MDIO Bus: probed
    [ 0.959396] ---acpi:stmmac irq is 9 9 -1
    [ 0.959405] --stmmac_probe_config_acpi: plat interface is a
    [ 0.959407] ---plat bus_id is 0
    [ 0.959408] ----stammac acpi phy setup -----
    [ 0.959411] stmmac_probe_config_acpi:tx-fifo-depth 10000, rx-fifo-depth 10000
    [ 0.959413] Unicast table entries set to unexpected value 65
    [ 0.959414] ---GMAC pbl is 10
    [ 0.959419] ----stmmaceth clock freq is 250000000
    [ 0.959422] get stmmac clk:(ptrval)
    [ 0.959423] register stmmac_clk PHYT0004:00
    [ 0.959430] set stmmac_clk:PHYT0004:00
    [ 0.959434] PTP use main clock
    [ 0.959436] stmmaceth PHYT0004:00: no reset control found
    [ 0.959475] stmmaceth PHYT0004:00: User ID: 0x10, Synopsys ID: 0x36
    [ 0.959478] stmmaceth PHYT0004:00: DWMAC1000
    [ 0.959480] stmmaceth PHYT0004:00: DMA HW capability register supported
    [ 0.959482] stmmaceth PHYT0004:00: RX Checksum Offload Engine supported
    [ 0.959483] stmmaceth PHYT0004:00: COE Type 2
    [ 0.959485] stmmaceth PHYT0004:00: TX Checksum insertion supported
    [ 0.959487] stmmaceth PHYT0004:00: Normal descriptors
    [ 0.959488] stmmaceth PHYT0004:00: Ring mode enabled
    [ 0.959490] stmmaceth PHYT0004:00: Enable RX Mitigation via HW Watchdog Timer
    [ 0.968837] libphy: stmmac: probed
    [ 0.968841] Atheros 8035 ethernet stmmac-0:04: attached PHY driver [Atheros 8035 ethernet] (mii_bus:phy_addr=stmmac-0:04, irq=POLL)
    [ 0.968987] ---acpi:stmmac irq is 10 10 -1
    [ 0.968997] --stmmac_probe_config_acpi: plat interface is a
    [ 0.968999] ---plat bus_id is 1
    [ 0.969000] ----stammac acpi phy setup -----
    [ 0.969002] stmmac_probe_config_acpi:tx-fifo-depth 10000, rx-fifo-depth 10000
    [ 0.969003] Unicast table entries set to unexpected value 65
    [ 0.969005] ---GMAC pbl is 10
    [ 0.969008] ----stmmaceth clock freq is 250000000
    [ 0.969010] get stmmac clk:(ptrval)
    [ 0.969011] register stmmac_clk PHYT0004:01
    [ 0.969013] set stmmac_clk:PHYT0004:01
    [ 0.969015] PTP use main clock
    [ 0.969017] stmmaceth PHYT0004:01: no reset control found
    [ 0.969053] stmmaceth PHYT0004:01: User ID: 0x10, Synopsys ID: 0x36
    [ 0.969055] stmmaceth PHYT0004:01: DWMAC1000
    [ 0.969056] stmmaceth PHYT0004:01: DMA HW capability register supported
    [ 0.969058] stmmaceth PHYT0004:01: RX Checksum Offload Engine supported
    [ 0.969059] stmmaceth PHYT0004:01: COE Type 2
    [ 0.969060] stmmaceth PHYT0004:01: TX Checksum insertion supported
    [ 0.969062] stmmaceth PHYT0004:01: Normal descriptors
    [ 0.969063] stmmaceth PHYT0004:01: Ring mode enabled
    [ 0.969064] stmmaceth PHYT0004:01: Enable RX Mitigation via HW Watchdog Timer
    [ 0.975643] libphy: stmmac: probed
    [ 0.975646] stmmaceth PHYT0004:01: No PHY found
    [ 0.975666] stmmaceth PHYT0004:01: stmmac_dvr_probe: MDIO bus (id: 1) registration failed

    [ 2.606904] stmmaceth PHYT0004:00 enaphyt4i0: renamed from eth0
    [ 8.402441] stmmaceth PHYT0004:00 enaphyt4i0: No Safety Features support found
    [ 8.402446] stmmaceth PHYT0004:00 enaphyt4i0: PTP not supported by HW
    [ 8.402450] stmmaceth PHYT0004:00: dev_name:PHYT0004:00, port:0
    [ 8.402453] stmmaceth PHYT0004:00: Override gmac addr by eeprom succeeded!
    [ 11.484967] stmmaceth PHYT0004:00 enaphyt4i0: Link is Up - 1Gbps/Full - flow control rx/tx