From 302d8be2bce25563b66a6261b40c1ef709686049 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=A0t=C4=9Bp=C3=A1n=20Daleck=C3=BD?= Date: Fri, 5 Jun 2026 19:04:30 +0200 Subject: [PATCH] mvebu: set MOX firmware fallback via cmdline MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- target/linux/mvebu/image/turris-mox.bootscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3