mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2025-04-09 02:16:45 +02:00
Since linux 6.5, .dts files live in vendor subdirs. Fix all `KERNEL_DEVICETREE` definitions to contain the `allwinner` subdir as prefix and drop code that previously added the prefix on demand. On the other hand, drop the prefix for `BOOT_IMAGE_FILES`, which searches the .dtb within `DEPLOY_DIR`. Signed-off-by: Oliver Kästner <git@oliver-kaestner.de>
33 lines
960 B
PHP
33 lines
960 B
PHP
SOC_FAMILY ??= ""
|
|
include conf/machine/include/soc-family.inc
|
|
|
|
MACHINEOVERRIDES =. "sunxi:sunxi64:"
|
|
|
|
PREFERRED_PROVIDER_virtual/kernel ?= "linux-mainline"
|
|
PREFERRED_VERSION_linux-mainline ?= "6.6.%"
|
|
PREFERRED_PROVIDER_u-boot ?= "u-boot"
|
|
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot"
|
|
|
|
KERNEL_IMAGETYPE ?= "Image"
|
|
|
|
IMAGE_FSTYPES += "ext4 tar.gz wic.gz wic.bmap"
|
|
|
|
MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
|
|
|
|
UBOOT_LOCALVERSION = "-g${@d.getVar('SRCPV', True).partition('+')[2][0:7]}"
|
|
|
|
UBOOT_ENTRYPOINT ?= "0x40008000"
|
|
UBOOT_LOADADDRESS ?= "0x40008000"
|
|
|
|
#UBOOT_BINARY ?= "u-boot.itb"
|
|
SPL_BINARY ?= "u-boot-sunxi-with-spl.bin"
|
|
|
|
SERIAL_CONSOLES ?= "115200;ttyS0"
|
|
MACHINE_FEATURES ?= "alsa apm keyboard rtc serial screen usbgadget usbhost vfat"
|
|
|
|
SUNXI_BOOT_SPACE ?= "40"
|
|
IMAGE_BOOT_FILES ?= "${KERNEL_IMAGETYPE} boot.scr ${@d.getVar('KERNEL_DEVICETREE', '').split('/')[-1]}"
|
|
|
|
WKS_FILES ?= "sunxi-sdcard-image.wks.in"
|
|
WKS_FILE_DEPENDS ?= "virtual/kernel u-boot"
|