kernel: bring up hi3519dv500 (V5 aarch64) — open_*.ko from vendor SDK#204
Merged
Conversation
Port the Hi3519DV500/Hi3516DV500 (V5/SS626, aarch64 Cortex-A55) kernel modules, mirroring the hi3516cv6xx (V5 armv7) bring-up. 53 open_*.ko build against openipc/linux 5.10.0 with the aarch64-openipc-linux-musl toolchain: - OSAL, MMZ, sys_config: full vendor source. - 42 blob modules: vendor closed .o payloads (obj/hi3519dv500/hi_*.o from out/obj/mod_*.o) + vendor init wrappers (init/hi3519dv500/*_init.c). - Peripherals from source: wdt, adc, sensor_i2c, sensor_spi, pwm, piris, user, mipi_rx. aarch64 specifics: - kernel/Kbuild sets -DUSER_BIT_64/-DKERNEL_BIT_64 for hi3519dv500 (the 32-bit families keep the historical default). - mipi_rx_hal.c: rename the file-local static set_bit() that clashed with the arm64 asm/bitops.h set_bit(). sensor_i2c/spi/pwm/piris aren't standalone .ko in the vendor SDK; they are made standalone via init wrappers shared with cv6xx (same V5 driver API). Deferred (match cv6xx): cipher/km/otp/hardware_cryptodev/gfbg/mipi_tx. Vendor .o blobs are force-added (.gitignore excludes *.o).
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.
Ports the Hi3519DV500 / Hi3516DV500 (V5/SS626, aarch64 Cortex-A55) kernel modules, mirroring the
hi3516cv6xx(V5 armv7) bring-up (#202). Builds on the sensor drivers from #203.Result
53
open_*.kobuild clean againstopenipc/linux5.10.0 withaarch64-openipc-linux-musl(verified locally; all ELF aarch64, no warnings/undefined symbols):.opayloads (obj/hi3519dv500/hi_*.o) + vendor init wrappers (init/hi3519dv500/*_init.c): base, sys, vb, vca, vi, vpss, vpp, vo, vo_dev, vgs, venc, venc_svr, vdec, vfmw, h264e, h265e, jpege, jpegd, isp, rgn, rc, chnl, dis, gyrodis, gdc, tde, mcf, motionfusion, dpu_match, dpu_rect, ive, svp_npu, aiisp, aio/ai/ao/aenc/adec/acodec, pm, uvc, smmz_agentaarch64 specifics
kernel/Kbuildsets-DUSER_BIT_64/-DKERNEL_BIT_64forhi3519dv500(32-bit families keep the default)mipi_rx_hal.c: renamed a file-local staticset_bit()that clashed with arm64asm/bitops.hNotes
sensor_i2c/spi/pwm/pirisaren't standalone.koin the vendor SDK; made standalone via init wrappers shared with cv6xx (same V5 driver API).cipher/km/otp/hardware_cryptodev/gfbg/mipi_tx..oblobs are force-added (.gitignoreexcludes*.o).Not yet added to the CI
Build SDKmatrix — that needs the firmware side wired (hisilicon-opensdkDV500 deps + a board build); proposed as a follow-up.