Перезагрузка Spymax RA-0608AL по watchdog-у

fobos
Сообщения: 181
Зарегистрирован: 04 апр 2016, 23:55

Перезагрузка Spymax RA-0608AL по watchdog-у

Сообщение fobos » 14 мар 2017, 01:21

Принесли очередной регистратор Spymax RA-0608AL. Аппарат загружается, логотип не отображается (может так и надо?), на экране проскакивает отображение названий камер, дата/время (дата правильная, время не тикает), а затем просто ячейки без названия каналов, без отображения даты/времени, USB-мыша не работает и через 5 минут рег уходит в перезагрузку. При этом видео с камер в реалтайме отображается. Если есть у кого-нить прошивка на этот аппарат, буду признателен :) Дамп еще не слил, т.к. пока нет программатора на многолапую NOR Flash, буду пробовать слить на TFTP. Логи хелпа и окружения:

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

DVR> # help
?       - alias for 'help'
base   - print or set address offset
boot    - boot default, i.e., run 'bootcmd'
bootd   - boot default, i.e., run 'bootcmd'
bootm   - boot application image from memory
bootp   - boot image via network using BOOTP/TFTP protocol
cmp   - memory compare
cp   - memory copy
crc32   - checksum calculation
jpgd   - decode jpeg picture.
erase   - erase FLASH memory
ext2load- load binary file from a Ext2 filesystem
ext2ls  - list files in a directory (default /)
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls   - list files in a directory (default /)
flinfo  - print FLASH memory information
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'
help    - print online help
hwid      - set hardware id and save to flash
lip      - set local ip address but not save to flash
loadb   - load binary file over serial line (kermit mode)
loady   - load binary file over serial line (ymodem mode)
loop   - infinite loop on address range
ls   - list files in a directory (default /)
mac      - set mac address and save to flash
md   - memory display
mii     - MII utility commands
mm   - memory modify (auto-incrementing)
mtest   - simple RAM test
mw   - memory write (fill)
nand - NAND sub-system
nboot   - boot from NAND device
netrep     - report net up progress
netup     - update the system via net, without console
nm   - memory modify (constant address)
ping   - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
reset   - Perform RESET of the CPU
run     - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv  - set environment variables
setenv  - set environment variables
setvobg   - set vo backgroud color.
   - setvobg [dev color]sip      - set server ip address but not save to flash
startgx   - open graphics layer.
   - startgx [layer addr stride x y w h]
startvo   - open interface of vo device.
   - startvo [dev type sync]stopgx   - close graphics layer.
   - stopgx [layer]stopvo   - close interface of vo device.
   - stopvo [dev]tftp   - download or upload image via network using TFTP protocol
usb     - USB sub-system
usbboot - boot from USB device
version - print monitor version
ydump   - YAFFS device struct
yls   - yaffs ls
ymkdir   - YAFFS mkdir
ymount   - mount yaffs
ymv   - YAFFS mv
yrd   - read file from yaffs
yrdm   - read file to memory from yaffs
yrm   - YAFFS rm
yrmdir   - YAFFS rmdir
yumount   - unmount yaffs
ywr   - write file to yaffs
ywrm   - write file from memory to yaffs
====================================================================================



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

DVR> # printenv
bootargs=mem=128M  console=ttyAMA0,115200 root=1f01 rootfstype=cramfs mtdparts=physmap-flash.0:512K(boot),4M(rootfs),6M(user),2M(web),128K(custom),256K(logo),640K(config) busclk=230000000 user_debug=0x1f
version=010
bootcmd=netup; fsload; bootm 0xc1000000
bootdelay=3
baudrate=115200
ipaddr=192.168.1.10
serverip=192.168.1.1
dh_keyboard=1
appauto=1
da=tftp 0xc1000000 u-boot.bin.img;protect off all; flwrite
dr=tftp 0xc1000000 romfs-x.cramfs.img; flwrite
dc=tftp 0xc1000000 custom-x.cramfs.img; flwrite
du=tftp 0xc1000000 user-x.cramfs.img; flwrite
dw=tftp 0xc1000000 web-x.cramfs.img; flwrite
dl=tftp 0xc1000000 logo-x.cramfs.img; flwrite
up=tftp 0xc1000000 update.img; flwrite
tk=tftp 0xc1000000 uImage; bootm 0xc1000000
gatewayip=10.6.0.1
netmask=255.255.0.0
bootfile=boot/uImage
ID=0000000000000
ethaddr=52:54:4c:f7:2f:bb
stdin=serial
stdout=serial
stderr=serial
verify=n
ver=U-Boot 2008.10 (Sep  2 2010 - 09:07:51)

Environment size: 920/131068 bytes
==========================================================================



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

