dh-ipc-hdbw1230ep-aw

Вопросы по восстановлению, настройке, апгрейду, прошивкам и т.п.
Ответить
aavan
Специалист
Сообщения: 309
Зарегистрирован: 27 июн 2015, 06:51

dh-ipc-hdbw1230ep-aw

Сообщение aavan » 28 ноя 2021, 19:31

Доброго всем времени суток !Камера Dahua dh-ipc-hdbw1230ep-aw Пингуется на 192.168.1.108 (после нажатия на кнопку RESET),но подключиться к нет невозможно.GonfigTool то же не видит камеры.Ищу дамп флеши или прошивку для загрузки через TFTP или SD.С благодарностью и признательностью выслушаю дельные советы.С уважением Николай.

Аватара пользователя
VirtualLink
Специалист
Сообщения: 1846
Зарегистрирован: 09 апр 2016, 12:38

Re: dh-ipc-hdbw1230ep-aw

Сообщение VirtualLink » 30 ноя 2021, 15:14

Камера жива!
Открой ее и подключись к TTL!
Лог старта покажи!
Дамп не нужен, а только обновление!

aavan
Специалист
Сообщения: 309
Зарегистрирован: 27 июн 2015, 06:51

Re: dh-ipc-hdbw1230ep-aw

Сообщение aavan » 30 ноя 2021, 16:15

Открой ее и подключись к TTL!


[/quote]
Так и сделаю когда приеду домой.В командировке сейчас.

aavan
Специалист
Сообщения: 309
Зарегистрирован: 27 июн 2015, 06:51

Re: dh-ipc-hdbw1230ep-aw

Сообщение aavan » 05 дек 2021, 19:09

U-Boot 2010.06-svn4949 (Sep 13 2017 - 00:48:58)
I2C: ready
DRAM: 118 MiB
gBootLogPtr:00b80008.
spinor flash ID is 0xc21920c2
partition file version 2
rootfstype squashfs root /dev/mtdblock5
gParameter[0]:node=bootargs, parameter=console=ttyS0,115200 mem=118M root=/dev/mtdblock5 rootfstype=squashfs init=/linuxrc.
gParameter[1]:node=sdupdate, parameter=gpio=34 offset=0 ledtype=state.
TEXT_BASE:01000000
Net: Detected MACID:14:a7:8b:bd:a6:c3
PHY:0x001cc816,addr:0x00
s3l phy RTL8201 init

gpio:34, offset:0x0, ledtype:state
MMC: sdmmc init
Hit any key to stop autoboot: 0
>****help
Unknown command '****help' - try 'help'
>help
? - alias for 'help'
backup - backup - manual backup program.

base - print or set address offset
bdinfo - print Board Info structure
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootf - boot from flash
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
cfgRestore- erase config and backup partition.

cmp - memory compare
coninfo - print console devices and information
cp - memory copy
crc32 - checksum calculation
dcache - enable or disable data cache
dhcp - boot image via network using DHCP/TFTP protocol
echo - echo args to console
editenv - edit environment variable
erasepart- erasepart

exit - exit script
false - do nothing, unsuccessfully
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
flwrite - flwrite - write data into FLASH memory

fsinfo - print information about filesystems
fsload - load binary file from a filesystem image
go - start application at address 'addr'
gpio - gpio test
help - print command description/usage
hwid - hwid - set hardware id and save to flash

i2c - I2C sub-system
icache - enable or disable instruction cache
iminfo - print header information for application image
itest - return true/false on integer compare
kload - kload - load uImage file from parttion

lip - lip - set local ip address but not save to flash

loadb - load binary file over serial line (kermit mode)
loads - load S-Record file over serial line
loady - load binary file over serial line (ymodem mode)
logsend - get log buf
loop - infinite loop on address range
ls - list files in a directory (default /)
mac - mac - set mac address and save to flash

md - memory display
memsize - memsize - set mem size

mii - MII utility commands
mm - memory modify (auto-incrementing address)
mmc - MMC sub system
mmcinfo - mmcinfo <dev num>-- display MMC info
mtest - simple RAM read/write test
mw - memory write (fill)
nfs - boot image via network using NFS protocol
nm - memory modify (constant address)
partition- print partition information
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
rarpboot- boot image via network using RARP/TFTP protocol
rdefault- rdefault -recover default env

reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
sf - SPI flash sub-system
showvar - print local hushshell variables
sip - sip - set server ip address but not save to flash

sleep - delay execution for some time
source - run script from memory
sync_uboot- sync_uboot - sync uboot to uboot-bak

