All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Julien Olivain <ju.o@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v2 1/1] boot/edk2: add support for RISC-V 64bit architecture
Date: Sun, 24 Dec 2023 17:55:16 +0100	[thread overview]
Message-ID: <ZYhidG-NVNvDhx9i@landeda> (raw)
In-Reply-To: <ZYhf_BKuhSJPyNrJ@landeda>

Julien, All,

On 2023-12-24 17:44 +0100, Yann E. MORIN spake thusly:
> On 2023-12-22 11:56 +0100, Julien Olivain spake thusly:
> > RISC-V 64bit qemu virt machine support has been added in edk2
> > version "stable202302". See [1].
> > 
> > Since edk2-stable202308, introduced in buildroot in commit 5c9f310
> > "boot/edk2: bump to version edk2-stable202308", it is now possible
> > to boot the edk2 UEFI shell in qemu.
> > 
> > This commit adds this early RISC-V support to edk2.
> 
> Building edk2 for risc-v is broken with per-package directories. For
> example, this defconfig fails to build:

It seems it is not related to risc-v, finally, as an AArch64 build is
broken similarly;

    BR2_aarch64=y
    BR2_TOOLCHAIN_EXTERNAL=y
    BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
    BR2_PER_PACKAGE_DIRECTORIES=y
    BR2_INIT_NONE=y
    BR2_SYSTEM_BIN_SH_NONE=y
    # BR2_PACKAGE_BUSYBOX is not set
    # BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set
    # BR2_TARGET_ROOTFS_TAR is not set
    BR2_TARGET_EDK2=y

    build.py...
     : error 7000: Failed to execute command
        make tbuild [/home/ymorin/dev/buildroot/O/master/build/edk2-edk2-stable202308/Build/ArmVirtQemu-AARCH64/RELEASE_GCC5/AARCH64/MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe]
    build.py...
     : error 7000: Failed to execute command
        make tbuild [/home/ymorin/dev/buildroot/O/master/build/edk2-edk2-stable202308/Build/ArmVirtQemu-AARCH64/RELEASE_GCC5/AARCH64/MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe]
    build.py...
     : error F002: Failed to build module
        /home/ymorin/dev/buildroot/O/master/build/edk2-edk2-stable202308/MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf [AARCH64, GCC5, RELEASE]
    - Failed -
    Build end time: 17:50:47, Dec.24 2023
    Build total time: 00:00:11
    make[1]: *** [package/pkg-generic.mk:283: /home/ymorin/dev/buildroot/O/master/build/edk2-edk2-stable202308/.stamp_built] Error 1
    make: *** [Makefile:23: _all] Error 2

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      reply	other threads:[~2023-12-24 16:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-02 19:30 [Buildroot] [PATCH next 1/1] boot/edk2: add support for RISC-V 64bit architecture Julien Olivain
2023-09-02 20:18 ` Thomas Petazzoni via buildroot
2023-12-22 10:56 ` [Buildroot] [PATCH v2 " Julien Olivain
2023-12-23 13:37   ` Thomas Petazzoni via buildroot
2023-12-24 16:44   ` Yann E. MORIN
2023-12-24 16:55     ` Yann E. MORIN [this message]

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=ZYhidG-NVNvDhx9i@landeda \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@buildroot.org \
    --cc=ju.o@free.fr \
    --cc=thomas.petazzoni@bootlin.com \
    /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.