Имеется камера ds-2cd2412f-iw симптомы следующие подключаем к порту uart не видит ее putty и rx/tx меняли что делаем не так? требуется восстановить прошивку после неправильно залитой прошивки... открыты порты telnet и 21 но telnet просит лог и пароль нам же он не известен, как починить данный кирпич. По tftp прошивку забирает, но в sadp не появляетсяДобавлено (25.11.2019, 15:33)
---------------------------------------------
UPD Увидел вот логи
U-Boot 1.3.4-71557 (Apr 3 2014 - 13:08:34)
ARM Clock: 480MHz
DDR Clock: 336MHz
Hit Ctrl+u to stop autoboot: 0
|RCV UDP pack timeout|
Unknown command:null
nand booting ...
load kernel...
load ramdisk...
init started: BusyBox v1.19.3 (2013-11-01 10:10:26 CST)
starting pid 378, tty '': '/etc/init.d/rcS'
Starting udev: [ OK ]
starting pid 609, tty '': '/sbin/iptables -A INPUT -p tcp --dport 23 -j DROP'
starting pid 610, tty '': '/sbin/iptables -A INPUT -p tcp --dport 21 -j DROP'
starting pid 611, tty '': '/sbin/inetd -f -e /etc/inetd.conf'
starting pid 612, tty '': '-/bin/sh'
BusyBox v1.19.3 (2013-11-01 10:10:26 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
UBI device number 1, total 192 LEBs (24772608 bytes, 23.6 MiB), available 0 LEBs (0 bytes), LEB size 129024 bytes (126.0 KiB)
waiting for /dev/ubi1_0.
Check dir /dav ok! (0)
UBI device number 3, total 32 LEBs (4128768 bytes, 3.9 MiB), available 0 LEBs (0 bytes), LEB size 129024 bytes (126.0 KiB)
waiting for /dev/ubi3_0.
Check dir /davinci ok! (0)
UBI device number 4, total 32 LEBs (4128768 bytes, 3.9 MiB), available 0 LEBs (0 bytes), LEB size 129024 bytes (126.0 KiB)
waiting for /dev/ubi4_0.
Check dir /config ok! (0)
Hit Ctrl+c to stop and exec /home/initrun.sh to continue
route: ioctl 0x890c failed: No such process
/dav
map_size = 0x300000
nr_item = 3
addr_offset = 0x0 filename = orccode.bin
addr_offset = 0x200000 filename = orcme.bin
addr_offset = 0x2a0000 filename = default_binary.bin
mmap returns 0x402f0000
loading ./orccode.bin...addr = 0x402f0000, size = 0x19f02d
loading ./orcme.bin...addr = 0x404f0000, size = 0x36374
loading ./default_binary.bin...addr = 0x40590000, size = 0x40000
===============================
u_code version = 2013/10/24 3.0
===============================
ln: /dev/rtc: File exists
=====check_config start=====
===main db is ok===
==================PPPoE is disable!!!
No need to recover kernel pri partition.
No need to recover ramdisk pri partition.
========capture_mode_pal=17, capture_mode_ntsc=18===============.
powerLineFrequencyMode = 0
[11-22 09:15:33][UNI_IF][ERROR]command = 65
[11-22 09:15:33][UNI_IF][ERROR]command = 65
[11-22 09:15:33][UNI_IF][ERROR]command = 65
[11-22 09:15:33][UNI_IF][ERROR]command = 65
IEfile uncompressed.
get 0-0-0-0.000000-0-0-0
[11-22 09:15:34][CAPA][ERROR]CAPA_NOT_SUPPORT, cur_res = 27, stream_idx = 1.
[11-22 09:15:34][CAPA][ERROR]CAPA_NOT_SUPPORT, cur_res = 1, stream_idx = 2.
[11-22 09:15:34][SYSINIT][ERROR]device not support RS485
[11-22 09:15:34][HW_IF][ERROR]transfer_485_config_options error [options:57]
<DSP> DBG:init_dsp_lib() begin
<DSP> DBG:init_dsp_lib() end
[11-22 09:15:39][DSP][ERROR][0]g_pdsp->audioTBShare.frameLen=160, g_pdsp->audioTBShare.totalFrame=64..
mknod: /dev/snd/controlC0: File exists
mknod: /dev/snd/pcmC0D0c: File exists
mknod: /dev/snd/pcmC0D0p: File exists
[11-22 09:15:39][HW_IF][ERROR]<read_fixed_noise_info_from_flash> (CFG_MAGIC != read.magicNumber(ffffffff)
# <DSP> DBG:setup_dsp() begin
<DSP> DBG:init_cmem_module:cached_size=33030144(31M),noncached_size=6815744(6M)
init_cmem_module:CMEM_cmdline=insmod /dav/cmemk.ko phys_start=0xc6600000 phys_end=0xc8c00000 pools=1x33030144,1x6815744
gdma Init Successful
b_fd=1,b_smd=1,b_scd=1
channel 1 is not 1 or 2<DSP> DBG:DSP start with Vout:Disabled,Audio:Enabled,VT:Enabled,MD:Enabled, vsync_guard:Enabled,vout_osd: Disabled, oversampling:Disabled, roi: Enabled, primacy: Disabled . hdr mode Disabled qr Enabled
<DSP> DBG:dsp_object.device_mode 0
<DSP> DBG:enc channel cnt 2, delay mode 0
Use CMEM buffer!
goto_idle done
pDspInitPara->VideoInitParam.capture_mode 125967385
find_video_mode sucusss!! mode 125967385 p_mode_table.vin_mode 30 vin_object.vin_fps 25.000000 vin w 1920 h 1080
set mode 30 type 21
vin_mode 2304*1296 vin_mode_temp 2304*1296 vin_mode_temp2 2304*1296open oversampling 1 because vin res is less than 1080p
#######pDspInitPara vout enable 0
<VidThrd> DBG:update_encode_fps_ctrl: Begin chan=0,maxRate(maxFps)=25.000000,fps=0x1
<VidThrd> DBG:update_encode_fps_ctrl: f_frame_rate=1.000000,clockStep=45000
<VidThrd> DBG:update_encode_fps_ctrl:Finally chan=0,fps=0x1,fpsFlg=0x1,frmPerSec=1,fpsCounter=0,fpsCycle=25,g_md_interval 5 ms
<VidThrd> DBG:update_encode_fps_ctrl: Begin chan=1,maxRate(maxFps)=25.000000,fps=0x19
<VidThrd> DBG:update_encode_fps_ctrl: f_frame_rate=25.000000,clockStep=1800
<VidThrd> DBG:update_encode_fps_ctrl:f_frame_rate=25.000000,[25].clockStep=1800,[25]
<VidThrd> DBG:update_encode_fps_ctrl:Finally chan=1,fps=0x19,fpsFlg=0x1ffffff,frmPerSec=25,fpsCounter=0,fpsCycle=25,g_md_interval 5 ms
<VidThrd> DBG:update_video_config_param: chan=1,encode_type=1, (1920x1080), mirror type0, I inerval 50, bps 4014,quality 60 i_quant 29, complexity 1 rate_type 0,p_encode_param->f_frame_rate 25.000000,svc mode 0 qp 6
<chan 1> in None MotionJPEG, skip!
<VidThrd> DBG:update_encode_fps_ctrl: Begin chan=2,maxRate(maxFps)=25.000000,fps=0x19
<VidThrd> DBG:update_encode_fps_ctrl: f_frame_rate=25.000000,clockStep=1800
<VidThrd> DBG:update_encode_fps_ctrl:f_frame_rate=25.000000,[25].clockStep=1800,[25]
<VidThrd> DBG:update_encode_fps_ctrl:Finally chan=2,fps=0x19,fpsFlg=0x1ffffff,frmPerSec=25,fpsCounter=0,fpsCycle=25,g_md_interval 5 ms
<VidThrd> DBG:update_video_config_param: chan=2,encode_type=1, (352x288), mirror type0, I inerval 50, bps 501,quality 60 i_quant 29, complexity 1 rate_type 0,p_encode_param->f_frame_rate 25.000000,svc mode 0 qp 6
<chan 2> in None MotionJPEG, skip!
overlay: start = 0x43267000, total size = 0x100000 ( bytes)
b_rotate 0 overlay_level64 width 1920 height 1072
osd_width 1280 osd_scale_first 64 total 81920
b_rotate 0 overlay_level16 width 352 height 288
osd_width 256 osd_scale_first 16 sub total 4096
init osd area success
init osd memory ok
<OSD> DBG:Left=0 pChar->pos=4000000
<SetOsd()> line=0 y=64 line_char_count=16, valid char count 24,osd_lines 0
<SetOsd()> line=1 y=0 line_char_count=0, valid char count 0,osd_lines 0
<SetOsd()> line=2 y=0 line_char_count=0, valid char count 0,osd_lines 0
<SetOsd()> line=3 y=0 line_char_count=0, valid char count 0,osd_lines 0
<SetOsd()> line=4 y=0 line_char_count=0, valid char count 0,osd_lines 0
<SetOsd()> line=5 y=0 line_char_count=0, valid char count 0,osd_lines 0
<SetOsd()> line=6 y=0 line_char_count=0, valid char count 0,osd_lines 0
<SetOsd()> line=7 y=0 line_char_count=0, valid char count 0,osd_lines 0
chan 1, osd size 0 osd_size_changed 1
chan 2, osd size 0 osd_size_changed 1
b_rotate 0 overlay_level16 width 1920 height 1072
osd_width 1280 osd_scale_first 16 total 20480
b_rotate 0 overlay_level16 width 352 height 288
osd_width 256 osd_scale_first 16 sub total 4096
init osd area success
<OSD> DBG:setosd ok
<OSD> DBG:setosd:END. chan=0,flgOsd=0x1, bStart=1
<OSD> DBG:Left=0 pChar->pos=4000000
<SetOsd()> line=0 y=64 line_char_count=16, valid char count 24,osd_lines 0
<SetOsd()> line=1 y=0 line_char_count=0, valid char count 0,osd_lines 0
<SetOsd()> line=2 y=0 line_char_count=0, valid char count 0,osd_lines 0
<SetOsd()> line=3 y=0 line_char_count=0, valid char count 0,osd_lines 0
<SetOsd()> line=4 y=0 line_char_count=0, valid char count 0,osd_lines 0
<SetOsd()> line=5 y=0 line_char_count=0, valid char count 0,osd_lines 0
<SetOsd()> line=6 y=0 line_char_count=0, valid char count 0,osd_lines 0
<SetOsd()> line=7 y=0 line_char_count=0, valid char count 0,osd_lines 0
chan 1, osd size 0 osd_size_changed 0
chan 2, osd size 0 osd_size_changed 0
<OSD> DBG:setosd ok
<OSD> DBG:setosd:END. chan=1,flgOsd=0x3, bStart=1
<OSD> DBG:Left=0 pChar->pos=4000000
<SetOsd()> line=0 y=64 line_char_count=16, valid char count 24,osd_lines 0
<SetOsd()> line=1 y=0 line_char_count=0, valid char count 0,osd_lines 0
<SetOsd()> line=2 y=0 line_char_count=0, valid char count 0,osd_lines 0
<SetOsd()> line=3 y=0 line_char_count=0, valid char count 0,osd_lines 0
<SetOsd()> line=4 y=0 line_char_count=0, valid char count 0,osd_lines 0
<SetOsd()> line=5 y=0 line_char_count=0, valid char count 0,osd_lines 0
<SetOsd()> line=6 y=0 line_char_count=0, valid char count 0,osd_lines 0
<SetOsd()> line=7 y=0 line_char_count=0, valid char count 0,osd_lines 0
chan 1, osd size 0 osd_size_changed 0
chan 2, osd size 0 osd_size_changed 0
<OSD> DBG:setosd ok
<OSD> DBG:setosd:END. chan=2,flgOsd=0x7, bStart=1
init osd success
<PRI Thrd> DBG:pm_buffer_size 86016, pm_buffer_max_num 8
<VidThrd> DBG:setup_video_input begin
<VidThrd> ERR:Please load source driver!
<VidThrd> ERR:set video source failed!
<DSP> ERR:setup_dsp:setup_video_input
[11-22 09:15:48][DSP][ERROR]DSP ▒▒ʼ▒▒ʧ▒▒...
[11-22 09:15:48][SYSINIT][ERROR]hwif_dsp_init error force sys reboot,ret=-12!!!!