@@ -8,9 +8,11 @@ require conf/machine/include/arm/arch-armv8a.inc
TUNE_FEATURES = "aarch64"
+MACHINE_FEATURES = "efi"
+
IMAGE_NAME_SUFFIX = ""
IMAGE_FSTYPES += "wic"
-WKS_FILE ?= "fvp-base.wks"
+WKS_FILE ?= "efi-disk.wks.in"
SERIAL_CONSOLES = "115200;ttyAMA0"
@@ -23,6 +25,8 @@ EXTRA_IMAGEDEPENDS += "trusted-firmware-a"
# FVP u-boot configuration
UBOOT_MACHINE = "vexpress_fvp_defconfig"
+EFI_PROVIDER ?= "grub-efi"
+
# As this is a virtual target that will not be used in the real world there is
# no need for real SSH keys.
MACHINE_EXTRA_RRECOMMENDS += "ssh-pregen-hostkeys"
@@ -48,8 +52,6 @@ FVP_CONFIG[bp.virtioblockdevice.image_path] ?= "${IMAGE_NAME}.wic"
FVP_CONFIG[cluster0.has_arm_v8-4] = "1"
FVP_CONFIG[cluster1.has_arm_v8-4] = "1"
FVP_CONSOLE ?= "terminal_0"
-FVP_DATA ?= "cluster0.cpu0=${KERNEL_IMAGETYPE}@0x80080000 \
- cluster0.cpu0=fvp-base-revc.dtb@0x8fc00000"
FVP_TERMINALS[bp.terminal_0] ?= "Console"
FVP_TERMINALS[bp.terminal_1] ?= ""
FVP_TERMINALS[bp.terminal_2] ?= ""
@@ -1,6 +1,6 @@
# FVP base specific U-boot support
-SRC_URI:append = " file://bootargs.cfg \
+SRC_URI:append = " \
file://0001-virtio-rng-Workaround-for-FVP-returning-zero-size-bu.patch \
file://0002-vexpress64-Set-the-DM_RNG-property.patch \
file://0003-vexpress64-Select-PSCI-RESET-by-default.patch \
deleted file mode 100644
@@ -1,2 +0,0 @@
-CONFIG_BOOTARGS="console=ttyAMA0 earlycon=pl011,0x1c090000 root=/dev/vda1 rw rootwait"
-CONFIG_BOOTCOMMAND="booti $kernel_addr_r - $fdt_addr_r"
deleted file mode 100644
@@ -1,3 +0,0 @@
-# For fvp-base* machines we just need to populate the rootfs partition
-
-part / --source rootfs --ondisk sda --fstype=ext4 --label root --align 1024 --extra-space 100
Configure grub as the EFI provider and remove the U-boot boot args. Signed-off-by: Debbie Martin <Debbie.Martin@arm.com> --- meta-arm-bsp/conf/machine/fvp-base.conf | 8 +++++--- meta-arm-bsp/recipes-bsp/u-boot/u-boot-fvp-base.inc | 2 +- .../recipes-bsp/u-boot/u-boot/fvp-base/bootargs.cfg | 2 -- meta-arm-bsp/wic/fvp-base.wks | 3 --- 4 files changed, 6 insertions(+), 9 deletions(-) delete mode 100644 meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-base/bootargs.cfg delete mode 100644 meta-arm-bsp/wic/fvp-base.wks