lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK7LNAS8tLuHYcPTb5pJZixn5Hb0yjo0nmbrfSUr5Cd_pc+WMg@mail.gmail.com>
Date: Fri, 1 Mar 2024 00:34:30 +0900
From: Masahiro Yamada <masahiroy@...nel.org>
To: Chen-Yu Tsai <wenst@...omium.org>
Cc: Nathan Chancellor <nathan@...nel.org>, Nicolas Schier <nicolas@...sle.eu>, linux-kbuild@...r.kernel.org, 
	linux-kernel@...r.kernel.org, Simon Glass <sjg@...omium.org>
Subject: Re: [PATCH RFC] kbuild: create a list of all built DTB files

On Thu, Feb 29, 2024 at 11:38 AM Chen-Yu Tsai <wenst@...omium.org> wrote:
>
> On Sun, Feb 25, 2024 at 4:21 PM Masahiro Yamada <masahiroy@...nelorg> wrote:
> >
> > On Fri, Feb 23, 2024 at 6:23 PM Chen-Yu Tsai <wenst@...omium.org> wrote:
> > >
> > > It is useful to have a list of all composite *.dtb files, along with
> > > their individual components, generated from the current build.
> > >
> > > With this commit, 'make dtbs' creates arch/*/boot/dts/dtbs-components,
> > > which lists the composite dtb files created in the current build. It
> > > maintains the order of the dtb-y additions in Makefiles although the
> > > order is not important for DTBs.
> > >
> > > This compliments the list of all *.dtb and *.dtbo files in dtbs-list,
> > > which only includes the files directly added to dtb-y.
> > >
> > > For example, consider this case:
> > >
> > >     foo-dtbs := foo_base.dtb foo_overlay.dtbo
> > >     dtb-y := bar.dtb foo.dtb
> > >
> > > In this example, the new list will include foo.dtb with foo_base.dtb and
> > > foo_overlay.dtbo on the same line, but not bar.dtb.
> > >
> > > Signed-off-by: Chen-Yu Tsai <wenst@...omium.org>
> > > ---
> > > Hi,
> > >
> > > I hacked up this new thing to list out the individual components of each
> > > composite dtb. I think this information would be useful for FIT image
> > > generation or other toolchains to consume. For example, instead of
> > > including each dtb, a toolchain could realize that some are put together
> > > using others, and if the bootloader supports it, put together commands
> > > to reassemble the end result from the original parts.
> > >
> > > This is based on and complements Masahiro-san's recent dtbs-list work.
> >
> >
> >
> > This is another format of my previous per-dtb "*.dtlst"
> > (but I did not pick up 3/4, 4/4 because I did not know what we need after all).
> >
> > This should be discussed together with how Simon's script will look like.
> >
> > I can understand your Makefile code, but I still do not know
> > how the entire overlay stuff will work in a big picture.
>
> How would you like to proceed? I can through together some changes on top
> of Simon's patches as an initial proposal if that helps?
>
> I can use your format if you prefer.


How would you select base+addonX among
other base+addonY or base+addonZ configurations?


-- 
Best Regards
Masahiro Yamada

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