Skip to content

Extend qemuarm64 ebbr support#1030

Merged
ricardosalveti merged 7 commits intofoundriesio:mainfrom
ricardosalveti:qemu
Feb 2, 2023
Merged

Extend qemuarm64 ebbr support#1030
ricardosalveti merged 7 commits intofoundriesio:mainfrom
ricardosalveti:qemu

Conversation

@ricardosalveti
Copy link
Copy Markdown
Member

  • Switch to edk2 and grub-efi
  • Extend kernel options for ACPI and graphics support
  • Add missing machine features, mostly for proper ACPI support

This can then be used as a generic arm64 target without ATF / OP-TEE support, allowing it to be accelerated by hardware on mac os (arm64), as it is unable to support EL2/EL3.

…-boot

EBBR version on generic qemuarm64 can use EDK2 directly instead of
u-boot.

Signed-off-by: Ricardo Salveti <[email protected]>
EBBR version expects ACPI to be supported, and pci / usbhost are useful
for running it under QEMU.

Signed-off-by: Ricardo Salveti <[email protected]>
clang only works with debug mode (not release).

Signed-off-by: Ricardo Salveti <[email protected]>
Common requirement when booting plataforms with edk2-based firmware.

Signed-off-by: Ricardo Salveti <[email protected]>
Prefer grub-efi instead of systemd-boot (protocol used to pass over the
initrd differs and it is currently incompatible with ACPI), and make it
compatible with edk2-firmware.

This is because we don't need the UEFI implementation in u-boot as we
can just use edk2 directly.

Signed-off-by: Ricardo Salveti <[email protected]>
Publish the QEMU fd files in order to allow booting with qemu.

Signed-off-by: Ricardo Salveti <[email protected]>
Relevant changes:
- ff4abc73 bsp: qemuarm64: extend UEFI/ACPI related options
- d5efe50a bsp: qemuarm64.scc: use more standard list of fragments

Signed-off-by: Ricardo Salveti <[email protected]>
@ricardosalveti ricardosalveti marked this pull request as ready for review February 2, 2023 21:47
Copy link
Copy Markdown
Contributor

@MrCry0 MrCry0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Member

@munoz0raul munoz0raul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ricardosalveti ricardosalveti merged commit cf93cf2 into foundriesio:main Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants