-
-
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.
Add Hailo-8 firmware for Raspberry Pi AI Kit/HAT on RPi 5 (#3680)
Add Hailo-8 firmware binary for Rasperry Pi AI accelerators. The version needs to be determined from the Git history of the kernel sources, as the driver source code is included in the RPi downstream kernel and the version string can't be found in the code directly. Fixes #3663
- Loading branch information
Showing
5 changed files
with
34 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
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,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). |
1 change: 1 addition & 0 deletions
1
buildroot-external/package/hailo8-firmware/hailo8-firmware.hash
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 @@ | ||
sha256 bfa576dd782359d74cabcb19e87c3a934dce03dea0785e41f86fecc9a687a92b hailo8_fw.4.18.0.bin |
25 changes: 25 additions & 0 deletions
25
buildroot-external/package/hailo8-firmware/hailo8-firmware.mk
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,25 @@ | ||
################################################################################ | ||
# | ||
# Hailo-8 Firmware | ||
# | ||
################################################################################ | ||
|
||
HAILO8_FIRMWARE_VERSION = 4.18.0 | ||
HAILO8_FIRMWARE_LICENSE = PROPRIETARY | ||
HAILO8_FIRMWARE_SOURCE= hailo8_fw.$(HAILO8_FIRMWARE_VERSION).bin | ||
HAILO8_FIRMWARE_SITE="https://hailo-hailort.s3.eu-west-2.amazonaws.com/Hailo8/$(HAILO8_FIRMWARE_VERSION)/FW" | ||
|
||
define HAILO8_FIRMWARE_EXTRACT_CMDS | ||
cp $(HAILO8_FIRMWARE_DL_DIR)/$(HAILO8_FIRMWARE_SOURCE) $(@D) | ||
endef | ||
|
||
define HAILO8_FIRMWARE_BUILD_CMDS | ||
cp $(@D)/$(HAILO8_FIRMWARE_SOURCE) $(@D)/hailo8_fw.bin | ||
endef | ||
|
||
define HAILO8_FIRMWARE_INSTALL_TARGET_CMDS | ||
$(INSTALL) -d $(TARGET_DIR)/lib/firmware/hailo | ||
$(INSTALL) -m 0644 $(@D)/hailo8_fw.bin $(TARGET_DIR)/lib/firmware/hailo/ | ||
endef | ||
|
||
$(eval $(generic-package)) |