mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-06-06 02:40:18 +00:00
arm-bsp: add dunfell support for fvps, juno and gem5
Make following machines compatible with dunfell: - foundation-armv8 - fvp-base - juno - gem5 Major changes include moving kernel version to 5.4 and U-BOOT version to v2020 Change-Id: Ia59ac874de4e4c4ea02c7a4f976e39a9b6996f75 Issue-Id: SCM-833 Signed-off-by: Vineeth Raveendran <vineeth.raveendran@arm.com> Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
committed by
Jon Mason
parent
03139a9324
commit
4338e38b8a
@@ -35,9 +35,9 @@ DISK_IMG_PARTITION3_CONTENT = ""
|
||||
SERIAL_CONSOLES = "115200;ttyAMA0"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
|
||||
PREFERRED_VERSION_linux-yocto ?= "4.19%"
|
||||
PREFERRED_VERSION_linux-yocto ?= "5.4%"
|
||||
|
||||
EXTRA_IMAGEDEPENDS += "virtual/trusted-firmware-a u-boot"
|
||||
|
||||
# FVP u-boot configuration
|
||||
UBOOT_MACHINE = "vexpress_aemv8a_dram_defconfig"
|
||||
UBOOT_MACHINE = "vexpress_aemv8a_semi_defconfig"
|
||||
|
||||
@@ -20,7 +20,7 @@ SERIAL_CONSOLES = "115200;ttyAMA0"
|
||||
EXTRA_IMAGEDEPENDS += "virtual/gem5-bootloader"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
|
||||
PREFERRED_VERSION_linux-yocto ?= "4.19%"
|
||||
PREFERRED_VERSION_linux-yocto ?= "5.4%"
|
||||
|
||||
|
||||
# Uncomment the following if you need to build gem5 provided bootloader, else
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
diff --git a/configs/vexpress_aemv8a_semi_defconfig b/configs/vexpress_aemv8a_semi_defconfig
|
||||
index c9cec8322c..3a339be6a2 100644
|
||||
--- a/configs/vexpress_aemv8a_semi_defconfig
|
||||
+++ b/configs/vexpress_aemv8a_semi_defconfig
|
||||
@@ -9,7 +9,7 @@ CONFIG_IDENT_STRING=" vexpress_aemv8a"
|
||||
CONFIG_DISTRO_DEFAULTS=y
|
||||
CONFIG_BOOTDELAY=1
|
||||
CONFIG_USE_BOOTARGS=y
|
||||
-CONFIG_BOOTARGS="console=ttyAMA0 earlycon=pl011,0x1c090000 debug user_debug=31 loglevel=9"
|
||||
+CONFIG_BOOTARGS="console=ttyAMA0 earlyprintk=pl011,0x1c090000 debug user_debug=31 androidboot.hardware=fvpbase root=/dev/vda2 rw rootwait loglevel=9"
|
||||
# CONFIG_USE_BOOTCOMMAND is not set
|
||||
# CONFIG_DISPLAY_CPUINFO is not set
|
||||
# CONFIG_DISPLAY_BOARDINFO is not set
|
||||
@@ -1,9 +0,0 @@
|
||||
# u-boot_2019 patch for Juno board (Adding boot env)
|
||||
|
||||
#
|
||||
# Patch u-boot to add environment variables from Flash
|
||||
#
|
||||
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files/${MACHINE}:"
|
||||
|
||||
SRC_URI_append_juno = " file://u-boot_vexpress_uenv.patch"
|
||||
@@ -0,0 +1,13 @@
|
||||
# u-boot_2020 patch for fvp machinesboard
|
||||
|
||||
#
|
||||
# Patch u-boot to change kernel command line
|
||||
#
|
||||
|
||||
FILESEXTRAPATHS_prepend_fvp-base := "${THISDIR}/files/fvp-common:"
|
||||
FILESEXTRAPATHS_prepend_foundation-armv8 := "${THISDIR}/files/fvp-common:"
|
||||
FILESEXTRAPATHS_prepend_juno := "${THISDIR}/files:"
|
||||
|
||||
SRC_URI_append_fvp-base = " file://u-boot_vexpress_fvp.patch"
|
||||
SRC_URI_append_foundation-armv8 = " file://u-boot_vexpress_fvp.patch"
|
||||
SRC_URI_append_juno = " file://u-boot_vexpress_uenv.patch"
|
||||
Reference in New Issue
Block a user