hey guys
I have problem with Dahua dh-nvr5432-4ks2, tried to update firmware, but it after update NVR got stuck and showed dahua logo on screen and then restarted.
Now I try to write new firmware with rs232 port, nvr restarts in the middle of the upload.
do you know how to change the time when nvr restarts via rs232 port.
NVR restarts itself in 3 minutes every time.
Thanks for you help
Spi(cs1) ID: 0xEF 0x30 0x13 0x00 0x00 0x00
Special NAND id table Version 1.36
Nand ID: 0xEF 0xF1 0x80 0x95 0x00 0x00 0x00 0x00
stmmac_init,568,0x70431,3
MAC: 00-00-23-34-45-66
U-Boot 2010.06-svn3656 (Jan 08 2019 - 21:51:47)
Special NAND id table Version 1.36
Nand ID: 0xEF 0xF1 0x80 0x95 0x00 0x00 0x00 0x00
Block:128KB Page:2KB Chip:128MB*1 OOB:64B ECC:none Nand total size: 128MB
In: serial
Out: serial
Err: serial
SCU: load slave image ...WARNING! unknown slave_kernel.img format!
OK
Spi(cs1) ID: 0xEF 0x30 0x13 0x00 0x00 0x00
CS:1 Block:64KB Chip:512KB Name:"w25x40"
spi env sysbackup=0
Read backup misc byte ... no env and backup env tc !!!
ok!
Found GPIO0_4 Status Is 0
PRODUCT:>1U
[openbmp 257]### CRAMFS LOAD ERROR<0> for /bmp_logo.bmp!
load log failed
stmmac_init,688,0x70431,3
MAC: 3C-EF-8C-23-4F-28
Hit any key to stop autoboot: 0
hisilicon # setenv serverip 192.168.1.110
hisilicon # saveenv
Saving Environment to NAND...
Erasing Nand...
Writing to Nand... done
hisilicon # printenv
bootargs=console=ttyAMA0,115200 mem=928M root=/dev/mtdblock4 rootfstype=squashfs init=/linuxrc
slave_autostart=1
slave_bootargs=mem=64M console=ttyAMA2,115200
bootcmd=autoup; nand read 0x42000000 0x300000 0x400000; bootm
slave_bootcmd=nand read 0x81000000 0x2100000 0x100000;nand read 0x82000000 0x2200000 0x300000;nand read 0x83000000 0x2500000 0xe00000;bootm 0x81000000 0x82000000 0x83000000
Verif_Code=00000000000000000000000000000000
baudrate=115200
bootnandflash=1
loadaddr=0x42000000
key=000000000000
deviceid=0000000000000000
ver=U-Boot 2010.06-svn2362 (Jul 21 2016 - 16:46:32)
selfchecked=1
ethaddr=3c:ef:8c:23:4f:28
eth1addr=3c:ef:8c:23:4f:29
DEVID=DH-NVR5432-4KS2
ID=3B0490APAMVF4R9
bootargs_nvr=console=ttyAMA0,115200 mem=1104M root=/dev/mtdblock4 rootfstype=squashfs init=/linuxrc vmalloc=260M
slave_bootcmd_nvr=nand read 0x8C000000 0x2100000 0x100000;nand read 0x8D000000 0x2200000 0x300000;nand read 0x8E000000 0x2500000 0xe00000;bootm 0x8C000000 0x8D000000 0x8E000000
appauto=1
dh_keyboard=1
load_modules=1
sysbackup=0
da=tftp u-boot.bin.img; flwrite
dr=tftp romfs-x.squashfs.img; flwrite
du=tftp user-x.squashfs.img; flwrite
dw=tftp web-x.squashfs.img; flwrite
dl=tftp logo-x.squashfs.img; flwrite
ds=tftp slave-x.squashfs.img; flwrite
dc=tftp custom-x.squashfs.img; flwrite
up=tftp update.img; flwrite
tk=tftp uImage; bootm
pm=tftp 575s_PMX.bin.img; flwrite
dx=tftp u-boot_slave.bin.img; flwrite
autosip=192.168.254.254
autolip=192.168.1.108
autonm=255.255.255.0
autogw=192.168.1.1
netretry=no
eth2addr=00:00:23:34:45:88
restore=0
server=ip 192.168.1.110
updatetimeout=10000
tftptimeout=10000
net_uptime=10000
netup_timeout=10000
bootdelay=6
ipaddr=192.168.1.108
gatewayip=192.168.1.1
netmask=255.255.255.0
autoboot=30
stdin=serial
stdout=serial
stderr=serial
verify=n
slave_cmd=bootm 8c000000 8d000000 8e000000
serverip=192.168.1.110
Environment size: 1921/131068 bytes
hisilicon # run up
stmmac_init,688,0x70431,3
get phy id:0x70431
MAC: 3C-EF-8C-23-4F-28
TFTP from server 192.168.1.110; our IP address is 192.168.1.108
Download Filename 'update.img'.
Download to address: 0x42000000
Downloading: ######################
Spi(cs1) ID: 0xEF 0x30 0x13 0x00 0x00 0x00
Special NAND id table Version 1.36
Nand ID: 0xEF 0xF1 0x80 0x95 0x00 0x00 0x00 0x00
stmmac_init,568,0x70431,3
MAC: 00-00-23-34-45-66
U-Boot 2010.06-svn3656 (Jan 08 2019 - 21:51:47)
Special NAND id table Version 1.36
Nand ID: 0xEF 0xF1 0x80 0x95 0x00 0x00 0x00 0x00
Block:128KB Page:2KB Chip:128MB*1 OOB:64B ECC:none Nand total size: 128MB
In: serial
Out: serial
Err: serial
SCU: load slave image ...WARNING! unknown slave_kernel.img format!
OK
Spi(cs1) ID: 0xEF 0x30 0x13 0x00 0x00 0x00
CS:1 Block:64KB Chip:512KB Name:"w25x40"
spi env sysbackup=0
Read backup misc byte ... no env and backup env tc !!!
ok!
Found GPIO0_4 Status Is 0
PRODUCT:>1U
[openbmp 257]### CRAMFS LOAD ERROR<0> for /bmp_logo.bmp!
load log failed
stmmac_init,688,0x70431,3
MAC: 3C-EF-8C-23-4F-28
Hit any key to stop autoboot: 0
stmmac_init,688,0x70431,3
get phy id:0x70431
MAC: 3C-EF-8C-23-4F-28
stmmac_init,688,0x70431,3
get phy id:0x70431
MAC: 3C-EF-8C-23-4F-28
NET_autoLipDetect timeout
stmmac_init,688,0x70431,3
get phy id:0x70431
MAC: 3C-EF-8C-23-4F-28
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Download Filename 'ID_3B0490APAMVF4R9_DH-NVR5432-4KS2.txt'.
Download to address: 0x42000000
Downloading: *
ARP Retry count exceeded; starting again
.Wrong Image Format for bootm command
ERROR: can't get kernel image!
hisilicon #
I have problem with Dahua dh-nvr5432-4ks2, tried to update firmware, but it after update NVR got stuck and showed dahua logo on screen and then restarted.
Now I try to write new firmware with rs232 port, nvr restarts in the middle of the upload.
do you know how to change the time when nvr restarts via rs232 port.
NVR restarts itself in 3 minutes every time.
Thanks for you help
Spi(cs1) ID: 0xEF 0x30 0x13 0x00 0x00 0x00
Special NAND id table Version 1.36
Nand ID: 0xEF 0xF1 0x80 0x95 0x00 0x00 0x00 0x00
stmmac_init,568,0x70431,3
MAC: 00-00-23-34-45-66
U-Boot 2010.06-svn3656 (Jan 08 2019 - 21:51:47)
Special NAND id table Version 1.36
Nand ID: 0xEF 0xF1 0x80 0x95 0x00 0x00 0x00 0x00
Block:128KB Page:2KB Chip:128MB*1 OOB:64B ECC:none Nand total size: 128MB
In: serial
Out: serial
Err: serial
SCU: load slave image ...WARNING! unknown slave_kernel.img format!
OK
Spi(cs1) ID: 0xEF 0x30 0x13 0x00 0x00 0x00
CS:1 Block:64KB Chip:512KB Name:"w25x40"
spi env sysbackup=0
Read backup misc byte ... no env and backup env tc !!!
ok!
Found GPIO0_4 Status Is 0
PRODUCT:>1U
[openbmp 257]### CRAMFS LOAD ERROR<0> for /bmp_logo.bmp!
load log failed
stmmac_init,688,0x70431,3
MAC: 3C-EF-8C-23-4F-28
Hit any key to stop autoboot: 0
hisilicon # setenv serverip 192.168.1.110
hisilicon # saveenv
Saving Environment to NAND...
Erasing Nand...
Writing to Nand... done
hisilicon # printenv
bootargs=console=ttyAMA0,115200 mem=928M root=/dev/mtdblock4 rootfstype=squashfs init=/linuxrc
slave_autostart=1
slave_bootargs=mem=64M console=ttyAMA2,115200
bootcmd=autoup; nand read 0x42000000 0x300000 0x400000; bootm
slave_bootcmd=nand read 0x81000000 0x2100000 0x100000;nand read 0x82000000 0x2200000 0x300000;nand read 0x83000000 0x2500000 0xe00000;bootm 0x81000000 0x82000000 0x83000000
Verif_Code=00000000000000000000000000000000
baudrate=115200
bootnandflash=1
loadaddr=0x42000000
key=000000000000
deviceid=0000000000000000
ver=U-Boot 2010.06-svn2362 (Jul 21 2016 - 16:46:32)
selfchecked=1
ethaddr=3c:ef:8c:23:4f:28
eth1addr=3c:ef:8c:23:4f:29
DEVID=DH-NVR5432-4KS2
ID=3B0490APAMVF4R9
bootargs_nvr=console=ttyAMA0,115200 mem=1104M root=/dev/mtdblock4 rootfstype=squashfs init=/linuxrc vmalloc=260M
slave_bootcmd_nvr=nand read 0x8C000000 0x2100000 0x100000;nand read 0x8D000000 0x2200000 0x300000;nand read 0x8E000000 0x2500000 0xe00000;bootm 0x8C000000 0x8D000000 0x8E000000
appauto=1
dh_keyboard=1
load_modules=1
sysbackup=0
da=tftp u-boot.bin.img; flwrite
dr=tftp romfs-x.squashfs.img; flwrite
du=tftp user-x.squashfs.img; flwrite
dw=tftp web-x.squashfs.img; flwrite
dl=tftp logo-x.squashfs.img; flwrite
ds=tftp slave-x.squashfs.img; flwrite
dc=tftp custom-x.squashfs.img; flwrite
up=tftp update.img; flwrite
tk=tftp uImage; bootm
pm=tftp 575s_PMX.bin.img; flwrite
dx=tftp u-boot_slave.bin.img; flwrite
autosip=192.168.254.254
autolip=192.168.1.108
autonm=255.255.255.0
autogw=192.168.1.1
netretry=no
eth2addr=00:00:23:34:45:88
restore=0
server=ip 192.168.1.110
updatetimeout=10000
tftptimeout=10000
net_uptime=10000
netup_timeout=10000
bootdelay=6
ipaddr=192.168.1.108
gatewayip=192.168.1.1
netmask=255.255.255.0
autoboot=30
stdin=serial
stdout=serial
stderr=serial
verify=n
slave_cmd=bootm 8c000000 8d000000 8e000000
serverip=192.168.1.110
Environment size: 1921/131068 bytes
hisilicon # run up
stmmac_init,688,0x70431,3
get phy id:0x70431
MAC: 3C-EF-8C-23-4F-28
TFTP from server 192.168.1.110; our IP address is 192.168.1.108
Download Filename 'update.img'.
Download to address: 0x42000000
Downloading: ######################
Spi(cs1) ID: 0xEF 0x30 0x13 0x00 0x00 0x00
Special NAND id table Version 1.36
Nand ID: 0xEF 0xF1 0x80 0x95 0x00 0x00 0x00 0x00
stmmac_init,568,0x70431,3
MAC: 00-00-23-34-45-66
U-Boot 2010.06-svn3656 (Jan 08 2019 - 21:51:47)
Special NAND id table Version 1.36
Nand ID: 0xEF 0xF1 0x80 0x95 0x00 0x00 0x00 0x00
Block:128KB Page:2KB Chip:128MB*1 OOB:64B ECC:none Nand total size: 128MB
In: serial
Out: serial
Err: serial
SCU: load slave image ...WARNING! unknown slave_kernel.img format!
OK
Spi(cs1) ID: 0xEF 0x30 0x13 0x00 0x00 0x00
CS:1 Block:64KB Chip:512KB Name:"w25x40"
spi env sysbackup=0
Read backup misc byte ... no env and backup env tc !!!
ok!
Found GPIO0_4 Status Is 0
PRODUCT:>1U
[openbmp 257]### CRAMFS LOAD ERROR<0> for /bmp_logo.bmp!
load log failed
stmmac_init,688,0x70431,3
MAC: 3C-EF-8C-23-4F-28
Hit any key to stop autoboot: 0
stmmac_init,688,0x70431,3
get phy id:0x70431
MAC: 3C-EF-8C-23-4F-28
stmmac_init,688,0x70431,3
get phy id:0x70431
MAC: 3C-EF-8C-23-4F-28
NET_autoLipDetect timeout
stmmac_init,688,0x70431,3
get phy id:0x70431
MAC: 3C-EF-8C-23-4F-28
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending through gateway 192.168.1.1
Download Filename 'ID_3B0490APAMVF4R9_DH-NVR5432-4KS2.txt'.
Download to address: 0x42000000
Downloading: *
ARP Retry count exceeded; starting again
.Wrong Image Format for bootm command
ERROR: can't get kernel image!
hisilicon #
Last edited: