Messages in this thread | | | Date | Thu, 23 Nov 2023 23:18:05 +0900 | From | Masami Hiramatsu (Google) <> | Subject | Re: [PATCH 2/2] bootconfig: Apply early options from embedded config |
| |
On Thu, 23 Nov 2023 11:04:00 +0100 Petr Malat <oss@malat.biz> wrote:
> Hi! > > On Thu, Nov 23, 2023 at 11:22:07AM +0900, Masami Hiramatsu wrote: > > BTW, we also need to make a block-list for some early params. some of those > > MUST be passed from the bootloader. E.g. initrd address and size will be > > passed from the bootloader via commandline. Thus such params in the embedded > > bootconfig should be filtered at the build time. > > It's ok to configure these in the embedded bootconfig - in a case they are > provided by the bootloader, the bootconfig value is overridden, if not, the > value from bootconfig is used, so it works as expected.
I meant some params only bootloader knows, like where the initrd is loaded. Anyway, if user sets such value, it will break the kernel boot as expected :P.
Thank you,
> Petr
-- Masami Hiramatsu (Google) <mhiramat@kernel.org>
| |