もしかして:phy-io-supplyは入れていないけど、of_get_child_regulator()辺りの改変はしてる?(Linuxのソースコード入ってるマシンの電源は落としてしまったのですぐに確認できない…) https://patchwork.kernel.org/project/netdevbpf/patch/20220509074857.195302-4-clabbe@baylibre.com/
OpenBSD(uaa@), Ham(JG1UAA), Ingress(Lv14, RES), Japanese(Sagamihara-city, Kanagawa)
Another side: https://social.tchncs.de/@uaa
npub1rarr265r9f9j6ewp960hcm7cvz9zskc7l2ykwul57e7xa60r8css7uf890
Messages from this Mastodon account can read via mostr.pub with npub1j3un8843rpuk4rvwnd7plaknf2lce58yl6qmpkqrwt3tr5k60vfqxmlq0w
もしかして:phy-io-supplyは入れていないけど、of_get_child_regulator()辺りの改変はしてる?(Linuxのソースコード入ってるマシンの電源は落としてしまったのですぐに確認できない…) https://patchwork.kernel.org/project/netdevbpf/patch/20220509074857.195302-4-clabbe@baylibre.com/
linux-6.7.6/arch/arm64/boot/dts/allwinner/*.dtsを見ているけど、phy-io-supplyに関しては何もないですねえ。きちんとした形でまとまっていないとちょっと手を出しようがないんですけど…
(※uaa、確かに「うああ」読みされることも多いですが実際はその読み方は正しくなかったりします)
This account is not set to public on notestock.
orangepi-3は確かに
ethernet@5020000 {
compatible = "allwinner,sun50i-h6-emac\0allwinner,sun50i-a64-emac";
(略)
phy-supply = <0x2f>;
phy-io-supply = <0x36>;
allwinner,rx-delay-ps = <0xc8>;
allwinner,tx-delay-ps = <0xc8>;
phandle = <0x7b>;
mdio {
phy-io-supplyのエントリを持ってる。持ってないOnePlusが何故ちゃんと動くのか…
root@orangepioneplus:/boot/dtb-6.6.16-current-sunxi64/allwinner# grep phy-io *
grep: overlay: Is a directory
grep: sun50i-h6-orangepi-3.dtb: binary file matches
root@orangepioneplus:/boot/dtb-6.6.16-current-sunxi64/allwinner#
…ふむ。
Applying kernel provided DT fixup script (sun50i-h6-fixup.scr)…?
Armbianの/proc/device-treeとか/bootにあるOrange Pi One PlusのDevice Tree見てるけどphy-io-supplyだのPHYのリセットだのと言った記述が見当たらないな。どこでどうなってるんだか…
uaa@orangepioneplus:/proc/device-tree/soc/ethernet@5020000/mdio$ find .
.
./#address-cells
./ethernet-phy@1
./ethernet-phy@1/compatible
./ethernet-phy@1/reg
./ethernet-phy@1/phandle
./ethernet-phy@1/name
./#size-cells
./compatible
./phandle
./name
uaa@orangepioneplus:/proc/device-tree/soc/ethernet@5020000/mdio$
uaa@orangepioneplus:/proc/device-tree/soc/ethernet@5020000$ ls
allwinner,rx-delay-ps interrupt-names phandle pinctrl-names syscon
allwinner,tx-delay-ps interrupts phy-handle reg
clock-names local-mac-address phy-mode reset-names
clocks mdio phy-supply resets
compatible name pinctrl-0 status
uaa@orangepioneplus:/proc/device-tree/soc/ethernet@5020000$
Linuxのソースを追う助けとするために、再びArmbianのディスクイメージを書いて動作の確認。
dwmac_sun8i→mdio_muxってことは分かったけど…phy-ioなDeviceTreeは誰がどこで処理してるんだろう。
ほんこれ、ソーシャルディスタンスの概念はどこへ消えた?と思うくらい間合いを詰めてくる人間多すぎ。
This account is not set to public on notestock.