add sensors detect, fix load script (#742)

pull/744/head
cronyx 2023-04-23 19:21:21 +03:00 committed by GitHub
parent 6ac4826b14
commit 75d821c358
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 3 deletions

View File

@ -57,6 +57,7 @@ jobs:
- ssc335 - ssc335
- ssc338q - ssc338q
- t31 - t31
- t40
- xm510 - xm510
- xm530 - xm530
@ -194,6 +195,7 @@ jobs:
- gk7202v300 - gk7202v300
- gk7605v100 - gk7605v100
- t31 - t31
- t40
release: release:
- lite - lite
- ultimate - ultimate

View File

@ -75,7 +75,7 @@ else
DEBIAN_FRONTEND=noninteractive apt-get update && \ DEBIAN_FRONTEND=noninteractive apt-get update && \
apt-get -y install \ apt-get -y install \
build-essential git make libncurses-dev wget curl \ build-essential git make libncurses-dev wget curl \
cpio rsync bc unzip file cpio rsync bc unzip file lzop
endif endif

View File

@ -114,7 +114,9 @@ SENSOR_INFO_T g_sinfo[] =
{"jxq03"}, {"jxq03"},
{"jxq03p"}, {"jxq03p"},
{"sc3338"}, {"sc3338"},
{"imx334"},
{"imx335"},
{"imx415"},
}; };
int main(int argc,char **argv) int main(int argc,char **argv)
{ {

View File

@ -174,6 +174,9 @@ SENSOR_INFO_T g_sinfo[] =
{"jxq03", 0x40, "cgu_cim", 24000000, {0x05, 0x07}, 1, {0xa, 0xb}, 1, 2, NULL}, {"jxq03", 0x40, "cgu_cim", 24000000, {0x05, 0x07}, 1, {0xa, 0xb}, 1, 2, NULL},
{"jxq03p", 0x40, "cgu_cim", 24000000, {0x08, 0x43}, 1, {0xa, 0xb}, 1, 2, NULL}, {"jxq03p", 0x40, "cgu_cim", 24000000, {0x08, 0x43}, 1, {0xa, 0xb}, 1, 2, NULL},
{"sc3338", 0x30, "cgu_cim", 24000000, {0xcc, 0x41}, 1, {0x3107, 0x3108}, 2, 2, NULL}, {"sc3338", 0x30, "cgu_cim", 24000000, {0xcc, 0x41}, 1, {0x3107, 0x3108}, 2, 2, NULL},
{"imx334", 0x1a, "cgu_cim", 37125000, {0x20, 0x03}, 1, {0x302e, 0x302f}, 2, 2, NULL},
{"imx335", 0x1a, "cgu_cim", 37125000, {0x08, 0x0}, 1, {0x302e, 0x302f}, 2, 2, NULL},
{"imx415", 0x1a, "cgu_cim", 37125000, {0x28, 0x23}, 1, {0x3b00, 0x3b06}, 2, 2, NULL},
}; };
static int8_t g_sensor_id = -1; static int8_t g_sensor_id = -1;

View File

@ -45,7 +45,7 @@ fi
case ${SENSOR} in case ${SENSOR} in
"imx415") "imx415")
ISP_PARAM="350000000" ISP_PARAM="isp_clk=350000000"
SENSOR_PARAM="" SENSOR_PARAM=""
;; ;;
*) *)