[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231123231805.b4cb1b96426c956bd35bf53d@kernel.org>
Date: Thu, 23 Nov 2023 23:18:05 +0900
From: Masami Hiramatsu (Google) <mhiramat@...nel.org>
To: Petr Malat <oss@...at.biz>
Cc: paulmck@...nel.org, Randy Dunlap <rdunlap@...radead.org>,
linux-kernel@...r.kernel.org, rostedt@...dmis.org
Subject: Re: [PATCH 2/2] bootconfig: Apply early options from embedded
config
On Thu, 23 Nov 2023 11:04:00 +0100
Petr Malat <oss@...at.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@...nel.org>
Powered by blists - more mailing lists