[PATCH v2] RFC: gitlab: x86: Add a coreboot test

Simon Glass sjg at chromium.org
Fri Dec 3 21:13:08 CET 2021


Hi Tom,

On Fri, 3 Dec 2021 at 09:05, Tom Rini <trini at konsulko.com> wrote:
>
> On Fri, Dec 03, 2021 at 08:47:55AM -0700, Simon Glass wrote:
> > Hi Tom,
> >
> > On Fri, 3 Dec 2021 at 08:00, Tom Rini <trini at konsulko.com> wrote:
> > >
> > > On Thu, Dec 02, 2021 at 07:26:21PM -0700, Simon Glass wrote:
> > >
> > > > Coreboot supports U-Boot as a payload and this recently got a bit of a
> > > > facelist. Add a test for this.
> > > >
> > > > For now this uses a binary build of coreboot (v4.15). Future work could
> > > > potentially build it from source, but we need to figure out the
> > > > toolchain problems first, since coreboot uses its own toolchain.
> > > >
> > > > This needs some changes to the hooks scripts as well. An example build
> > > > is at https://source.denx.de/u-boot/custodians/u-boot-dm/-/jobs/359687
> > > >
> > > > Signed-off-by: Simon Glass <sjg at chromium.org>
> > >
> > > We should build coreboot in the Dockerfile like we do grub and so forth,
> > > then not have to worry about the toolchain things since it's just a
> > > one-time cost to me (or anyone else doing docker build).
> >
> > OK...it does take an age though, since it builds various toolchains
> > before it will even build coreboot. I'm going to talk to them about
> > why they can't use 'normal' toolchains. Anyway, I'll add it in and see
> > how it looks.
> >
> > Do you want me to try the DockerFile thing first, or is having a
> > download OK for now? What do you think about doing a docker thing for
> > nikia_rx51 ?
>
> For coreboot, lets see what the feedback you get is, and we can deal
> with adding the test soon like this I suppose.

OK, it might take some weeks to figure it out but am having a chat next week.

>
> For nokia_rx51, I assume you mean building qemu and I'm not sure we can
> without making the test more fragile for non-CI?  It doesn't tend to be
> much of a bottleneck so I'd rather not tweak it further.

Ah OK I hadn't thought of that side. It fails for me a fair bit which
is why I think of it.

Regards,
Simon


More information about the U-Boot mailing list