liminix-fork/pkgs/kernel
Raito Bezarius 0a8343be66 pkgs/kernel/uimage: introduce commandLineDtbNode
Certain devices like the Zyxel NWA50AX will pass information on the command-line
to explain what is the current image (`bootImage=1` vs. `bootImage=0`).

Unfortunately, if we set the `chosen/bootargs` node, this will be overridden forcibly
by U-Boot.

To avoid this problem, it's easier to simply just use another DTB node like `bootargs-override` which
is what OpenWRT does [1].

[1]: https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=target/linux/ramips/patches-5.15/314-MIPS-add-bootargs-override-property.patch;h=e7dca7af886e8c0b69ba2b23f5855ddfeeb0d4a1;hb=refs/heads/main

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-02-18 20:30:41 +01:00
..
cmdline-cookie.patch unify kernel command line handling 2023-03-23 22:24:44 +00:00
default.nix build modules at same time as main kernel vmlinux 2024-02-11 23:47:11 +00:00
dtb.nix detect arch in kernel and uimage 2023-09-20 18:26:33 +01:00
kernel_fdt.its in uimage FIT, honour ${arch} 2023-11-05 11:31:28 +00:00
mips-malta-fdt-from-bootloader.patch tidy up kernel patch 2023-12-21 21:12:55 +00:00
phram-allow-cached-mappings.patch aarch64: make tftpboot work 2023-10-09 19:47:57 +01:00
uimage.nix pkgs/kernel/uimage: introduce commandLineDtbNode 2024-02-18 20:30:41 +01:00
write-kconfig.nix extract writeKconfig to its own file 2023-06-26 20:49:43 +01:00