Jump to content

gusnau

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by gusnau

  1. 20 minutes ago, gcsuri said:

    As more people mentioned before the sections from factory kernel is not working with the mainline kernel, for example: mc_val, analog_val, cali_val. The functions which handles this sections are missing from the mainline soc ethernet driver. You may try to put these function to the driver or "convert" the functions to the reg section if it's possible...

    Thanks, guess I have to wait for someone who is good at it. I know nothing about this

  2. These are the sections related to ethernet from the android firmware dtb file which 1Gbps is working well, I tried replaced them in the meson-sm1-sei610.dtb, armbian can boot but ethernet still didn't work.

     

    	ethernet@ff3f0000 {
    		compatible = "amlogic, g12a-eth-dwmac\0snps,dwmac";
    		reg = < 0xff3f0000 0x10000 0xff634540 0x08 0xff64c000 0xa0 >;
    		reg-names = "eth_base\0eth_cfg\0eth_pll";
    		interrupts = < 0x00 0x08 0x01 >;
    		interrupt-names = "macirq";
    		status = "okay";
    		clocks = < 0x02 0x38 >;
    		clock-names = "ethclk81";
    		pll_val = < 0x9c0040a 0x927e0000 0xac5f49e5 >;
    		analog_val = < 0x20200000 0xc000 0x23 >;
    		pinctrl-names = "external_eth_pins";
    		pinctrl-0 = < 0x11 >;
    		mc_val = < 0x1621 >;
    		cali_val = < 0x30000 >;
    		internal_phy = < 0x00 >;
    		phandle = < 0x96 >;
    	};
              
    		internal_eth_pins {
    			phandle = < 0xbf >;
    
    			mux {
    				function = "eth";
    			};
    		};
    
    		internal_gpio_pins {
    			phandle = < 0xc0 >;
    
    			mux {
    				function = "gpio_periphs";
    				bias-disable;
    				input-enable;
    			};
    		};
    
    		external_eth_pins {
    			phandle = < 0x11 >;
    
    			mux {
    				groups = "eth_mdio\0eth_mdc\0eth_rgmii_rx_clk\0eth_rx_dv\0eth_rxd0\0eth_rxd1\0eth_rxd2_rgmii\0eth_rxd3_rgmii\0eth_rgmii_tx_clk\0eth_txen\0eth_txd0\0eth_txd1\0eth_txd2_rgmii\0eth_txd3_rgmii";
    				function = "eth";
    				drive-strength = < 0x03 >;
    			};
    		};

     

  3. 20 hours ago, Gausus said:

    X96 Max Plus s905x3 4G  DTB fix for network and sound.

     

    https://drive.google.com/file/d/1jWnRu-GdOL72__X-ea8oI2VRW_x1ENTM/view?usp=sharing

     

    Tested on Armbian 20.05.01 20200408.

     

    Based on meson-sm1-sei610-ethfix.dtb (network ok no sound) and meson-sm1-sei610-2.dtb (sound hdmi ok no network) found on this forum.

     

    Thanks, ethernet confirmed working, but only on 100Mbps. Do you have any idea to make it working on 1Gbps?

  4. On 2/14/2020 at 6:26 AM, keynight said:

    Can you check with this  dtd files

    meson-sm1-sei610-ethfix.dtb 

    meson-sm1-sei610-ethfix.dts

    meson-sm1-sei610-ethfix.dts 63.42 kB · 63 downloads meson-sm1-sei610-ethfix.dtb 45.73 kB · 72 downloads

    I'm running Armbian_20.05.1_Arm-64_buster_current_5.6.2_20200408.img on a X96 Max Plus 4GB, I modified those sections which you changed in the dts file, ethernet is working now, but only 100Mbps. If using the original meson-sm1-sei610.dtb file, I can see through my router that LAN is connected on 1Gbps, but no IP address is issued.

     

    Any suggestion to make ethernet working on 1Gbps?

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines