-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compile hailo_pci module from original sources on RPi 5
Instead of using in-tree module on RPi 5, build it as a module from the original sources. This will give us better control over the version used and will also allow us for easier way to add the module to other platforms. This also makes 017d172 unnecessary anymore.
- Loading branch information
Showing
8 changed files
with
31 additions
and
4 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
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
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
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,7 @@ | ||
config BR2_PACKAGE_HAILO_PCI | ||
bool "Hailo PCIe Driver" | ||
depends on BR2_LINUX_KERNEL | ||
help | ||
Kernel driver for interacting with Hailo devices over PCIe. | ||
Used e.g. for Hailo-8(L) PCIe device found e.g. on Raspberry | ||
Pi AI Kit and Raspberry Pi AI HAT+. |
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,3 @@ | ||
# Locally computed | ||
sha256 f9c375a1be4a41f7b70301dd83c91cb89e41567478859b77eef375a52d782505 LICENSE | ||
sha256 0c687d229968ba3092ee214ed45be8ccaedf005f8a2c4fb8f26c439608c960e9 hailo-pci-v4.19.0.tar.gz |
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,8 @@ | ||
HAILO_PCI_VERSION = v4.19.0 | ||
HAILO_PCI_SITE = $(call github,hailo-ai,hailort-drivers,$(HAILO_PCI_VERSION)) | ||
HAILO_PCI_LICENSE = GPL-2.0 | ||
HAILO_PCI_LICENSE_FILES = LICENSE | ||
HAILO_PCI_MODULE_SUBDIRS = linux/pcie | ||
|
||
$(eval $(kernel-module)) | ||
$(eval $(generic-package)) |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
config BR2_PACKAGE_HAILO8_FIRMWARE | ||
bool "Hailo-8 Firmware" | ||
help | ||
Firmware for Hailo-8 PCIe device found e.g. on Raspberry Pi AI | ||
Kit and Raspberry Pi AI HAT+. Requires the hailo kernel driver | ||
(included in Raspberry Pi's downstream kernel). | ||
Firmware for Hailo-8 PCIe device found e.g. on Raspberry Pi | ||
AI Kit and Raspberry Pi AI HAT+. Required for hailo_pci kernel | ||
module. |
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