hisilicon-opensdk: fix CV500 module install and enable av300/dv300 - #1989
Merged
Conversation
Problems fixed: - osdrv vendor .ko modules were overwriting opensdk modules in buildroot per-package merge (osdrv installed last alphabetically) - libisp.so from opensdk was not being installed - opensdk was only enabled for hi3516cv500_lite, not av300/dv300 Changes: - osdrv: skip .ko, sensor .so, libisp.so install when opensdk enabled - opensdk: install libisp.so built from source to /usr/lib/ - opensdk: add dependency on osdrv so install ordering is correct - Enable BR2_PACKAGE_HISILICON_OPENSDK for av300_lite and dv300_lite Verified on hardware: - hi3516ev300_lite: open_ modules loaded, JPEG OK (no regression) - hi3516av300 + imx415: opensdk modules in hisilicon/ dir, opensdk libisp.so, Majestic serving JPEG Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Problem
The previous PR #1987 enabled opensdk for hi3516cv500_lite, but:
libisp.sowas not installed, causing Majestic to fail with "cannot open shared object file"Fix
BR2_PACKAGE_HISILICON_OPENSDK=y, skip installing.komodules, vendor sensor.so, and vendorlibisp.so— opensdk provides theselibisp.sobuilt from source to/usr/lib/hi3516av300_liteandhi3516dv300_liteVerified on hardware
open_modules loaded, JPEG OK (no regression)hisilicon/, opensdklibisp.so(1020K), Majestic serving JPEG🤖 Generated with Claude Code