36 lines
1.4 KiB
Plaintext
36 lines
1.4 KiB
Plaintext
#MACHINE = "raspberrypi5"
|
|
#COMPATIBLE_MACHINE:raspberrypi5 = "raspberrypi5"
|
|
#DISTRO = "poky"
|
|
MACHINE = "raspberrypi-armv8"
|
|
WKS_FILE_DEPENDS_BOOTLOADERS = "u-boot"
|
|
DISTRO_FEATURES:remove = "3g wayland vulkan"
|
|
DISTRO_FEATURES_DEFAULTS:remove = "3g wayland vulkan"
|
|
|
|
COMPATIBLE_MACHINE:raspberrypi-armv8 = "raspberrypi-armv8"
|
|
TMPDIR .= "-${BB_CURRENT_MC}"
|
|
|
|
#I believe this only affects RPi Zero 2W and RPi 4
|
|
LICENSE_FLAGS_ACCEPTED += "synaptics-killswitch"
|
|
|
|
|
|
#IMAGE_FSTYPES += " wic wic.bmap"
|
|
|
|
#leaving VC4 graphics enabled causes the RPi to refuse to drop into a console, possibly because the base PLC-OS has no graphics
|
|
#TODO: for GUI images (in situations where this is confirmed not to break the loading sequence), use bitbake logic to enable VC4 graphics
|
|
#VC4DTBO = "vc4-kms-v3d"
|
|
#following methods to disable VC4 graphics (only added for raspberry pi) break something in cairo, meson, with some messages about the package configuration for egl and glesv2
|
|
#Not sure how to disable these, so we let it build as before, and in a bbappend file, disable the VC4 dtbo via config.txt
|
|
#DISABLE_VC4GRAPHICS = "1"
|
|
#MACHINE_FEATURES:remove = "vc4graphics"
|
|
|
|
################################################################
|
|
RPI_USE_U_BOOT = "1"
|
|
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
|
|
#KERNEL_BOOTCMD = "booti"
|
|
EXTRA_IMAGEDEPENDS += " u-boot"
|
|
|
|
#from raspberrypi4-64.conf
|
|
#allows to boot on rpi4, does not break rpi5
|
|
ARMSTUB ?= "armstub8-gic.bin"
|
|
|