海康串口刷機方法,通過海康錄像機或攝像頭上的串口接口使用USB線轉串口將電腦和海康設備連接配合TFTP就可以將海康設備刷機
U-Boot 2010.06-svn18845 (Dec 13 2017 - 16:22:03)
U-Boot 2010.06-svn18845 (Dec 13 2017 - 16:22:03)
Hit ctrl+u to stop autoboot: 1 0 按ctrl+u暫停向下執行等待輸入命令
This program will upgrade software.
*******************************************************
* ATTENTION!! PLEASE READ THIS NOTICE CAREFULLY! *
* Don't reset machine,or anything that interrupt it. *
* The upgrade process must finish in 10 minutes! *
* If this program fails,machine might be unusable, *
* and you will need to reflash again. *
* If you find this too risky,power off machine now. *
Now press [u/U] key to upgrade software: 輸入需要的命令執行升級程序
### CRAMFS load complete: 3230992 bytes loaded to 0x82000000
Verifying RSA ... OK
## Booting kernel from Legacy Image at 82000000 ...
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
[ 0.795610] init(1) called reboot syscall, cmd: 0x0.
Thu Jan 1 00:00:00 UTC 1970
mv: can't rename 'ubi*': No such file or directory
Starting udev: [ 1.760127] hisi-femac 10010000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
[ OK ]
[4;34m The device has started by cold reboot, ramoops file has not been generated! [0m
sh: 00:00:00:00:00:00: unknown operand
sh: 00:00:00:00:00:00: unknown operand
ifconfig: SIOCGIFFLAGS: No such device
ifconfig: SIOCSIFADDR: No such device
BusyBox v1.20.2 () multi-call binary.
Usage: route [{add|del|delete}]
Edit kernel routing tables
-n Don't resolve names
-e Display other/more information
-A inet{6} Select address family
sdbg: serverip:192.0.0.128
Protect Shell (psh)
Enter 'help' for a list of DVR/NVR system commands.
# fastboot is
The os mem size is 160
start echo proc !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
----------<1> tar guir webs ----------
----------<2> show logo ----------
Generating 2048 bit rsa key, this may take a while...
eth0 Link encap:Ethernet HWaddr 98:8B:0A:B3:13:A4
inet addr:192.0.0.64 Bcast:192.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::9a8b:aff:feb3:13a4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:578 (578.0 B)
Interrupt:22
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.0.0.0 * 255.255.255.0 U 0 0 0 eth0
160
insmod: can't insert 'extdrv/vca_encrypt.ko': No such file or directory
---------load ----3536d OK------
####################################LOGO START################################################
load k75 ok
----------<4> del no use res ----------
cp: can't stat '/home/app/hisi/modules/setDebug_mux': No such file or directory
----------begain to load net filter modules--------
----------end to load net filter modules--------
start to start hik_app
GPL main is start
del start.sh to save memory now! if you want to observe it, you can get it from flash.
pdev_hard_info->ataCtrlNums=1
pstruBootParams->Boot.Kmem=160
pstruBootParams->Boot.Emem=96
pstruDevHardInfo->ramSize=256
fun:hisi_main_module_init, line:7796 hisi_detected_hdmi:0.
file:src/pal_api.c,line:796, pal_module_init successfully
file:src/pal_api.c,line:72, *********undefine fun:pal_add_proc_info*********
[CRIT][sys_guide.c #1218][@read_execl_guide_cfg]: start
[CRIT][sys_guide.c #1232][@read_execl_guide_cfg]: file /dav2/sys_guid open failed.
read execl guide cfg failed. iRet[-1]
file:src/pal_api.c,line:761, pal_module_init has been called
file:src/pal_api.c,line:72, *********undefine fun:pal_add_proc_info*********
[ERR] remove failed !!!
[DVR_MAIN_PROCESS]enter dvr_main time[1687542809]
[DVR_MAIN_PROCESS][0][dvr_threadpool_init] start!!,time[1687542809]!!
stack[524288-2097152], poolnum[3]
[DVR_MAIN_PROCESS][0][dvr_threadpool_init] finish,iRet[0]!!,time[1687542809],cost[0]s !!
[DVR_MAIN_PROCESS][1][show_boot_logo] start!!,time[1687542809]!!
showBootLogo start
Func: GetVoCfg_HDLogo, voDev 0, u32Width 1024, u32Height 768 intfSync:17
InitVoDevLogo StartVoLogo before voDev 0
StartVoLogo!!! 1
StartVoLogo!!! 2
StartVoLogo!!! 3
StartVoLogo!!! 4, enIntfType 24
StartVoLogo!!! 5
[Func]:HI_MPI_HDMI_ComStop [Line]:645 [Info]:enHdmi:0 do NOT open
[Func]:HI_MPI_HDMI_ComClose [Line]:563 [Info]:enHdmi:0 do NOT open
-----------start hdmi ----------------------------------
StartVoLogo!!! 6
:0
t1_api_start
:wait storage [2] and gui[2] and hicore[2] and ipcm[0]
StartVoLogo!!! 7
---------------bAuidoHdmiMode 1
StartVoLogo!!! 8
StartVoLogo!!! 9
InitVoDevLogo StartVoLogo after
showBootLogo ok
[DVR_MAIN_PROCESS][1][show_boot_logo] finish,iRet[0]!!,time[1687542809],cost[0]s !!
[DVR_MAIN_PROCESS][2][dvr_gpl_server_init] start!!,time[1687542809]!!
[DVR_MAIN_PROCESS][2][dvr_gpl_server_init] finish,iRet[0]!!,time[1687542809],cost[0]s !!
[DVR_MAIN_PROCESS][3][dvr_startup_common_res_init] start!!,time[1687542809]!!
/*********************init_global_error_lib*/, init_global_error_lib start!
:0
[DVR_MAIN_PROCESS][3][dvr_startup_common_res_init] finish,iRet[0]!!,time[1687542809],cost[0]s !!
[DVR_MAIN_PROCESS][4][dvr_startup_arch_watchdog_init] start!!,time[1687542809]!!
fun:hisi_watchdog_init, line:2658 hisi_watchdog_init(/dev/watchdog, 32) ok iDogTimeOut:25 Sec!
[DVR_MAIN_PROCESS][4][dvr_startup_arch_watchdog_init] finish,iRet[0]!!,time[1687542809],cost[0]s !!
[DVR_MAIN_PROCESS][5][watchdogInit] start!!,time[1687542809]!!
[DVR_MAIN_PROCESS][5][watchdogInit] finish,iRet[0]!!,time[1687542809],cost[0]s !!
[DVR_MAIN_PROCESS][6][dvr_startup_etherif_init] start!!,time[1687542809]!!
[init/dvr.c][dvr_startup_etherif_init][4152] vlan config, need fix later.
GPL server is start
Thread3536DLogo start
*** LOGO DSP Build Time: [Mar 20 2021 15:12:29] *** bJpeg=1 bInitHD1=0
fopen tmpPic success!!!!! ret:0x1 size 63994
fun:hisi_set_vlan, line:5328 start
fun:hisi_set_vlan, line:5346 end
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~phy on eth0.1 is link down
[ 15.163481] hisi-femac 10010000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
write phy addr: 0x6 reg: 0x0 value : 0x8000
eth_up_down up failed and errno [0]and ret[0]