From: Štěpán Dalecký Date: Fri, 5 Jun 2026 17:04:30 +0000 (+0200) Subject: mvebu: set MOX firmware fallback via cmdline X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=302d8be2bce25563b66a6261b40c1ef709686049;p=thirdparty%2Fopenwrt.git mvebu: set MOX firmware fallback via cmdline Newer kernels support applying sysctl keys from the kernel command line. Set sysctl.kernel.firmware_config.force_sysfs_fallback=0 in MOX bootargs to disable firmware sysfs fallback without a board-specific init script. Signed-off-by: Štěpán Dalecký Link: https://github.com/openwrt/openwrt/pull/23666 Signed-off-by: Hauke Mehrtens --- diff --git a/target/linux/mvebu/image/turris-mox.bootscript b/target/linux/mvebu/image/turris-mox.bootscript index 29d16964af0..6a4d4cd60f9 100644 --- a/target/linux/mvebu/image/turris-mox.bootscript +++ b/target/linux/mvebu/image/turris-mox.bootscript @@ -40,7 +40,7 @@ if part uuid ${devtype} ${devnum}:${distro_bootpart} bootuuid; then fi fi if test "$filesize" != "0"; then - setenv bootargs "earlyprintk console=ttyMV0,115200 earlycon=ar3700_uart,0xd0012000 rootfstype=${rootfstype} root=${rootdev} rootflags=${rootflags} rootwait ${contract} rw cfg80211.freg=${regdomain} ${quirks}" + setenv bootargs "earlyprintk console=ttyMV0,115200 earlycon=ar3700_uart,0xd0012000 rootfstype=${rootfstype} root=${rootdev} rootflags=${rootflags} rootwait ${contract} rw cfg80211.freg=${regdomain} sysctl.kernel.firmware_config.force_sysfs_fallback=0 ${quirks}" booti ${kernel_addr_r} - ${fdt_addr_r} echo "Booting Image failed" else