Re: tracing : bootconfig : Early boot config for non intrd systems

From: Masami Hiramatsu
Date: Sun Mar 13 2022 - 05:41:51 EST


On Sun, 13 Mar 2022 16:48:57 +0900
Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:

> On Sat, 12 Mar 2022 10:16:06 -0500
> Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> > On Sat, 12 Mar 2022 10:15:24 -0500
> > Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> >
> > > On Sat, 12 Mar 2022 15:53:58 +0900
> > > Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:
> > >
> > > > OK, please try below patch. You can embed your bootconfig in the kernel via
> > > > CONFIG_EMBED_BOOT_CONFIG_FILE.
> > > >
> > > >
> > > > >From 7478a8fbfe4669ee61fcb12b85b36d7e36f992ba Mon Sep 17 00:00:00 2001
> > > > From: Masami Hiramatsu <mhiramat@xxxxxxxxxx>
> > > > Date: Sat, 12 Mar 2022 14:59:30 +0900
> > > > Subject: [PATCH] bootconfig: Support embedding a bootconfig file in kernel
> > >
> > > I'm going to try this out, because there was a few times I could have
> > > used this.
> > >
> >
> > Oh, and can you send this as a separate patch so that it triggers my
> > scripts?
>
> OK, let me clean it up and add a document how to use it.

I found that the current patch causes a build error with allyesconfig.
I think I need to check CONFIG_EMBED_BOOT_CONFIG_FILE in Makefile and
copy it to default.bconf file.
Let me try to fix it.

Thank you,

>
> Thank you,
>
> >
> > Thanks,
> >
> > -- Steve
>
>
> --
> Masami Hiramatsu <mhiramat@xxxxxxxxxx>


--
Masami Hiramatsu <mhiramat@xxxxxxxxxx>