-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Hailo-8 firmware path expected since driver v4.19.0 #3721
Conversation
The new driver now expects the firmware file to contain version number, adjust the path and remove unnecessary makefile step.
📝 WalkthroughWalkthroughThe changes in this pull request focus on the build configuration for the Hailo-8 firmware within the Changes
Sequence Diagram(s)sequenceDiagram
participant Build as Build System
participant Source as Source Directory
participant Target as Target Directory
Build->>Source: Retrieve Hailo-8 Firmware Source
Build->>Target: Install Firmware from Source
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (2)buildroot-external/package/hailo8-firmware/hailo8-firmware.mk (2)
The change properly uses Line range hint The makefile is well-structured and follows Buildroot package infrastructure conventions. However, let's verify that version 4.19.0 is the minimum required version for the current Home Assistant OS. ✅ Verification successfulFirmware version 4.19.0 appears to be appropriate Based on the verification results:
🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Description: Check for Hailo driver version requirements in kernel config and documentation
# Search for Hailo driver version requirements in kernel configs
rg -l "HAILO" buildroot-external/configs/
rg -l "hailo" buildroot-external/board/*/kernel.config
# Look for version requirements in documentation
rg -l "hailo" "docs/"
rg -l "HAILO" "Documentation/"
Length of output: 246 Script: #!/bin/bash
# Let's check the content of the defconfig file that mentions HAILO
cat buildroot-external/configs/rpi5_64_defconfig
# Also check kernel config to see Hailo driver configuration
cat buildroot-external/board/raspberrypi/kernel.config
# Let's also search for any other Hailo-related files that might contain version information
rg -l "hailo" .
# And check package dependencies
cat buildroot-external/package/hailo8-firmware/Config.in
Length of output: 7153 Script: #!/bin/bash
# Let's check the hash file for any version requirements
cat buildroot-external/package/hailo8-firmware/hailo8-firmware.hash
# Check if there are any version-specific comments in the main Config.in
cat buildroot-external/Config.in | rg -A 5 "HAILO"
# Let's also check for any kernel driver version requirements
rg -l "gasket" .
cat buildroot-external/package/gasket/Config.in || true
Length of output: 654 Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Obviously, this is Raspberry Pi's downstream change, as the official driver still uses |
The new driver now expects the firmware file to contain version number, adjust the path and remove unnecessary makefile step.
Summary by CodeRabbit
New Features
Bug Fixes