coreboot 4.11 + U-boot master

Jay Talbott JayTalbott at sysproconsulting.com
Thu Oct 12 04:03:48 CEST 2023


Hi Simon,

So I gave it a whirl to do a build of coreboot (on the 4.11 branch) with the U-boot payload, specifying U-boot master to get the latest version of U-boot.

Unfortunately, it failed to build the payload:

    Cloning U-Boot from Git
Cloning into 'u-boot'...
warning: redirecting to https://source.denx.de/u-boot/u-boot.git/
remote: Enumerating objects: 945927, done.
remote: Counting objects: 100% (6622/6622), done.
remote: Compressing objects: 100% (2418/2418), done.
remote: Total 945927 (delta 4232), reused 6496 (delta 4159), pack-reused 939305
Receiving objects: 100% (945927/945927), 190.29 MiB | 6.01 MiB/s, done.
Resolving deltas: 100% (793720/793720), done.
Updating files: 100% (20136/20136), done.
    Fetching new commits from the U-Boot git repo
    Checking out U-Boot revision origin/master
Already on 'master'
Your branch is up to date with 'origin/master'.
Branch 'coreboot' set up to track remote branch 'master' from 'origin'.
Switched to a new branch 'coreboot'
    MAKE       U-Boot origin/master
In file included from tools/imagetool.h:24,
                 from tools/aisimage.c:7:
include/image.h:1396:12: fatal error: openssl/evp.h: No such file or directory
1396 | #  include <openssl/evp.h>
      |            ^~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [scripts/Makefile.host:112: tools/aisimage.o] Error 1
make[2]: *** [Makefile:1858: tools] Error 2
make[1]: *** [Makefile:75: build] Error 2
make: *** [payloads/external/Makefile.inc:187: payloads/external/U-Boot/u-boot/u-boot-dtb.bin] Error 2

Looks like it needs openssl to get pulled in as part of the build. Is there something I'm missing that I need to do to get that to happen automatically? Or is there a manual step I need to do to get it pulled in?

Also, in coreboot's make menuconfig, there's a place for specifying a U-boot config file. For the first go at it I didn't specify one, but I'm guessing that maybe I need to at some point. If so, can you point me to what I'll need to put in there?

Thanks!

- Jay

Jay Talbott
Principal Consulting Engineer
SysPro Consulting, LLC
3057 E. Muirfield St.
Gilbert, AZ 85298
(480) 704-8045
(480) 445-9895 (FAX)
JayTalbott at sysproconsulting.com<mailto:JayTalbott at sysproconsulting.com>
http://www.sysproconsulting.com<http://www.sysproconsulting.com/>

[cid:image001.jpg at 01D9FC74.2E526D20]

-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 9610 bytes
Desc: image001.jpg
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20231012/f4b24644/attachment.jpg>


More information about the U-Boot mailing list