Add hi3516cv200_lite_spezvision-svi-252b-k202 device profile (SpezVision SVI-252B K202, IMX323, Ethernet only) (#161)

SpezVision SVI-252B K202 on board BLK16CV-0323-38X38-V1.01: HiSilicon Hi3516CV200,
Sony IMX323 on the I2C/DC 1080p configuration, 8 MiB SPI NOR, wired Ethernet only.

The board's day/night path is what needs describing. The hardware daylight sensor
is GPIO3_0 (legacy HiSilicon numbering 24) and the bistable IR-cut filter is
GPIO4_2 / GPIO4_1 (34 and 33), which the customizer seeds into majestic. GPIO3_0
has to be muxed to function 0 at 0x200f0034 before it can be read, and
load_hisilicon's imx323 branch does not touch that register, so the board ships a
muxes.sh for it — S30customizer runs that on every boot, independently of which
streamer is in use, so the pin contract holds for anything running on the camera.
No backlightPin is set: a separate software-controlled IR illuminator GPIO was not
proven on this board.

Rather than forking the whole hi3516cv200.generic.config into the device directory
the way the other CV200 profile does, the board carries a kernel config fragment
naming only its own hardware facts — no SD/MMC socket, no Wi-Fi radio, no used USB
path, NOR only — so it keeps tracking upstream kernel changes instead of shadowing
them. This is the first device here to use BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES.
Together with an exclude list trimmed to the one sensor this camera has, the image
lands at 3956736 B of rootfs, leaving 1256 KB of rootfs headroom and 524 KB of
kernel headroom on the 8 MiB layout.

Tested on physical hardware by the author: builds, flashes and boots, with IMX323
video, Ethernet, the hardware daylight sensor and automatic IR-cut switching all
working. A brief purple frame can still appear during the colour-to-grayscale
transition; that is tracked upstream in OpenIPC/majestic#325 and no board-specific
workaround is carried here.
This commit is contained in:
ArthurKoba
2026-09-19 15:47:44 +03:00
committed by GitHub
parent 5e1bb92866
commit ca991733a4
7 changed files with 217 additions and 0 deletions
@@ -0,0 +1,69 @@
/etc/sensors/ar0130_i2c_720p.ini
/etc/sensors/ar0237_i2c_dc_1080p.ini
/etc/sensors/gc1034_i2c_720p.ini
/etc/sensors/gc2023_mipi_1080p.ini
/etc/sensors/imx222_i2c_1080p.ini
/etc/sensors/imx222_i2c_720p.ini
/etc/sensors/imx291_i2c_lvds_1080p.ini
/etc/sensors/imx323_spi_dc_1080p.ini
/etc/sensors/jxf22_i2c_1080p.ini
/etc/sensors/jxf23_i2c_1080p.ini
/etc/sensors/jxh62_i2c_720p.ini
/etc/sensors/jxh65_i2c_960p.ini
/etc/sensors/ov2710_dc_1080p.ini
/etc/sensors/ov2710_mipi_1080p.ini
/etc/sensors/ov2735_i2c_1080p.ini
/etc/sensors/ov2735_mipi_1080p.ini
/etc/sensors/ov9712_i2c_720p.ini
/etc/sensors/ov9732_i2c_720p.ini
/etc/sensors/ov9750_i2c_960p.ini
/etc/sensors/sc1135_i2c_720p.ini
/etc/sensors/sc1145_i2c_720p.ini
/etc/sensors/sc1235_i2c_dc_960p.ini
/etc/sensors/sc2035_i2c_1080p.ini
/etc/sensors/sc2135_i2c_1080p.ini
/etc/sensors/sc2235_i2c_dc_1080p.ini
#
/etc/sensors/iq/default.ini
/etc/sensors/iq/ar0130.ini
/etc/sensors/iq/ar0230.ini
/etc/sensors/iq/imx222.ini
/etc/sensors/iq/ov2710.ini
/etc/sensors/iq/ov9732.ini
/etc/sensors/iq/ov9750.ini
#
/usr/lib/sensors/libsns_9m034.so
/usr/lib/sensors/libsns_ar0130.so
/usr/lib/sensors/libsns_ar0230.so
/usr/lib/sensors/libsns_ar0237.so
/usr/lib/sensors/libsns_gc1034.so
/usr/lib/sensors/libsns_gc2023.so
/usr/lib/sensors/libsns_imx122.so
/usr/lib/sensors/libsns_imx222.so
/usr/lib/sensors/libsns_imx291.so
/usr/lib/sensors/libsns_jxf22.so
/usr/lib/sensors/libsns_jxf23.so
/usr/lib/sensors/libsns_jxh42.so
/usr/lib/sensors/libsns_jxh62.so
/usr/lib/sensors/libsns_jxh65.so
/usr/lib/sensors/libsns_mn34222.so
/usr/lib/sensors/libsns_ov2710.so
/usr/lib/sensors/libsns_ov2710_dc.so
/usr/lib/sensors/libsns_ov2710_mipi.so
/usr/lib/sensors/libsns_ov2718.so
/usr/lib/sensors/libsns_ov2735.so
/usr/lib/sensors/libsns_ov9712.so
/usr/lib/sensors/libsns_ov9732.so
/usr/lib/sensors/libsns_ov9750.so
/usr/lib/sensors/libsns_ov9752.so
/usr/lib/sensors/libsns_sc1135.so
/usr/lib/sensors/libsns_sc1145.so
/usr/lib/sensors/libsns_sc1235.so
/usr/lib/sensors/libsns_sc2035.so
/usr/lib/sensors/libsns_sc2135.so
/usr/lib/sensors/libsns_sc2235.so
#
/usr/bin/ircut_demo
/lib/modules/4.9.37/hisilicon/ir.ko
/lib/modules/4.9.37/hisilicon/hi_rtc.ko
/lib/modules/4.9.37/hisilicon/piris.ko