hzyitc / armbian-onecloud

Armbian for onecloud. 玩客云用armbian
1.09k stars 209 forks source link

网心云3.4.7固件提取的dtb转的dts文件 #105

Closed lanlanpy closed 1 year ago

lanlanpy commented 1 year ago

从网心官方固件提取的内核5.10.xx的dts文件,对比了下大佬的,发现网卡clock部分有差异,大佬可以参考下 onething_kernel_5.10.dts.txt image

Potterli20 commented 1 year ago

75

hzyitc commented 1 year ago

可以看到唯一的不同就是reset-deassert-us。但根据官方的解释,这里确实应该用长延时。

https://github.com/torvalds/linux/commit/656ab1bdcd2b755dc161a9774201100d5bf74b8d:

From 656ab1bdcd2b755dc161a9774201100d5bf74b8d Mon Sep 17 00:00:00 2001
From: Stefan Agner <stefan@agner.ch>
Date: Mon, 7 Dec 2020 18:58:01 +0100
Subject: [PATCH] ARM: dts: meson: fix PHY deassert timing requirements

According to the datasheet (Rev. 1.9) the RTL8211F requires at least
72ms "for internal circuits settling time" before accessing the PHY
registers. On similar boards with the same PHY this fixes an issue where
Ethernet link would not come up when using ip link set down/up.

Fixes: a2c6e82e5341 ("ARM: dts: meson: switch to the generic Ethernet PHY reset bindings")
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> # on Odroid-C1+
Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Link: https://lore.kernel.org/r/ff78772b306411e145769c46d4090554344db41e.1607363522.git.stefan@agner.ch
hzyitc commented 1 year ago

一个贴子讨论吧,不多开帖。