forked from coolsnowwolf/lede
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernel: add package for Intel VPU/NPU driver
Intel NPU device is an AI inference accelerator integrated with Intel client CPUs, starting from Intel Core Ultra generation of CPUs (formerly known as Meteor Lake). It enables energy-efficient execution of artificial neural network tasks. The full device name is Neural Processing Unit, but the Linux kernel driver uses the older name - Versatile Processing Unit (VPU). This package is for NPU/VPU firmware. Details in https://github.com/intel/linux-npu-driver Signed-off-by: Joe Zheng <joe.zheng@intel.com>
- Loading branch information
Showing
2 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# | ||
# Copyright (C) 2022 OpenWrt.org | ||
# | ||
# This is free software, licensed under the GNU General Public License v2. | ||
# See /LICENSE for more information. | ||
# | ||
|
||
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=ivpu-firmware | ||
PKG_VERSION:=1.10.1 | ||
PKG_RELEASE:=1 | ||
|
||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz | ||
PKG_SOURCE_URL_FILE:=v$(PKG_VERSION).tar.gz | ||
PKG_SOURCE_URL:=https://github.com/intel/linux-npu-driver/archive/refs/tags | ||
PKG_HASH:=a756de38cde7bd5a0402854d08429d271a33784835b80db3be672ade80570900 | ||
PKG_BUILD_DIR:=$(BUILD_DIR)/linux-npu-driver-$(PKG_VERSION) | ||
|
||
include $(INCLUDE_DIR)/package.mk | ||
|
||
define Package/ivpu-firmware | ||
SECTION:=firmware | ||
CATEGORY:=Firmware | ||
TITLE:=Intel VPU firmware | ||
URL:=$(PKG_SOURCE_URL) | ||
DEPENDS:= | ||
endef | ||
|
||
define Build/Compile | ||
true | ||
endef | ||
|
||
define Package/ivpu-firmware/install | ||
$(INSTALL_DIR) $(1)/lib/firmware/intel/vpu | ||
$(INSTALL_DATA) \ | ||
$(PKG_BUILD_DIR)/firmware/bin/*.bin \ | ||
$(1)/lib/firmware/intel/vpu | ||
endef | ||
|
||
$(eval $(call BuildPackage,ivpu-firmware)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters