Skip to content

Commit

Permalink
Fix Hailo-8 firmware path expected since driver v4.19.0 (#3721)
Browse files Browse the repository at this point in the history
The new driver now expects the firmware file to contain version number, adjust
the path and remove unnecessary makefile step.
  • Loading branch information
sairon authored Dec 6, 2024
1 parent ce1e261 commit 017d172
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,9 @@ 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/
$(INSTALL) -m 0644 $(@D)/$(HAILO8_FIRMWARE_SOURCE) $(TARGET_DIR)/lib/firmware/hailo/
endef

$(eval $(generic-package))

0 comments on commit 017d172

Please sign in to comment.