From cf0bf9671a67cf082b5505edde735a72640c8969 Mon Sep 17 00:00:00 2001 From: matteolel Date: Thu, 8 Dec 2022 17:09:33 +0100 Subject: [PATCH] Add bananapi-m2-zero machine --- conf/machine/bananapi-m2-zero.conf | 10 ++++++++++ recipes-kernel/linux/linux-mainline.inc | 1 + 2 files changed, 11 insertions(+) create mode 100644 conf/machine/bananapi-m2-zero.conf diff --git a/conf/machine/bananapi-m2-zero.conf b/conf/machine/bananapi-m2-zero.conf new file mode 100644 index 0000000..ab8cfa1 --- /dev/null +++ b/conf/machine/bananapi-m2-zero.conf @@ -0,0 +1,10 @@ +#@TYPE: Machine +#@NAME: bananapi-m2-zero +#@DESCRIPTION: Machine configuration for the Banana Pi M2 Zero, base on Allwinner H3 CPU + +require conf/machine/include/sun8i.inc +require conf/machine/include/hardware/ap6212a.inc + +KERNEL_DEVICETREE = "sun8i-h2-plus-bananapi-m2-zero.dtb" +UBOOT_MACHINE = "bananapi_m2_zero_defconfig" + diff --git a/recipes-kernel/linux/linux-mainline.inc b/recipes-kernel/linux/linux-mainline.inc index 668c8d8..62ddb17 100644 --- a/recipes-kernel/linux/linux-mainline.inc +++ b/recipes-kernel/linux/linux-mainline.inc @@ -28,6 +28,7 @@ SRC_URI = "https://www.kernel.org/pub/linux/kernel/v5.x/linux-${PV}.tar.xz \ SRC_URI:append:use-mailine-graphics = " file://drm.cfg" SRC_URI:append:bananapi = " file://axp20x.cfg" +SRC_URI:append:bananapi-m2-zero = " file://axp20x.cfg" SRC_URI:append:cubietruck = " file://axp20x.cfg" SRC_URI:append:nanopi-neo-air = " file://cam500b.cfg"