hisilicon: add Hi3519DV500/Hi3516DV500 (V5 aarch64) firmware#2203
Merged
Conversation
widgetii
marked this pull request as ready for review
June 23, 2026 10:19
Add a decoupled toolchain-only defconfig and a toolchain.yml matrix entry that publish toolchain.hisilicon-hi3519dv500 (aarch64-openipc-linux-musl, musl + C++, gcc 13, 5.10 kernel headers). `make toolchain` runs `make sdk`, which builds world; the decoupled config builds only the cross toolchain + busybox so the SDK can be packaged without the full firmware. The config has no kernel, so BR2_KERNEL_HEADERS is pinned to 5.10 (it would otherwise fall back to buildroot's newest-series default).
The BROKEN_MMAP=1 define forces a raw syscall(SYS_mmap2) path (patch 0002) needed by 32-bit musl. SYS_mmap2 is 32-bit-ARM-only — aarch64 has SYS_mmap and its musl mmap() works fine — so only apply it on 32-bit targets.
The aarch64 Cortex-A55 (V5/HISI_OT) counterpart of hi3516cv6xx, as one hi3519dv500 image with hi3516dv500 as an alias: - hi3519dv500_ultimate_defconfig: aarch64 musl, linux 5.10 (openipc/linux branch hisilicon-hi3519dv500), arm64 Image + FIT, squashfs. - board/hi3519dv500: kernel config, fit-image.its (DDR 0x40000000, arm64 0x80000 text offset), post-image.sh, plus the repack wiring in Makefile. - hisilicon-osdrv-hi3519dv500: load script + vendor MPP userspace .so from the Hi3519DV500 SDK V1.0.1.1. Boots to a shell on the qemu-hisilicon hi3519dv500 machine (SMP + Ethernet). majestic, divinus and hisilicon-opensdk have no aarch64 DV500 build yet and are left off; source-built sensors will come from openhisilicon.
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 Hi3519DV500/Hi3516DV500 (V5/HISI_OT, aarch64 Cortex-A55) to the
HiSilicon family — the 64-bit counterpart of
hi3516cv6xx. Onehi3519dv500image serves both dies, with
hi3516dv500as an alias.What's included
hi3519dv500_toolchainconfig + atoolchain.ymlmatrix entry that publish
toolchain.hisilicon-hi3519dv500(
aarch64-openipc-linux-musl, musl + C++, gcc 13, 5.10 kernel headers).hi3519dv500_ultimate_defconfig(aarch64, linux 5.10 from theopenipc/linuxbranchhisilicon-hi3519dv500), kernel config,fit-image.its(arm64 Image, DDR0x40000000),post-image.sh, repack wiring.hisilicon-osdrv-hi3519dv500ships the load script and thevendor MPP
.sofrom the Hi3519DV500 SDK V1.0.1.1.BROKEN_MMAPworkaround on aarch64.Boots to a root shell on the
qemu-hisiliconhi3519dv500machine, withdual-core SMP and Ethernet.
Not in this PR
majestic,divinus,hisilicon-opensdk— no aarch64 DV500 build yet, left off.OpenIPC/openhisilicon.Kept out of the CI build matrix.