kernel/hi3519dv500: add mipi_tx, gfbg + crypto subsystem from source#206
Merged
Conversation
…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.
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.
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 → 59open_*.ko, all source, no blobs.New modules
hi3519dv500branch (notablyCONFIG_TDE_GFBG_COMPRESS_V2, and notCONFIG_GFBG_NOT_SUPPORT_FUNCwhich is the non-dv500 path that would call a gated-out function).security_subsys_commonframework (drv/kapi/dispatch/hal: trng/spacc/pke)./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_*.kobuild to aarch64 against linux 5.10.0 with no undefined symbols / implicit declarations. TheBuild SDK (hi3519dv500)CI job (added in #205) exercises the full from-scratch build.