In a fit of “why isn’t it doing anything”, I have gone back to Debian Bullseye + linux-image-arm64 from unstable, which at the moment is 5.14.16
arm-smmu.disable_bypass=0 iommu.passthrough=1
in /etc/default/grub finally had the desired effect.
I was not able to build the ‘master’ branch of restool sources linked above, but then newer ‘integration’ branch did build and install. The kernel option CONFIG_FSL_MC_UAPI_SUPPORT=y
is the relevant one.
ls-listmac
dprc.1/dpmac.17 (end point: dpni.0)
dprc.1/dpmac.10
dprc.1/dpmac.9
dprc.1/dpmac.8
dprc.1/dpmac.7
dprc.1/dpmac.6
dprc.1/dpmac.5
dprc.1/dpmac.4
dprc.1/dpmac.3
Update /etc/network/interfaces with a few options, not limited to dhcp
ls-addni dpmac.9
restart networking, top left works, and continuing…
[dpmac.9][dpmac.7]
[dpmac.10][dpmac.8] [?] [serial console usb] [eth0] [usb3] [sd]
ethX is assigned in order of commands.
Final note, when making a systemd ls-addni.service - to run before networking starts, apparently you should use
Before=network-pre.target
Wants=network-pre.target
Thank you.