Камера HFW-2431RP-ZS-IRE6 после перенапряжения

  • Автор теми Seem
  • Дата створення
Статус
Закрита.

Seem

Active member
а почему это окно должно выходить после перезагрузки?
Наверное не правильно выразился, после сброса камеры на заводские установки, путем нажатия кнопки внутри корпуса камеры

перед подачей питания, зажмите * на клавиатуре (на Numlock части) таким образом загрузка остановится и можно будет вводить команды, и нужно написать printenv и нажать enter
буду дома через пару часов и по-пробую
 

Seem

Active member
а почему это окно должно выходить после перезагрузки?


чтоб понять что с камерой, перед подачей питания, зажмите * на клавиатуре (на Numlock части) таким образом загрузка остановится и можно будет вводить команды, и нужно написать printenv и нажать enter. Вывод покажите мне.


U-Boot 2010.06-svn4707 (Jul 20 2017 - 11:37:30)
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/m
tdblock5 rootfstype=squashfs init=/linuxrc.
TEXT_BASE:01000000
Net: Detected MACID:e0:50:8b:d2:3b:d4
PHY:0x001cc816,addr:0x00
s3l phy RTL8201 init

MMC: sdmmc init
Hit any key to stop autoboot: 0
Unknown command '**printenv' - t
ry '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
bootargs=console=ttyS0,115200 mem=118M root=/dev/mtdblock5 rootfstype=squashfs i
nit=/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=3G05505PAQ01310
HWID=IPC-HFW2431R-ZS-2713:01:02:02:23:20:00:01:00:00:00:04:2D0:00:00:00:00:00:01
:00:00:200
hwidEx=00:02:00:00:00:00:00:00:00:00:00:00:00:00:00:00
devalias=IPC-HFW2431R-ZS-IRE6
ID=3G03F05PAF00013
ethaddr=E0:50:8B:D2:3B:D4
filesize=2A5040
fileaddr=2000000
appauto=1
stdin=serial
stdout=serial
stderr=serial

Environment size: 1245/131068 bytes
 
Останнє редагування:

Техпідтримка VidiMost.com

Спеціаліст
Команда форуму

вот уже обсуждалось
 

Seem

Active member

вот уже обсуждалось
Сделал все как было предложено лог прилагаю

Saving Environment to SPI Flash...
Erasing SPI flash...
Writing to SPI flash...
done
setenv serverip 192.168.1.104
setenv ipaddr 192.168.1.108
run up
Using ambarella mac device
TFTP from server 192.168.1.104; our IP address is 192.168.1.108
Download Filename 'update.img'.
Download to address: 0x2000000
Downloading: T T T T T T T T T T T T T T T T T T T T
Retry count exceeded; starting again
Using ambarella mac device
TFTP from server 192.168.1.104; our IP address is 192.168.1.108
Download Filename 'update.img'.
Download to address: 0x2000000
Downloading: T T T T T T T T T T T T T T T T T T T T
Retry count exceeded; starting again
Dest address:0x14f09fe5 invalid!
Outside available Flash
flwrite error 1!
bootargs=console=ttyS0,115200 mem=118M root=/dev/mtdblock5 rootfstype=squashfs i
nit=/linuxrc
bootcmd=sf read 0x2000000 0xf0000 0x180000;bootm 0x2000000
bootdelay=3
baudrate=115200
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
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=3G05505PAQ01310
HWID=IPC-HFW2431R-ZS-2713:01:02:02:23:20:00:01:00:00:00:04:2D0:00:00:00:00:00:01
:00:00:200
hwidEx=00:02:00:00:00:00:00:00:00:00:00:00:00:00:00:00
devalias=IPC-HFW2431R-ZS-IRE6
ID=3G03F05PAF00013
ethaddr=E0:50:8B:D2:3B:D4
filesize=2A5040
fileaddr=2000000
appauto=1
stdin=serial
stdout=serial
stderr=serial
dh_keyboard=0
serverip=192.168.1.104
ipaddr=192.168.1.108

Environment size: 1247/131068 bytes
 

Техпідтримка VidiMost.com

Спеціаліст
Команда форуму
у Вас не происходит загрузка файла с tftp сервера. Проверяйте настройки IP. Кто такой 104? кто такой 108?
 
Реакції: Seem

fobos

Энтузиаст
Using ambarella mac device
TFTP from server 192.168.1.104; our IP address is 192.168.1.108
Download Filename 'update.img'.
Download to address: 0x2000000
Downloading: T T T T T T T T T T T T T T T T T T T T
Retry count exceeded; starting again
Dest address:0x14f09fe5 invalid!
Outside available Flash
flwrite error 1!
загрузчик же кричит, что "Dest address:0x14f09fe5 invalid! Outside available Flash flwrite error 1!"
файло не подходит...или попробуйте сначала обновить загрузчик, а потом update...но в таком случае необходимо сделать копию дампа.
 

fobos

