@@ -1899,6 +1899,7 @@ F: board/radxa/rock5b/
F: configs/avnet_rzboard_v2l_defconfig
F: configs/rock5b_defconfig
F: package/rockchip-rkbin/
+F: package/xuantie-bins/
N: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
F: package/wqy-zenhei/
@@ -656,6 +656,7 @@ endmenu
source "package/wipe/Config.in"
source "package/xorriso/Config.in"
source "package/xr819-xradio/Config.in"
+ source "package/xuantie-bins/Config.in"
endmenu
menu "Interpreter languages and scripting"
new file mode 100644
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_XUANTIE_BINS
+ bool "xuantie-bins"
+ depends on BR2_riscv
+ help
+ This package provides binary blobs, needed for the
+ BeagleV-Ahead's SoC (TH1520). They contain an FPGA binary
+ (light_aon_fpga.bin) for power management and a binary for
+ the audio system (light_c906_audio.bin).
new file mode 100644
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 92d2fee4688dc0598329d56cf7962f344d30b70e261a4cd9939b0912f06df26a xuantie-bins-1.2.1.tar.gz
new file mode 100644
@@ -0,0 +1,19 @@
+################################################################################
+#
+# xuantie-bins
+#
+################################################################################
+
+XUANTIE_BINS_VERSION = 1.2.1
+XUANTIE_BINS_SITE = $(call github,beagleboard,xuantie-ubuntu,beaglev-$(XUANTIE_BINS_VERSION))
+XUANTIE_BINS_LICENSE = PROPRIETARY
+
+XUANTIE_BINS_INSTALL_IMAGES = YES
+XUANTIE_BINS_INSTALL_TARGET = NO
+
+define XUANTIE_BINS_INSTALL_IMAGES_CMDS
+ $(INSTALL) -D -m 0644 -t $(BINARIES_DIR) $(@D)/bins/light_aon_fpga.bin
+ $(INSTALL) -D -m 0644 -t $(BINARIES_DIR) $(@D)/bins/light_c906_audio.bin
+endef
+
+$(eval $(generic-package))
This patch adds a package for Xuantie binary blobs. The binary blobs are needed for the BeagleV-Ahead's SoC (TH1520). They contain an FPGA binary for power management and a binary for the audio system. Signed-off-by: Kilian Zinnecker <kilian.zinnecker@mail.de> --- DEVELOPERS | 1 + package/Config.in | 1 + package/xuantie-bins/Config.in | 8 ++++++++ package/xuantie-bins/xuantie-bins.hash | 2 ++ package/xuantie-bins/xuantie-bins.mk | 19 +++++++++++++++++++ 5 files changed, 31 insertions(+) create mode 100644 package/xuantie-bins/Config.in create mode 100644 package/xuantie-bins/xuantie-bins.hash create mode 100644 package/xuantie-bins/xuantie-bins.mk