test - minimal test like /bin/sh
tftpboot- tftpboot- boot image via network using TFTP protocol
true - do nothing, successfully
upmh - mcu heat upgraded
usleep - delay execution for some time
version - print monitor version
>printenv
bootargs=console=ttyS0,115200 mem=118M root=/dev/mtdblock5 rootfstype=squashfs init=/linuxrc
bootcmd=sf read 0x2000000 0xf0000 0x180000;bootm 0x2000000
bootdelay=3
baudrate=115200
ipaddr=192.168.1.108
serverip=192.168.1.1
autoload=yes
gatewayip=192.168.1.1
netmask=255.255.255.0
da=tftp 0x02000000 dhboot.bin.img; flwrite;tftp dhboot-min.bin.img;flwrite
dr=tftp 0x02000000 romfs-x.squashfs.img; flwrite
dk=tftp 0x02000000 kernel.img; flwrite
du=tftp 0x02000000 user-x.squashfs.img; flwrite
dw=tftp 0x02000000 web-x.squashfs.img; flwrite
dp=tftp 0x02000000 partition-x.cramfs.img;flwrite
dc=tftp 0x02000000 custom-x.squashfs.img; flwrite
up=tftp 0x02000000 update.img; flwrite
tk=tftp 0x02000000 uImage; bootm
dh_keyboard=1
sysbackup=1
logserver=127.0.0.1
loglevel=4
autosip=192.168.254.254
autolip=192.168.1.108
autogw=192.168.1.1
autonm=255.255.255.0
pd=tftp 0x02000000 pd-x.squashfs.img; flwrite
ethact=ambarella mac
BSN=3J05A28PAQ00079
HWID=IPC-HDBW1230E-AW:01:02:03:4F:25:00:01:0E:01:01:04:2D0:03:02:00:00:00:00:00:00:100
hwidEx=00:02:00:00:00:00:00:01:00:00:00:00:00:00:00:00
devalias=IPC-HDBW1230E-AW
ID=3L06E56PAG00009
wifiaddr=14:A7:8B:BD:A6:EB
ethaddr=14:A7:8B:BD:A6:C3
filesize=1040
fileaddr=2000000
appauto=1
stdin=serial
stdout=serial
stderr=serial

Environment size: 1262/131068 bytes

Аватара пользователя
VirtualLink
Специалист
Сообщения: 1846
Зарегистрирован: 09 апр 2016, 12:38

Re: dh-ipc-hdbw1230ep-aw

Сообщение VirtualLink » 06 дек 2021, 14:00

Увидеть логи загрузки и падения!

Код: Выделить всё

setenv dh_keyboard 0
saveenv
reset
Скачаешь обновление update.img, настроишь адреса сервера setenv serverip ... выполнишь run up
Если нет такого обновления, то файлами из прошивки по примеру из printenv
run dr
run dk
run du
run dw
run dp
run dc

aavan
Специалист
Сообщения: 309
Зарегистрирован: 27 июн 2015, 06:51

Re: dh-ipc-hdbw1230ep-aw

Сообщение aavan » 06 дек 2021, 18:53

сам найти не смог,oleglevsha прислал прошивку,но с ней не прошло.Вот лог


U-Boot 2010.06-svn4949 (Sep 13 2017 - 00:48:58)
I2C: ready
DRAM: 118 MiB
gBootLogPtr:00b80008.
spinor flash ID is 0xc21920c2
partition file version 2
rootfstype squashfs root /dev/mtdblock5
gParameter[0]:node=bootargs, parameter=console=ttyS0,115200 mem=118M root=/dev/mtdblock5 rootfstype=squashfs init=/linuxrc.
gParameter[1]:node=sdupdate, parameter=gpio=34 offset=0 ledtype=state.
TEXT_BASE:01000000
Net: Detected MACID:14:a7:8b:bd:a6:c3
PHY:0x001cc816,addr:0x00
s3l phy RTL8201 init

gpio:34, offset:0x0, ledtype:state
MMC: sdmmc init
Hit any key to stop autoboot: 0
>setenv dh_keyboard 0
>saveenv
Saving Environment to SPI Flash...
Erasing SPI flash...
Writing to SPI flash...
done
>reset
resetting ...


остальное в архиве,не поместилось

aavan
Специалист
Сообщения: 309
Зарегистрирован: 27 июн 2015, 06:51

Re: dh-ipc-hdbw1230ep-aw

Сообщение aavan » 06 дек 2021, 19:02


Аватара пользователя
VirtualLink
Специалист
Сообщения: 1846
Зарегистрирован: 09 апр 2016, 12:38

Re: dh-ipc-hdbw1230ep-aw

Сообщение VirtualLink » 08 дек 2021, 16:59

aavan писал(а):
06 дек 2021, 19:02
вот https://disk.yandex.ru/d/Q2EYx_uOef1igA
Creating 16 MTD partitions on "amba_spinor":
0x000000000000-0x000000040000 : "MinBoot"
0x000000080000-0x0000000c0000 : "U-Boot"
0x0000000c0000-0x0000000e0000 : "hwid"
0x0000000e0000-0x0000000f0000 : "partition"
0x000001040000-0x000001200000 : "Kernel"
0x000001b80000-0x000001fd0000 : "romfs"
0x000001200000-0x000001880000 : "web"
0x0000000f0000-0x000001000000 : "user"
0x000001a70000-0x000001aa0000 : "updateflag"
0x000001aa0000-0x000001b10000 : "config"
0x000001880000-0x0000018a0000 : "product"
0x0000018a0000-0x000001970000 : "custom"
0x000001000000-0x000001040000 : "half-boot"
0x000001b10000-0x000001b80000 : "backup"
0x000001970000-0x000001a70000 : "data"
0x000001fd0000-0x000002000000 : "dgs"
error:unknown flash type, flash cannot reset!

aavan
Специалист
Сообщения: 309
Зарегистрирован: 27 июн 2015, 06:51

Re: dh-ipc-hdbw1230ep-aw

Сообщение aavan » 09 дек 2021, 05:17

ага,я тоже заметил это

Ответить

Вернуться в «Восстановление и настройка»