Skip to content

kernel/hi3519dv500: add mipi_tx, gfbg + crypto subsystem from source#206

Merged
widgetii merged 1 commit into
mainfrom
feat/hi3519dv500-extra-modules
Jun 23, 2026
Merged

kernel/hi3519dv500: add mipi_tx, gfbg + crypto subsystem from source#206
widgetii merged 1 commit into
mainfrom
feat/hi3519dv500-extra-modules

Conversation

@widgetii

Copy link
Copy Markdown
Member

Adds the remaining DV500 modules that ship as source in the SDK (cv6xx's SDK shipped them .ko-only, hence deferred there). Takes dv500 from 53 → 59 open_*.ko, all source, no blobs.

New modules

  • mipi_tx — display output (mirrors mipi_rx; uses the vendor init wrapper).
  • gfbg — graphics/OSD framebuffer (depends on TDE headers). Uses the chip-conditional gfbg flags from the vendor Makefile's hi3519dv500 branch (notably CONFIG_TDE_GFBG_COMPRESS_V2, and not CONFIG_GFBG_NOT_SUPPORT_FUNC which is the non-dv500 path that would call a gated-out function).
  • cipher — symmetric crypto + the shared security_subsys_common framework (drv/kapi/dispatch/hal: trng/spacc/pke).
  • km / otp / hardware_cryptodev — key management / OTP fuses / /dev/crypto; disjoint source subsets that import cipher's framework at load (kbuild resolves the cross-module symbols).

spi_dma_transfer (a cv6xx peripheral) has no dv500 SDK source, so it stays out.

Verification

All 59 open_*.ko build to aarch64 against linux 5.10.0 with no undefined symbols / implicit declarations. The Build SDK (hi3519dv500) CI job (added in #205) exercises the full from-scratch build.

…source

The DV500 SDK ships these as full source (cv6xx's SDK didn't, so they were
deferred there). Add the six source-only modules, taking dv500 to 59
open_*.ko:

- mipi_tx — display output (mirrors mipi_rx; vendor init wrapper).
- gfbg — graphics/OSD framebuffer (depends on TDE headers; chip-conditional
  gfbg feature flags from the vendor Makefile's hi3519dv500 branch — notably
  CONFIG_TDE_GFBG_COMPRESS_V2, and NOT CONFIG_GFBG_NOT_SUPPORT_FUNC which is
  the non-dv500 path).
- cipher — symmetric crypto + the shared security_subsys_common framework
  (drv/kapi/dispatch/hal: trng/spacc/pke).
- km / otp / hardware_cryptodev — key management / OTP fuses / /dev/crypto;
  disjoint source subsets that import cipher's framework at load.

spi_dma_transfer (a cv6xx peripheral) has no dv500 SDK source, so it stays
out. All pure source, no blobs. Verified: all 59 open_*.ko build to aarch64
with no undefined symbols against linux 5.10.0.
@widgetii widgetii merged commit ff20187 into main Jun 23, 2026
35 checks passed
@widgetii widgetii deleted the feat/hi3519dv500-extra-modules branch June 23, 2026 20:06
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