and I droped patchs for iPassion iP2970 and NAND flash, as I don't have device with one and upstream structure changed too much for me to update the patch.
while this boots, when I test it on tplink c2, failed to use RTL8367B switch it embedded, only accessible wirelessly. it's seen on luci and detects what ports are connected to what, but can't talk by wire.
I didn't expect this as patch doesn't include much about wired route...
MODPOST vmlinux.o
mipsel-openwrt-linux-musl-ld: drivers/staging/mt7621-eth/gsw_mt7621.o: in function `mt7621_hw_init':
/home/tanveer/hello/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-4.19.56/drivers/staging/mt7621-eth/gsw_mt7621.c:79: undefined reference to `mtk_reset'
mipsel-openwrt-linux-musl-ld: /home/tanveer/hello/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-4.19.56/drivers/staging/mt7621-eth/gsw_mt7621.c:170: undefined reference to `mt7530_mdio_m32'
mipsel-openwrt-linux-musl-ld: /home/tanveer/hello/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-4.19.56/drivers/staging/mt7621-eth/gsw_mt7621.c:171: undefined reference to `mt7530_mdio_m32'
mipsel-openwrt-linux-musl-ld: /home/tanveer/hello/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-4.19.56/drivers/staging/mt7621-eth/gsw_mt7621.c:216: undefined reference to `mt7530_mdio_m32'
mipsel-openwrt-linux-musl-ld: arch/mips/pci/pci-legacy.o: in function `pcibios_scanbus':
/home/tanveer/hello/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-4.19.56/arch/mips/pci/pci-legacy.c:102: undefined reference to `pcibios_map_irq'
mipsel-openwrt-linux-musl-ld: /home/tanveer/hello/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-4.19.56/arch/mips/pci/pci-legacy.c:102: undefined reference to `pcibios_map_irq'
mipsel-openwrt-linux-musl-ld: arch/mips/pci/pci-legacy.o: in function `pcibios_enable_device':
/home/tanveer/hello/openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-4.19.56/arch/mips/pci/pci-legacy.c:293: undefined reference to `pcibios_plat_dev_init'
Please tell what is the problem. I am trying to compile for mt7621 target