meta-agl-bsp: clean up Raspberry Pi Xen support
[AGL/meta-agl.git] / meta-agl-bsp / conf / include / agl_raspberrypi4.inc
index 3d21d56..e590cb2 100644 (file)
@@ -7,6 +7,9 @@ OSTREE_KERNEL_ARGS_sota_append = " cma=256M"
 # use u-boot always
 RPI_USE_U_BOOT = "1"
 
+# Use UART for serial console
+ENABLE_UART ?= "1"
+
 # For libomxil
 #LICENSE_FLAGS_WHITELIST = "commercial"
 
@@ -27,5 +30,6 @@ IMAGE_INSTALL_append = " ${@bb.utils.contains('AGL_XEN_WANTED', '1', 'xen-tools
 # Add xen-raspberry binary to boot files
 IMAGE_BOOT_FILES_append = " ${@bb.utils.contains('AGL_XEN_WANTED','1', 'xen-${MACHINE}', '',d)}"
 
-# pin the kernel to 4.19.x for SPEC-3702
-PREFERRED_VERSION_linux-raspberrypi ?= "4.19.%"
+PREFERRED_VERSION_u-boot = "2020.10"
+PREFERRED_VERSION_u-boot-tools = "2020.10"
+UBOOT_MACHINE_rpi = "rpi_arm64_config"