Skip to content

hisilicon-opensdk: wire up CV300 open_ modules into firmware#2014

Merged
widgetii merged 1 commit intomasterfrom
feat/cv300-opensdk-modules
Apr 16, 2026
Merged

hisilicon-opensdk: wire up CV300 open_ modules into firmware#2014
widgetii merged 1 commit intomasterfrom
feat/cv300-opensdk-modules

Conversation

@widgetii
Copy link
Copy Markdown
Member

@widgetii widgetii commented Apr 16, 2026

Summary

Add hi3516cv300 (V3) — the last platform. All 8 HiSilicon chip families now have open_ modules wired into firmware.

CV300 has OSAL (source-compiled) like CV500/3519v101. One openhisilicon fix needed: EXPORT_SYMBOL for sensor_spi functions (openhisilicon#59).

  • Install block with vendor names in /lib/modules/3.18.20/hisilicon/
  • Blob prefix: hi3516cv300_* (also used for source drivers)
  • 38 modules installed, image fits lite flash (4524KB < 5120KB)
  • Also enables opensdk for hi3516ev100 (same SOC_FAMILY)

Depends on openhisilicon#59 for sensor_spi symbol exports.

All platforms complete

Platform Gen OSAL Hardware tested
hi3516cv500 V3.5 Yes
hi3519v101 V3A Yes hi3516av200 (IMX385)
hi3516cv300 V3 Yes hi3516cv300 (IMX291)
hi3516av100 V2A No hi3516dv100 (AR0237)
hi3516cv200 V2 No hi3518ev200 (JXF22)
hi3516cv100 V1 No hi3516cv100 (IMX323)

Test plan

  • make BOARD=hi3516cv300_lite all builds (4524KB < 5120KB)
  • 38 modules installed with correct vendor names
  • Sysupgrade to hi3516cv300 hardware (IMX291 sensor)
  • SDK started, 105KB JPEG snapshot captured
  • CI passes

🤖 Generated with Claude Code

Add hi3516cv300 (V3) support — last platform. CV300 has OSAL
(source-compiled) like CV500/3519v101, so zero openhisilicon code
changes were needed.

Key details:
- Kernel 3.18.20 (same as 3519v101)
- Blob prefix: hi3516cv300_* (used for both blobs AND source drivers)
- Source drivers (pwm, wdt, ir, rtc) use hi3516cv300_ prefix unlike
  3519v101 which uses hi_*
- Vendor ships combined hi3516cv300_sensor.ko; we install sensor_i2c
  as that name (SPI bus symbols are weak deps, I2C sensors work fine)
- 38 modules installed, image fits lite flash (4524KB < 5120KB)

Also enables opensdk for hi3516ev100 (same SOC_FAMILY=hi3516cv300).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@widgetii widgetii merged commit 0c4befb into master Apr 16, 2026
88 checks passed
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