kbkpbot

Members
  • Content Count

    3
  • Joined

  • Last visited

About kbkpbot

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Please note: The T95Z Plus use a external phy , ZTE's ZX2AA500. So the device tree use a phy_id=0381:5c11 for this phy. I just added some pr_info in the dwmac-meson8b.c and stmmac_mdio.c, then recompile the kenerl , check dmesg , to see what is happen. Then I found the phy-id . I also checked the kernel 3.14 and found that the phy addr is 1 , not 0. So by fixed the dts, and finally make the ethernet work . If you can open the box, you can check the phy chip. If the phy chip is also the ZTE's ZX2AA500, then you can just modify the phy_addr (reg = <1>) from 0 to 5(?) to see work or not.
  2. I uploaded an attachment in the message. Please try it....
  3. Because the device tree problem, Ethernet did not working under Armbian 4.19.x. The correct device tree as follow, this will make the T95Z Plus Ethernet working: // SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Copyright (c) 2016 Endless Computers, Inc. * Author: Carlo Caione <carlo@endlessm.com> */ /dts-v1/; #include "meson-gxm.dtsi" #include "meson-gx-p23x-q20x.dtsi" / { compatible = "amlogic,q201", "amlogic,s912", "amlogic,meson-gxm"; model = "Amlogic Meson GXM (S912) Q201 Development Board"; }; &ethmac { phy-mode = "rgmii"; pinctrl-0 = <&eth_pins>; pinctrl-names = "default"; reg = <0x0 0xc9410000 0x0 0x10000 0x0 0xc8834540 0x0 0x8 0x0 0xc8834558 0x0 0xc>; /* Select external PHY by default */ phy-handle = <&external_phy>; amlogic,tx-delay-ns = <2>; /* External PHY reset is shared with internal PHY Led signals */ snps,reset-gpio = <&gpio GPIOZ_14 0>; snps,reset-delays-us = <0 10000 1000000>; snps,reset-active-low; }; &external_mdio { external_phy: ethernet-phy@0 { /* T95Z Plus's phy has phy id = 0381:5c11 */ compatible = "ethernet-phy-id0381.5c11", "ethernet-phy-ieee802.3-c22"; /* T95Z Plus's phy has phy addr = 1 */ reg = <1>; max-speed = <1000>; interrupt-parent = <&gpio_intc>; interrupts = <25 IRQ_TYPE_LEVEL_LOW>; }; }; &sd_emmc_a { brcmf: wifi@1 { reg = <1>; compatible = "brcm,bcm4329-fmac"; }; }; You can download the dts/dtb here: https://pan.baidu.com/s/1FJtKjyaL9rlhmJFQG8cVSg Please copy the meson-gxm-T95Z-Plus.dtb to your /boot, then modify the /boot/uEnv.ini to point to the new dtb, reboot the system make things work. Good luck! meson-gxm-T95Z-Plus.zip