Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions build/meta-bsp/recipes-bsp/bsp/files/bsp_virt64.inc
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,15 @@ def __do_platform_boot_chain(d):
if os.path.exists(flash_path):
os.remove(flash_path)

__write_boot_conf(d, fs_dir, chain, "virt,gic-version=2",
"-kernel u-boot/u-boot")
machine = "virt,gic-version=2"
if hyp == "avz":
# AVZ is an EL2 hypervisor, so the machine has to expose EL2.
# Without it AVZ faults on its first EL2 system-register access,
# which surfaces as a synchronous abort and a reset.

machine += ",virtualization=on"

__write_boot_conf(d, fs_dir, chain, machine, "-kernel u-boot/u-boot")
return

# ATF chains: build flash0.img. "atf+uboot" and "atf+optee+uboot"
Expand Down
Loading