Энтузиаст
попробуйте сначала загрузчик обновить, а потом может примет update
 

fobos

Энтузиаст
я разархивировал https://support.vidimost.com/files/update_DH_IPC-HX2X3X-Rhea_MultiLang_PN_Stream2_V2.800.0000016.0.R.200605.rar в папку tftp-сервера и ввел команды которые были указаны, 104 комп на котором tftp-сервер 108 камера
исхожу из написанного...если бы не было файла, то загрузчик бы написал, что update.img не найден
 

Seem

Active member
у Вас внутри архива этот файл. его нада положить в папку с tftp
Какой софт для tftp используете? Антивирусы? фаерволы?
tftp скачал отсюда https://tftpd32.jounin.net/tftpd32_download.html
посмотрел как надо настроить в ютубе несколько роликов - настроил, указал в tftp папку в которую разархивировал файлы из архива,
запустил tftp с правами от админа, антивирусов нет , фаерволы отключены должны быть (вечером проверю), запустил терминал, включил камеру удерживая "*" на клаве, после остановки завел указанные команды, и выложил лог с терминала
сегодня еще проверю на другом компе у товарищя он таким же способом роутеры прошивает и отпишусь
 

Техпідтримка VidiMost.com

Спеціаліст
Команда форуму
TFTP from server 192.168.1.104; our IP address is 192.168.1.108
Download Filename 'update.img'.
Download to address: 0x2000000
Downloading: T T T T T T T T T T T T T T T T T T T T
Retry count exceeded; starting again
Using ambarella mac device
TFTP from server 192.168.1.104; our IP address is 192.168.1.108
Download Filename 'update.img'.
Download to address: 0x2000000
Downloading: T T T T T T T T T T T T T T T T T T T T
Retry count exceeded; starting again
Dest address:0x14f09fe5 invalid!
Outside available Flash
flwrite error 1!
насколько я заметил, то буквы "T" означают что файл не скачивается.
Далее идет Retry count exceeded; starting again что значит "Превышено количество повторов; начинаю заново"
а значит что файл не скачан.
Когда файл скачивается то статус "#" а не "T"
 

Seem

Active member
насколько я заметил, то буквы "T" означают что файл не скачивается.
Далее идет Retry count exceeded; starting again что значит "Превышено количество повторов; начинаю заново"
а значит что файл не скачан.
Когда файл скачивается то статус "#" а не "T"
я думал что это (Т) шкала скачивания


setenv dh_keyboard 0
setenv appauto 0
saveenv
reset
и после этого весь лог загрузки сюда под спойлер покажите
Ок! Вечером по-пробую на другом компе, потом сделаю лог и кину сюда
 

Seem

Active member
сделал
MMC: sdmmc init
Hit any key to stop autoboot: 0
setenv dh_keyboard 0
setenv appauto 0
saveenv
Saving Environment to SPI Flash...
Erasing SPI flash...
Writing to SPI flash...
done
resetting ...


U-Boot 2010.06-svn4707 (Jul 20 2017 - 11:37:30)
I2C: ready
DRAM: 118 MiB
gBootLogPtr:00b80008.
spinor flash ID is 0xc21920c2
partition file version 2
rootfstype squashfs root /dev/mtdblock5
can not search bootargs settings
fail to parse bootargsParametersV2.text info
fail to init bootargsParametersV2
TEXT_BASE:01000000
Net: Detected MACID:e0:50:8b:d2:3b:d4
PHY:0x001cc816,addr:0x00
s3l phy RTL8201 init

MMC: sdmmc init
Using ambarella mac device
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending throu
gh gateway 192.168.1.1
Download Filename 'upgrade_info_7db780a713a4.txt'.
Download to address: 0x5000000
Downloading: *
Retry count exceeded; starting again
Try again use backup_serverip
Using ambarella mac device
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending throu
gh gateway 192.168.1.1
Download Filename 'upgrade_info_7db780a713a4.txt'.
Download to address: 0x5000000
Downloading: *
Retry count exceeded; starting again
string value is 0
AUF_getValidLine, the end of file
Failed to get a Line;Crc check error!
PreProcess data error!
Init error!
Using ambarella mac device
TFTP from server 192.168.254.254; our IP address is 192.168.1.108; sending throu
gh gateway 192.168.1.1
Download Filename 'failed.txt'.
Download to address: 0x2000000
Downloading: *
Retry count exceeded; starting again
Support backupVer:255
state:ff,err_count:01
SPI probe: 32768 KiB MX25L25645G at 0:0 is now current device
## Booting kernel from Legacy Image at 02000000 ...
Image Name: Linux-3.10.73
Created: 2020-06-04 12:48:23 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1584704 Bytes = 1.5 MiB
Load Address: 00208000
Entry Point: 00208000
Verifying Checksum ... OK
Loading Kernel Image ...OK
OK
partition file version 2
rootfstype squashfs root /dev/mtdblock5
fail to load bootargsParameters.txt
fail to load bootargsParameters.txt file
get bootargs info failed
crashflasg:1, logmagic:54410011.

