1 # Maximum memory allowed to be assigned
8 MULTI_PROVIDER_WHITELIST += "virtual/libgl virtual/egl virtual/libgles1 virtual/libgles2"
10 # The correct config for a Raspberry Pi 3 in 32bit mode
11 UBOOT_MACHINE = "rpi_3_32b_config"
13 KERNEL_IMAGETYPE = "uImage"
15 MACHINE_FEATURES += "vc4graphics"
18 #LICENSE_FLAGS_WHITELIST = "commercial"
20 IMAGE_INSTALL_append = " kernel-modules linux-firmware "
22 # Psplash causes crash on first boot on RPi
23 IMAGE_FEATURES_remove = "splash"
25 # Build updatable image. Only takes effect when sota.bbclass is inherited
26 DISTRO_FEATURES_append = " sota"
28 # Create WIC images to write to SD cards.
29 WKS_FILE = "sdimage-raspberrypi.wks"
30 AGL_EXTRA_IMAGE_FSTYPES = "wic.xz wic.bmap wic.xz.sha256sum"
31 IMAGE_BOOT_FILES = "bcm2835-bootfiles/* \
32 ${@make_dtb_boot_files(d)} \
33 ${@bb.utils.contains('KERNEL_IMAGETYPE', 'uImage', \
34 '${KERNEL_IMAGETYPE} u-boot.bin;${SDIMG_KERNELIMAGE} boot.scr', \
35 '${KERNEL_IMAGETYPE};${SDIMG_KERNELIMAGE}', d)} \
37 do_image_wic[depends] += " \
38 bcm2835-bootfiles:do_deploy \
39 ${@bb.utils.contains('KERNEL_IMAGETYPE', 'uImage', 'u-boot:do_deploy', '',d)} \