Commit 666a095
authored
kernel: bring up hi3519dv500 (V5 aarch64) — open_*.ko from vendor SDK (#204)
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).1 parent 913e7eb commit 666a095
490 files changed
Lines changed: 125921 additions & 1 deletion
File tree
- kernel
- adc/hi3519dv500
- arch/hi3519dv500
- include/hi3519dv500
- exp_inc
- isp_arch_inc
- isp_ext_inc
- isp_fw_arch_inc
- isp_fw_inc
- isp_mkp_inc
- module
- init/hi3519dv500
- source_drv_init
- mipi_rx/hi3519dv500
- obj/hi3519dv500
- osal/hi3519dv500
- include
- module
- media
- mmz
- include
- piris/hi3519dv500
- arch
- hi3519dv500
- pwm/hi3519dv500
- sensor_i2c/hi3519dv500
- hi3519dv500
- sensor_spi/hi3519dv500
- hi3519dv500
- sys_config/hi3519dv500
- user/hi3519dv500
- wdt/hi3519dv500
- arch/hi3519dv500
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| 56 | + | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
| |||
90 | 92 | | |
91 | 93 | | |
92 | 94 | | |
| 95 | + | |
93 | 96 | | |
94 | 97 | | |
95 | 98 | | |
| |||
105 | 108 | | |
106 | 109 | | |
107 | 110 | | |
| 111 | + | |
108 | 112 | | |
109 | 113 | | |
110 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
8 | 14 | | |
9 | 15 | | |
10 | 16 | | |
| |||
26 | 32 | | |
27 | 33 | | |
28 | 34 | | |
| 35 | + | |
| 36 | + | |
29 | 37 | | |
30 | 38 | | |
31 | 39 | | |
| |||
0 commit comments