DRAM: ********Hello RTOS******** version : RTOS UP open-version : RTOS 3.3.6 build data : Sep 18 2023 11:49:55 ********************************** OsA RTOS # random dev init ... mem dev init ... porc fs init ... Mount procfs finished. spi bus init ... i2c bus init ... gpio init ... spi nor flash init ... Spi Nor ID:0xA1 0x40 0x17 0xA1 0x40 0x17 0xA1 0x40 note:this spi nor flash does not support DTR mode!! note:before you use DTR mode in liteos,you must enable DTR mode both u-boot and liteos!! Spi Nor Flash Info: Name:"FM25Q64-SOB-T-G" Size:8MB Block:64KB get_token_num() 17 himm(GPIO6_2_ADDR, 0x1E00);.................... tc_moto_ctrl_init create Timer1 success ==== sookietest online_flag=0, cmos_yuv_flag=0, sensor=gc2053, chip=gk7202v300, board=demo==== ==== g_quick_start_flag=0 ==== sysconfig init success! osal_proc_mkdir - parent is NULL! proc=0x40a27f34 g_mmz_start=0x42000000, g_mmz_size=0x20 mmz param= anonymous,0,0x42000000,32M <6>Vendor Media Memory Zone Manager load sys.ko OK! load region.ko OK! load vgs.ko OK! load isp.ko OK ! load vi.ko OK ! load vpss.ko OK! load chnl.ko OK! load vedu.ko OK! load rc.ko OK! load venc.ko OK! load h264e.ko OK! load jpege.ko OK! load ive.ko OK! load piris.ko OK! load mipi_rx driver successful! sensor i2c init OK. load tde.ko OK! rtc init ok. ver=Aug 10 2021, 16:04:03. Vendor Watchdog Timer: 0.01 initialized. default_margin=10 sec (nodeamon= 1) wtdg init ok. ver=Mar 29 2022, 01:09:04. hal_wdg_init wdg_thread_init FINAL_SW_VERSION:GC1.0.0.4.56 1970-01-01 00:00:00 [(err)print_wdt_info:142]: WDG_Vnet init ... OTE:[8][8][8][8][8][8][8][8][8][8] ************************************************************ usb init ... ******** usb_init in ********** usb v3.05 2019-10-22 09:32 g_usb_mem_addr_start 41E00000, g_usb_mem_size 00100000 XHCI: 64 bytes context size, 32-bit DMA usbus0: 5.0Gbps Super Speed USB v3.0 Handle Request function is set *** usbd_do_request_flags err: 0! ******** usb_init ok********** ************************************************************ VBUS_ALT_ADDR:0x00001Minimum bMaxPacketSize is large enough to hold the complete device descriptor or only one bMaxPacketSize choice Handle Request function is set *** usbd_do_request_flags err: 0! adding unit addr=1, rev=300, class=9, subclass=0, protocol=3, maxpacket=9, len=18, speed=4 Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! setting config 1 Handle Request function is set *** usbd_do_request_flags err: 0! uhub0: on usbus0 Handle Request function is set *** usbd_do_request_flags err: 0! A00 VBUS_DIR_ADDR:0x000000F0 VBUS_DAT_PADDR:0x0000008F VBUS_DAT_GPIO8_7:0x00000080 create the queue success! add_mtd_partition 0 param success add_mtd_partition 1 etc success sdhci0: LOSCFG_PLATFORM_GK7202V300 selected sdhci0-slot0: 150MHz HS 4bits VDD: 3.3V 3.0V VCCQ: 3.3V DRV: BACD DMA removable sdhci1: LOSCFG_PLATFORM_GK7202V300 selected sdhci1-slot1: 50MHz HS 4bits VDD: 3.3V 3.0V VCCQ: 3.3V DRV: BACD DMA non-removable sdhci1-slot1: Re-tuning count 0 secs, mode 1 mmc: Probing bus mmc: Current OCR: 0x00000000 mmc: No compatible cards found on bus wifi version 0A4G, current wakeup type is 4, wifi status 0 Tocoding FW: GC1.0.0.4.56 compile time: Sep 21 2024_13:33:38 [TRACE!] [gk7202v300/ts_pin_mux.c: 536] value_tmp:-0.025 [TRACE!] [gk7202v300/ts_pin_mux.c: 543] m_tempRGratio=-0.025000 ========sensor type 32==scene 0=========zyy test4 ========sensor type 32=========== linear mode Handle Request function is set *** usbd_do_request_flags err: 0! [DUMP][128 bytes] auth_code(0x40A0495C): 69,49,51,68,49,68,50,49,52,50,54,67,70,50,49,65,53,67,68,69,51,48,54,68,55,53,55,48,49,49,57,68,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, === Smart SC2336_1Handle Request function is set *** usbd_do_request_flags err: 0! uhub0: 1 port with 1 removable, self powered Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! 080P_15FPS_10BIT_LINEAR_Init_OK! zyy 2023.09.16=== sys did already init .. Start check sec! sys did already init .. ..................................................................................... ..................................................................................... ......@@@@@@Handle Request function is set *** usbd_do_request_flags err: 0! @@@.@@@@@@.....@@@@@....@@@@@@...@@@@@@@@..@@@.@@@...@@@..@@@@@@@........ .........@@@...@@@@.@@@...@@@.@@@..@@@@.@@@..@@@..@@@..@@@.@@@@..@@@.@@@@.@@@@....... .........@@@...@@@...@@@.@@@...@@..@@@...@@@.@@@...@@@.@@@.@@@@..@@@.@@@...@@........ .........@@@...@@....@@@.@@........@@....@@@.@@@...@@Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! @.@@@.@@@@@.@@@.@@.............. .........@@@..@@@....@@@.@@.......@@@....@@@.@@@...@@@.@@@.@@@@@@@@@@@@..@@@@@....... .........@@@...@@....@@@.@@........@@....@@@.@@@...@@@.@@@.@@@.@@@@@.@@....@@@....... .........@@@...@@@...@@@.@@@...@@..@@@...@@@.@@@...@@@.@@@.@@@.@@@@@.@@@...@@@....... .........Handle Request function is set *** usbd_do_request_flags err: 0! @@@...@@@@.@@@..@@@@.@@@..@@@@.@@@..@@@..@@@..@@@.@@@..@@@@.@@@@.@@@@....... .........@@@....@@@@@@....@@@@@@....@@@@@@...@@@@@@@@..@@@.@@@...@@@..@@@@@@@........ ..................................................................................... ..................................................Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! ................................... get_cus_config Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! [ERR] atexit NOT SUPPORT [ERR] atexit NOT SUPPORT Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Start check sec! sys did already init .. 1970-01-01 00:00:01 [start_network():5583]-----> To start network time 1142ms mpp_ivp_draw_func(1146ms) Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! 1970-01-01 00:00:01 [net_detect_task():2387]-----> NET ok time 1208ms [tocolink] version 1.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ handle(addr): 0x4117FFC8 device_type: 0 device_ID: 30404341 server_numbers: 2 IPv4[0]:795513354, Port[0]:28050 IPv4[1]:795512889, Port[1]:28050 Token:B72311376925933F43AE5A7B175E4D6779AFC54D0DD870ACC4D946942FDE4C0B [WARNING_TRACE!] [gk7202v300/ts_pin_mux.c: 719] 光线变亮,可以切换ircut off,将画面切为彩色模式 ir_switch = 1 TokenChecksume:B0DD294396517A07389D1B4D164CB981915DB230955DF6451CA61B5CD7B8C371 callback_ptr(addr): 0x4015AA7C pRsakey(addr): 411C49F0 reg_device_numbers: 0 reg_device(addr): 0x00000000 sys_callback(addr): 0x4015AAD0 on_recv_mesg(addr): 0x4015AC30 device_status_update(addr): 0x4015AA90 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ first venc: 1392ms Handle Request function is set *** usbd_do_request_flags err: 0! Minimum bMaxPacketSize is large enough to hold the complete device descriptor or only one bMaxPacketSize choice st=0 st=1 usbd_do_request_flags err: 0! adding unit addr=1, rev=200, class=0, subclass=0, protocol=0, maxpacket=64, len=18, speed=3 st=0 st=1 usbd_do_request_flags err: 0! st=0 st=1 usbd_do_request_flags err: 0! st=0 st=1 usbd_do_request_flags err: 0! st=0 st=1 usbd_do_request_flags err: 0! st=0 st=1 usbd_do_request_flags err: 0! setting config 1 st=0 st=1 usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! ==================mpp_video_set_scene_mode 0 *******************pipeParam->staticCcm.totalNum -> 4 *******************pipeParam->staticCcm.totalNum -> 4 ======mpp_video_set_scene_mode ok Detected md first time(1998ms) VBUS_ALT_ADDR:0x00001A30 VBUS_DIR_ADDR:0x000000F0 VBUS_DAT_PADDR:0x0000008F VBUS_DAT_GPIO8_7:0x00000000 load aio.ko ....OK! load ai.ko ....OK! load ao.ko ....OK! load aenc.ko ....OK! load adec.ko ....OK! load acodec.ko ....OK! model_num:17 rtc_get_time->363: check spi state error! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! [tocolink] init 4117ffc8 [TOCOLINK] version 2.2 [TOCOLINK] init [TOCOLINK] finish init tclink_init(2891ms) [TOCOLINK] loop beginning [TOCOLINK]sys_cb:COMMAND_TYPE_CONNECTING [TOCOLINK]sys_cb cmd_option: 0 [tc_sok] connect to: 47.106.146.10: 28050 deal with COMMAND_TYPE_CONNECTING VBUS_ALT_ADDR:0x00001A30 VBUS_DIR_ADDR:0x000000F0 VBUS_DAT_PADDR:0x0000000F VBUS_DAT_GPIO8_7:0x00000080 Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Minimum bMaxPacketSize is large enough to hold the complete device descriptor or only one bMaxPacketSize choice st=0 st=1 usbd_do_request_flags err: 0! adding unit addr=1, rev=200, class=0, subclass=0, protocol=0, maxpacket=64, len=18, speed=3 st=0 st=1 usbd_do_request_flags err: 0! st=0 st=1 usbd_do_request_flags err: 0! st=0 st=1 usbd_do_request_flags err: 0! st=0 st=1 usbd_do_request_flags err: 0! st=0 st=1 usbd_do_request_flags err: 0! setting config 1 st=0 st=1 usbd_do_request_flags err: 0! Call Mode Descriptor found, dataif=1 urndis0: on usbus0 type 2 len 24 rid 0 ver_major 1 ver_minor 1 max_xfersz 16384 st=0 st=1 usbd_do_request_flags err: 0! USB_ERR_NORMAL_COMPLETION st=0 st=1 usbd_do_request_flags err: 0! type 0x80000002 len 52 len 52 rid 0 status 0x0 ver_major 1 ver_minor 0 devflags 0x1 medium 0x0 pktmaxcnt 1 pktmaxsz 1580 align 0 aflistoffset 0 aflistsz 0 type 4 len 34 rid 0 oid 0x1010101 infobuflen 6 infobufoffset 20 devicevchdl 0 st=0 st=1 usbd_do_request_flags err: 0! USB_ERR_NORMAL_COMPLETION st=0 st=1 usbd_do_request_flags err: 0! type 0x80000004 len 30 len 30 rid 0 status 0x0 buflen 6 bufoff 16 type 5 len 32 rid 0 oid 0x1010e infobuflen 4 infobufoffset 20 devicevchdl 0 st=0 st=1 usbd_do_request_flags err: 0! USB_ERR_NORMAL_COMPLETION st=0 st=1 usbd_do_request_flags err: 0! type 0x80000005 len 16 uether_ifattach! ue_attach_post_task start! u3g0: on usbus0 u3g0: Found 7 ports. Handle Request function is set *** usbd_do_request_flags err: 0! find_factory_cfg_file(3602ms) [MAGENTA_TRACE!] [1970-01-01 08:00:03] [cloudManage.cpp: 116] rtmp Version[$Build in:Sep 21 2024, 13:31:12] [SUCCESS_TRACE!] [1970-01-01 08:00:03] [cloudManage.cpp: 163] start_post_cloud Received 8 bytes Received 8 bytes [tc_sok] connect time out: 47.106.146.10: 28050 [tc_sok] connect to: 47.106.144.57: 28050 create the mutex success! open u3g_tty_fd cnt = 1 open ttyUSB2 >>>>>>st=0 >>st=1 usbd_do_request_flags err: 0! st=0 >st=1 usbd_do_request_flags err: 0! >>>>>>>>> open ttyusb2 u3g buf:ATI Received 8 bytes [tc_sok] connect time out: 47.106.144.57: 28050 u3g buf:AT+CSQ���u�@�6A`�7A rssi:0->-113dbm [TOCOLINK]sys_cb:COMMAND_TYPE_CONNECTING [TOCOLINK]sys_cb cmd_option: 0 [tc_sok] connect to: 47.106.146.10: 28050 deal with COMMAND_TYPE_CONNECTING [tc_sok] connect time out: 47.106.146.10: 28050 [tc_sok] connect to: 47.106.144.57: 28050 [tc_sok] connect time out: 47.106.144.57: 28050 [TOCOLINK]sys_cb:COMMAND_TYPE_CONNECTING [TOCOLINK]sys_cb cmd_option: 0 [tc_sok] connect to: 47.106.146.10: 28050 deal with COMMAND_TYPE_CONNECTING [tc_sok] connect time out: 47.106.146.10: 28050 [tc_sok] connect to: 47.106.144.57: 28050 u3g buf:AT+CSQem rssi:99->85dbm [tc_sok] connect time out: 47.106.144.57: 28050 [TOCOLINK]sys_cb:COMMAND_TYPE_CONN_FAIL [TOCOLINK]sys_cb cmd_option: 1 [TOCOLINK] thread end deal with COMMAND_TYPE_CONN_FAIL [tocolink] exit [TOCOLINK] exit [tocolink] destory_tocolink 4117ffc8 post_url: https://api.tocoding.com:28443/api/v2/dev/action url_port: 28443 [ERROR] [Sockets] [sockets_posix.c:138] Failed to resolve DNS: Hostname=api.tocoding.com, ErrorCode=-4. [ERROR] [Transport_OpenSSL_Sockets] [openssl_posix.c:675] Failed to establish a TLS connection. [ERROR] [Sockets] [sockets_posix.c:138] Failed to resolve DNS: Hostname=api.tocoding.com, ErrorCode=-4. [ERROR] [Transport_OpenSSL_Sockets] [openssl_posix.c:675] Failed to establish a TLS connection. [ERROR] [DEMO] [http_demo_utils.c:141] Connection to the HTTP server failed, all attempts exhausted. [ERROR] [DEMO] [http_demo_utils.c:148] Connection to the server failed, all attempts exhausted. [ERROR] [DEMO] [http_plaintext_tc.c:441] Failed to connect to HTTP server api.tocoding.com. post_url: https://api.tocoding.com:28443/api/v2/dev/login url_port: 28443 [ERROR] [Sockets] [sockets_posix.c:138] Failed to resolve DNS: Hostname=api.tocoding.com, ErrorCode=-4. [ERROR] [Transport_OpenSSL_Sockets] [openssl_posix.c:675] Failed to establish a TLS connection. [ERROR] [Sockets] [sockets_posix.c:138] Failed to resolve DNS: Hostname=api.tocoding.com, ErrorCode=-4. [ERROR] [Transport_OpenSSL_Sockets] [openssl_posix.c:675] Failed to establish a TLS connection. [ERROR] [DEMO] [http_demo_utils.c:141] Connection to the HTTP server failed, all attempts exhausted. [ERROR] [DEMO] [http_demo_utils.c:148] Connection to the server failed, all attempts exhausted. [ERROR] [DEMO] [hReceived 8 bytes ttp_plaintext_tc.c:441] Failed to connect to HTTP server api.tocoding.com. post_url: https://api.tocoding.com:28443/api/v2/dev/login url_port: 28443 [ERROR] [Sockets] [sockets_posix.c:138] Failed to resolve DNS: Hostname=api.tocoding.com, ErrorCode=-4. [ERROR] [Transport_OpenSSL_Sockets] [openssl_posix.c:675] Failed to establish a TLS connection. s->handshake_func = 0 s->handshake_func = 1079817332 post_url: https://api.tocoding.com:28443/api/v2/dev/action url_port: 28443 s->handshake_func = 0 s->handshake_func = 1079817332 [tocolink] version 1.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ handle(addr): 0x411EB998 device_type: 0 device_ID: 30404341 server_numbers: 2 IPv4[0]:795513354, Port[0]:28050 IPv4[1]:795512889, Port[1]:28050 Token:4EFA04F678A976E57F3983885F9482C516A06BD99071F85A5E9A6E1EA597708C TokenChecksume:30E3B08A1639449838C30B5D16B275754EFC9828A0C1D6B7BE197CB7D5C66986 callback_ptr(addr): 0x4015AA7C pRsakey(addr): 40E0D224 reg_device_numbers: 0 reg_device(addr): 0x00000000 sys_callback(addr): 0x4015AAD0 on_recv_mesg(addr): 0x4015AC30 device_status_update(addr): 0x4015AA90 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [tocolink] init 411eb998 [TOCOLINK] version 2.2 [TOCOLINK] init [TOCOLINK] finish init tclink_init(68591ms) [TOCOLINK] loop beginning [TOCOLINK]sys_cb:COMMAND_TYPE_CONNECTING [TOCOLINK]sys_cb cmd_option: 0 [tc_sok] connect to: 47.106.146.10: 28050 deal with COMMAND_TYPE_CONNECTING [tc_sok] connect OK 47.106.146.10: 28050 [TOCOLINK] SendHandshake DeviceID=30404341 ret=260 [TOCOLINK] handshake ok [TOCOLINK] Send Session Header [TOCOLINK] Session is ready... [TOCOLINK]sys_cb:COMMAND_TYPE_CONN_OK [TOCOLINK]sys_cb cmd_option: 0 [TOCOLINK]sys_cb:COMMAND_TYPE_SYNC_TIME [TOCOLINK]sys_cb cmd_option: 1792751443 [TOCOLINK]sys_cb:COMMAND_TYPE_SYNC_TIME post_url: https://api.tocoding.com:28443/api/v2/dev/action url_port: 28443 s->handshake_func = 0 s->handshake_func = 1079817332 rtc_set_time->435: check spi state error! u3g buf:AT+CEREG? [ERROR] [Transport_OpenSSL_Sockets] [openssl_posix.c:822] Failed to receive data over network: SSL_read failed: ErrorStatus=DH lib. [ERROR] [HTTP] [core_http_client.c:3038] Failed to receive HTTP data: Transport recv() returned error: TransportStatus=-1 [ERROR] [DEMO] [http_plaintext_tc.c:369] An error occurred in uploading the file.Failed to send HTTP PUT request to api.tocoding.com/api/v2/dev/action: Error=HTTPNetworkError. [ERROR] [DEMO] [http_plaintext_tc.c:379] Received an invalid response from the server (Status Code: 0). [DUMP][4 bytes] pb_buf(0x411E85EC): 8,8,74,0, [DUMP][28 bytes] message(0x41398D38): 252,152,107,64,0,0,0,0,0,0,0,0,1,0,0,0,8,0,0,0,9,0,0,0,232,140,57,65, post_url: https://api.tocoding.com:28443/api/v2/dev/action url_port: 28443 post_url: https://api.tocoding.com:28443/api/v2/dev/login url_port: 28443 u3g buf:AT+CSQem rssi:8->-97dbm u3g buf:AT+CCID [TOCOLINK] KEEPALIVE --> [TOCOLINK] KEEPALIVE --> u3g buf:AT+CSQem rssi:6->-101dbm u3g buf:AT+CCIDm [TOCOLINK] KEEPALIVE --> [TOCOLINK] server timeout (60S) [TOCOLINK]sys_cb:COMMAND_TYPE_CONNECT_BREAK [TOCOLINK]sys_cb cmd_option: 0 deal with COMMAND_TYPE_CONNECT_BREAK [TOCOLINK]sys_cb:COMMAND_TYPE_CONNECTING [TOCOLINK]sys_cb cmd_option: 0 [tc_sok] connect to: 47.106.144.57: 28050 deal with COMMAND_TYPE_CONNECTING [tc_sok] connect time out: 47.106.144.57: 28050 [tc_sok] connect to: 47.106.146.10: 28050 [tc_sok] connect time out: 47.106.146.10: 28050 [ERROR] [Sockets] [sockets_posix.c:273] Could not connect to any resolved IP address from api.tocoding.com. [ERROR] [Transport_OpenSSL_Sockets] [openssl_posix.c:675] Failed to establish a TLS connection. u3g buf:AT+CEREG? [ERROR] [Sockets] [sockets_posix.c:273] Could not connect to any resolved IP address from api.tocoding.com. [ERROR] [Transport_OpenSSL_Sockets] [openssl_posix.c:675] Failed to establish a TLS connection. [TOCOLINK]sys_cb:COMMAND_TYPE_CONNECTING [TOCOLINK]sys_cb cmd_option: 0 [tc_sok] connect to: 47.106.144.57: 28050 deal with COMMAND_TYPE_CONNECTING [tc_sok] connect time out: 47.106.144.57: 28050 [tc_sok] connect to: 47.106.146.10: 28050 [tc_sok] connect time out: 47.106.146.10: 28050 [ERROR] [Sockets] [sockets_posix.c:138] Failed to resolve DNS: Hostname=api.tocoding.com, ErrorCode=-3. [ERROR] [Transport_OpenSSL_Sockets] [openssl_posix.c:675] Failed to establish a TLS connection. [ERROR] [Sockets] [sockets_posix.c:138] [ERROR] [DEMO] [http_demo_utils.c:141] Failed to resolve DNS: Hostname=api.tocoding.com, ErrorCode=-3. Connection to the HTTP server failed, all attempts exhausted. [ERROR] [Transport_OpenSSL_Sockets] [openssl_posix.c:675] [ERROR] [DEMO] [http_demo_utils.c:148] Failed to establish a TLS connection.Connection to the server failed, all attempts exhausted. [ERROR] [DEMO] [http_demo_utils.c:141] [ERROR] [DEMO] [http_plaintext_tc.c:441] Connection to the HTTP server failed, all attempts exhausted.Failed to connect to HTTP server api.tocoding.com. [ERROR] [DEMO] [http_demo_utils.c:148] Connection to the server failed, all attempts exhausted. [ERROR] [DEMO] [http_plaintext_tc.c:441] Failed to connect to HTTP server api.tocoding.com. post_url: https://api.tocoding.com:28443/api/v2/dev/login url_port: 28443 u3g buf:AT+CSQem rssi:0->-113dbm u3g buf:AT+CCIDm post_url: https://api.tocoding.com:28443/api/v2/dev/login url_port: 28443 [TOCOLINK]sys_cb:COMMAND_TYPE_CONNECTING [TOCOLINK]sys_cb cmd_option: 0 [tc_sok] connect to: 47.106.146.10: 28050 deal with COMMAND_TYPE_CONNECTING [ERROR] [Sockets] [sockets_posix.c:138] Failed to resolve DNS: Hostname=api.tocoding.com, ErrorCode=-3. [ERROR] [Transport_OpenSSL_Sockets] [openssl_posix.c:675] [ERROR] [Sockets] [sockets_posix.c:138] Failed to establish a TLS connection.Failed to resolve DNS: Hostname=api.tocoding.com, ErrorCode=-3. [ERROR] [Transport_OpenSSL_Sockets] [openssl_posix.c:675] Failed to establish a TLS connection. [tc_sok] connect time out: 47.106.146.10: 28050 [tc_sok] connect to: 47.106.144.57: 28050 [tc_sok] connect time out: 47.106.144.57: 28050 [TOCOLINK]sys_cb:COMMAND_TYPE_CONN_FAIL [TOCOLINK]sys_cb cmd_option: 1 [TOCOLINK] thread end deal with COMMAND_TYPE_CONN_FAIL [tocolink] exit [TOCOLINK] exit [tocolink] destory_tocolink 411eb998 post_url: https://api.tocoding.com:28443/api/v2/dev/action url_port: 28443 u3g buf:AT+CSQ���u�@�6A$�6A rssi:99->85dbm [ERROR] [Sockets] [sockets_posix.c:138] Failed to resolve DNS: Hostname=api.tocoding.com, ErrorCode=-3. [ERROR] [Sockets] [sockets_posix.c:138] [ERROR] [Sockets] [sockets_posix.c:138] [ERROR] [Transport_OpenSSL_Sockets] [openssl_posix.c:675] Failed to resolve DNS: Hostname=api.tocoding.com, ErrorCode=-3. Failed to resolve DNS: Hostname=api.tocoding.com, ErrorCode=-3. Failed to establish a TLS connection. [ERROR] [Transport_OpenSSL_Sockets] [openssl_posix.c:675] [ERROR] [Transport_OpenSSL_Sockets] [openssl_posix.c:675] [ERROR] [DEMO] [http_demo_utils.c:141] Failed to establish a TLS connection.Failed to establish a TLS connection.Connection to the HTTP server failed, all attempts exhausted. [ERROR] [DEMO] [http_demo_utils.c:141] [ERROR] [DEMO] [http_demo_utils.c:148] Connection to the HTTP server failed, all attempts exhausted.Connection to the server failed, all attempts exhausted. [ERROR] [DEMO] [http_demo_utils.c:148] [ERROR] [DEMO] [http_plaintext_tc.c:441] Connection to the server failed, all attempts exhausted.Failed to connect to HTTP server api.tocoding.com. [ERROR] [DEMO] [http_plaintext_tc.c:441] Failed to connect to HTTP server api.tocoding.com. post_url: https://api.tocoding.com:28443/api/v2/dev/login url_port: 28443 post_url: https://api.tocoding.com:28443/api/v2/dev/login url_port: 28443 DRAM: ********Hello RTOS******** version : RTOS UP open-version : RTOS 3.3.6 build data : Sep 18 2023 11:49:55 ********************************** OsA RTOS # random dev init ... mem dev init ... porc fs init ... Mount procfs finished. spi bus init ... i2c bus init ... gpio init ... spi nor flash init ... Spi Nor ID:0xA1 0x40 0x17 0xA1 0x40 0x17 0xA1 0x40 note:this spi nor flash does not support DTR mode!! note:before you use DTR mode in liteos,you must enable DTR mode both u-boot and liteos!! Spi Nor Flash Info: Name:"FM25Q64-SOB-T-G" Size:8MB Block:64KB get_token_num() 17 himm(GPIO6_2_ADDR, 0x1E00);.................... tc_moto_ctrl_init create Timer1 success ==== sookietest online_flag=0, cmos_yuv_flag=0, sensor=gc2053, chip=gk7202v300, board=demo==== ==== g_quick_start_flag=0 ==== sysconfig init success! osal_proc_mkdir - parent is NULL! proc=0x40a27f34 g_mmz_start=0x42000000, g_mmz_size=0x20 mmz param= anonymous,0,0x42000000,32M <6>Vendor Media Memory Zone Manager load sys.ko OK! load region.ko OK! load vgs.ko OK! load isp.ko OK ! load vi.ko OK ! load vpss.ko OK! load chnl.ko OK! load vedu.ko OK! load rc.ko OK! load venc.ko OK! load h264e.ko OK! load jpege.ko OK! load ive.ko OK! load piris.ko OK! load mipi_rx driver successful! sensor i2c init OK. load tde.ko OK! rtc init ok. ver=Aug 10 2021, 16:04:03. Vendor Watchdog Timer: 0.01 initialized. default_margin=10 sec (nodeamon= 1) wtdg init ok. ver=Mar 29 2022, 01:09:04. hal_wdg_init wdg_thread_init FINAL_SW_VERSION:GC1.0.0.4.56 1970-01-01 00:00:00 [(err)print_wdt_info:142]: WDG_Vnet init ... OTE:[8][8][8][8][8][8][8][8][8][8] ************************************************************ usb init ... ******** usb_init in ********** usb v3.05 2019-10-22 09:32 g_usb_mem_addr_start 41E00000, g_usb_mem_size 00100000 XHCI: 64 bytes context size, 32-bit DMA usbus0: 5.0Gbps Super Speed USB v3.0 Handle Request function is set *** usbd_do_request_flags err: 0! ******** usb_init ok********** ************************************************************ VBUS_ALT_ADDR:0x00001Minimum bMaxPacketSize is large enough to hold the complete device descriptor or only one bMaxPacketSize choice Handle Request function is set *** usbd_do_request_flags err: 0! adding unit addr=1, rev=300, class=9, subclass=0, protocol=3, maxpacket=9, len=18, speed=4 Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! setting config 1 Handle Request function is set *** usbd_do_request_flags err: 0! uhub0: on usbus0 Handle Request function is set *** usbd_do_request_flags err: 0! A00 VBUS_DIR_ADDR:0x000000F0 VBUS_DAT_PADDR:0x0000008F VBUS_DAT_GPIO8_7:0x00000080 create the queue success! add_mtd_partition 0 param success add_mtd_partition 1 etc success sdhci0: LOSCFG_PLATFORM_GK7202V300 selected sdhci0-slot0: 150MHz HS 4bits VDD: 3.3V 3.0V VCCQ: 3.3V DRV: BACD DMA removable sdhci1: LOSCFG_PLATFORM_GK7202V300 selected sdhci1-slot1: 50MHz HS 4bits VDD: 3.3V 3.0V VCCQ: 3.3V DRV: BACD DMA non-removable sdhci1-slot1: Re-tuning count 0 secs, mode 1 mmc: Probing bus mmc: Current OCR: 0x00000000 mmc: No compatible cards found on bus wifi version 0A4G, current wakeup type is 4, wifi status 0 Tocoding FW: GC1.0.0.4.56 compile time: Sep 21 2024_13:33:38 [TRACE!] [gk7202v300/ts_pin_mux.c: 536] value_tmp:-0.025 [TRACE!] [gk7202v300/ts_pin_mux.c: 543] m_tempRGratio=-0.025000 ========sensor type 32==scene 0=========zyy test4 ========sensor type 32=========== linear mode Handle Request function is set *** usbd_do_request_flags err: 0! [DUMP][128 bytes] auth_code(0x40A0495C): 69,49,51,68,49,68,50,49,52,50,54,67,70,50,49,65,53,67,68,69,51,48,54,68,55,53,55,48,49,49,57,68,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, === Smart SC2336_1Handle Request function is set *** usbd_do_request_flags err: 0! uhub0: 1 port with 1 removable, self powered Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! 080P_15FPS_10BIT_LINEAR_Init_OK! zyy 2023.09.16=== sys did already init .. Start check sec! sys did already init .. ..................................................................................... ..................................................................................... ......@@@@@@Handle Request function is set *** usbd_do_request_flags err: 0! @@@.@@@@@@.....@@@@@....@@@@@@...@@@@@@@@..@@@.@@@...@@@..@@@@@@@........ .........@@@...@@@@.@@@...@@@.@@@..@@@@.@@@..@@@..@@@..@@@.@@@@..@@@.@@@@.@@@@....... .........@@@...@@@...@@@.@@@...@@..@@@...@@@.@@@...@@@.@@@.@@@@..@@@.@@@...@@........ .........@@@...@@....@@@.@@........@@....@@@.@@@...@@Handle Request function is set *** usbd_do_request_flags err: 0! @.@@@.@@@@@.@@@.@@.............. .........@@@..@@@....@@@.@@.......@@@....@@@.@@@...@@@.@@@.@@@@@@@@@@@@..@@@@@....... .........@@@...@@....@@@.@@........@@....@@@.@@@...@@@.@@@.@@@.@@@@@.@@....@@@....... .........@@@...@@@...@@@.@@@...@@..@@@...@@@.@@@...@@@.@@@.@@@.@@@@@.@@@...@@@....... .......Handle Request function is set *** usbd_do_request_flags err: 0! ..@@@...@@@@.@@@..@@@@.@@@..@@@@.@@@..@@@..@@@..@@@.@@@..@@@@.@@@@.@@@@....... .........@@@....@@@@@@....@@@@@@....@@@@@@...@@@@@@@@..@@@.@@@...@@@..@@@@@@@........ ..................................................................................... ................................................Handle Request function is set *** usbd_do_request_flags err: 0! ..................................... get_cus_config [ERR] atexit NOT SUPPORT [ERR] atexit NOT SUPPORT Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Start check sec! sys did already init .. 1970-01-01 00:00:01 [start_network():5583]-----> To start network time 1142ms mpp_ivp_draw_func(1144ms) 1970-01-01 00:00:01 [net_detect_task():2387]-----> NET ok time 1220ms [tocolink] version 1.0 Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! [WARNING_TRACE!] [gk7202v300/ts_pin_mux.c: 715] 光线较暗,需要切换ircut on,将画面切为黑白模式 ir_switch = 0 Handle Request function is set *** usbd_do_request_flags err: 0! ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ handle(addr): 0x4118083C device_type: 0 device_ID: 30404341 server_numbers: 2 IPv4[0]:795513354, Port[0]:28050 IPv4[1]:795512889, Port[1]:28050 Token:4EFA04F678A976E57F3983885F9482C516A06BD99071F85A5E9A6E1EA597708C TokenChecksume:30E3B08A163944983Handle Request function is set *** usbd_do_request_flags err: 0! 8C30B5D16B275754EFC9828A0C1D6B7BE197CB7D5C66986 callback_ptr(addr): 0x4015AA7C first venc: 1396ms pRsakey(addr): 411C4F08 reg_device_numbers: 0 reg_device(addr): 0x00000000 sys_callback(addr): 0x4015AAD0 on_recv_mesg(addr): 0x4015AC30 device_status_update(addr): 0x4015AA90 ^^^^^^^^^^^^^^^^^Handle Request function is set *** usbd_do_request_flags err: 0! ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ==================mpp_video_set_scene_mode 3 *******************pipeParam->staticCcm.totalNum -> 4 Handle Request function is set *** usbd_do_request_flags err: 0! Not support Venc Format 3 Param settings yet *******************pipeParam->staticCcm.totalNum -> 5 ======mpp_video_set_scene_mode ok Detected md first time(1555ms) Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! Handle Request function is set *** usbd_do_request_flags err: 0! VBUS_ALT_ADDR:0x00001A30 VBUS_DIR_ADDR:0x000000F0 VBUS_DAT_PADDR:0x0000008F VBUS_DAT_GPIO8_7:0x00000000 Minimum bMaxPacketSize is large enough to hold the complete device descriptor or only one bMaxPacketSize choice st=0 st=1 usbd_do_request_flags err: 0! adding unit addr=1, rev=200, class=0, subclass=0, protocol=0, maxpacket=64, len=18, speed=3 st=0 st=1 usbd_do_request_flags err: 0! st=0 st=1 usbd_do_request_flags err: 0! st=0 st=1 usbd_do_request_flags err: 0! st=0 st=1 usbd_do_request_flags err: 0! st=0 st=1 usbd_do_request_flags err: 0! setting config 1 st=0 st=1 usbd_do_request_flags err: 0! Call Mode Descriptor found, dataif=1 urndis0: on usbus0 type 2 len 24 rid 0 ver_major 1 ver_minor 1 max_xfersz 16384 st=0 st=1 usbd_do_request_flags err: 0! USB_ERR_NORMAL_COMPLETION st=0 st=1 usbd_do_request_flags err: 0! type 0x80000002 len 52 len 52 rid 0 status 0x0 ver_major 1 ver_minor 0 devflags 0x1 medium 0x0 pktmaxcnt 1 pktmaxsz 1580 align 0 aflistoffset 0 aflistsz 0 type 4 len 34 rid 0 oid 0x1010101 infobuflen 6 infobufoffset 20 devicevchdl 0 st=0 st=1 usbd_do_request_flags err: 0! USB_ERR_NORMAL_COMPLETION st=0 st=1 usbd_do_request_flags err: 0! type 0x80000004 len 30 len 30 rid 0 status 0x0 buflen 6 bufoff 16 type 5 len 32 rid 0 oid 0x1010e infobuflen 4 infobufoffset 20 devicevchdl 0 st=0 st=1 usbd_do_request_flags err: 0! USB_ERR_NORMAL_COMPLETION st=0 st=1 usbd_do_request_flags err: 0! type 0x80000005 len 16 uether_ifattach! ue_attach_post_task start! u3g0: on usbus0 u3g0: Found 7 ports. Handle Request function is set *** usbd_do_request_flags err: 0! Received 8 bytes load aio.ko ....OK! load ai.ko ....OK! load ao.ko ....OK! load aenc.ko ....OK! load adec.ko ....OK! load acodec.ko ....OK! model_num:17 rtc_get_time->363: check spi state error! [tocolink] init 4118083c [TOCOLINK] version 2.2 [TOCOLINK] init [TOCOLINK] finish init tclink_init(2934ms) [TOCOLINK] loop beginning [TOCOLINK]sys_cb:COMMAND_TYPE_CONNECTING [TOCOLINK]sys_cb cmd_option: 0 [tc_sok] connect to: 47.106.146.10: 28050 deal with COMMAND_TYPE_CONNECTING VBUS_ALT_ADDR:0x00001A30 VBUS_DIR_ADDR:0x000000F0 VBUS_DAT_PADDR:0x0000000F VBUS_DAT_GPIO8_7:0x00000080 find_factory_cfg_file(3715ms) [MAGENTA_TRACE!] [1970-01-01 08:00:03] [cloudManage.cpp: 116] rtmp Version[$Build in:Sep 21 2024, 13:31:12] [SUCCESS_TRACE!] [1970-01-01 08:00:03] [cloudManage.cpp: 163] start_post_cloud [WARNING_TRACE!] [gk7202v300/ts_pin_mux.c: 650] 光线变亮,可以切换ircut off,将画面切为彩色模式 [WARNING_TRACE!] [gk7202v300/ts_pin_mux.c: 650] 光线变亮,可以切换ircut off,将画面切为彩色模式 Received 8 bytes [WARNING_TRACE!] [gk7202v300/ts_pin_mux.c: 650] 光线变亮,可以切换ircut off,将画面切为彩色模式 [WARNING_TRACE!] [gk7202v300/ts_pin_mux.c: 650] 光线变亮,可以切换ircut off,将画面切为彩色模式 [WARNING_TRACE!] [gk7202v300/ts_pin_mux.c: 650] 光线变亮,可以切换ircut off,将画面切为彩色模式 [WARNING_TRACE!] [gk7202v300/ts_pin_mux.c: 650] 光线变亮,可以切换ircut off,将画面切为彩色模式 [WARNING_TRACE!] [gk7202v300/ts_pin_mux.c: 650] 光线变亮,可以切换ircut off,将画面切为彩色模式 [WARNING_TRACE!] [gk7202v300/ts_pin_mux.c: 650] 光线变亮,可以切换ircut off,将画面切为彩色模式 [WARNING_TRACE!] [gk7202v300/ts_pin_mux.c: 650] 光线变亮,可以切换ircut off,将画面切为彩色模式 Received 8 bytes [WARNING_TRACE!] [gk7202v300/ts_pin_mux.c: 650] 光线变亮,可以切换ircut off,将画面切为彩色模式 ==================mpp_video_set_scene_mode 0 *******************pipeParam->staticCcm.totalNum -> 4 ======mpp_video_set_scene_mode ok [tc_sok] connect time out: 47.106.146.10: 28050 [tc_sok] connect to: 47.106.144.57: 28050 create the mutex success! open u3g_tty_fd cnt = 1 open ttyUSB2 >>>>>>st=0 >st=1 usbd_do_request_flags err: 0! st=0 >>st=1 usbd_do_request_flags err: 0! >>>>>>>>> open ttyusb2 u3g buf:ATI Received 8 bytes [tc_sok] connect time out: 47.106.144.57: 28050