МИХАИЛ reacted to
Energokom in HK1 box LAN 100 (s905x3) latest releases with kernel 6.1 does not start from SD card
i fixed meson-sm1-hk1box-vontar-x3.dtb for hk1box-LAN100m
I'm cleaning up the ethernet@ff3f0000 - everything related to the external chip:
ethernet@ff3f0000 {
compatible = "amlogic,meson-g12a-dwmac\0snps,dwmac-3.70a\0snps,dwmac";
reg = <0x00 0xff3f0000 0x00 0x10000 0x00 0xff634540 0x00 0x08>;
interrupts = <0x00 0x08 0x04>;
interrupt-names = "macirq";
clocks = <0x02 0x26 0x02 0x02 0x02 0x0d 0x02 0x02>;
clock-names = "stmmaceth\0clkin0\0clkin1\0timing-adjustment";
rx-fifo-depth = <0x1000>;
tx-fifo-depth = <0x800>;
status = "okay";
power-domains = <0x03 0x06>;
pinctrl-0 = <0x11 0x12>;
pinctrl-names = "default";
phy-handle = <0xe4>; #(there was a link at <0x13> to the external chip)
phy-mode = "rmii"; # I remove the letter "g" since we have 100 M/s
nvmem-cells = <0x14>;
nvmem-cell-names = "eth_mac";
phandle = <0x5f>;
mdio {
#address-cells = <0x01>;
#size-cells = <0x00>;
compatible = "snps,dwmac-mdio";
phandle = <0x1d>;
};
};
Here we also remove the external ethernet chip
mdio@0 {
reg = <0x00>;
#address-cells = <0x01>;
#size-cells = <0x00>;
phandle = <0xe2>;
#ethernet-phy@0 {
# reg = <0x00>;
# max-speed = <0x3e8>;
# reset-assert-us = <0x7530>;
#reset-deassert-us = <0x13880>;
#reset-gpios = <0x1e 0x0f 0x07>;
#interrupt-parent = <0x1f>;
#interrupts = <0x1a 0x08>;
#phandle = <0x13>; - In the code above there was a link to here to the external chip ethernet
#};
};
mdio@1 {
reg = <0x01>;
#address-cells = <0x01>;
#size-cells = <0x00>;
phandle = <0xe3>;
ethernet_phy@8 {
compatible = "ethernet-phy-id0180.3301\0ethernet-phy-ieee802.3-c22";
interrupts = <0x00 0x09 0x04>;
reg = <0x08>;
max-speed = <0x64>;
phandle = <0xe4>; - # in the code above, I changed the link to this part internal ethernet
};
};
You can check my DTB and add for HK1box-LAN100m to the armbian build
meson-sm1-hk1box.dtb.zip