From patchwork Wed May 12 18:36:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "D. Olsson" X-Patchwork-Id: 1477764 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=senzilla.io header.i=@senzilla.io header.a=rsa-sha256 header.s=protonmail3 header.b=hQX28q/2; dkim-atps=neutral Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FgNm51GC4z9t0G for ; Thu, 13 May 2021 04:36:19 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id E335640F5E; Wed, 12 May 2021 18:36:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FBYLgFUgHcDg; Wed, 12 May 2021 18:36:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id CBC2C40F60; Wed, 12 May 2021 18:36:12 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 532A71BF2E3 for ; Wed, 12 May 2021 18:36:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 42C3B4015E for ; Wed, 12 May 2021 18:36:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp2.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=senzilla.io Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nk0Uj8FyfvmW for ; Wed, 12 May 2021 18:36:08 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 Received: from mail2.protonmail.ch (mail2.protonmail.ch [185.70.40.22]) by smtp2.osuosl.org (Postfix) with ESMTPS id 775B940150 for ; Wed, 12 May 2021 18:36:08 +0000 (UTC) Date: Wed, 12 May 2021 18:36:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=senzilla.io; s=protonmail3; t=1620844564; bh=6ctu6NV919z0AfLVSGy+TIiMG3uUytYKzqB1z5Amybw=; h=Date:To:From:Cc:Reply-To:Subject:From; b=hQX28q/2rWLeDji+prh1t7jdG4ulHbi304QJfTA2v04DpuE8VGe1OTT1ohyDSl7lT tGTU0umCERLEJGAI3V2LlgVhXVAS/8buD3Aocv5CeZuOwPLdnmGmNpZlL5DyqfWGJV tX8qzpZojNFtw0MDVnLZEzMb3y6ku1NzGpuVVKmB0jYyfXJInRrIWYCyHaDSwhY4yS vOX86y7dAsQhlUPs6cYYPXmlqDfpytBft5m8Gq9/kHdTMLtYa8tq+1558gosizTv2P Rs2aMu5OFQ6HHBMtu2F2/NmOdGhLawXuCS/MtVYerqeEYxaTbzVa7tIJ1Xy7BOyN+x U9OblfcoQmBEg== To: buildroot@buildroot.org Message-ID: MIME-Version: 1.0 Subject: [Buildroot] [PATCH v5 00/10] Introduce EDK2 firmware package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Dick Olsson via buildroot Reply-To: Dick Olsson Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Hi all, This latest revision addresses feedback from multiple people (see the revision log on each patch) as well as simplifies the series itself: * Do not introduce a new qemu_aarch64_virt_efi_defconfig * Instead, modify the existing qemu_aarch64_virt_defconfig [1] * Merge the boot/edk2 and boot/arm-trusted-firmware patches * Simplify various defconfigs and scripts by relying GRUB2 for booting I also bumped the edk2 packages to the latest stable version and introduced a runtime test for the whole boot chain. [1]: See discussion in http://patchwork.ozlabs.org/project/buildroot/patch/20200712163422.1162187-3-romain.naour@gmail.com/ Dick Olsson (10): package/edk2-platforms: new package boot/edk2: new package configs/aarch64_efi_defconfig: build the EDK2 firmware from source configs/pc_x86_64_efi_defconfig: build the EDK2 firmware from source configs/qemu_aarch64_virt_defconfig: build with EDK2 firmware configs/qemu_aarch64_sbsa_defconfig: new config for QEMU sbsa-ref configs/socionext_developerbox_defconfig: new config for Developerbox configs/solidrun_macchiatobin_efi_defconfig: EFI config for MacchiatoBin support/testing: new boot test for EDK2 DEVELOPERS: add files related to EDK2 for Dick Olsson DEVELOPERS | 16 ++ board/aarch64-efi/post-image.sh | 4 + board/aarch64-efi/readme.txt | 9 +- board/pc/readme.txt | 9 +- board/qemu/aarch64-sbsa/assemble-flash-images | 11 ++ board/qemu/aarch64-sbsa/genimage.cfg | 30 ++++ board/qemu/aarch64-sbsa/grub.cfg | 6 + board/qemu/aarch64-sbsa/linux.config | 68 ++++++++ board/qemu/aarch64-sbsa/readme.txt | 32 ++++ board/qemu/aarch64-virt/assemble-flash-images | 12 ++ board/qemu/aarch64-virt/genimage.cfg | 30 ++++ board/qemu/aarch64-virt/grub.cfg | 6 + board/qemu/aarch64-virt/readme.txt | 2 +- .../developerbox/assemble-flash-images | 7 + board/socionext/developerbox/genimage.cfg | 30 ++++ board/socionext/developerbox/grub.cfg | 6 + board/socionext/developerbox/readme.txt | 16 ++ .../macchiatobin-efi/assemble-flash-images | 7 + board/solidrun/macchiatobin-efi/genimage.cfg | 30 ++++ board/solidrun/macchiatobin-efi/grub.cfg | 6 + .../solidrun/macchiatobin-efi/linux.fragment | 3 + board/solidrun/macchiatobin-efi/readme.txt | 90 +++++++++++ boot/Config.in | 1 + boot/arm-trusted-firmware/Config.in | 15 +- .../arm-trusted-firmware.mk | 9 ++ boot/edk2/Config.in | 110 +++++++++++++ boot/edk2/edk2.hash | 3 + boot/edk2/edk2.mk | 150 ++++++++++++++++++ configs/aarch64_efi_defconfig | 2 + configs/pc_x86_64_efi_defconfig | 2 + configs/qemu_aarch64_sbsa_defconfig | 49 ++++++ configs/qemu_aarch64_virt_defconfig | 25 ++- configs/socionext_developerbox_defconfig | 24 +++ configs/solidrun_macchiatobin_efi_defconfig | 28 ++++ package/Config.in | 1 + package/edk2-platforms/Config.in | 8 + package/edk2-platforms/edk2-platforms.hash | 3 + package/edk2-platforms/edk2-platforms.mk | 22 +++ support/testing/tests/boot/test_edk2.py | 45 ++++++ 39 files changed, 913 insertions(+), 14 deletions(-) create mode 100755 board/qemu/aarch64-sbsa/assemble-flash-images create mode 100644 board/qemu/aarch64-sbsa/genimage.cfg create mode 100644 board/qemu/aarch64-sbsa/grub.cfg create mode 100644 board/qemu/aarch64-sbsa/linux.config create mode 100644 board/qemu/aarch64-sbsa/readme.txt create mode 100755 board/qemu/aarch64-virt/assemble-flash-images create mode 100644 board/qemu/aarch64-virt/genimage.cfg create mode 100644 board/qemu/aarch64-virt/grub.cfg create mode 100755 board/socionext/developerbox/assemble-flash-images create mode 100644 board/socionext/developerbox/genimage.cfg create mode 100644 board/socionext/developerbox/grub.cfg create mode 100644 board/socionext/developerbox/readme.txt create mode 100755 board/solidrun/macchiatobin-efi/assemble-flash-images create mode 100644 board/solidrun/macchiatobin-efi/genimage.cfg create mode 100644 board/solidrun/macchiatobin-efi/grub.cfg create mode 100644 board/solidrun/macchiatobin-efi/linux.fragment create mode 100644 board/solidrun/macchiatobin-efi/readme.txt create mode 100644 boot/edk2/Config.in create mode 100644 boot/edk2/edk2.hash create mode 100644 boot/edk2/edk2.mk create mode 100644 configs/qemu_aarch64_sbsa_defconfig create mode 100644 configs/socionext_developerbox_defconfig create mode 100644 configs/solidrun_macchiatobin_efi_defconfig create mode 100644 package/edk2-platforms/Config.in create mode 100644 package/edk2-platforms/edk2-platforms.hash create mode 100644 package/edk2-platforms/edk2-platforms.mk create mode 100644 support/testing/tests/boot/test_edk2.py