mirror of
https://github.com/openwrt/openwrt.git
synced 2026-07-17 16:41:56 +04:00
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ý <daleckystepan@gmail.com> Link: https://github.com/openwrt/openwrt/pull/23666 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
committed by
Hauke Mehrtens
parent
4bea1cf4d8
commit
302d8be2bc
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user