On Wed, 12 Jun 2024 at 23:59, Diederik de Haas <didi.deb...@cknow.org> wrote:
> On Tuesday, 11 June 2024 09:01:20 CEST Diederik de Haas wrote: > > I already have a local branch to add preliminary support for the OpenWrt > One > > router [1] [2] which uses the same SoC :-) > > I was wrong. > $ grep ".dtsi" arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dts > #include "mt7986a.dtsi" > > $ grep ".dtsi" arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts > #include "mt7981b.dtsi" > > I'm not sure but it could be Filogic 830 vs Filogic 820 platform? I > wouldn't > be surprised if there are some shared things, but those are different SoCs. As far as I am aware they are very similar chips and most of the internals are shared. However the MT7981 (and MT7988) are newer chips and the MT7981 DTS file was only added 4 months ago to the kernel. A quick grep for "mediatek,mt7981" shows support has been added to the relevant drivers over the past year so I think this is mainly the case of writing a complete DTS file perhaps by basing it on the MT7986 file and updating memory addresses etc. If we can get a build running on the MT7986 hopefully it will also boot on MT7981. If we do find issues with MT7981 drivers then maybe you will need to test sid to get the most recent kernel changes. Ideally if in your new kernel build you enable support for MT7981, MT7986, MT7988 at the same time that would be nice.