tftpboot: use commandLineDtbNode #11

Merged
dan merged 1 commits from flokli/liminix:tftpboot-honor-commandLineDtbNode into main 2024-03-16 18:18:19 +00:00

config.boot.commandLineDtbNode can be set from bootargs to
bootargs-override (used for boards where the u-boot on the board does
set bootargs on its own).

In that case, the code updating the cmdline for tftpboot purposes also
needs to update this node, not the bootargs node.

Otherwise the kernel won't find the phram device, as it never heard
about it, as it didn't get the necessary cmdline options.

config.boot.commandLineDtbNode can be set from `bootargs` to `bootargs-override` (used for boards where the u-boot on the board does set `bootargs` on its own). In that case, the code updating the cmdline for tftpboot purposes also needs to update this node, not the `bootargs` node. Otherwise the kernel won't find the phram device, as it never heard about it, as it didn't get the necessary cmdline options.
flokli added 1 commit 2024-03-16 18:13:30 +00:00
436eb03a7b tftpboot: use commandLineDtbNode
config.boot.commandLineDtbNode can be set from `bootargs` to
`bootargs-override` (used for boards where the u-boot on the board does
set `bootargs` on its own).

In that case, the code updating the cmdline for tftpboot purposes also
needs to update this node, not the `bootargs` node.

Otherwise the kernel won't find the phram device, as it never heard
about it, as it didn't get the necessary cmdline options.
dan merged commit 202a37221a into main 2024-03-16 18:18:19 +00:00
flokli deleted branch tftpboot-honor-commandLineDtbNode 2024-03-16 18:18:40 +00:00
Sign in to join this conversation.
There is no content yet.