[openwrt/openwrt] pistachio: Take bootargs from device tree
LEDE Commits
lede-commits at lists.infradead.org
Tue Nov 2 15:41:16 PDT 2021
hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/b7bb176d1c1865b5cf443f72aae9b9c8999d0cd2
commit b7bb176d1c1865b5cf443f72aae9b9c8999d0cd2
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Mon Oct 25 01:48:17 2021 +0200
pistachio: Take bootargs from device tree
The boot arguments are copied into the device tree by the boot loader
and taken from the device tree by the kernel.
The code which takes the boot arguments from the different sources was
reworked with kernel 5.5.
We have to activate CONFIG_MIPS_CMDLINE_DTB_EXTEND to take the boot
arguments from the device tree.
This makes the system boot on the board again.
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
target/linux/pistachio/config-5.10 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/linux/pistachio/config-5.10 b/target/linux/pistachio/config-5.10
index f510b389a8..f3042b1d32 100644
--- a/target/linux/pistachio/config-5.10
+++ b/target/linux/pistachio/config-5.10
@@ -141,8 +141,8 @@ CONFIG_MIPS_ASID_BITS=8
CONFIG_MIPS_ASID_SHIFT=0
CONFIG_MIPS_CLOCK_VSYSCALL=y
CONFIG_MIPS_CM=y
-# CONFIG_MIPS_CMDLINE_DTB_EXTEND is not set
-CONFIG_MIPS_CMDLINE_FROM_BOOTLOADER=y
+CONFIG_MIPS_CMDLINE_DTB_EXTEND=y
+# CONFIG_MIPS_CMDLINE_FROM_BOOTLOADER is not set
# CONFIG_MIPS_CMDLINE_FROM_DTB is not set
CONFIG_MIPS_CPC=y
CONFIG_MIPS_CPS=y
More information about the lede-commits
mailing list