hisilicon-ev200 / goke-gk7205v200: build 30 sensor drivers from source#2054
Merged
Conversation
This was referenced May 5, 2026
widgetii
added a commit
that referenced
this pull request
May 8, 2026
Adds HISILICON_OPENSDK_SENSORS_hi3516cv100 with 17 sensors — every
cv100 sensor that has source in the openhisilicon repo at the
current pin (680085e):
aptina_9m034 ov_9712 soi_jxh42
aptina_ar0130 ov_9712+ sony_icx692
aptina_ar0330 pana34031 sony_imx104
aptina_mt9p006 pana34041 sony_imx122
himax_1375 pixelplus_3100k sony_imx138
soi_h22 sony_imx236
Wires the cv100 INSTALL_TARGET_CMDS block to install them via the
standard sensor foreach. The block was previously kernel-modules-
only.
Deletes 11 binary blobs from
general/package/hisilicon-osdrv-hi3516cv100/files/sensor/ — every
source-built libname that exact-matches a binary blob:
libsns_9m034.so libsns_imx138.so libsns_mt9p006.so
libsns_icx692.so libsns_imx236.so libsns_ov9712.so
libsns_imx104.so libsns_mn34041.so libsns_ov9712_plus.so
libsns_imx122.so libsns_po3100k.so
Nineteen binary blobs without exact-match source counterparts
remain (intentional). Variants of source-built sensors with bus/
resolution suffixes (libsns_ar0130_720p, libsns_imx138_i2c_dc,
libsns_jxh42_i2c, libsns_mn34031_720p, libsns_ov9712_i2c_dc) are
preserved as binary alongside the source-built unsuffixed versions
because the cv100 .ini configs reference these specific filenames.
Sensors with no source at all (ar0140, ar0330_1080p, gc1004ok,
imx222_spi_dc, imx225_*, ov2710, ov9732, sc1035_*) also stay.
Naming peculiarities preserved as-is (source uses platform
convention libsns_<model>; binary blobs use legacy non-standard
names that .ini files reference): libsns_hm1375 (source) vs
libsns_himax1375.so (binary, .ini); libsns_h22 (source) vs
libsns_soih22.so (binary, .ini). Both binary versions stay; the
source-built versions ship alongside.
The cv100 osdrv .mk uses files/sensor/*.so glob, so blob deletion
is sufficient — no osdrv .mk edit needed.
Tracks OpenIPC/openhisilicon#82. Closes the per-platform sweep
(after #2042 cv200, #2052 v101, #2053 cv500, #2054 ev200+gk7205,
…isilicon source
Expands HISILICON_OPENSDK_SENSORS_hi3516ev200 and the matching
gk7205v200 list (which inherits via $(HISILICON_OPENSDK_SENSORS_hi3516ev200)
since gk7205v200 is a symlink to hi3516ev200 in the openhisilicon
sensor tree) from 3 sensors (imx307, imx335, h63) to 30 — every
ev200/gk7205 sensor that has source in the openhisilicon repo at
the current pin (680085e):
aptina_ar0237 omnivision_os02g10 sony_imx290
bt656 omnivision_os05a sony_imx307
galaxycore_gc2053 omnivision_ov2718 sony_imx307_2L
galaxycore_gc2053_ForCar smart_sc2231 sony_imx327
galaxycore_gc4023 smart_sc2235 sony_imx327_2L
galaxycore_gc4653_2L smart_sc223a sony_imx335
galaxycore_gc5603 smart_sc3235 sony_imx335_2L
imagedesign_mis2008 smart_sc3335 sony_imx335_fpv
soi_f37 smart_sc3336 superpix_sp2305
soi_h63 smart_sc4236
smart_sc500ai
Deletes 10 binary blobs from
general/package/hisilicon-osdrv-hi3516ev200/files/sensor/ — the ones
whose libnames overlap exactly with our source-built libnames. Five
binary blobs without source counterparts remain (intentional):
libsns_f22.so libsns_f23.so
libsns_sc2232h.so libsns_sc2239.so
libsns_sc2315e.so
The hi3516ev200 osdrv .mk uses files/sensor/*.so glob, so blob
deletion is sufficient — no .mk edit needed.
Deletes 25 binary blobs from
general/package/goke-osdrv-gk7205v200/files/sensor/ for the same
reason. The goke .mk uses explicit per-blob INSTALL lines, so this
commit also rewrites the sensor INSTALL block to keep only the
remaining binary-only sensors (sc200ai, sc2232h, sc2239, sc223a_4l,
sc2335) with a comment explaining the source-built sensors are now
installed by hisilicon-opensdk.
Files retained as binary blobs in goke (no source available):
libsns_f23.so libsns_f23_dc.so
libsns_gc1054.so libsns_sc200ai.so
libsns_sc2232h.so libsns_sc2239.so
libsns_sc223a_4l.so libsns_sc2335.so
Tracks OpenIPC/openhisilicon#82. Same pattern as #2042 (cv200),
generic else branch in hisilicon-opensdk.mk:272 that ev200 and
gk7205v200 both fall through to.
d938567 to
e5c4918
Compare
5 tasks
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
Expands
HISILICON_OPENSDK_SENSORS_hi3516ev200from 3 sensors (imx307,imx335,h63) to 30 — every ev200 sensor that has source in openhisilicon at the current pin (680085e). The matchinggk7205v200list now inherits via\$(HISILICON_OPENSDK_SENSORS_hi3516ev200)sincegk7205v200is a symlink tohi3516ev200in the openhisilicon sensor tree.Deletes:
hisilicon-osdrv-hi3516ev200/files/sensor/(overlap with source-built libnames)goke-osdrv-gk7205v200/files/sensor/(overlap)The hi3516ev200 osdrv
.mkusesfiles/sensor/*.soglob — blob deletion is sufficient. The goke.mkuses explicit per-blob INSTALL lines, so this PR also rewrites that block to keep only binary-only sensors with a comment explaining the source-built ones are now installed byhisilicon-opensdk.Files retained as binary blobs (no source counterpart):
f22, f23, sc2232h, sc2239, sc2315ef23, f23_dc, gc1054, sc200ai, sc2232h, sc2239, sc223a_4l, sc2335Tracks OpenIPC/openhisilicon#82. Same pattern as #2042 (cv200), #2052 (v101), and #2053 (cv500) — install
foreachis wired by the genericelsebranch inhisilicon-opensdk.mk:272that ev200 and gk7205v200 both fall through to.Test plan
🤖 Generated with Claude Code