raspberrypi: Upgrade to u-boot v2020.10
[AGL/meta-agl.git] / meta-agl-bsp / conf / include / agl_raspberrypi4.inc
1 # Maximum memory allowed to be assigned
2 GPU_MEM = "256"
3
4 # Add CMA to the kernel arguments for SOTA
5 OSTREE_KERNEL_ARGS_sota_append = " cma=256M"
6
7 # use u-boot always
8 RPI_USE_U_BOOT = "1"
9
10 # For libomxil
11 #LICENSE_FLAGS_WHITELIST = "commercial"
12
13 IMAGE_INSTALL_append = " kernel-modules linux-firmware-rpidistro-bcm43430 linux-firmware-rpidistro-bcm43455 create-combined-dtb "
14
15 # Psplash causes crash on first boot on RPi
16 IMAGE_FEATURES_remove = "splash"
17
18 # Build updatable image. Only takes effect when sota.bbclass is inherited
19 DISTRO_FEATURES_append = " sota"
20
21 # Add xen build, if the xen feature activated
22 DISTRO_FEATURES_append = " ${@bb.utils.contains('AGL_XEN_WANTED', '1', ' xen', '', d)}"
23
24 # add xen-tools to build
25 IMAGE_INSTALL_append = " ${@bb.utils.contains('AGL_XEN_WANTED', '1', 'xen-tools xen-mkimage-rpi4', '', d)}"
26
27 # Add xen-raspberry binary to boot files
28 IMAGE_BOOT_FILES_append = " ${@bb.utils.contains('AGL_XEN_WANTED','1', 'xen-${MACHINE}', '',d)}"
29
30 PREFERRED_VERSION_u-boot = "2020.10"
31 PREFERRED_VERSION_u-boot-tools = "2020.10"
32 UBOOT_MACHINE_rpi = "rpi_arm64_config"