Repository navigation
hisilicon-opensdk: bump to 963f7e9, GC2083 on hi3516cv6xx - #2577
Conversation
|
/review |
Code Review by Qodo
1. New sensor support lacks camera evidence
|
- hisilicon-opensdk: bump to 963f7e9 and build libsns_gc2083 for hi3516cv6xx (OpenIPC/openhisilicon#261), with the vendor's ISP tables, its colour tuning and the 0x400 black level. sys_config clocks the sensor at 27 MHz; ipctool already detects it (chip 0x2083). - hisilicon-osdrv-hi3516cv6xx: list gc2083 among the source-built sensors and in load_hisilicon's usage text. Not yet verified on hardware: OpenIPC/openhisilicon#260.
… resolved insert_ko passed SNS_TYPE0/1 to open_sys_config, and those only change with -sensor0/-sensor1, which S70vendor never passes. Every cv6xx camera was therefore configured as sc4336p whatever was detected or stored in the environment. sys_config takes the sensor clock and the MIPI/BT interface from that name, so an OS04D10 got 27 MHz instead of 24 and a BT656/BT1120 source was set up as MIPI. Use the resolved SENSOR unless a flag named one, as the ev200 script does.
3366992 to
0615833
Compare
963f7e9(sensor: add gc2083 for hi3516cv6xx (#260) openhisilicon#261) and buildlibsns_gc2083for hi3516cv6xx. The library carries the vendor driver's ISP tables, the vendor scene INI's colour tuning, and the0x400black level that fixes the magenta cast. sys_config clocks the sensor at 27 MHz, and ipctool already detects it (chip0x2083).load_hisiliconnow givesopen_sys_configthe sensor this boot resolved (-sensor0/ thesensorenv / the probe). Until nowinsert_kopassed the hard-codedsc4336pdefault unless-sensor0was given, andS70vendornever passes it. So every cv6xx camera got sc4336p's clock and interface: 27 MHz for an OS04D10 that needs 24, and MIPI for a BT656/BT1120 source. Explicit-sensor0/-sensor1still win. gc2083 is also listed among the source-built sensors and in the usage text.The bump also brings in OpenIPC/openhisilicon#259, which is docs only.
Testing: the library cross-compiles warning-free and passed openhisilicon's CI.
load_hisiliconpassesbusybox sh -n, and its sensor selection was checked for the no-flag,-sensor0and-sensor0 -sensor1cases. Nothing has run on a camera yet: we have no Hi3516CV610 board, and the reporter is testing an H2-52PGX in OpenIPC/openhisilicon#260. Board-specific power, I2C bus and MIPI setup for that board are not part of this PR.