LinuxForum.Fans
Тема

Прошивка-RS232

Автор: sulamit 3 сообщений 4383 просмотров
#215748

Всем привет! Помогите решить проблемку:
Есть камера(китайская, но качественная), работала, пока не начала перегружатся каждые 25сек.
С помощью службы поддержки(в Китае, знают английский), подключился к камере через RS232
Вот что в консоли видно:

text
           
U-Boot 1.1.4 (Apr  8 2009 - 11:41:01)

U-Boot code: E0500000 -> E0517540 BSS: -> E051E2BC HI_VERSION=U_BOOT_1_1_4-M08C0305B0301 @Hi3511v110_OSDrv_1_0_0_7 2009-03-18 20:44:35 RAM Configuration: Bank #0: e0000000 128 MB Flash: 16 MB In: serial Out: serial Err: serial MAC: 00-25-07-00-00-3B Hit any key to stop autoboot: 0 ## Booting image at 34100000 ... Image Name: hilinux Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 838412 Bytes = 818.8 kB Load Address: e0a00000 Entry Point: e0a00000 OK initrd_start 0x 0,initrd_end 0x 0 Starting kernel ...

Uncompressing Linux...................................................... done, booting the kernel. Kernel Early-Debug on Level 5 Linux version 2.6.14-hi3511v100dmeb-less-release (root@zhao.domain.com) (gcc version 3.4.3 (release) (CodeSourcery ARM Q3cvs 2004)) #3 Fri May 15 17:41:35 HKT 2009 CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ) Machine: Hi3511v100 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 Kernel command line: mem=72M console=ttyAMA0,115200 root=1f01 rootfstype=jffs2 mtdparts=phys_mapped_flash:2M(boot),13M(rootfs),1M(setting) PID hash table entries: 512 (order: 9, 8192 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: 72MB = 72MB total Memory: 71168KB available (1461K code, 175K data, 76K init) Mount-cache hash table entries: 512 HI_VERSION=LINUX_2_6_14-M06C0303B0103 @Hi3511v110_OSDrv_1_0_0_7 2009-03-18 20:50:52 CPU: Testing write buffer coherency: ok NET: Registered protocol family 16 Hisilicon clock system V0.01 Hisilicon PCI work at slave mode. NetWinder Floating Point Emulator V0.97 (double precision) devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au) devfs: boot_options: 0x0 JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc. Initializing Cryptographic API Serial: AMBA PL011 UART driver ttyAMA0 at MMIO 0x101f1000 (irq = 12) is a AMBA/PL011 ttyAMA1 at MMIO 0x101f2000 (irq = 13) is a AMBA/PL011 ttyAMA2 at MMIO 0x101f3000 (irq = 14) is a AMBA/PL011 io scheduler noop registered RAMDISK driver initialized: 4 RAM disks of 8192K size 1024 blocksize physmap flash device: 4000000 at 34000000 phys_mapped_flash: Found 1 x16 devices at 0x0 in 8-bit bank Amd/Fujitsu Extended Query Table at 0x0040 phys_mapped_flash: 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. 3 cmdlinepart partitions found on MTD device phys_mapped_flash Creating 3 MTD partitions on "phys_mapped_flash": 0x00000000-0x00200000 : "boot" 0x00200000-0x00f00000 : "rootfs" 0x00f00000-0x01000000 : "setting" NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 2, 16384 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered TCP bic registered VFS: Mounted root (jffs2 filesystem). Freeing init memory: 76K Hisilicon Media Memory Zone Manager Generic PHY: Registered new driver HIETHV100-M03C0301 @Hi3511v110_OSDrv_1_0_0_7 2009-03-18 20:53:51 Hisilicon ETHv100 net controler. Hisilicon ETHv100 MDIO Bus: probed Invalid HW-MAC Address: 00:00:00:00:00:00 Set Random MAC address: 92:93:10:03:90:D2 delayed to setup 512 skb queue items. NET: Registered protocol family 1 NET: Registered protocol family 17 Auto login as root ... Jan 1 00:00:04 login[163]: root login on `<NULL>0'

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

