ちなみに、私のイエロー点灯のままのAtomcam2は、コンソールログを見てみると
/configs/.product_config
を読み込むところでエラーとなっていました。ログインプロンプトは出ていますが、
しばらくするとリブートして、同じ箇所でエラーを吐いて再びリーブート、という動作を
延々と繰り返していました。
...
===========welcome to iCamera_app===========
[Build date] Sep 16 2022 (10:27:51)
[msg:109]log: msg_queue_create() ok MsgId:65538
[sdevice_can_work_set_callback]dbg: set ok! have 1 cb
init_log_module() ok
[sdevice_can_work_set_callback]dbg: set ok! have 2 cb
[exec-iCame:151]: msgSndId:0
[exec-iCame:166]: msgRcvId:32769
[exec-iCame,0495](no.300000) cmd:[/system/bin/sysMonitor.sh &]
[threadpool,0142](init_job_node) jobNodeNumMin:30 jobNodeNumMax:45
[timer,150]dbg: init complete.
[debug.c,0190]debug_init() dbgId:0
watchdog_init() ok TimerId:1
<Reading> /configs/.product_config
[exec-assis,0302](no.300000) system ret:[0]
[product_config.c,0257][paracfg_product_config_init] item:PRODUCT_TYPE, len:0 err
[init.c,2337][init_param] paracfg_product_config_init error
[init.c,2667]@@@@@@@@@@@@@@@ init_param FAIL @@@@@@@@@@@@@@
[init.c,2668]@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
################################[init/init.c,init_all,2715] init_all() END ret:-20
[init.c,2136]%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
[init.c,2137] exit
[init.c,2138]%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
[/system/bin/sysMonitor.sh]completed\n
[log_upload.h,1154]rcv signal SIGUSR1, main process shutdown!
[log_upload.h,1157]main process shutdown handler...
[exec-assis,0428](no.200000) cmd:[rm -rf /tmp/log.txt]
[exec-assis:263]: (no.200000) popen ret:[]
[exec-assis,0437](no.200000) msgque ret:[0]
[exec-assis,0428](no.200000) cmd:[echo "" >> /tmp/log.txt;echo "##### dmesg #####" >> /tmp/log.txt]
[exec-assis:263]: (no.200000) popen ret:[]
[exec-assis,0437](no.200000) msgque ret:[0]
[exec-assis,0428](no.200000) cmd:[dmesg | tail -n 100 >> /tmp/log.txt]
[exec-assis:263]: (no.200000) popen ret:[]
[exec-assis,0437](no.200000) msgque ret:[0]
[curl_post.c,0192]url:[https://device-api.atomtech.co.jp:443/device/v1/log_url/get]
[curl_post.c,0202]snd:[{"request_id":"mainabnormaluploadlog130","mac":"","enr":"","product_model":"","product_type":"","hardware_ver":"","firmware_ver":"","log_file_list":[{"file_suffix":"txt"}],"sc":"4183bb75195b479c9bbd1bb90fc63306","sv":"6b9b2adc34f344ea95d498632dac0e0c","ts":13000}]
[curl_post.c,0242]curl_easy_perform() failed:[6] Couldn't resolve host name
[curl_post.c,0263]others error code:6
[curl_post.c,0242]curl_easy_perform() failed:[6] Couldn't resolve host name
[curl_post.c,0263]others error code:6
[curl_post.c,0242]curl_easy_perform() failed:[6] Couldn't resolve host name
[curl_post.c,0263]others error code:6
[curl_post.c,0295]server_visit will sleep 5 second
json:{}
[log_upload.h,0118]err: NULL == rootJson
[log_upload.h,0266][log]err: cloud_recv_buffer fail
[log_upload.h,0287][log_uploadNotify]: end !!!!!
Ingenic login:
正常な場合は、パラメータを読み込んで下記のような感じになっているみたいですね。
[product_config.c,0260][PRODUCT] [PRODUCT_TYPE ] [CardCamera]
[product_config.c,0260][PRODUCT] [PRODUCT_MODEL] [ATOM_CamV3C]
[product_config.c,0260][PRODUCT] [BOARD_TEST ] [0FFF]
[product_config.c,0260][PRODUCT] [FACTORY_TEST ] [0000]
[product_config.c,0260][PRODUCT] [HARDWARE_VER ] [P00J0000]
...