Skip to content

Commit bec82a8

Browse files
committed
hisilicon: add Hi3519DV500/Hi3516DV500 (V5 aarch64) firmware
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.
1 parent 4aeef5b commit bec82a8

51 files changed

Lines changed: 5248 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ endif
101101
repack:
102102
ifeq ($(BR2_OPENIPC_SOC_FAMILY),"hi3516cv6xx")
103103
@$(call PREPARE_REPACK,firmware.bin,$(shell expr $(subst ",,$(BR2_OPENIPC_FLASH_SIZE)) \* 1024),,,nor)
104+
else ifeq ($(BR2_OPENIPC_SOC_FAMILY),"hi3519dv500")
105+
@$(call PREPARE_REPACK,firmware.bin,$(shell expr $(subst ",,$(BR2_OPENIPC_FLASH_SIZE)) \* 1024),,,nor)
104106
else ifneq ($(wildcard $(TARGET)/images/firmware.bin),)
105107
@$(call PREPARE_REPACK,firmware.bin,8192,,,nor)
106108
else
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
/dts-v1/;
2+
3+
/*
4+
* aarch64 FIT for Hi3519DV500/Hi3516DV500. DDR base 0x40000000; the kernel
5+
* loads at the standard arm64 0x80000 text offset.
6+
*/
7+
8+
/ {
9+
description = "Linux Kernel";
10+
#address-cells = <1>;
11+
12+
images {
13+
fdt-1 {
14+
description = "dtb";
15+
data = /incbin/("fdt.dtb");
16+
type = "flat_dt";
17+
arch = "arm64";
18+
compression = "none";
19+
load = <0x40000000>;
20+
};
21+
22+
linux_kernel {
23+
description = "Linux";
24+
data = /incbin/("Image");
25+
type = "kernel";
26+
arch = "arm64";
27+
os = "Linux";
28+
compression = "none";
29+
load = <0x40080000>;
30+
entry = <0x40080000>;
31+
};
32+
};
33+
34+
configurations {
35+
default = "config-1";
36+
config-1 {
37+
description = "Linux";
38+
kernel = "linux_kernel";
39+
fdt = "fdt-1";
40+
loadables = "linux_kernel", "fdt-1";
41+
};
42+
};
43+
};

0 commit comments

Comments
 (0)