Starting kernel ...
Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpu
Linux version 3.10.73 (jenkins@4d6d767af920) (gcc version 5.2.1 20151005 (Linaro
GCC 5.2-2015.11-2) ) #2 PREEMPT Thu Jun 4 20:48:12 CST 2020
CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Ambarella S3L (Flattened Device Tree), model: Ambarella S3L Olive Board

os ----- 200000 , 7600000
logmem start:777e000, size:80000.
network type:1.
init gLogRamRes: start=0x777e000;size=0x80000
Memory policy: ECC disabled, Data cache writeback
Ambarella: AHB = 0xe0000000[0xe0000000],0x01000000 0
Ambarella: APB = 0xe8000000[0xe8000000],0x01000000 0
Ambarella: PPM = 0x00000000[0xdfe00000],0x00200000 9
Ambarella: AXI = 0xf0000000[0xf0000000],0x00030000 0
Ambarella: DRAMC = 0xdffe0000[0xef000000],0x00020000 0
Ambarella: DBGBUS = 0xec000000[0xec000000],0x00200000 0
Ambarella: DBGFMEM = 0xee000000[0xee000000],0x01000000 0
Ambarella: IAVMEM = 0x07800000[ ],0x18800000
Ambarella: FBMEM = 0x00000000[ ],0x00000000
CPU: All CPU(s) started in SVC mode.
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 29972
Kernel command line: console=ttyS0,115200 mem=118M root=/dev/mtdblock5 rootfstyp
e=squashfs init=/linuxrc
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 118MB = 118MB total
Memory: 114908k/114908k available, 5924k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0x87800000 - 0xff000000 (1912 MB)
lowmem : 0x80000000 - 0x87600000 ( 118 MB)
modules : 0x7f000000 - 0x80000000 ( 16 MB)
.text : 0x80008000 - 0x803b6e08 (3772 kB)
.init : 0x803b7000 - 0x803d3504 ( 114 kB)
.data : 0x803d4000 - 0x803feca0 ( 172 kB)
.bss : 0x803feca0 - 0x80423538 ( 147 kB)
NR_IRQS:240
sched_clock: 32 bits at 72MHz, resolution 13ns, wraps every 59652ms
Console: colour dummy device 80x30
console [ttyS0] enabled
Calibrating delay loop... 812.64 BogoMIPS (lpj=4063232)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x802d44b0 - 0x802d44f4
devtmpfs: initialized
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
L310 cache controller enabled
l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x32020000, Cache size: 131072 B
ambarella-pinctrl e8009000.pinctrl: Ambarella pinctrl driver registered
ambarella-gpio gpio.0: Ambarella GPIO driver registered
bio: create slab <bio-0> at 0
ambarella-dma e0005000.dma: Ambarella DMA Engine
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource ambarella-cs-timer
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
squashfs: version 4.0 (2009/01/31) Phillip Lougher
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 224
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
e8005000.uart: ttyS0 at MMIO 0xe8005000 (irq = 61) is a ambuart
ambarella-uart e0032000.uart: Serial[1] use txdma
ambarella-uart e0032000.uart: Serial[1] use rxdma
e0032000.uart: ttyS1 at MMIO 0xe0032000 (irq = 80) is a ambuart
Ambarella read-only mtdblock
mtd .name = amba_spinor, .size = 0x2000000 (32MiB) .erasesize = 0x00010000 (64Ki
B) .numeraseregions = 0
16 ofpart partitions found on MTD device amba_spinor
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!
SPI NOR Controller probed
PPP generic driver version 2.4.2
NET: Registered protocol family 24
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-ambarella: AMBARELLA-EHCI Host Controller driver
ambarella-ehci e0018000.ehci: EHCI Host Controller
ambarella-ehci e0018000.ehci: new USB bus registered, assigned bus number 1
ambarella-ehci e0018000.ehci: irq 66, io mem 0xe0018000
ambarella-ehci e0018000.ehci: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 3.10.73 ehci_hcd
usb usb1: SerialNumber: AmbUSB
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mousedev: PS/2 mouse device common for all mice
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (1795 buckets, 7180 max)
ctnetlink v0.93: registering with nfnetlink.
xt_time: kernel timezone is -0000
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP: bic registered
NET: Registered protocol family 10
ip6_tables: (C) 2000-2006 Netfilter Core Team
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
ThumbEE CPU extension supported.
VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
devtmpfs: mounted
Freeing unused kernel memory: 112K (803b7000 - 803d3000)
полностью не поместился , прилепил файлом , лог продолжается до бесконечности
 

Вкладення

Техпідтримка VidiMost.com

Спеціаліст
Команда форуму
похоже на проблему flash памяти. я бы попробовал на программаторе записать дамп и перезалить id данные через uart. Старый дамп нужно обязательно сохранить!
 
Реакції: Seem
Статус
Закрита.
Зверху