[color=#0000FF]ВЫВОД appauto 0/dh_keyboard 1[/color]

U-Boot 2008.10 (Sep  2 2010 - 09:07:51)

DRAM:  256 MB
Flash: 16 MB
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
Hisilicon ETH net controler
MAC:   52-54-4C-F7-2F-BB
UP_PORT : phy status change : LINK=DOWN : DUPLEX=FULL : SPEED=100M
UP_PORT : phy status change : LINK=UP : DUPLEX=FULL : SPEED=100M
Timeout
### CRAMFS loading 'boot/uImage' to 0xc1000000
### CRAMFS load complete: 1760036 bytes loaded to 0xc1000000
## Booting kernel from Legacy Image at c1000000 ...
   Image Name:   Linux-2.6.24-rt1-hi3515v100
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1759972 Bytes =  1.7 MB
   Load Address: c0800000
   Entry Point:  c0800000
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux.............................................................                                                  ................................................. done, booting the kernel.
Linux version 2.6.24-rt1-hi3515v100 (nils@localhost.localdomain) (gcc version 3.                                                  4.3 (release) (CodeSourcery ARM Q3cvs 2004)) #157 Wed May 26 12:58:03 CST 2010
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: hi3515v100
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: mem=128M  console=ttyAMA0,115200 root=1f01 rootfstype=cramf                                                  s mtdparts=physmap-flash.0:512K(boot),4M(rootfs),6M(user),2M(web),128K(custom),2                                                  56K(logo),640K(config) busclk=230000000 user_debug=0x1f dh_keyboard=0 mac=52:54:                                                  4c:f7:2f:bb
PID hash table entries: 512 (order: 9, 2048 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 126208KB available (3192K code, 279K data, 100K init)
Mount-cache hash table entries: 512
HI_VERSION=LINUX_2_6_24-M01C06FB02F @Hi3515v100R001_C_0_0_0 2010-02-24 15:36:54
config gpio alternate
kernel : set gpio0-5 to smi
CPU: Testing write buffer coherency: ok
net_namespace: 64 bytes
NET: Registered protocol family 16
ARRAY_SIZE(amba_devs) = 3
Hisilicon clock system V0.01
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
Time: hisi_timer1 clocksource has been installed.
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
yaffs May 17 2010 10:08:34 Installing.
io scheduler noop registered
io scheduler deadline registered (default)
Serial: AMBA PL011 UART driver
uart:0: ttyAMA0 at MMIO 0x20090000 (irq = 12) is a AMBA/PL011
console [ttyAMA0] enabled
uart:1: ttyAMA1 at MMIO 0x200a0000 (irq = 12) is a AMBA/PL011
uart:2: ttyAMA2 at MMIO 0x200b0000 (irq = 13) is a AMBA/PL011
RAMDISK driver initialized: 4 RAM disks of 16384K size 4096 blocksize
loop: module loaded
PPP generic driver version 2.4.2
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
hi3515-ahci-device hi3515-ahci-device.: controller can't do NCQ, turning off CAP                                                  _NCQ
scsi0 : hi3515-ahci-device
scsi1 : hi3515-ahci-device
ata1: SATA max UDMA/133 irq 29
ata2: SATA max UDMA/133 irq 29
ata1: SATA link down (SStatus 0 SControl 300)
ata2: SATA link down (SStatus 0 SControl 300)
physmap platform flash device: 04000000 at 80000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
physmap-flash.0: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
7 cmdlinepart partitions found on MTD device physmap-flash.0
Creating 7 MTD partitions on "physmap-flash.0":
0x00000000-0x00080000 : "boot"
0x00080000-0x00480000 : "rootfs"
0x00480000-0x00a80000 : "user"
0x00a80000-0x00c80000 : "web"
0x00c80000-0x00ca0000 : "custom"
0x00ca0000-0x00ce0000 : "logo"
0x00ce0000-0x00d80000 : "config"
hi3515v100-ehci hi3515v100-ehci.0: hi3515v100-ehci
hi3515v100-ehci hi3515v100-ehci.0: new USB bus registered, assigned bus number 1
hi3515v100-ehci hi3515v100-ehci.0: irq 23, io mem 0x100b0000
hi3515v100-ehci hi3515v100-ehci.0: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
hi3515v100-ohci hi3515v100-ohci.0: hi3515v100-ohci
hi3515v100-ohci hi3515v100-ohci.0: new USB bus registered, assigned bus number 2
hi3515v100-ohci hi3515v100-ohci.0: irq 22, io mem 0x100a0000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing init memory: 100K
init started:  BusyBox v1.1.2 (2010.05.26-05:32+0000) multi-call binary
[RCS]: /etc/init.d/S00devs
[RCS]: /etc/init.d/S01udev
[RCS]: /etc/init.d/S98
mount: Mounting /dev/mtdblock5 on /mnt/logo failed: Invalid argument
Hisilicon ETH net controler(ver Jun 10 2010 14:16:34).
Hisilicon ETH MDIO Bus: probed
HW-MAC Address: 52:54:4C:F7:2F:BB
[RCS]: /etc/init.d/S99
Hisilicon Media Memory Zone Manager
gpio-i2c Aug  4 2010, 15:12:48
hifb: module license 'Proprietary' taints kernel.
hifb info: HIFB_MAIN_VERSION[v1.0.0.2] Build Time[Aug 11 2010, 18:11:30]
hifb info: video:vram0_size=2621440,vram2_size=835584
hifb info: succeed in registering the fb0: ovl0 frame buffer device
hifb info: succeed in registering the fb1: ovl2 frame buffer device
TDE_MAIN_VERSION[v2.0.0.0] Build Time[Aug 11 2010, 18:11:32]
TDE_ADP_VERSION[hi3515adp v2.0.0.0] Build Time[Aug 11 2010, 18:11:32]
tde run on master arm
tde run for graphic service
tde map reg:basePhyAddr:20140000 baseVirAddr:c8894000 size:3000
Hisilicon UMAP device driver interface: v3.00
Chip Version: Hi35150100
load vd.ko ....OK!
load vou.ko ....OK!
load vdec.ko ....OK
load vpp.ko ....OK!
load md.ko....OK!
load h264d.ko OK
gpio_init===> 46
*** Board tools : ver0.0.1_20060106  ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20110104: 0x00009654 --> 0x00009654
*** Board tools : ver0.0.1_20060106  ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20110100: 0x00000887 --> 0x00000887
*** Board tools : ver0.0.1_20060106  ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x2011010c: 0x00000003 --> 0x00000003
*** Board tools : ver0.0.1_20060106  ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20110110: 0x00000007 --> 0x00010603
*** Board tools : ver0.0.1_20060106  ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20110114: 0x00000007 --> 0x00010603
*** Board tools : ver0.0.1_20060106  ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20110118: 0x00010F01 --> 0x00000007
*** Board tools : ver0.0.1_20060106  ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x2011011c: 0x00010F01 --> 0x00000007
*** Board tools : ver0.0.1_20060106  ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20110128: 0x00010020 --> 0x00010020
*** Board tools : ver0.0.1_20060106  ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x2011012c: 0x000103A2 --> 0x00010601
*** Board tools : ver0.0.1_20060106  ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20110130: 0x00000005 --> 0x00010803
*** Board tools : ver0.0.1_20060106  ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20110134: 0x00000007 --> 0x00000007
*** Board tools : ver0.0.1_20060106  ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20110138: 0x00010804 --> 0x00010804
*** Board tools : ver0.0.1_20060106  ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x2011013c: 0x00000007 --> 0x00000007
*** Board tools : ver0.0.1_20060106  ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20050078: 0x00000000 --> 0x00008002
*** Board tools : ver0.0.1_20060106  ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x20050054: 0x00000002 --> 0x00001573
*** Board tools : ver0.0.1_20060106  ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x200f0094: 0x00000000 --> 0x00000001
*** Board tools : ver0.0.1_20060106  ***
[debug]: {source/utils/cmdshell.c:166}cmdstr:himm
0x200f0098: 0x00000000 --> 0x00000001
LIBDVR :  Version : V6V5V4:010
--------------------------------------------------------------------
netint [ethname] [Ipaddress] [Netmask] [Gateway]
Example for set all(ip, netmask, gateway):
netinit eth0 192.168.1.100 255.255.0.0 192.168.1.1
Example for set ip :
netinit 192.168.1.34
Example for set netmask :
netinit NULL 255.255.0.0(keep original ip)
----------------------------------------------------------netinit uses obsolete (PF_INET,SOCK_PACKET)
----------
Ip = 192.168.1.108, Netmask = 255.255.255.0, Gateway =  192.168.1.1
mac : 52-54-4c-f7-2f-bb
Utils : Current Network Seting===>
Ip = 192.168.1.108
Netmask = 255.255.255.0
Gateway = 192.168.1.1
Name: upgraded, bulid date: Apr 21 2010 10:17:47, version: 1.03.0, author: nils
++++Start pppd,Version 1.42 2009-08-05+++
Utils : Auto  start program
main 73 pid 955 enter
22:32:37|trace main(2, /var/Challenge buf)
LIBDVR :  Version : V6V5V4:010
LIBDVR : 2017-3-13, today is weekday 1 time:22:32:38
LIBDVR : DvrShowInformation
LIBDVR : DvrGetHwidInformation(PRODUCT_TYPE) = 0
**********************************************************************
|                          SYSTEM INFORMATION
|         libdvr version:       1.06.0 - Sep 27 2010 13:29:27
|                 DVR ID:       0x0000000000000000
|           product type:       LE-AX
|          video channel:       8
|          audio channel:       4
|               alarm in:       8
|              alarm out:       3
|             video chip:       TW2867
|               DSP chip:       Hi3515
|      analog audio mode:       tw28XX control
|         audio surpport:       Yes
|        matrix surpport:       No
|          loop surpport:       No
|    video tour surpport:       Yes
|              real time:       Yes
|         disk interface:       SATA
|           LCD surpport:       No
|          CDRW surpport:       Yes
|       hardware version:       1
|        audio interface:       alt
|               disk num:       1
|               net card:       0
|                dsp num:       1
|          playback num:        8
**********************************************************************
22:32:38|traPHY: 0:00 - Link is Upce CVersion::CVe - 100/Fullrsion()>>>>>>>>>

22:32:38|trace Challenge Version Info:2.606.0000.4 BuildDate 2010-12-01 20:03:41
22:32:38|trace CChallenger::CChallenger()>>>>>>>>>

***************************************************************************
*  Lua Engine Version: Lua 5.0.2
*  Supported Language: Russian
* SupportedVideoStand: PAL
***************************************************************************

CDevFrontboard::CDevFrontboard()>>>>
LIBDVR : Frontboard use ttyAS2
22:32:38|trace CThreadManager::CThreadManager()>>>>>>>>>
CDevFrontboard::ThreadProc 96 pid 957 enter
######iCount=1
>>>>>>>>>>>>>has audio 1 , MatrixBoard has 0 loop
--------g_CapsEx.ForATM = 0----------
22:32:38|trace CTimerManager::CTimerManager()>>>>>>>>>
22:32:38|trace CDeviceManager::CDeviceManager()>>>>>>>>>
22:32:38|trace CDeviceManager::Shifb info:  vo max resolution w:1280 h:1024
hifb info: The layer is show(1) now!

######iCount=2
keepalive keys[1] = 0xahifb info:  vo max resolution w:720 h:576

keepalive keyshifb info: The layer is show(1) now!
[1] = 0xa
CDevMouse::ThreadProc 39 pid 960 enter
22:32:38|trace CPacketManager::CPacketManager()>>>>>>>>>
22:32:38|trace CPacketManager::CPacketManager() m_nPages = 16384>>>>>>>>>
CDevPtz::ThreadProc 50 pid 962 enter
libvos.a Ver: 0.0 Compiled At Nov  3 2010 15:56:18
Adjust HD Csc luma:50, contra:46, hue:50, sat:58
libvos.a GetConfiguration() 2634  New Resolution Width:1280 Height:1024, Vstd:NTSC, OutType:VGA TV
libvos.a GetDefaultCSC() 1823  ===============Vo:0 CsC===================
libvos.a GetDefaultCSC() 1830  Get LUMA, Vo:0 Val:50
libvos.a GetDefaultCSC() 1843  Get CONTR, Vo:0 Val:54
libvos.a GetDefaultCSC() 1856  Get HUE, Vo:0 Val:49
libvos.a GetDefaultCSC() 1869  Get SATU, Vo:0 Val:55
libvos.a GetDefaultCSC() 1823  ===============Vo:2 CsC===================
libvos.a GetDefaultCSC() 1830  Get LUMA, Vo:2 Val:50
libvos.a GetDefaultCSC() 1843  Get CONTR, Vo:2 Val:55
libvos.a GetDefaultCSC() 1856  Get HUE, Vo:2 Val:50
libvos.a GetDefaultCSC() 1869  Get SATU, Vo:2 Val:49
libvos.a SetCSC() 1901  Get LUMA, Vo:0 Val:50
libvos.a SetCSC() 1921  Get CONTR, Vo:0 Val:46
libvos.a SetCSC() 1941  Get HUE, Vo:0 Val:50
libvos.a SetCSC() 1961  Get SATU, Vo:0 Val:58
HIVosTask in :VideoCtrlTaskFunc() 2859 pid 963
+++++AudioCreate:audio_talk_mux = 1++++
libcap.a : CaptureGetChannels 1511 info : total_chip = 1, total_chl = 8, per_chip = 8, audio_talk_mux = 1++++
libplay.a MaxPlayChannels:8
+++++mafei: audio_chl = 4++++++
libplay.a Ver: V0.00.0 Compile at Nov 10 2010 14:44:33
libplay.a MaxPlayChannels:8
libplay.a MaxPlayChannel:8
HIDecTask in :PlayCmdThread() 285 pid 964
HIStreamTask in :PlayStreamThread() 597 pid 965
*stvid ch:0  User:4155d008,Kernel:4155d008,Read_p:0,Write_p:0,PESSize:40000*
*stvid ch:1  User:4159e008,Kernel:4159e008,Read_p:0,Write_p:0,PESSize:40000*
*stvid ch:2  User:415df008,Kernel:415df008,Read_p:0,Write_p:0,PESSize:40000*
*stvid ch:3  User:41620008,Kernel:41620008,Read_p:0,Write_p:0,PESSize:40000*
*stvid ch:4  User:41661008,Kernel:41661008,Read_p:0,Write_p:0,PESSize:40000*
*stvid ch:5  User:416a2008,Kernel:416a2008,Read_p:0,Write_p:0,PESSize:40000*
*stvid ch:6  User:416e3008,Kernel:416e3008,Read_p:0,Write_p:0,PESSize:40000*
*stvid ch:7  User:41724008,Kernel:41724008,Read_p:0,Write_p:0,PESSize:40000*


***********************************************************************
*   libhicap.a  version: v1.03.1   svn: 1272  Compile at: 15:38:23 Dec  1 2010
*   max channel: 32

*************************************************************************
define HOST_HI35XX
define SIMPLE_DATA_PROCESS
define ADRESET_BEFORE_HI35XX
define HI35XX_CX25838_FRAME
define HI35XX_NEW_TIMEOSD
define HI35XX_16_SUBCHN
define HI35XX_16_NOVERIFYFRAME
libcap.a : CaptureCreate 1137 info : in
libcap.a : CaptureCreate 1200 info : out
22:32:38|trace PreRecLen = 4096
+++++AudioInCreate:audio_talk_mux = 1++++
CAudioInManager::ThreadProc 187 pid 966 enter
+++++AudioInCreate:audio_talk_mux = 1++++
+++++AudioInCreate:audio_talk_mux = 1++++
+++++AudioInCreate:audio_talk_mux = 1++++
22:32:38|trace Packet usage : 0K / 16384K, 0%
22:32:38|trace
----------------------[03-13 22:32:38]
==>CPacketManager: allocate buffer:0x00F21F74 size:167936
22:32:41|trace CLocales::CLocales()>>>>>>>>>
22:32:42|trace CGeneral::CGeneral()>>>>>>>>>
22:32:42|trace CGeneral::Start()>>>>>>>>>
libvos.a SplitSetVstd() 3433  dwStandard:0

    ------------------------------------------------------------
| [Tw2867 && Cx25838 ]  V1.00.0 for 8 chs, compile time  Nov 17 2010 19:23:30 |
    ------------------------------------------------------------

The video type is PAL!

GpioWrite(0,7,0) ret = 0
GpioWrite(0,7,1) ret = 0
-->Libfvideo  tw2864_init  N_CHIPS = 2 <----!
lib28xx.a dvr_ver 2
-->3511 Libfvideo  tw2864_init_reg<----!
lib28xx.a dvr_ver 2
-->3511 Libfvideo  tw2864_init_reg<----!
-->Libfvideo  VideoSetVstd<----!
libvos.a GraphicsSetVstd() 3122  dwStandard 0
libvos.a GraphicsSetAlpha() 3201  alpha:200 delta:0
libcap.a : PCICreate 900 info : local chip
hidemo : cmd_h2d_host_connected 2380 info : ****************************************
hidemo : cmd_h2d_host_connected 2381 info : *****g_SYS_CHN = 8 g_SYS_ACHN = 4 g_SYS_CHIP = 0 g_TOTAL_CHN = 8*****
hidemo : cmd_h2d_host_connected 2382 info : g_SYS_CHN = 8   g_SYS_CHIP = 0 g_TOTAL_CHN = 8 g_PROC_TYPE = 0
hidemo : cmd_h2d_host_connected 2383 info : ****************************************
hislave : HiSlaveThreadCreate 53 info : nPriority = 0, name : AVencGetStream
hislave : AVencGetStream 9700 info : pid 967
hislave : HiSlaveThreadCreate 209 info : policy = 0, nPriority = 50, name : AVencGetStream
hislave : HiSlaveThreadCreate 53 info : nPriority = 0, name : MdGetStream
hislave : MdGetStream 790 info : pid 968
hislave : HiSlaveThreadCreate 209 info : policy = 0, nPriority = 50, name : MdGetStream
hislave : HiSlaveThreadCreate 53 info : nPriority = 0, name : showDatatimeOSD_thread
hidemo : showDatatimeOSD_thread 1338 info : pid 970
hislave : HiSlaveThreadCreate 209 info : policy = 0, nPriority = 50, name : showDatatimeOSD_thread
hislave : HiSlaveThreadCreate 53 info : nPriority = 0, name : JPEGCapStream
hislave : JPEGCapStream 10948 info : chn 0 pid 971
hislave : HiSlaveThreadCreate 209 info : policy = 0, nPriority = 50, name : JPEGCapStream
hislave : HiSlaveThreadCreate 53 info : nPriority = 0, name : JPEGCapStream
hislave : JPEGCapStream 10948 info : chn 1 pid 972
hislave : HiSlaveThreadCreate 209 info : policy = 0, nPriority = 50, name : JPEGCapStream
hislave : HiSlaveThreadCreate 53 info : nPriority = 0, name : JPEGCapStream
hislave : JPEGCapStream 10948 info : chn 2 pid 973
hislave : HiSlaveThreadCreate 209 info : policy = 0, nPriority = 50, name : JPEGCapStream
hislave : HiSlaveThreadCreate 53 info : nPriority = 0, name : JPEGCapStream
hislave : JPEGCapStream 10948 info : chn 3 pid 974
hislave : HiSlaveThreadCreate 209 info : policy = 0, nPriority = 50, name : JPEGCapStream
hislave : AVencGetStream 9806 error : T1000 created == NULL
hislave : HiSlaveThreadCreate 53 info : nPriority = 0, name : JPEGCapStream
hislave : JPEGCapStream 10948 info : chn 4 pid 975
hislave : HiSlaveThreadCreate 209 info : policy = 0, nPriority = 50, name : JPEGCapStream
hislave : AVencGetStream 9806 error : T1000 created == NULL
hislave : AVencGetStream 9806 error : T1000 created == NULL
hislave : AVencGetStream 9806 error : T1000 created == NULL
hislave : HiSlaveThreadCreate 53 info : nPriority = 0, name : JPEGCapStream
hislave : JPEGCapStream 10948 info : chn 5 pid 976
hislave : HiSlaveThreadCreate 209 info : policy = 0, nPriority = 50, name : JPEGCapStream
hislave : AVencGetStream 9806 error : T1000 created == NULL
hislave : AVencGetStream 9806 error : T1000 created == NULL
hislave : HiSlaveThreadCreate 53 info : nPriority = 0, name : JPEGCapStream
hislave : JPEGCapStream 10948 info : chn 6 pid 977
hislave : HiSlaveThreadCreate 209 info : policy = 0, nPriority = 50, name : JPEGCapStream
hislave : AVencGetStream 9806 error : T1000 created == NULL
hislave : HiSlaveThreadCreate 53 info : nPriority = 0, name : JPEGCapStream
hislave : JPEGCapStream 10948 info : chn 7 pid 978
hislave : HiSlaveThreadCreate 209 info : policy = 0, nPriority = 50, name : JPEGCapStream
22:32:42|trace CGUI::Start()>>>>>>>>>
GraphicsGetBuffer() layer:0 :Addr:0x41001000 pitch:2560 format:0 22:32:42|trace ==========================
22:32:42|trace mem = 0x41001000 0x00000038 0x00e76898
22:32:42|trace pitch = 2560
22:32:42|trace width = 1280
22:32:42|trace height = 1024
22:32:42|trace foramt = 0
22:32:42|trace ==========================
libvos.a GraphicsSetResolution() 3334  resolution 4
GraphicsGetBuffer() layer:0 :Addr:0x41001000 pitch:2560 format:0 22:32:42|trace ==========================
22:32:42|trace mem = 0x41001000 0x00000038 0x00e76898
22:32:42|trace pitch = 2560
22:32:42|trace width = 1280
22:32:42|trace height = 1024
22:32:42|trace foramt = 0
22:32:42|trace ==========================
libvos.a GraphicsSetAlpha() 3201  alpha:255 delta:0
CItemThread::ThreadProc 38 pid 979 enter
22:32:42|trace CLog::CLog()>>>>>>>>>
Data CRC ec52cd5f != calculated CRC d630404d for node at 00058fd8
22:32:42|debug tracepoint: ../../System/Log.cpp, 535.
Data CRC ec52cd5f != calculated CRC fc5c99d6 for node at 00058fd8
Data CRC ec52cd5f != calculated CRC 12ad2d21 for node at 00058fd8
22:32:42|trace CPlay::Start()>>>>>>>>>
22:32:42|trace CDisplay::CDisplay()>>>>>>>>>
22:32:42|trace CDisplay::Start()>>>>>>>>>
22:32:42|trace >>>>CAudioManager Start!!
libvos.a error SetViewPortsPositions() 2804  Unsupport split format 1 assume SPLIT1!!!


22:32:42|trace >>>>Enter CPageDesktop::CPageDesktop...
22:32:42|trace CAlarm::CAlarm()>>>>>>>>>
can't find[Hebrew] from language array.
22:32:42|trace in pagemain >>>>>>>>>
>>>>>>>>>>>>>>>>> szCard=Field1|Field2|Field3|Field4
22:32:43|trace creat first page OK the rest will be ok >>>>>>>>>
can't find[Hebrew] from language array.
22:32:43|trace CLog::SearchLog: reach the tail
22:32:43|trace The type of 0x8 log couldn't be founded!
can't find[Hebrew] from language array.
++++++++++++++++++caps.CoverBlocks = 4
;++++++++++++++++++caps.CoverBlocks = 4
;22:32:43|trace @@@@@@@@@@@@@@@@@>>>>>>>>>>>>>>WARNING!!!!!!> Same Table in same row .......
22:32:43|debug tracepoint: ../../GUI/Pages/PageConfigEvent.cpp, 446.
22:32:43|debug tracepoint: ../../GUI/Pages/PageConfigEvent.cpp, 446.
can't find[Hebrew] from language array.
++CPageImageColor::CPageImageColo:m_ShowWhiteLevel=5336344
22:32:44|trace GUI Objects:
22:32:44|trace BitmapButtons            0 x      312
22:32:44|trace Buttons                275 x      408
22:32:44|trace CheckBoxs              359 x      324
22:32:44|trace ComboBoxs              225 x      352
22:32:44|trace DateTimeCtrls           10 x      424
22:32:44|trace Edits                   42 x      372
22:32:44|trace GridCtrls                4 x      608
22:32:44|trace GroupBoxs               20 x      292
22:32:44|trace IPAddressCtrls          13 x      328
22:32:44|trace ListBoxs                16 x      412
22:32:44|trace Menus                    7 x     1960
22:32:44|trace NumberBoxs             341 x      356
22:32:44|trace NumberPads               0 x      78Data CRC ec52cd5f != calculated CRC 304f45bc for node at 00058fd8
4
22:32:44|tracUnable to handle kernel NULL pointer dereference at virtual address 00000000
e Pages         pgd = c6b30000
          90 x  [00000000] *pgd=c6b29031    464
22:32:4, *pte=000000004|trace Progress, *ppte=00000000Ctrls
 6 x      320
2Internal error: Oops: 817 [#1]
Modules linked in: consoles(P) gpio hi3515_adec(P) hi3515_aenc(P) hi3515_ao(P) hi3515_ai(P) hi3515_sio(P) hi3515_jpegd(P) hi3515_jpege(P) hi3515_h264d(P) hi3515_h264e(P) hi3515_md(P) hi3515_vpp(P) hi3515_group(P) hi3515_venc(P) hi3515_vdec(P) hi3515_chnl(P) hi3515_viu(P) hi3515_vou(P) hi3515_vd(P) hi3515_dsu(P) hi3515_sys(P) hi3515_base(P) tde(P) hifb(P) gpioi2c hidmac mmz hiether
CPU: 0    Tainted: P         (2.6.24-rt1-hi3515v100 #157)
PC is at jffs2_write_end+0x64/0x2ac
LR is at generic_file_buffered_write+0x18c/0x680
pc : [<c00f5584>]    lr : [<c0061e80>]    psr: 68000013
sp : c6b2bcc4  ip : 00000000  fp : c6b2bd14
r10: c78f6c64  r9 : 00000000  r8 : 00003790
r7 : 00000000  r6 : c7ec9400  r5 : 00000790  r4 : c78f6c38
r3 : 000007a0  r2 : c7ec9600  r1 : 00000790  r0 : c0412500
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: 0005317f  Table: c6b30000  DAC: 00000015
Process Challenge (pid: 955, stack limit = 0xc6b2a258)
Stack: (0xc6b2bcc4 to 0xc6b2c000)
bcc0:          c7c25fa8 00000000 c7c019fc 00000001 00000000 000007a0 00000790
bce0: 00000000 00000010 00000000 c029f514 00000010 00003790 00000000 00000010
bd00: 00000790 c6b2a000 c6b2bdac c6b2bd18 c0061e80 c00f5530 00000010 00000010
bd20: c0412500 c6b2bd90 00000870 c0034118 00000000 68000093 c78f6c64 00000001
bd40: 00000001 c7ec9600 00000000 00000000 c029f514 c78f6cfc c78f6c64 c029f514
bd60: c78f6cfc c7c566c0 c6b2be9c c6b2bd90 c0412500 c6b2be94 00000001 00000000
bd80: 00000010 00003790 00000000 00000000 00000000 c7c566c0 c6b2bde8 c6b2a000
bda0: c6b2be48 c6b2bdb4 c0062a18 c0061d08 00003790 00000000 c6b2bee4 00000010
bdc0: 00000000 0000000c c6b2bf14 00000000 00000000 c78f6cfc c6b2bee4 c6b2be94
bde0: c6b2be9c 00000010 00003790 00000000 00000010 00000001 c6b2be04 c002104c
be00: c003ceec 0000000c ffffffff fe170000 00001000 c6b2be80 c6b2be24 c0021ac4
be20: c6b2be9c 00003790 00000000 c6b2bee4 c78f6c64 c6b2be94 c78f6cd0 c6b2be88
be40: c6b2be4c c0062c20 c0062654 00000000 0000001f c78f6cfc c7c566c0 00000001
be60: c6b2be9c c6b2bee4 c7c566c0 c6b2be94 c6b2bf78 00000000 00000000 c6b2bf4c
be80: c6b2be90 c007f2f4 c0062bb8 00003790 00000000 01642f70 00000010 c0049634
bea0: 00000000 00000000 00000001 ffffffff c7c566c0 00000000 00000000 00000000
bec0: 00000000 c7dcc420 00000000 00000000 00000000 c7dcc420 c004c1c8 c6b2bedc
bee0: c6b2bedc 00003790 00000000 c002104c c003ceec 00000004 ffffffff fe170000
bf00: 00000010 c6b2bf10 c0130150 c012fc40 c7cda998 c035dfa4 c7dcc558 0000008c
bf20: c6b2bf44 00000010 c7c566c0 01642f70 c6b2bf78 c007f22c c6b2a000 00516d18
bf40: c6b2bf74 c6b2bf50 c007f3f0 c007f23c c00500c0 c7c566e0 c7c566c0 c6b2bf78
bf60: 00003790 00000000 c6b2bfa4 c6b2bf78 c007f550 c007f350 00003790 00000000
bf80: 00000001 00000010 0000006a 01642f70 00000004 c0022024 00000000 c6b2bfa8
bfa0: c0021e80 c007f514 00000010 0000006a 0000006a 01642f70 00000010 00000000
bfc0: 00000010 0000006a 01642f70 00000010 ffffffff 00000000 00516d18 bec0aba0
bfe0: be800000 bec0aa74 0044202c 00495168 68000010 0000006a 1d1d4b4b 8393ccc6
Backtrace:
[<c00f5520>] (jffs2_write_end+0x0/0x2ac) from [<c0061e80>] (generic_file_buffered_write+0x18c/0x680)
[<c0061cf8>] (generic_file_buffered_write+0x4/0x680) from [<c0062a18>] (__generic_file_aio_write_nolock+0x3d4/0x560)
[<c0062644>] (__generic_file_aio_write_nolock+0x0/0x560) from [<c0062c20>] (generic_file_aio_write+0x7c/0xfc)
[<c0062ba8>] (generic_file_aio_write+0x4/0xfc) from [<c007f2f4>] (do_sync_write+0xc8/0x114)
[<c007f22c>] (do_sync_write+0x0/0x114) from [<c007f3f0>] (vfs_write+0xb0/0x148)
[<c007f340>] (vfs_write+0x0/0x148) from [<c007f550>] (sys_write+0x4c/0x7c)
 r8:00000000 r7:00003790 r6:c6b2bf78 r5:c7c566c0 r4:c7c566e0
[<c007f504>] (sys_write+0x0/0x7c) from [<c0021e80>] (ret_fast_syscall+0x0/0x2c)
 r8:c0022024 r7:00000004 r6:01642f70 r5:0000006a r4:00000010
Code: e5926150 e50b4034 e24a402c e50b303c (058cc000)
2:32:44|trace ScrollBars        ---[ end trace 017528f6b83b702b ]---
       0 x      340
22:32:44|trace SliderCtrls             17 x      424
22:32:44|trace Statics                793 x      340
22:32:44|trace TimingCtrls             38 x      368
22:32:44|trace Radios                 111 x      340
22:32:44|trace Calendars                3 x      512
22:32:44|trace TimeTable                4 x     1532
22:32:44|trace 2374 Items have been created, Total size = 861720
CItemThread::ThreadProc 38 pid 981 enter
CItemThread::ThreadProc 38 pid 982 enter
libvos.a GraphicsSetAlpha() 3201  alpha:200 delta:0
CItemThread::ThreadProc 65 pid 979 exit
22:32:44|trace CDriAuto login as root ...
close
warning: cannot change tMMB LEAK(pid=955): 0xCD5EE000, 135168 bytes, ''
o home directorymmz_userdev_release: mmb<0xCD5EE000> mapped to userspace 0x41e54000 will be force unmaped!

root login  onMMB LEAK(pid=955): 0xCD713000, 135168 bytes, ''
 `ttyS000'
mmz_userdev_release: mmb<0xCD713000> mapped to userspace 0x41ecf000 will be force unmaped!
MMB LEAK(pid=955): 0xCD838000, 135168 bytes, ''
mmz_userdev_release: mmb<0xCD838000> mapped to userspace 0x41f4a000 will be force unmaped!
MMB LEAK(pid=955): 0xCD95D000, 135168 bytes, ''
mmz_userdev_release: mmb<0xCD95D000> mapped to userspace 0x41fc5000 will be force unmaped!


BusyBox v1.1.2 (2010.05.26-05:32+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

Welcome to HiLinux.
/ $
===========================================================================================

[color=#0040FF]хелп busybox-а[/color]

/ $ help
-sh: рhelp: not found
/ $help

Built-in commands:
-------------------
        . : alias bg break cd chdir command continue echo eval exec exit
        export false fg getopts hash help jobs kill let local pwd read
        readonly return set shift times trap true type ulimit umask unalias
        unset wait

==========================================================================================

[color=#0000FF]команда mount[/color]

/ $ mount
/dev/root on / type cramfs (ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw)
/dev/mtdblock2 on /usr type cramfs (ro)
/dev/mtdblock3 on /mnt/web type cramfs (ro)
/dev/mtdblock4 on /mnt/custom type cramfs (ro)
/dev/mtdblock6 on /mnt/mtd type jffs2 (rw,sync)
/dev/mem on /var type ramfs (rw)
/ $
Вложения
RA0608AL.jpg

iTuneDVR
Сообщения: 3218
Зарегистрирован: 24 авг 2013, 11:05

Re: Перезагрузка Spymax RA-0608AL по watchdog-у

Сообщение iTuneDVR » 14 мар 2017, 01:29

Проблема может быть и не в прошивке.
В любом случае есть смысл софтово снять дамп. Вариантов несколько.
И тогда понять стоит ли трогать оригинал, да и образ лишним не будет.
Попробовать стоить скинуть конфиг, но прежде проверить батарейку, а лучше махнуть.

fobos
Сообщения: 181
Зарегистрирован: 04 апр 2016, 23:55

Re: Перезагрузка Spymax RA-0608AL по watchdog-у

Сообщение fobos » 14 мар 2017, 01:37

перед тем как копать софт проверил все шимы, LDO, батарейку - все в норме, отключил хард.

fobos
Сообщения: 181
Зарегистрирован: 04 апр 2016, 23:55

Re: Перезагрузка Spymax RA-0608AL по watchdog-у

Сообщение fobos » 14 мар 2017, 01:57

у KIFFIR-а такая же плата, только Dahua viewtopic.php?t=870

iTuneDVR
Сообщения: 3218
Зарегистрирован: 24 авг 2013, 11:05

Re: Перезагрузка Spymax RA-0608AL по watchdog-у

Сообщение iTuneDVR » 14 мар 2017, 02:05

Слиты дамп покажет, что там такое на самом деле и в каком виде оно.
У Spymax много разных вариантов было, в том числе и dahua и videopark.
Для dahua это возможно LE-AX серия, но проще увидеть это в дампе по полной.
Дамп сливаем софтом!!! Программатор не нужен!!!

Просто на волне поста из другой ветке, меня что-то повело как на видеопарк ;)

fobos
Сообщения: 181
Зарегистрирован: 04 апр 2016, 23:55

Re: Перезагрузка Spymax RA-0608AL по watchdog-у

Сообщение fobos » 14 мар 2017, 21:43

отправил в почту слитый образ

fobos
Сообщения: 181
Зарегистрирован: 04 апр 2016, 23:55

Re: Перезагрузка Spymax RA-0608AL по watchdog-у

Сообщение fobos » 14 мар 2017, 22:17

строка из лога загрузки:
mount: Mounting /dev/mtdblock5 on /mnt/logo failed: Invalid argument

вот mount:

/ $ mount
/dev/root on / type cramfs (ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw)
/dev/mtdblock2 on /usr type cramfs (ro)
/dev/mtdblock3 on /mnt/web type cramfs (ro)
/dev/mtdblock4 on /mnt/custom type cramfs (ro)
/dev/mtdblock6 on /mnt/mtd type jffs2 (rw,sync)
/dev/mem on /var type ramfs (rw)
/ $

эта строка из лога загрузки после заливки tftp logo-x.cramfs через tftp пропала и вывод mount стал:

/ $ mount
/dev/root on / type cramfs (ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw)
/dev/mtdblock2 on /usr type cramfs (ro)
/dev/mtdblock3 on /mnt/web type cramfs (ro)
/dev/mtdblock4 on /mnt/custom type cramfs (ro)
/dev/mtdblock5 on /mnt/logo type cramfs (ro)
/dev/mtdblock6 on /mnt/mtd type jffs2 (rw,sync)
/dev/mem on /var type ramfs (rw)
/ $ / $ mount

iTuneDVR
Сообщения: 3218
Зарегистрирован: 24 авг 2013, 11:05

Re: Перезагрузка Spymax RA-0608AL по watchdog-у

Сообщение iTuneDVR » 14 мар 2017, 22:35

Части из цельного образа не битые.
В конфиге данные вполне достоверные.
Сама предистория вопроса: всё работало и в один прекрасный момент бац... и после ничего не делалось кем либо?

В последнем логе, в первом посте, масса интересного.
Есть ряд расхождений....
Пробуем appauto в 0 и сброс конфига

iTuneDVR
Сообщения: 3218
Зарегистрирован: 24 авг 2013, 11:05

Re: Перезагрузка Spymax RA-0608AL по watchdog-у

Сообщение iTuneDVR » 14 мар 2017, 22:37

С монтированием там всё нормально т.к. в дампе присланном нет никакого лого.

fobos
Сообщения: 181
Зарегистрирован: 04 апр 2016, 23:55

Re: Перезагрузка Spymax RA-0608AL по watchdog-у

Сообщение fobos » 14 мар 2017, 22:45

предистория как Вы описАли...клиент божится , что никто ничего не делал.


Вернуться в «Видеорегистраторы Spymax»