All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: Re: [PATCH 1/3] Dockerfile: Build coreboot from source
Date: Tue, 13 Feb 2024 10:31:31 -0500	[thread overview]
Message-ID: <20240213153131.GS3040305@bill-the-cat> (raw)
In-Reply-To: <20240213143928.91443-1-trini@konsulko.com>

[-- Attachment #1: Type: text/plain, Size: 1220 bytes --]

On Tue, Feb 13, 2024 at 09:39:26AM -0500, Tom Rini wrote:
> To make CI runs rely less on external servers, build a coreboot release
> from source and populate /opt/coreboot with the output.
> 
> Signed-off-by: Tom Rini <trini@konsulko.com>
> ---
>  tools/docker/Dockerfile | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
> index 6122776bc64d..3d044657406e 100644
> --- a/tools/docker/Dockerfile
> +++ b/tools/docker/Dockerfile
> @@ -231,6 +231,17 @@ RUN mkdir /tmp/trace && \
>      sudo make install && \
>      rm -rf /tmp/trace
>  
> +# Build coreboot
> +RUN wget -O - https://coreboot.org/releases/coreboot-4.22.01.tar.xz | tar -C /tmp -xJ && \
> +    cd /tmp/coreboot-4.22.01 && \
> +    make crossgcc-i386 CPUS=$(nproc) && \
> +    make -C payloads/coreinfo olddefconfig && \
> +    make -C payloads/coreinfo && \
> +    make olddefconfig && \
> +    make -j $(nproc) && \
> +    sudo mkdir /opt/coreboot && \
> +    sudo cp build/coreboot.rom build/cbfstool /opt/coreboot/

And I forgot an "rm -rf /tmp/coreboot-4.22.01" at the end here which
I'll add while merging if there's no further comments.

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

  parent reply	other threads:[~2024-02-13 15:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-13 14:39 [PATCH 1/3] Dockerfile: Build coreboot from source Tom Rini
2024-02-13 14:39 ` [PATCH 2/3] CI: Switch to using coreboot from our image Tom Rini
2024-02-13 14:39 ` [PATCH 3/3] CI: Move to latest container image Tom Rini
2024-02-13 15:31 ` Tom Rini [this message]
2024-02-28 16:21 ` [PATCH 1/3] Dockerfile: Build coreboot from source Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240213153131.GS3040305@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.