From 6eab5213107e8e0d8bf4ead9141054d12eeaca20 Mon Sep 17 00:00:00 2001 From: Diego Rondini Date: Thu, 13 Feb 2020 23:11:01 +0000 Subject: [PATCH] conf: machine: add orange-pi-zero-plus2-h3 Add machine configuration for H3 variant of Orange Pi Zero Plus2. Signed-off-by: Diego Rondini --- conf/machine/orange-pi-zero-plus2-h3.conf | 9 +++++++++ recipes-kernel/linux-firmware/linux-firmware_%.bbappend | 1 + 2 files changed, 10 insertions(+) create mode 100644 conf/machine/orange-pi-zero-plus2-h3.conf diff --git a/conf/machine/orange-pi-zero-plus2-h3.conf b/conf/machine/orange-pi-zero-plus2-h3.conf new file mode 100644 index 0000000..af1ff69 --- /dev/null +++ b/conf/machine/orange-pi-zero-plus2-h3.conf @@ -0,0 +1,9 @@ +#@TYPE: Machine +#@NAME: orange-pi-zero-plus2-h3 +#@DESCRIPTION: Machine configuration for the orange-pi-zero-plus2, based on Allwinner H3 CPU + +require conf/machine/include/sun8i.inc +require conf/machine/include/hardware/ap6212a.inc + +KERNEL_DEVICETREE = "sun8i-h3-orangepi-zero-plus2.dtb" +UBOOT_MACHINE = "orangepi_zero_plus2_h3_defconfig" diff --git a/recipes-kernel/linux-firmware/linux-firmware_%.bbappend b/recipes-kernel/linux-firmware/linux-firmware_%.bbappend index 7052672..c6f938f 100644 --- a/recipes-kernel/linux-firmware/linux-firmware_%.bbappend +++ b/recipes-kernel/linux-firmware/linux-firmware_%.bbappend @@ -8,5 +8,6 @@ # http://git.openembedded.org/openembedded-core/commit/?id=dde0f79f32fa6bab045ef60199903f74c4cc3393 do_install_append() { ln -sf -r ${D}${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.AP6212.txt ${D}${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.xunlong,orangepi-zero-plus2.txt + ln -sf -r ${D}${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.AP6212.txt ${D}${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.xunlong,orangepi-zero-plus2-h3.txt ln -sf -r ${D}${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.AP6212.txt ${D}${nonarch_base_libdir}/firmware/brcm/brcmfmac43430-sdio.friendlyarm,nanopi-neo-plus2.txt }