From be34fd2f0ea6bba989da1652b46849f23254641a Mon Sep 17 00:00:00 2001 From: "Igor Zalatov (from Citadel PC)" Date: Sun, 7 Nov 2021 20:15:54 +0300 Subject: [PATCH] Add opensdk profile --- br-ext-chip-hisilicon/Config.in | 1 + br-ext-chip-hisilicon/external.mk | 1 + .../package/hisilicon-opensdk | 1 + docs/index.md | 60 ++++++++++--------- .../src/kmod/.dot | 0 .../src/sensor/.dot | 0 general/package/hisilicon-opensdk/Config.in | 6 ++ .../hisilicon-opensdk/hisilicon-opensdk.mk | 20 +++++++ 8 files changed, 60 insertions(+), 29 deletions(-) create mode 120000 br-ext-chip-hisilicon/package/hisilicon-opensdk delete mode 100644 general/package/hisilicon-opensdk-hi3516ev300/src/kmod/.dot delete mode 100644 general/package/hisilicon-opensdk-hi3516ev300/src/sensor/.dot create mode 100644 general/package/hisilicon-opensdk/Config.in create mode 100644 general/package/hisilicon-opensdk/hisilicon-opensdk.mk diff --git a/br-ext-chip-hisilicon/Config.in b/br-ext-chip-hisilicon/Config.in index 2b54a45f..21983f26 100644 --- a/br-ext-chip-hisilicon/Config.in +++ b/br-ext-chip-hisilicon/Config.in @@ -5,6 +5,7 @@ source "$BR2_EXTERNAL_HISILICON_PATH/package/fdk-aac-openipc/Config.in" source "$BR2_EXTERNAL_HISILICON_PATH/package/fwprintenv-openipc/Config.in" source "$BR2_EXTERNAL_HISILICON_PATH/package/gdbserver-lite/Config.in" source "$BR2_EXTERNAL_HISILICON_PATH/package/hisi_gpio/Config.in" +source "$BR2_EXTERNAL_HISILICON_PATH/package/hisilicon-opensdk/Config.in" source "$BR2_EXTERNAL_HISILICON_PATH/package/hisilicon-osdrv-hi3516cv200/Config.in" source "$BR2_EXTERNAL_HISILICON_PATH/package/hisilicon-osdrv-hi3516cv300/Config.in" source "$BR2_EXTERNAL_HISILICON_PATH/package/hisilicon-osdrv-hi3516cv500/Config.in" diff --git a/br-ext-chip-hisilicon/external.mk b/br-ext-chip-hisilicon/external.mk index 7a23780b..865aa5ec 100644 --- a/br-ext-chip-hisilicon/external.mk +++ b/br-ext-chip-hisilicon/external.mk @@ -5,6 +5,7 @@ include $(BR2_EXTERNAL_HISILICON_PATH)/package/gdbserver-lite/gdbserver-lite.mk include $(BR2_EXTERNAL_HISILICON_PATH)/package/fdk-aac-openipc/fdk-aac-openipc.mk include $(BR2_EXTERNAL_HISILICON_PATH)/package/fwprintenv-openipc/fwprintenv-openipc.mk include $(BR2_EXTERNAL_HISILICON_PATH)/package/hisi_gpio/hisi_gpio.mk +include $(BR2_EXTERNAL_HISILICON_PATH)/package/hisilicon-opensdk/hisilicon-opensdk.mk include $(BR2_EXTERNAL_HISILICON_PATH)/package/hisilicon-osdrv-hi3516cv200/hisilicon-osdrv-hi3516cv200.mk include $(BR2_EXTERNAL_HISILICON_PATH)/package/hisilicon-osdrv-hi3516cv300/hisilicon-osdrv-hi3516cv300.mk include $(BR2_EXTERNAL_HISILICON_PATH)/package/hisilicon-osdrv-hi3516cv500/hisilicon-osdrv-hi3516cv500.mk diff --git a/br-ext-chip-hisilicon/package/hisilicon-opensdk b/br-ext-chip-hisilicon/package/hisilicon-opensdk new file mode 120000 index 00000000..468ea0f4 --- /dev/null +++ b/br-ext-chip-hisilicon/package/hisilicon-opensdk @@ -0,0 +1 @@ +../../general/package/hisilicon-opensdk \ No newline at end of file diff --git a/docs/index.md b/docs/index.md index 07584873..36f1e919 100644 --- a/docs/index.md +++ b/docs/index.md @@ -34,35 +34,37 @@ If you like our work, please consider supporting us on [Opencollective](https:// ### Downloads (for research only, without any guarantee) * | Manufacturer | SoC | Files | Status | -|---|---|---|---| -|Fullhan|![Image](https://img.shields.io/static/v1?label=FH8632&message=help%20needed&color=5500ff&logo=github) | | R&D | -||![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/fh8852_images.yml/badge.svg) | | R&D | -||![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/fh8856_images.yml/badge.svg) | | R&D | -|Goke|![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/gk7102s_images.yml/badge.svg) | | R&D | -||![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/gk7202v300_images.yml/badge.svg) | | WIP | -||![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/gk7205v200_images.yml/badge.svg) |[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.gk7205v200-br.tgz) | READY | -||![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/gk7205v300_images.yml/badge.svg) | | R&D | -||![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/gk7605v100_images.yml/badge.svg) | | R&D | -|HiSilicon|![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/hi3516cv300_images.yml/badge.svg)|[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.hi3516cv300-br.tgz)| WIP | -||![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/hi3516av300_images.yml/badge.svg)|[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.hi3516av300-br.tgz)| WIP | -||![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/hi3516cv500_images.yml/badge.svg)|[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.hi3516cv500-br.tgz)| WIP | -||![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/hi3516dv300_images.yml/badge.svg)|[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.hi3516dv300-br.tgz)| WIP | -||![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/hi3516ev200_images.yml/badge.svg)|[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.hi3516ev200-br.tgz)| READY | -||![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/hi3516ev300_images.yml/badge.svg)|[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.hi3516ev300-br.tgz)| READY | -||![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/hi3518ev300_images.yml/badge.svg)|[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.hi3518ev300-br.tgz)| READY | -|MStar|![Image](https://img.shields.io/static/v1?label=MSC313E&message=help%20needed&color=5500ff&logo=github) | | R&D | -|Novatek|![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/nt98562_images.yml/badge.svg) |[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.nt98562-br.tgz) | R&D | -||![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/nt98566_images.yml/badge.svg) |[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.nt98566-br.tgz) | R&D | -|SigmaStar|![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/ssc325_images.yml/badge.svg) |[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.ssc325-br.tgz) | R&D | -||![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/ssc335_images.yml/badge.svg) |[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.ssc335-br.tgz) | WORK | -||![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/ssc337_images.yml/badge.svg) |[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.ssc337-br.tgz) | WORK | -||![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/ssc337de_images.yml/badge.svg) |[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.ssc337de-br.tgz) | WIP | -|Ingenic| ![Image](https://img.shields.io/static/v1?label=T20&message=help%20needed&color=5500ff&logo=github) | | R&D | -|| ![Image](https://img.shields.io/static/v1?label=T21&message=help%20needed&color=5500ff&logo=github) | | R&D | -||![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/t31_images.yml/badge.svg) | | R&D | -|Xiongmai|![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/xm510_images.yml/badge.svg) |[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.xm510-br.tgz) | WORK | -||![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/xm530_images.yml/badge.svg) |[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.xm530-br.tgz) | WORK | -||![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/xm550_images.yml/badge.svg) |[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.xm550-br.tgz) | WORK | +|--------------|-----|-------|--------| +|Fullhan |![Image](https://img.shields.io/static/v1?label=FH8632&message=help%20needed&color=5500ff&logo=github) | | R&D | +| |![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/fh8852_images.yml/badge.svg) | | R&D | +| |![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/fh8856_images.yml/badge.svg) | | R&D | +|Goke |![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/gk7102s_images.yml/badge.svg) | | R&D | +| |![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/gk7202v300_images.yml/badge.svg) |[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.gk7202v300-br.tgz) | WIP | +| |![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/gk7205v200_images.yml/badge.svg) |[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.gk7205v200-br.tgz) | DONE | +| |![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/gk7205v300_images.yml/badge.svg) |[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.gk7205v300-br.tgz) | WIP | +| |![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/gk7605v100_images.yml/badge.svg) |[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.gk7605v100-br.tgz) | WIP | +|HiSilicon|![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/hi3516cv300_images.yml/badge.svg) |[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.hi3516cv300-br.tgz)| DONE | +| |![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/hi3516ev100_images.yml/badge.svg) |[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.hi3516ev100-br.tgz)| DONE | +| |![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/hi3516ev200_images.yml/badge.svg) |[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.hi3516ev200-br.tgz)| DONE | +| |![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/hi3516ev300_images.yml/badge.svg) |[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.hi3516ev300-br.tgz)| DONE | +| |![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/hi3518ev300_images.yml/badge.svg) |[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.hi3518ev300-br.tgz)| DONE | +| |![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/hi3516av300_images.yml/badge.svg) |[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.hi3516av300-br.tgz)| WIP | +| |![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/hi3516cv500_images.yml/badge.svg) |[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.hi3516cv500-br.tgz)| WIP | +| |![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/hi3516dv300_images.yml/badge.svg) |[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.hi3516dv300-br.tgz)| WIP | +|MStar |![Image](https://img.shields.io/static/v1?label=MSC313E&message=help%20needed&color=5500ff&logo=github) | | R&D | +| |![Image](https://img.shields.io/static/v1?label=MSC316D&message=help%20needed&color=5500ff&logo=github) | | R&D | +|Novatek |![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/nt98562_images.yml/badge.svg) |[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.nt98562-br.tgz) | R&D | +| |![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/nt98566_images.yml/badge.svg) |[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.nt98566-br.tgz) | R&D | +|SigmaStar|![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/ssc325_images.yml/badge.svg) |[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.ssc325-br.tgz) | R&D | +| |![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/ssc335_images.yml/badge.svg) |[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.ssc335-br.tgz) | MVP | +| |![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/ssc337_images.yml/badge.svg) |[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.ssc337-br.tgz) | MVP | +| |![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/ssc337de_images.yml/badge.svg) |[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.ssc337de-br.tgz) | WIP | +|Ingenic |![Image](https://img.shields.io/static/v1?label=T20&message=help%20needed&color=5500ff&logo=github) | | R&D | +| |![Image](https://img.shields.io/static/v1?label=T21&message=help%20needed&color=5500ff&logo=github) | | R&D | +| |![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/t31_images.yml/badge.svg) | | R&D | +|Xiongmai |![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/xm510_images.yml/badge.svg) |[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.xm510-br.tgz) | MVP | +| |![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/xm530_images.yml/badge.svg) |[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.xm530-br.tgz) | MVP | +| |![Image](https://github.com/OpenIPC/openipc-2.1/actions/workflows/xm550_images.yml/badge.svg) |[uImage + rootfs](https://github.com/OpenIPC/openipc-2.1/releases/download/latest/openipc.xm550-br.tgz) | MVP | ----- diff --git a/general/package/hisilicon-opensdk-hi3516ev300/src/kmod/.dot b/general/package/hisilicon-opensdk-hi3516ev300/src/kmod/.dot deleted file mode 100644 index e69de29b..00000000 diff --git a/general/package/hisilicon-opensdk-hi3516ev300/src/sensor/.dot b/general/package/hisilicon-opensdk-hi3516ev300/src/sensor/.dot deleted file mode 100644 index e69de29b..00000000 diff --git a/general/package/hisilicon-opensdk/Config.in b/general/package/hisilicon-opensdk/Config.in new file mode 100644 index 00000000..986a719b --- /dev/null +++ b/general/package/hisilicon-opensdk/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_HISILICON_OPENSDK + bool "hisilicon-opensdk" + help + Opensource Hisilicon SoCs SDK + + https://openipc.org diff --git a/general/package/hisilicon-opensdk/hisilicon-opensdk.mk b/general/package/hisilicon-opensdk/hisilicon-opensdk.mk new file mode 100644 index 00000000..3314a1a8 --- /dev/null +++ b/general/package/hisilicon-opensdk/hisilicon-opensdk.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# hisilicon-opensdk | updated 2021.11.07 +# +################################################################################ + +HISILICON_OPENSDK_VERSION = 164afc7dc6b322b3d3175d9eb5cfe1c81de3c00b +HISILICON_OPENSDK_SITE = $(call github,openipc,openhisilicon,$(MOTORS_VERSION)) +HISILICON_OPENSDK_LICENSE = GPL-3.0 +HISILICON_OPENSDK_LICENSE_FILES = LICENSE + +define HISILICON_OPENSDK_BUILD_CMDS + # (cd $(@D)/camhi-motor; $(TARGET_CC) -Os -s main.c -o camhi-motor) +endef + +define HISILICON_OPENSDK_INSTALL_TARGET_CMDS + # $(INSTALL) -m 0755 -D $(@D)/camhi-motor/camhi-motor $(TARGET_DIR)/usr/bin/camhi-motor +endef + +$(eval $(generic-package))