Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion general/package/hisilicon-opensdk/hisilicon-opensdk.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
################################################################################

HISILICON_OPENSDK_SITE = $(call github,openipc,openhisilicon,$(HISILICON_OPENSDK_VERSION))
HISILICON_OPENSDK_VERSION = f8b6d46282cab6b704a27ddd3d2dd741803528e0
HISILICON_OPENSDK_VERSION = 963f7e9fdfa5c7843b68b2c55623e67655fd651b

HISILICON_OPENSDK_LICENSE = GPL-3.0
HISILICON_OPENSDK_LICENSE_FILES = LICENSE
Expand Down Expand Up @@ -242,6 +242,7 @@ HISILICON_OPENSDK_SENSORS_hi3516cv200 = \
soi_jxh42/libsns_jxh42 \
sony_imx222/libsns_imx222
HISILICON_OPENSDK_SENSORS_hi3516cv6xx = \
galaxycore_gc2083/libsns_gc2083 \
Comment thread
openipc-ai marked this conversation as resolved.
galaxycore_gc4023/libsns_gc4023 \
omnivision_os04d10/libsns_os04d10 \
smart_sc431hai/libsns_sc431hai \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

SNS_TYPE0=sc4336p;
SNS_TYPE1=sc4336p;
SNS_SET0=0
SNS_SET1=0
SYS_PROFILE=0
IR_AUTO=0
DEBUG=1
Expand Down Expand Up @@ -213,7 +215,7 @@ load_usage()
echo " -ir_auto config ir_auto enable [default: 0]"
echo " -profile config sys_profile [default: 0]"
echo " -h help information"
echo -e "Available sensors:sc4336p gc4023 sc450ai sc500ai sc431hai os04d10 imx307 os02m10 bt1120/bt656/bt601"
echo -e "Available sensors:sc4336p gc2083 gc4023 sc450ai sc500ai sc431hai os04d10 imx307 os02m10 bt1120/bt656/bt601"
Comment thread
qodo-free-for-open-source-projects[bot] marked this conversation as resolved.
echo -e "for example: $0 -i -sensor0 sc4336p -sensor1 sc4336p -mmz_start 0x42000000 -mmz_size 96M -ir_auto 1\n"
}

Expand Down Expand Up @@ -251,13 +253,15 @@ function parse_arg()
if [ $b_arg_sensor0 -eq 1 ] ; then
b_arg_sensor0=0;
SNS_TYPE0=$arg;
SNS_SET0=1
# Mirror ev200: explicit sensor flag also seeds SENSOR
# so the auto-detect probe path is skipped.
export SENSOR=$arg
fi
if [ $b_arg_sensor1 -eq 1 ] ; then
b_arg_sensor1=0;
SNS_TYPE1=$arg;
SNS_SET1=1
fi

if [ $b_arg_ir_auto -eq 1 ] ; then
Expand Down Expand Up @@ -386,9 +390,15 @@ fi

if [ "$SENSOR" = "unknown" ]; then
exit 1
else
if [ $b_arg_modprobe -eq 1 ]; then
cd /lib/modules/$(uname -r)/hisilicon
insert_ko
fi
fi

# open_sys_config takes the sensor clock and the MIPI/BT interface from these
# names. The defaults are only good for the auto-detect probe above, so give
# it the sensor this boot resolved unless -sensor0/-sensor1 named one.
[ $SNS_SET0 -eq 0 ] && SNS_TYPE0=$SENSOR
[ $SNS_SET1 -eq 0 ] && SNS_TYPE1=$SENSOR

if [ $b_arg_modprobe -eq 1 ]; then
cd /lib/modules/$(uname -r)/hisilicon
insert_ko
fi
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ HISILICON_OSDRV_HI3516CV6XX_MPP_LIBS = \
# Sensor .so blobs shipped from vendor flash where the openhisilicon
# V5 SDK has no source mirror. Extracted from the original CV608 DEMO
# board flash (Hi3516CV610_MPP_V1.0.1.0 B040, Sep 2024). Source-built
# sensors (gc4023, os04d10, sc4336p, sc450ai, sc500ai, sc431hai) come
# sensors (gc2083, gc4023, os04d10, sc4336p, sc450ai, sc500ai, sc431hai) come
# from hisilicon-opensdk and are not duplicated here.
HISILICON_OSDRV_HI3516CV6XX_SENSOR_BLOBS = \
libsns_imx307.so \
Expand Down
Loading