Jump to content

buzz89

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by buzz89

  1. @Nick AI tried to extract the dts from the working image, cloud you help me find any clues. Thank you. I was able to gain access to the os that works, this is the dmesg: dmesg | grep eth [ 8.550757] libphy: 5020000.eth: probed [ 8.568109] sunxi-gmac 5020000.eth eth0: eth0: Type(8) PHY ID 001cc916 at 0 IRQ poll (5020000.eth-0:00) [ 12.765916] sunxi-gmac 5020000.eth eth0: Link is Up - 1Gbps/Full - flow control off [ 12.775526] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready I also upload the pic of ethernet chip. dts.zip
  2. Sorry, I don't have the Android dts, the Android image is erased. I have tried the image from niulinkcloud, The ethernet is working on this image, can we extract dts from this image?
  3. unable to build. dts/upstream/src/arm64/allwinner/sun50i-h616-vontar-h618.dtb: ERROR (phandle_references): /soc/ethernet@5020000: Reference to non-existent node or label "reg_dcdce" @@ -23,7 +23,7 @@ diff --speed-large-files --no-dereference --minimal -Naur u-boot-2024.01-rc3/dts + mmc0 = &mmc0; + mmc1 = &mmc1; + mmc2 = &mmc2; -+ ethernet0 = &emac1; ++ ethernet0 = &emac0; + serial0 = &uart0; + }; + @@ -61,21 +61,21 @@ diff --speed-large-files --no-dereference --minimal -Naur u-boot-2024.01-rc3/dts + status = "okay"; +}; + -+&emac1 { ++&emac0 { + pinctrl-names = "default"; -+ pinctrl-0 = <&rmii_pins>; ++ pinctrl-0 = <&ext_rgmii_pins>; + phy-mode = "rmii"; -+ phy-handle = <&rmii_phy>; -+ phy-supply = <&reg_aldo1>; ++ phy-handle = <&ext_rgmii_pins>; ++ phy-supply = <&reg_dcdce>; + allwinner,rx-delay-ps = <3100>; + allwinner,tx-delay-ps = <700>; + status = "okay"; +}; + +&mdio1 { -+ rmii_phy: ethernet-phy@16 { ++ rmii_phy: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; -+ reg = <16>; ++ reg = <0>; + }; +}; +
  4. I have build a new image, but no luck, the ethernet is still not working. Here is what I changed. diff --git a/patch/u-boot/u-boot-h616/160-add-vontar-h618-defconfig.patch b/patch/u-boot/u-boot-h616/160-add-vontar-h618-defconfig.patch index 747ddca7b..6a88acfcf 100644 --- a/patch/u-boot/u-boot-h616/160-add-vontar-h618-defconfig.patch +++ b/patch/u-boot/u-boot-h616/160-add-vontar-h618-defconfig.patch @@ -73,9 +73,9 @@ diff --speed-large-files --no-dereference --minimal -Naur u-boot-2024.01-rc3/dts +}; + +&mdio1 { -+ rmii_phy: ethernet-phy@16 { ++ rmii_phy: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; -+ reg = <16>; ++ reg = <0>; + }; +}; + dmesg: root@vontar-h618:~# dmesg | grep ether [ 2.850576] dwmac-sun8i 5030000.ethernet: IRQ eth_wake_irq not found [ 2.850587] dwmac-sun8i 5030000.ethernet: IRQ eth_lpi not found [ 2.850597] dwmac-sun8i 5030000.ethernet: IRQ sfty not found [ 2.850841] dwmac-sun8i 5030000.ethernet: supply phy-io not found, using dummy regulator [ 2.851059] dwmac-sun8i 5030000.ethernet: PTP uses main clock [ 2.851089] dwmac-sun8i 5030000.ethernet: Current syscon value is not the default 53fe1 (expect 0) [ 2.851770] dwmac-sun8i 5030000.ethernet: No HW DMA feature register supported [ 2.851780] dwmac-sun8i 5030000.ethernet: RX Checksum Offload Engine supported [ 2.851787] dwmac-sun8i 5030000.ethernet: COE Type 2 [ 2.851794] dwmac-sun8i 5030000.ethernet: TX Checksum insertion supported [ 2.851801] dwmac-sun8i 5030000.ethernet: Normal descriptors [ 2.851807] dwmac-sun8i 5030000.ethernet: Chain mode enabled [ 2.979923] dwmac-sun8i 5030000.ethernet: EMAC reset timeout [ 2.979966] dwmac-sun8i 5030000.ethernet eth0: stmmac_dvr_remove: removing driver [ 3.004135] dwmac-sun8i 5030000.ethernet: probe with driver dwmac-sun8i failed with error -110 ip link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 3: enx000ec6c5f5e5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether 00:0e:c6:c5:f5:e5 brd ff:ff:ff:ff:ff:ff
  5. I just got an H618 board. It is able to boot using the Vontar image, but the onboard Ethernet is not working. USB Ethernet works fine. The Ethernet chip is RTL8211F, I’m hoping to get some guidance on this issue. Here’s the relevant dmesg output related to Ethernet: dmesg | grep eth [ 0.000000] psci: probing for conduit method from DT. [ 2.422638] dwmac-sun8i 5030000.ethernet: IRQ eth_wake_irq not found [ 2.422669] dwmac-sun8i 5030000.ethernet: IRQ eth_lpi not found [ 2.422678] dwmac-sun8i 5030000.ethernet: IRQ sfty not found [ 2.422989] dwmac-sun8i 5030000.ethernet: supply phy-io not found, using dummy regulator [ 2.423245] dwmac-sun8i 5030000.ethernet: PTP uses main clock [ 2.423316] dwmac-sun8i 5030000.ethernet: Current syscon value is not the default 53fe1 (expect 0) [ 2.426176] dwmac-sun8i 5030000.ethernet: No HW DMA feature register supported [ 2.426204] dwmac-sun8i 5030000.ethernet: RX Checksum Offload Engine supported [ 2.426211] dwmac-sun8i 5030000.ethernet: COE Type 2 [ 2.426220] dwmac-sun8i 5030000.ethernet: TX Checksum insertion supported [ 2.426226] dwmac-sun8i 5030000.ethernet: Normal descriptors [ 2.426232] dwmac-sun8i 5030000.ethernet: Chain mode enabled [ 2.469198] dwmac-sun8i 5030000.ethernet end0: renamed from eth0 [ 3.060680] asix 2-1:1.0 eth0: register 'asix' at usb-5200000.usb-1, ASIX AX88772B USB 2.0 Ethernet, 00:0e:c6:c5:f5:e5 [ 3.068667] asix 2-1:1.0 enx000ec6c5f5e5: renamed from eth0 [ 11.377369] dwmac-sun8i 5030000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 11.388786] dwmac-sun8i 5030000.ethernet end0: PHY [stmmac-0:00] driver [Generic PHY] (irq=POLL) [ 11.388838] dwmac-sun8i 5030000.ethernet end0: No Safety Features support found [ 11.388849] dwmac-sun8i 5030000.ethernet end0: No MAC Management Counters available [ 11.388859] dwmac-sun8i 5030000.ethernet end0: PTP not supported by HW [ 11.393925] dwmac-sun8i 5030000.ethernet end0: configuring for phy/rmii link mode
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines