Enable openhisilicon modules for hi3516cv500 builds#1987
Merged
Conversation
- Enable BR2_PACKAGE_HISILICON_OPENSDK in hi3516cv500_lite_defconfig - Add post-install hook that copies opensdk open_*.ko modules over vendor osdrv modules in /lib/modules/*/hisilicon/ with matching vendor names, so load_hisilicon picks them up transparently - Bump HISILICON_OPENSDK_VERSION to 6fe935a (hi3516cv500 support) The opensdk modules are built from source (ISP, OSAL, MIPI, cipher, watchdog, etc.) or from vendor blobs with open init wrappers. They are ABI-compatible with the vendor modules and drop-in replace them. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
681353d to
839893a
Compare
This was referenced Apr 10, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Enable openhisilicon (opensdk) kernel modules for all hi3516cv500 firmware builds, replacing vendor binary modules with open-source rebuilt ones.
Changes
BR2_PACKAGE_HISILICON_OPENSDK=yopen_*.komodules to/lib/modules/*/hisilicon/with vendor-compatible names (e.g.open_base.ko→hi3516cv500_base.ko)How it works
The opensdk package builds 38 kernel modules. A post-install hook renames them to match vendor module names expected by
load_hisilicon. The osdrv package still provides the load script, sensor configs, and userspace libraries — only the.kofiles are replaced.The
load_hisiliconscript requires no changes — it picks up the opensdk modules transparently since they have the same filenames.Verified on hardware
Tested on hi3516av300 + imx415 camera:
🤖 Generated with Claude Code