Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux 6.1.53对于s905x3系列的问题 #36

Open
darcyg opened this issue Oct 18, 2023 · 0 comments
Open

linux 6.1.53对于s905x3系列的问题 #36

darcyg opened this issue Oct 18, 2023 · 0 comments

Comments

@darcyg
Copy link

darcyg commented Oct 18, 2023

linux 6.1.53的更新有一个补丁 of: property: Simplify of_link_to_phandle() 这个影响DT(设备树)的compatible属性
erkia/linux@c50fdd5
linux-stable.git的c50fdd53344810b2ca977f4d4979fb1dec811627 提交

我发现所有依赖arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi文件的

		ethmac: ethernet@ff3f0000 {
			compatible = "amlogic,meson-g12a-dwmac",
				     "snps,dwmac-3.70a",
				     "snps,dwmac";
			reg = <0x0 0xff3f0000 0x0 0x10000>,
			      <0x0 0xff634540 0x0 0x8>;
			interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
			interrupt-names = "macirq";
			clocks = <&clkc CLKID_ETH>,
				 <&clkc CLKID_FCLK_DIV2>,
				 <&clkc CLKID_MPLL2>,
				 <&clkc CLKID_FCLK_DIV2>;
			clock-names = "stmmaceth", "clkin0", "clkin1",
				      "timing-adjustment";
			rx-fifo-depth = <4096>;
			tx-fifo-depth = <2048>;
			status = "disabled";

			mdio0: mdio {
				#address-cells = <1>;
				#size-cells = <0>;
				compatible = "snps,dwmac-mdio";
			};
		};

都会受影响
应该是compatible = "snps,dwmac-mdio"; 这句找不到上游设备,导致执行问题。
错误是

[   16.614435] platform ff64c000.mdio-multiplexer: deferred probe pending
[   16.614452] platform ff3f0000.ethernet: deferred probe pending

需要unpatch这个补丁才能解决问题。

目测6.1.53后面的版本全部受影响,所有x3可能还有其他G12甚至更早的芯片都受影响,其他芯片不确定,我手中只有x3的机顶盒
故障状态应该是有线网卡加载不了。

可能DTS要换写法,怎么换我也不知道。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant