add sensors detect, fix load script

pull/742/head
cronyx 2023-04-23 13:31:46 +03:00
parent 6ac4826b14
commit 58d7cd1719
4 changed files with 8 additions and 2 deletions

View File

@ -194,6 +194,7 @@ jobs:
- gk7202v300 - gk7202v300
- gk7605v100 - gk7605v100
- t31 - t31
- t40
release: release:
- lite - lite
- ultimate - ultimate

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=""
;; ;;
*) *)