unify kernel command line handling

We now use MIPS_CMDLINE_DTB_EXTEND for all boot varieties
(tftpboot, flash boot, kexec) with the addition of
MIPS_BOOTLOADER_CMDLINE_REQUIRE_COOKIE - local patch -
so that the bootloader args are ignored unless they
contain the string "liminix"
This commit is contained in:
Daniel Barlow
2023-03-23 21:50:44 +00:00
parent 1c36f1b373
commit a5cfa37ed3
6 changed files with 74 additions and 10 deletions

View File

@@ -14,10 +14,6 @@ in {
kernel = {
config = {
MTD_SPLIT_UIMAGE_FW = "y";
# ignore the commandline provided by U-Boot because it's most
# likely wrong
MIPS_CMDLINE_FROM_BOOTLOADER = lib.mkForce "n";
MIPS_CMDLINE_FROM_DTB = "y";
};
};