Welcome to HiLinux. killall: syslogd: no process killed killall: sd_detect: no process killed killall: msgproc: no process killed killall: vs_auto.sh: no process killed killall: vs_server: no process killed encript driver init successful! GPIO_I2C-MDC030001 @Hi3511v110_OSDrv_1_0_0_7 2009-03-18 20:53:17 HIDMAC-MDC030003 @Hi3511v110_OSDrv_1_0_0_7 2009-03-18 20:52:37 Hisilicon Watchdog Timer: 0.01 initialized. default_margin=60 sec (nowayout= 0, nodeamon= 0) HISI_WDT-MDC030001 @Hi3511v110_OSDrv_1_0_0_7 2009-03-18 20:53:26<6>HISI_WDT-MDC030001 @Hi3511v110_OSDrv_1_0_0_7 2009-03-18 20:53:26 read Prodect ID Number MSB is ff read Prodect ID Number LSB is ff check mt9d131 ID error. mt9v131 driver init fail for device init error! insmod: cannot insert `/komod/mt9d131.ko': Operation not permitted (-1): Operation not permitted HI3512 Real Time Clock Driver v0.1 aic31 driver init successful! misc_register infrared driver init successful! reset driver init successful! extalarm driver init successful! relay driver init successful! rs485 driver init successful! Init watchdog delay SDIO-M05C0302 @Hi3511v110_OSDrv_1_0_0_7 2009-03-18 20:52:44 Card stack initializing, please wait ................................

******tCurrCmdInfo.dwCurrErrorSts is 0x100 ver = May 15 2009 17:39:55 ******tCurrCmdInfo.dwCurrErrorSts is 0x100 SDIO-M05C0302 @Hi3511v110_OSDrv_1_0_0_7 2009-03-18 20:52:44 detect SD2.0 card io scheduler anticipatory registered Enumerate_card successful for card in slot 0 Check card stack end,now you can do your job...................... usbcore: registered new driver usbfs usbcore: registered new driver hub Card stack checking, please wait ................................

USB1_1-M0001C030002 @Hi3511v110_OSDrv_1_0_0_7 2009-03-18 20:52:41 ******tCurrCmdInfo.dwCurrErrorSts is 0x100 Clock to USB host has been enabled hisilicon-ohci hisilicon-ohci.0: hisilicon OHCI ******tCurrCmdInfo.dwCurrErrorSts is 0x100 hisilicon-ohci hisilicon-ohci.0: new USB bus registered, assigned bus number 1 hisilicon-ohci hisilicon-ohci.0: irq 20, io mem 0xa0000000 detect SD2.0 card hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected Enumerate_card successful for card in slot 0 Check card stack end,now you can your job...................... ******tCurrCmdInfo.dwCurrErrorSts is 0x100 ******tCurrCmdInfo.dwCurrErrorSts is 0x100 usbcore: registered new driver rt73 ******tCurrCmdInfo.dwCurrErrorSts is 0x100 ******tCurrCmdInfo.dwCurrErrorSts is 0x100 [boottab]sync ti******tCurrCmdInfo.dwCurrErrorSts is 0x100 me from RTC mmcblk0: mmc0:69b3 SD02G 1876MB /dev/mmc/blk0:RTC time 111-12-22 13:52:44 Se p1t system time as date 12221352111.44. register card! /var/log/accesslog.txt not exist,then will creat this file! /bin/vs/netconfig ipcamera delayed to setup 512 skb queue items. killall: arping: no process killed killall: udhcpc: no process killed [boottab]start sdcard detecter killall: updateddns: no process killed Plug in new SD card: /dev/mmc/blk0/part1. part num: 1 killall: ez-ipupdate: no process killed killall: gerddns: no process killed killall: upnp_map: no process killed /bin/vs umount: Couldn't umount /bin/vs/sd: Invalid argument New SD card insert. start fsck anyway. dosfsck 2.11 (12 Mar 2005) dosfsck 2.11, 12 Mar 2005, FAT32, LFN Checking we can access the last sector of the filesystem Boot sector contents: System ID " " Media byte 0xf8 (hard disk) 512 bytes per logical sector 32768 bytes per cluster 1 reserved sector First FAT starts at byte 512 (sector 1) 2 FATs, 16 bit entries 120320 bytes per FAT (= 235 sectors) Root directory starts at byte 241152 (sector 471) 512 root directory entries Data area starts at byte 257536 (sector 503) 60022 data clusters (1966800896 bytes) 63 sectors/track, 64 heads 137 hidden sectors 3841911 sectors total Starting check/repair pass. Reclaiming unconnected clusters. Starting verification pass. Checking for unused clusters. /dev/mmc/blk0/part1: 2 files, 0/60022 clusters

mount -t vfat /dev/mmc/blk0/part1 /bin/vs/sd rm -rf /bin/vs/sd/fsck*.rec [proc_log]^^^^msg_proc.c:321("VTOP_MSG_Main"): (0x0, "MSGProc V1.0.0.3(R) Start success!!") log path=mkdir -p /var/log log path=mkdir -p /bin/vs/tmpfs hi3511_base: module license 'Proprietary' taints kernel. Hisilicon UMAP device driver interface: v1.00 Chip Version: Hi35110110 TDE_MAIN_VERSION[v1.0.0.1] Build Time[Mar 20 2009, 14:53:48] TDE_ADP_VERSION[hi3511 adp v1.0.0.3] Build Time[Mar 20 2009, 14:53:48] load vpp.ko ....OK! load vdec.ko ....OK load md.ko....OK! load hi3511_h264d.ko ....OK open main_process 0 a_ad_io_0:bitwide: 3 devm audio : 0 a_ad_io_0:samplingfreq: 0 devm audio : 1 s32AiSwitch: 0 s32Enhance: 0 s32Aivolume: 10 /home/guest/IP700_Hi3512/srcAndimg/EN/hisi-vsrd.Hi12.HD/ipcam.hi3511/src/sysinfo/hi_sinfopen o.c:303 call HI_BOARD_SetValidDevNo s32I = 0,g_aszNetDevName[0] = eth0 s32Rtn = 0,s32I = 0 ,s32DevNo = 0 HI_LED_Load HI_LED_Load : 0 Started Init MP manage ! ,s32Rtn = a1238002 HiDog: Unexpected close, not stopping watchdog! -sh: nfsroot: not found ~ $

U-Boot 1.1.4 (Apr 8 2009 - 11:41:01)

U-Boot code: E0500000 -> E0517540 BSS: -> E051E2BC HI_VERSION=U_BOOT_1_1_4-M08C0305B0301 @Hi3511v110_OSDrv_1_0_0_7 2009-03-18 20:44:35 RAM Configuration: Bank #0: e0000000 128 MB Flash: 16 MB In: serial Out: serial Err: serial MAC: 00-25-07-00-00-3B Hit any key to stop autoboot: 0 hilinux #

Вобщем, все останавливается на: HiDog: Unexpected close, not stopping watchdog! -sh: nfsroot: not found ~ $

Есть идеи, как исправить такую ошибку? Как вариант, китайцы посоветовали залить прошивку(файл скинули, как-то странно, что он с расширением .pkg),- но как это сделать, не обьяснили
Я не знаю в какую область заливать...

#215950
sulamit написал:
но как это сделать, не обьяснили

документацию не дали какую-нить?

sulamit написал:
файл скинули, как-то странно, что он с расширением .pkg

покажите file <file>

sulamit написал:
Вобщем, все останавливается на:
HiDog: Unexpected close, not stopping watchdog!

это ошибка в модуле, в ванильном ядре его нет... из-за того, что он не работает, вероятно камера и перезагружается...

в общем телепатически угадать, что там китайцы напридумывали не получится

ЗЫ: плодить посты не помогает, ибо тема узкая и тех, кто в этом разбирается не много...

#216508

А если watchdog отключить?

Войдите или зарегистрируйтесь, чтобы ответить.