Skip to content

hisilicon-ev200 / goke-gk7205v200: build 30 sensor drivers from source#2054

Merged
widgetii merged 1 commit into
masterfrom
sensor/ev200-gk7205-source-built-sensors
May 8, 2026
Merged

hisilicon-ev200 / goke-gk7205v200: build 30 sensor drivers from source#2054
widgetii merged 1 commit into
masterfrom
sensor/ev200-gk7205-source-built-sensors

Conversation

@widgetii

@widgetii widgetii commented May 5, 2026

Copy link
Copy Markdown
Member

Summary

Expands HISILICON_OPENSDK_SENSORS_hi3516ev200 from 3 sensors (imx307, imx335, h63) to 30 — every ev200 sensor that has source in openhisilicon at the current pin (680085e). The matching gk7205v200 list now inherits via \$(HISILICON_OPENSDK_SENSORS_hi3516ev200) since gk7205v200 is a symlink to hi3516ev200 in the openhisilicon sensor tree.

Deletes:

  • 10 binary blobs from hisilicon-osdrv-hi3516ev200/files/sensor/ (overlap with source-built libnames)
  • 25 binary blobs from goke-osdrv-gk7205v200/files/sensor/ (overlap)

The hi3516ev200 osdrv .mk uses files/sensor/*.so glob — blob deletion is sufficient. The goke .mk uses 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 by hisilicon-opensdk.

Files retained as binary blobs (no source counterpart):

  • ev200: f22, f23, sc2232h, sc2239, sc2315e
  • gk7205: f23, f23_dc, gc1054, sc200ai, sc2232h, sc2239, sc223a_4l, sc2335

Tracks OpenIPC/openhisilicon#82. Same pattern as #2042 (cv200), #2052 (v101), and #2053 (cv500) — install foreach is wired by the generic else branch in hisilicon-opensdk.mk:272 that ev200 and gk7205v200 both fall through to.

Test plan

  • CI: `hi3516ev200_lite` build green
  • CI: `gk7205v200_lite` build green
  • CI: QEMU boot smoke-tests pass for both boards
  • Manual: spot-check a real ev200/gk7205 camera with one of the newly source-built sensors (imx335 or imx307) once merged

🤖 Generated with Claude Code

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.
@widgetii widgetii force-pushed the sensor/ev200-gk7205-source-built-sensors branch from d938567 to e5c4918 Compare May 8, 2026 10:12
@widgetii widgetii merged commit 8d91335 into master May 8, 2026
95 checks passed
@widgetii widgetii deleted the sensor/ev200-gk7205-source-built-sensors branch May 8, 2026 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant