Skip to content

hisilicon-opensdk: wire up CV200 open_ modules into firmware#2004

Merged
widgetii merged 2 commits intomasterfrom
feat/cv200-opensdk-modules
Apr 14, 2026
Merged

hisilicon-opensdk: wire up CV200 open_ modules into firmware#2004
widgetii merged 2 commits intomasterfrom
feat/cv200-opensdk-modules

Conversation

@widgetii
Copy link
Copy Markdown
Member

Summary

Module name mappings

open_ name Vendor name Type
open_mmz.ko mmz.ko source
open_himedia.ko hi_media.ko source
open_sys_config.ko sys_config.ko source
open_isp.ko hi3518e_isp.ko source
open_vi.ko hi3518e_viu.ko blob
open_rgn.ko hi3518e_region.ko blob
open_acodec.ko acodec.ko blob
open_{base,sys,vpss,...}.ko hi3518e_{base,sys,vpss,...}.ko blob

Test plan

  • Built with make BOARD=hi3516cv200_lite br-hisilicon-opensdk
  • Deployed to hi3518ev200 (64MB RAM, JXF22 sensor)
  • All 29 modules load on boot via load_hisilicon
  • Majestic streams H264 1920x1080@20fps + MJPEG 1080p@5fps
  • Survives reboot
  • CI build passes

🤖 Generated with Claude Code

Bump opensdk to 1e2e1b4 which fixes 5 issues preventing open_ modules
from working on hi3516cv200/hi3518ev200 hardware (openhisilicon#45).

Wire up the CV200 module install — rename open_*.ko to vendor names
in hisilicon/ so load_hisilicon picks them up transparently:
- Source modules: mmz, himedia, sys_config, mipi, sensor_i2c/spi, etc.
- Blob modules: hi3518e_base, hi3518e_sys, hi3518e_viu, etc.
- Name mappings: open_vi.ko → hi3518e_viu.ko, open_rgn.ko →
  hi3518e_region.ko, open_acodec.ko → acodec.ko

Enable TDE for CV200 (RGN blob depends on TDE symbols).

Tested on hi3518ev200 board (64MB RAM, JXF22 sensor): all 29 modules
load on boot, majestic streams H264+MJPEG 1080p, survives reboot.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add BR2_PACKAGE_HISILICON_OPENSDK=y to both CV200-family defconfigs
so the opensdk modules are built and installed into firmware images.

Without this, the firmware only contains vendor osdrv modules and
the opensdk install block in hisilicon-opensdk.mk has no effect.

Tested end-to-end: sysupgrade to firmware with opensdk modules,
camera boots, all 32 modules load, H264+MJPEG streaming confirmed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@widgetii widgetii merged commit ab1a467 into master Apr 14, 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