2017-12-03 20:18:23 +01:00
|
|
|
SOC_FAMILY ??= ""
|
|
|
|
include conf/machine/include/soc-family.inc
|
|
|
|
|
2020-10-22 19:30:01 +02:00
|
|
|
MACHINEOVERRIDES =. "sunxi:sunxi64:"
|
|
|
|
|
2017-12-03 20:18:23 +01:00
|
|
|
PREFERRED_PROVIDER_virtual/kernel ?= "linux-mainline"
|
|
|
|
PREFERRED_PROVIDER_u-boot ?= "u-boot"
|
|
|
|
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot"
|
|
|
|
|
|
|
|
KERNEL_IMAGETYPE ?= "Image"
|
|
|
|
|
2023-05-08 22:42:36 +02:00
|
|
|
IMAGE_FSTYPES += "ext4 tar.gz wic.gz wic.bmap"
|
2017-12-03 20:18:23 +01:00
|
|
|
|
|
|
|
MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
|
|
|
|
|
|
|
|
UBOOT_LOCALVERSION = "-g${@d.getVar('SRCPV', True).partition('+')[2][0:7]}"
|
|
|
|
|
|
|
|
UBOOT_ENTRYPOINT ?= "0x40008000"
|
|
|
|
UBOOT_LOADADDRESS ?= "0x400080OB00"
|
|
|
|
|
2022-04-13 10:35:31 +02:00
|
|
|
#UBOOT_BINARY ?= "u-boot.itb"
|
2023-05-08 22:42:36 +02:00
|
|
|
SPL_BINARY ?= "u-boot-sunxi-with-spl.bin"
|
2017-12-03 20:18:23 +01:00
|
|
|
|
2023-05-18 18:37:10 +02:00
|
|
|
SERIAL_CONSOLES ?= "115200;ttyS0"
|
2017-12-03 20:18:23 +01:00
|
|
|
MACHINE_FEATURES ?= "alsa apm keyboard rtc serial screen usbgadget usbhost vfat"
|
2023-05-08 22:42:36 +02:00
|
|
|
|
|
|
|
SUNXI_BOOT_SPACE ?= "40"
|
2023-05-20 16:41:29 +02:00
|
|
|
IMAGE_BOOT_FILES ?= "${KERNEL_IMAGETYPE} boot.scr ${KERNEL_DEVICETREE}"
|
2023-05-08 22:42:36 +02:00
|
|
|
|
|
|
|
WKS_FILES ?= "sunxi-sdcard-image.wks.in"
|
|
|
|
WKS_FILE_DEPENDS ?= "virtual/kernel u-boot"
|