libraries: hi3519dv500 (V5 aarch64) sensor drivers from source#203
Merged
Conversation
Add the Hi3519DV500/Hi3516DV500 (V5/SS626, aarch64 Cortex-A55) sensor
drivers, compiled from the vendor SDK source the same way the cv500/cv300/
hi3519v101 chips are (per-sensor <sns>_cmos.c + <sns>_sensor_ctl.c built
against the DV500 ISP/MPI headers). cv6xx's cis_/sensor_common refactor does
not apply here: the DV500 ISP API differs from cv6xx's, and the vendor source
matches the DV500 headers directly.
8 sensors -> libsns_*.{so,a}: sc450ai, os04a10, os04a10_slave, os08a20,
sc850sl, imx347_slave, imx515, gst412c.
Also adds the DV500 vendor ISP/MPI headers (libraries/isp/include/hi3519dv500,
kernel/include/hi3519dv500 trimmed to the set the sensors include) and the
libraries/Makefile CHIPARCH filter.
Verified: all 8 build to aarch64 ELF via
`make -C libraries CHIPARCH=hi3519dv500` with aarch64-openipc-linux-musl.
Kernel modules (open_*.ko) are a separate follow-up.
2357d73 to
6706748
Compare
This was referenced Jun 23, 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.
Adds the Hi3519DV500 / Hi3516DV500 (V5/SS626, aarch64 Cortex-A55) sensor drivers, compiled from the vendor SDK source — the first piece of DV500 SoC support.
Approach
DV500 follows the vendor-framework convention already used by cv500/cv300/hi3519v101 (per-sensor
<sns>_cmos.c+<sns>_sensor_ctl.cbuilt against the chip's ISP/MPI headers), not cv6xx'scis_/sensor_commonrefactor — the DV500 ISP API differs from cv6xx's, so the vendor source matches the DV500 headers directly.What's included
libraries/sensor/hi3519dv500/— 8 sensors →libsns_*.{so,a}:sc450ai,os04a10,os04a10_slave,os08a20,sc850sl,imx347_slave,imx515,gst412c(the names the OpenIPC firmware osdrv expects).libraries/isp/include/hi3519dv500/+kernel/include/hi3519dv500/— DV500 vendor ISP/MPI headers (trimmed to the set the sensors include).libraries/Makefile—CHIPARCH=hi3519dv500sensor filter.Verification
All 8 build to aarch64 ELF via the canonical
make -C libraries CHIPARCH=hi3519dv500(the way buildroot invokes it), using theaarch64-openipc-linux-musltoolchain. No build artifacts committed (.so/.o/.aare gitignored;hisilicon-opensdkbuilds them).Follow-up
Kernel modules (
open_*.ko— OSAL/MMZ/sys_config/mipi/peripherals +.o-blob-wrapped core, plus ahi3519dv500.kbuild) are a separate, larger phase.