Ремонт: Ноутбуков, Компьютеров https://vlab.su/ |
|
Ищу help.rom или дамп на 4х канальный DVR JA-RR5104-AHD (board HI3520D_V1.99 DATE: 2015.07.18) https://vlab.su/viewtopic.php?f=270&t=110867 |
Страница 1 из 1 |
314404 [ 10 янв 2021, 00:45 ] | |
Заголовок сообщения: | Ищу help.rom или дамп на 4х канальный DVR JA-RR5104-AHD (board HI3520D_V1.99 DATE: 2015.07.18) |
Всем доброго времени суток! После обновления через USB прошивкой с сайта производителя DVR стал надолго зависать при загрузке. Терминал показал, что старая прошивка по i2c
инициализировала только Device0
HI3515 base @ 09:43:52 Nov 6 2015
GPIO I2C for HI35xx @ 09:43:52 Nov 6 2015 GPIO_PROBE_VALUE : 0x00000000 GPIO Init Succeed! input: keypad as /devices/virtual/input/input0 Keypad for HI3515 @ 09:43:51 Nov 6 2015 input: irda as /devices/virtual/input/input1 Irda for HI3515 @ 09:43:52 Nov 6 2015 I2C -------------- PROBING I2C Device0 I2C -------------- PROBED : 0x60 Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Device Detected: xxxx dev_init init successful!
пытается инициализировать Device1
HI3515 base @ 10:51:01 Aug 12 2019
GPIO I2C ack for HI35xx @ 10:51:00 Aug 12 2019 gpio_Set_VI_ADC_REFCLK ok! VI_ADC_CLK value[2:0] = 0x62727726 GPIO_PROBE_VALUE : 0x00000000 GPIO Init Succeed! input: keypad as /devices/virtual/input/input2 Keypad for HI3515 @ 10:51:00 Aug 12 2019 input: irda as /devices/virtual/input/input3 Irda for HI3515 @ 10:51:01 Aug 12 2019 I2C -------------- PROBING I2C Device0 I2C -------------- PROBED : 0x60 I2C -------------- PROBING I2C Device1 0x70 no ack 0x72 no ack 0x74 no ack 0x76 no ack Device Detected: xxxx dev_init init successful!
вот такой фигней
0x88
0x88 no ack 0x88 no ack 0x88 no ack 0x88 no ack 0x88 no ack 0x88 no ack ioctl Read Debug0x88 no ack Err !!! 0x88 no ack 0x88 no ack 0x88 no ack 0x88 no ack 0x88 no ack ioctl Read Debug0x88 no ack Err !!! 0x88 no ack 0x88 no ack 0x88 no ack 0x88 no ack 0x88 no ack ioctl Read Debug Err !!! tmpChip =0 0x62 no ack w 0x62 no ack w 0x62 no ack w 0x62 no ack w 0x62 no ack w 0x62 no ack w ioctl Write Debu0x62 no ack g Err !!! 0x62 no ack 0x62 no ack 0x62 no ack 0x62 no ack 0x62 no ack ioctl Read Debug0x62 no ack w Err !!! ... и так много много много раз Связался с китайцами, просил исправить глюк или дать старую прошивку. Китайцы это чтото.. Мало того, что email на сайте с пропущенной буквой - догадался дописал, угадал, ответили. Они честно пытались помочь, но все что они присылали в принципе было бесполезно. В конце мне заявили, что JA-R5104-AHD и JA-R5104-H это совсем разные модели, и я прошил не той прошивкой, которая кстати у них на сайте была просто 5104 без всяких букв, и теперь подумаешь, что долго загружается - пользуйся так. В общем надежды на известную китайскую фирму JUAN нет, надо искать дамп. Если вдруг у кого есть какой-нибудь DVR на такой плате Вложение: boards.jpg слейте плиз с него прошивку?Через UART это просто: После остановки загрузки U_Boot: setenv serverip 192.168.1.101 (установка IP адреса компьютера c запущенным tftp32 или tftp64) setenv ipaddr 192.168.1.10 (изменение IP адреса DVR (любой в той же подсети) sf probe 0 (Выбор SPI Flash) sf read 0x82000000 0x0 0x1000000 (Копирование содержимого flash в оперативную память) tftp 0x82000000 fullflash.bin 0x1000000 (Передача дампа 16Mb на tftp сервер) |
314404 [ 10 янв 2021, 10:39 ] | |
Заголовок сообщения: | Re: Ищу help.rom или дамп на 4х канальный DVR JA-RR5104-AHD (board HI3520D_V1.99 DATE: 2015.07.18) |
help
? - alias for 'help'
base - print or set address offset bootm - boot application image from memory bootp - boot image via network using BOOTP/TFTP protocol bzr - bzr - buzzer sound out. cmp - memory compare cp - memory copy crc32 - checksum calculation ddrp - ddrp training tools v200 ddrt - ddr training tools v200 decjpg - jpgd - decode jpeg picture. fatinfo - print information about filesystem fatload - load binary file from a dos filesystem fatls - list files in a directory (default /) getinfo - print hardware information go - start application at address 'addr' help - print command description/usage loadb - load binary file over serial line (kermit mode) loady - load binary file over serial line (ymodem mode) logo - logo - decode logo picture to show. loop - infinite loop on address range md - memory display mii - MII utility commands mm - memory modify (auto-incrementing address) mtest - simple RAM read/write test mw - memory write (fill) nm - memory modify (constant address) ping - send ICMP ECHO_REQUEST to network host printenv- print environment variables rarpboot- boot image via network using RARP/TFTP protocol reset - Perform RESET of the CPU saveenv - save environment variables to persistent storage setenv - set environment variables setvobg - setvobg - set vo backgroud color. - setvobg [dev color] sf - SPI flash sub-system startgx - startgx - open graphics layer. - startgx [layer addr stride x y w h] startvo - startvo - open interface of vo device. - startvo [dev type sync] stopgx - stopgx - close graphics layer. - stopgx [layer] stopvo - stopvo - close interface of vo device. - stopvo [dev] tftp - tftp - download or upload image via network using TFTP protocol usb - USB sub-system usbboot - boot from USB device version - print monitor version hisilicon #
printenv
bootdelay=1
baudrate=115200 bootfile="uImage" netmask=255.255.255.0 ipaddr=192.168.1.10 serverip=192.168.1.99 s00=sf probe 0 s01=sf read 0x84800000 0xc0000 0x20000 s02=sf read 0x84900000 0xe0000 0x20000 s03=logo s10=sf probe 0 s11=sf read 0x82000000 0x180000 0x280000 s12=sf read 0x81000000 0x400000 0x800000 s13=bootm 0x82000000 0x81000000 s21=bzr 200 1 s22=bzr 55 2 s23=usb start s24=fatload usb 0 0x82000000 help.rom s30=sf probe 0 s31=sf erase 0x180000 0x280000 s32=sf erase 0x400000 0xC00000 s33=sf write 0x82440000 0x400000 0xC00000 s34=sf write 0x821C0000 0x180000 0x280000 s41=bzr 55 2 s42=bzr 500 1 s43=bzr 500 5 s44=reset vout_vga=0x8C000000 vout_pal=0x8D000000 bootargs=mem=98M console=ttyAMA0,115200 root=0100 init=/linuxrc mtdparts=hi_sfc:512K(U),256K(E),256K(L),512K(C),2560K(K),12M(R) ramdisk_size=6208 bootcmd=${s00};${s01};${s02};${s03};${s10};${s11};${s12};${s13};${s21};${s22};${s23};${s24};${s30};${s31};${s32};${s33};${s34};${s41};${s42};${s43};${s44}; stdin=serial stdout=serial stderr=serial verify=n ver=U-Boot 2010.06-dirty (Aug 15 2013 - 10:07:00) Environment size: 1074/262140 bytes hisilicon #
Правильная загрузка fw ver 2.2.8.0
U-Boot 2010.06-dirty (Aug 15 2013 - 10:07:00)
Check spi flash controller v350... Found Spi(cs1) ID: 0xEF 0x40 0x18 0x00 0x00 0x00 Spi(cs1): Block:64KB Chip:16MB Name:"W25Q128B" In: serial Out: serial Err: serial Hit any key to stop autoboot: 0 16384 KiB hi_sfc at 0:0 is now current device enable_mmu_accelerate <<addr=0x84800000, size=0x40000, vobuf=0x8c000000>> <<imgwidth=800, imgheight=600, linebytes=1600>> decode success!!!! <<addr=0x84900000, size=0x40000, vobuf=0x8d000000>> <<imgwidth=720, imgheight=576, linebytes=1440>> decode success!!!! disable_mmu_accelerate 16384 KiB hi_sfc at 0:0 is now current device ## Booting kernel from Legacy Image at 82000000 ... Image Name: Linux-3.0.8 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1721432 Bytes = 1.6 MiB Load Address: 80008000 Entry Point: 80008000 ## Loading init Ramdisk from Legacy Image at 81000000 ... Image Name: JUAN root filesystem(06/11/2015) Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 6209536 Bytes = 5.9 MiB Load Address: 81000000 Entry Point: 81000000 Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Linux version 3.0.8 (root@archlinux) (gcc version 4.4.1 (Hisilicon_v100(gcc4.4-290+uclibc_0.9.32.1+eabi+linuxpthread)) ) #26 Tue Jan 21 12:24:20 SGT 2014 CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7f CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache Machine: hi3520d Memory policy: ECC disabled, Data cache writeback Built 1 zonelists in Zone order, mobility grouping on. Total pages: 23114 Kernel command line: mem=91M console=ttyAMA0,115200 root=0100 init=/linuxrc mtdparts=hi_sfc:512K(U),256K(E),256K(L),512K(C),2560K(K),12M(R) ramdisk_size=6100 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: 91MB = 91MB total Memory: 81544k/81544k available, 11640k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) DMA : 0xffc00000 - 0xffe00000 ( 2 MB) vmalloc : 0xc6000000 - 0xfe000000 ( 896 MB) lowmem : 0xc0000000 - 0xc5b00000 ( 91 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .init : 0xc0008000 - 0xc002a000 ( 136 kB) .text : 0xc002a000 - 0xc0447000 (4212 kB) .data : 0xc0448000 - 0xc0473320 ( 173 kB) .bss : 0xc0473344 - 0xc0494538 ( 133 kB) SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:128 nr_irqs:128 128 sched_clock: 32 bits at 82MHz, resolution 12ns, wraps every 52060ms Console: colour dummy device 80x30 Calibrating delay loop... 1318.91 BogoMIPS (lpj=6594560) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available devtmpfs: initialized NET: Registered protocol family 16 hw-breakpoint: found 6 breakpoint and 1 watchpoint registers. hw-breakpoint: 1 breakpoint(s) reserved for watchpoint single-step. hw-breakpoint: maximum watchpoint size is 4 bytes. Serial: AMBA PL011 UART driver uart:0: ttyAMA0 at MMIO 0x20080000 (irq = 40) is a PL011 rev2 console [ttyAMA0] enabled uart:1: ttyAMA1 at MMIO 0x20090000 (irq = 41) is a PL011 rev2 bio: create slab <bio-0> at 0 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb Switching to clocksource timer1 FS-Cache: Loaded CacheFiles: Loaded NET: Registered protocol family 2 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 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. Trying to unpack rootfs image as initramfs... rootfs image is not initramfs (junk in compressed archive); looks like an initrd Freeing initrd memory: 6064K NetWinder Floating Point Emulator V0.97 (double precision) L2cache cache controller enabled squashfs: version 4.0 (2009/01/31) Phillip Lougher fuse init (API version 7.16) msgmni has been set to 171 alg: No test for stdrng (krng) Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) io scheduler noop registered io scheduler deadline registered (default) io scheduler cfq registered brd: module loaded loop: module loaded Loading iSCSI transport class v2.0-870. SCSI Media Changer driver v0.25 ahci: SSS flag set, parallel bus scan disabled ahci ahci.0: AHCI 0001.0200 32 slots 2 ports 3 Gbps 0x3 impl platform mode ahci ahci.0: flags: ncq sntf stag pm led clo only pmp pio slum part ccc sxs boh scsi0 : ahci_platform scsi1 : ahci_platform ata1: SATA max UDMA/133 mmio [mem 0x10080000-0x1008ffff] port 0x100 irq 52 ata2: SATA max UDMA/133 mmio [mem 0x10080000-0x1008ffff] port 0x180 irq 52 Spi id table Version 1.22 Spi(cs1) ID: 0xEF 0x40 0x18 0x00 0x00 0x00 SPI FLASH start_up_mode is 3 Bytes Spi(cs1): Block:64KB Chip:16MB Name:"W25Q128B" spi size: 0x16777216 chip num: 1 6 cmdlinepart partitions found on MTD device hi_sfc Creating 6 MTD partitions on "hi_sfc": 0x000000000000-0x000000080000 : "U" 0x000000080000-0x0000000c0000 : "E" 0x0000000c0000-0x000000100000 : "L" 0x000000100000-0x000000180000 : "C" 0x000000180000-0x000000400000 : "K" 0x000000400000-0x000001000000 : "R" Fixed MDIO Bus: probed ata1: SATA link down (SStatus 0 SControl 300) himii: probed ata2: SATA link down (SStatus 0 SControl 300) Invalid HW-MAC Address: 00:00:00:00:00:00 Set Random MAC address: 82:90:9F:84:0E:2E bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011) bonding: Warning: either miimon or arp_interval and arp_ip_target module parameters must be specified, otherwise bonding will not detect link failures! see bonding.txt for details. PPP generic driver version 2.4.2 PPP Deflate Compression module registered PPP BSD Compression module registered PPP MPPE Compression module registered NET: Registered protocol family 24 SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256). CSLIP: code copyright 1989 Regents of the University of California. SLIP linefill/keepalive option. usbmon: debugfs is not available ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver hiusb-ehci hiusb-ehci.0: HIUSB EHCI hiusb-ehci hiusb-ehci.0: new USB bus registered, assigned bus number 1 hiusb-ehci hiusb-ehci.0: irq 53, io mem 0x100b0000 hiusb-ehci hiusb-ehci.0: USB 0.0 started, EHCI 1.00 hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver hiusb-ohci hiusb-ohci.0: HIUSB OHCI hiusb-ohci hiusb-ohci.0: new USB bus registered, assigned bus number 2 hiusb-ohci hiusb-ohci.0: irq 54, io mem 0x100a0000 hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected usbcore: registered new interface driver cdc_acm cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. usbcore: registered new interface driver ums-alauda usbcore: registered new interface driver ums-cypress usbcore: registered new interface driver ums-datafab usbcore: registered new interface driver ums_eneub6250 usbcore: registered new interface driver ums-freecom usbcore: registered new interface driver ums-isd200 usbcore: registered new interface driver ums-jumpshot usbcore: registered new interface driver ums-karma usbcore: registered new interface driver ums-onetouch usbcore: registered new interface driver ums-realtek usbcore: registered new interface driver ums-sddr09 usbcore: registered new interface driver ums-sddr55 usbcore: registered new interface driver ums-usbat usbcore: registered new interface driver usbserial USB Serial support registered for generic usbcore: registered new interface driver usbserial_generic usbserial: USB Serial Driver core USB Serial support registered for GSM modem (1-port) usbcore: registered new interface driver option option: v0.7.2:USB Driver for GSM modems mousedev: PS/2 mouse device common for all mice usbcore: registered new interface driver usbhid usbhid: USB HID core driver TCP cubic registered Initializing XFRM netlink socket NET: Registered protocol family 10 NET: Registered protocol family 17 NET: Registered protocol family 15 RAMDISK: squashfs filesystem found at block 0 RAMDISK: Loading 6062KiB [1 disk] into ram disk... done. VFS: Mounted root (squashfs filesystem) readonly on device 1:0. devtmpfs: mounted Freeing init memory: 136K starting pid 598, tty '': '/etc/init.d/rcS' _ _ _ _ _ _ _ _ _ _ _ _ \ _ _ _ _ _ ___ / /__/ \ |_/ / __ / - _ ___ / / / / / / _ _ _ _/ / / \_/ \_ ______ ___________\___\__________________ [RCS]: /etc/init.d/S00devs mknod: /dev/console: File exists mknod: /dev/ttyAMA0: File exists mknod: /dev/ttyAMA1: File exists [RCS]: /etc/init.d/S01udev udevd (609): /proc/609/oom_adj is deprecated, please use /proc/609/oom_score_adj instead. [RCS]: /etc/init.d/S02pppd [RCS]: /etc/init.d/S03pppoe PPPoE config [RCS]: /etc/init.d/S80network ADDRCONF(NETDEV_UP): eth0: link is not ready [RCS]: /etc/init.d/S81toe [RCS]: /etc/init.d/S98 [RCS]: /etc/init.d/S99 PHY: himii:03 - Link is Up - 100/Full ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready check sda... sda... not found check sdb... sdb... not found check sdc... sdc... not found check sdd... sdd... not found check sde... sde... not found check sdf... sdf... not found check sdg... sdg... not found check sdh... sdh... not found check sdi... sdi... not found check sdj... sdj... not found check sdk... sdk... not found check sdl... sdl... not found restore flag 1 not found. enable log not found. Hisilicon Media Memory Zone Manager hi3520D_base: module license 'Proprietary' taints kernel. Disabling lock debugging due to kernel taint Hisilicon UMAP device driver interface: v3.00 load sys.ko ...OK! Load tde.ko ...OK! load venc.ko ...OK! load group.ko ...OK! load chnl.ko ...OK! load h264e.ko ...OK! load rc.ko ...OK! load jpege.ko ...OK! load viu.ko ...OK! load vou.ko ....OK! load vpss.ko ....OK! load vda.ko ....OK! load region.ko ....OK! load vdec.ko ....OK load vhd firmware.ko OK load hdmi.ko ....OK! Load jpeg6b.ko success. (SDK_VERSION:[jpeg6bv1.0] Build Time:[Sep 29 2014, 18:04:52]) Hisilicon Watchdog Timer: 0.01 initialized. default_margin=60 sec (nowayout= 0, nodeamon= 0) HI3515 base @ 09:43:52 Nov 6 2015 GPIO I2C for HI35xx @ 09:43:52 Nov 6 2015 GPIO_PROBE_VALUE : 0x00000000 GPIO Init Succeed! input: keypad as /devices/virtual/input/input0 Keypad for HI3515 @ 09:43:51 Nov 6 2015 input: irda as /devices/virtual/input/input1 Irda for HI3515 @ 09:43:52 Nov 6 2015 I2C -------------- PROBING I2C Device0 I2C -------------- PROBED : 0x60 Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Device Detected: xxxx dev_init init successful! do you want to run app.out(y or n)? Found keypad@event0. [pre_run_app] cp [pre_run_app] chmod [pre_run_app] running... pre_run_app.sh end [pre_run_app] finish UCODEC -> IU5B0533589152 Init Serial Code: IU5B0533589152 STATIC->[GUIStatic]:154 lang0:name=English, file=0_english.fnt STATIC->[GUIStatic]:154 lang1:name=Chinese_Mainland, file=1_chinese_mainland.fnt STATIC->[GUIStatic]:154 lang2:name=Chinese_Hongkong, file=2_chinese_hongkong.fnt STATIC->[GUIStatic]:154 lang3:name=Chinese_Taiwan, file=3_chinese_taiwan.fnt STATIC->[GUIStatic]:154 lang4:name=Korean, file=4_korean.fnt STATIC->[GUIStatic]:154 lang5:name=Japanese, file=5_japanese.fnt STATIC->[GUIStatic]:154 lang6:name=Arabic, file=6_arabic.fnt STATIC->[GUIStatic]:154 lang7:name=Persian, file=7_persian.fnt STATIC->[GUIStatic]:154 lang8:name=Hebrew, file=8_hebrew.fnt STATIC->[GUIStatic]:154 lang9:name=Portuguese, file=9_portuguese.fnt STATIC->[GUIStatic]:154 lang10:name=Spanish, file=10_spanish.fnt STATIC->[GUIStatic]:154 lang11:name=Hungarian, file=11_hungarian.fnt STATIC->[GUIStatic]:154 lang12:name=Russian, file=12_russian.fnt STATIC->[GUIStatic]:154 lang13:name=French, file=13_french.fnt STATIC->[GUIStatic]:154 lang14:name=German, file=14_german.fnt STATIC->[GUIStatic]:154 lang15:name=Thai, file=15_thai.fnt STATIC->[GUIStatic]:154 lang16:name=Vietnamese, file=16_vietnamese.fnt STATIC->[GUIStatic]:154 lang17:name=Turkish, file=17_turkish.fnt STATIC->[GUIStatic]:154 lang18:name=Italian, file=18_italian.fnt STATIC->[GUIStatic]:154 lang19:name=Danish, file=19_danish.fnt STATIC->[LoadLangFile]:81 tmp_path=static/0_english.fnt STATIC->[LoadLangFile]:88 file=0_english.fnt flag=feefface count=794 ENVIRONMENT: check 2nd crc = ab38 Initialize internal port. Set server on unix domain ok. Subthread stack size:307200 Start thread code:0 id:400c6000 SOCK-ERROR: connect failed @ SOCK_ERR=2DVRCOMM: connect 127.0.0.1:9012 failed, after 5 seconds retry. ENVIRONMENT: check 2nd crc = ab38 INFO : 1292:[DVR_InitTestMode:408]@00:00:20 enter main application Device Name: DVR Device Model: R5104-AHD Device ID: IU5B0533589152 Device Software Version: 2.2.8 0 Camera: 4 Audio: 2 Sensor: 4 Alarm: 1 Hard Disk Driver: 4 Series Code: IU
Долгая загрузка fw ver 2.3.15.6
U-Boot 2010.06-dirty (Aug 15 2013 - 10:07:00)
Check spi flash controller v350... Found Spi(cs1) ID: 0xEF 0x40 0x18 0x00 0x00 0x00 Spi(cs1): Block:64KB Chip:16MB Name:"W25Q128B" In: serial Out: serial Err: serial Hit any key to stop autoboot: 0 16384 KiB hi_sfc at 0:0 is now current device enable_mmu_accelerate <<addr=0x84800000, size=0x40000, vobuf=0x8c000000>> <<imgwidth=800, imgheight=600, linebytes=1600>> decode success!!!! <<addr=0x84900000, size=0x40000, vobuf=0x8d000000>> <<imgwidth=720, imgheight=576, linebytes=1440>> decode success!!!! disable_mmu_accelerate 16384 KiB hi_sfc at 0:0 is now current device ## Booting kernel from Legacy Image at 82000000 ... Image Name: Linux-3.0.8 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1902524 Bytes = 1.8 MiB Load Address: 80008000 Entry Point: 80008000 ## Loading init Ramdisk from Legacy Image at 81000000 ... Image Name: JUAN root filesystem(12/08/2019) Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 5619712 Bytes = 5.4 MiB Load Address: 81000000 Entry Point: 81000000 Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Linux version 3.0.8 (ubuntu@ubuntu) (gcc version 4.4.1 (Hisilicon_v100(gcc4.4-290+uclibc_0.9.32.1+eabi+linuxpthread)) ) #26 Tue Mar 20 12:09:55 CST 2018 CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7f CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache Machine: hi3520d Memory policy: ECC disabled, Data cache writeback Built 1 zonelists in Zone order, mobility grouping on. Total pages: 24892 Kernel command line: mem=98M console=ttyAMA0,115200 root=0100 init=/linuxrc mtdparts=hi_sfc:512K(U),256K(E),256K(L),512K(C),2560K(K),12M(R) ramdisk_size=6208 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: 98MB = 98MB total Memory: 88736k/88736k available, 11616k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) DMA : 0xffc00000 - 0xffe00000 ( 2 MB) vmalloc : 0xc6800000 - 0xfe000000 ( 888 MB) lowmem : 0xc0000000 - 0xc6200000 ( 98 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .init : 0xc0008000 - 0xc002a000 ( 136 kB) .text : 0xc002a000 - 0xc04bf000 (4692 kB) .data : 0xc04c0000 - 0xc04ed4c0 ( 182 kB) .bss : 0xc04ed4e4 - 0xc050ebd0 ( 134 kB) SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:128 nr_irqs:128 128 sched_clock: 32 bits at 82MHz, resolution 12ns, wraps every 52060ms Console: colour dummy device 80x30 Calibrating delay loop... 1318.91 BogoMIPS (lpj=6594560) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available devtmpfs: initialized NET: Registered protocol family 16 hw-breakpoint: found 6 breakpoint and 1 watchpoint registers. hw-breakpoint: 1 breakpoint(s) reserved for watchpoint single-step. hw-breakpoint: maximum watchpoint size is 4 bytes. Serial: AMBA PL011 UART driver uart:0: ttyAMA0 at MMIO 0x20080000 (irq = 40) is a PL011 rev2 console [ttyAMA0] enabled uart:1: ttyAMA1 at MMIO 0x20090000 (irq = 41) is a PL011 rev2 uart:2: ttyAMA2 at MMIO 0x200a0000 (irq = 42) is a PL011 rev2 uart:3: ttyAMA3 at MMIO 0x200b0000 (irq = 43) is a PL011 rev2 bio: create slab <bio-0> at 0 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb cfg80211: Calling CRDA to update world regulatory domain Switching to clocksource timer1 FS-Cache: Loaded CacheFiles: Loaded NET: Registered protocol family 2 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 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. Trying to unpack rootfs image as initramfs... rootfs image is not initramfs (junk in compressed archive); looks like an initrd Freeing initrd memory: 5488K NetWinder Floating Point Emulator V0.97 (double precision) L2cache cache controller enabled squashfs: version 4.0 (2009/01/31) Phillip Lougher fuse init (API version 7.16) msgmni has been set to 184 alg: No test for stdrng (krng) Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) io scheduler noop registered io scheduler deadline registered (default) io scheduler cfq registered brd: module loaded loop: module loaded Loading iSCSI transport class v2.0-870. SCSI Media Changer driver v0.25 ahci: SSS flag set, parallel bus scan disabled ahci ahci.0: AHCI 0001.0200 32 slots 2 ports 3 Gbps 0x3 impl platform mode ahci ahci.0: flags: ncq sntf stag pm led clo only pmp pio slum part ccc sxs boh scsi0 : ahci_platform scsi1 : ahci_platform ata1: SATA max UDMA/133 mmio [mem 0x10080000-0x1008ffff] port 0x100 irq 52 ata2: SATA max UDMA/133 mmio [mem 0x10080000-0x1008ffff] port 0x180 irq 52 Spi id table Version 1.22 Spi(cs1) ID: 0xEF 0x40 0x18 0x00 0x00 0x00 SPI FLASH start_up_mode is 3 Bytes Spi(cs1): Block:64KB Chip:16MB Name:"W25Q128B" spi size: 16MB chip num: 1 6 cmdlinepart partitions found on MTD device hi_sfc Creating 6 MTD partitions on "hi_sfc": 0x000000000000-0x000000080000 : "U" 0x000000080000-0x0000000c0000 : "E" 0x0000000c0000-0x000000100000 : "L" 0x000000100000-0x000000180000 : "C" 0x000000180000-0x000000400000 : "K" 0x000000400000-0x000001000000 : "R" Fixed MDIO Bus: probed ata1: SATA link down (SStatus 0 SControl 300) himii: probed ata2: SATA link down (SStatus 0 SControl 300) Invalid HW-MAC Address: 00:00:00:00:00:00 Set Random MAC address: 52:CC:9B:A4:84:A6 bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011) bonding: Warning: either miimon or arp_interval and arp_ip_target module parameters must be specified, otherwise bonding will not detect link failures! see bonding.txt for details. PPP generic driver version 2.4.2 PPP Deflate Compression module registered PPP BSD Compression module registered PPP MPPE Compression module registered NET: Registered protocol family 24 SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256). CSLIP: code copyright 1989 Regents of the University of California. SLIP linefill/keepalive option. usbmon: debugfs is not available ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver hiusb-ehci hiusb-ehci.0: HIUSB EHCI hiusb-ehci hiusb-ehci.0: new USB bus registered, assigned bus number 1 hiusb-ehci hiusb-ehci.0: irq 53, io mem 0x100b0000 hiusb-ehci hiusb-ehci.0: USB 0.0 started, EHCI 1.00 hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver hiusb-ohci hiusb-ohci.0: HIUSB OHCI hiusb-ohci hiusb-ohci.0: new USB bus registered, assigned bus number 2 hiusb-ohci hiusb-ohci.0: irq 54, io mem 0x100a0000 hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected usbcore: registered new interface driver cdc_acm cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters usbcore: registered new interface driver uas Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. usbcore: registered new interface driver ums-alauda usbcore: registered new interface driver ums-cypress usbcore: registered new interface driver ums-datafab usbcore: registered new interface driver ums_eneub6250 usbcore: registered new interface driver ums-freecom usbcore: registered new interface driver ums-isd200 usbcore: registered new interface driver ums-jumpshot usbcore: registered new interface driver ums-karma usbcore: registered new interface driver ums-onetouch usbcore: registered new interface driver ums-realtek usbcore: registered new interface driver ums-sddr09 usbcore: registered new interface driver ums-sddr55 usbcore: registered new interface driver ums-usbat usbcore: registered new interface driver usbserial USB Serial support registered for generic usbcore: registered new interface driver usbserial_generic usbserial: USB Serial Driver core USB Serial support registered for GSM modem (1-port) usbcore: registered new interface driver option option: v0.7.2:USB Driver for GSM modems mousedev: PS/2 mouse device common for all mice usbcore: registered new interface driver usbhid usbhid: USB HID core driver TCP cubic registered Initializing XFRM netlink socket NET: Registered protocol family 10 NET: Registered protocol family 17 NET: Registered protocol family 15 Bridge firewalling registered 802.1Q VLAN Support v1.8 lib80211: common routines for IEEE802.11 drivers RAMDISK: squashfs filesystem found at block 0 RAMDISK: Loading 5485KiB [1 disk] into ram disk... done. VFS: Mounted root (squashfs filesystem) readonly on device 1:0. devtmpfs: mounted Freeing init memory: 136K usb 1-2: new high speed USB device number 3 using hiusb-ehci starting pid 622, tty '': '/etc/init.d/rcS' _ _ _ _ _ _ _ _ _ _ _ _ \ _ _ _ _ _ ___ / /__/ \ |_/ / __ / - _ ___ / / / / / / _ _ _ _/ / / \_/ \_ ______ ___________\___\__________________ [RCS]: /etc/init.d/S00devs mknod: /dev/console: File exists mknod: /dev/ttyAMA0: File exists mknod: /dev/ttyAMA1: File exists [RCS]: /etc/init.d/S01udev udevd (633): /proc/633/oom_adj is deprecated, please use /proc/633/oom_score_adj instead. scsi2 : usb-storage 1-2:1.0 usb 2-1: new full speed USB device number 2 using hiusb-ohci input: Logitech USB Receiver as /devices/platform/hiusb-ohci.0/usb2/2-1/2-1:1.0/input/input0 generic-usb 0003:046D:C52B.0001: input: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-hiusb-ohci-1/input0 input: Logitech USB Receiver as /devices/platform/hiusb-ohci.0/usb2/2-1/2-1:1.1/input/input1 generic-usb 0003:046D:C52B.0002: input: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-hiusb-ohci-1/input1 generic-usb 0003:046D:C52B.0003: claimed by neither input, hiddev nor hidraw [RCS]: /etc/init.d/S02pppd [RCS]: /etc/init.d/S03pppoe PPPoE config [RCS]: /etc/init.d/S80network ADDRCONF(NETDEV_UP): eth0: link is not ready scsi 2:0:0:0: Direct-Access Generic STORAGE DEVICE 0902 PQ: 0 ANSI: 6 [RCS]: /etc/init.d/S81toe [RCS]: /etc/init.d/S98 [RCS]: /etc/init.d/S99 sd 2:0:0:0: Attached scsi generic sg0 type 0 sd 2:0:0:0: [sda] 3842048 512-byte logical blocks: (1.96 GB/1.83 GiB) mount dir('/medisd 2:0:0:0: [sda] Write Protect is off a/usb1') isn't exist now! sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA sda: sda1 sd 2:0:0:0: [sda] Attached SCSI removable disk check sda... sda found... usb media sda found... usb media sda1 found... restore flag 1 not found. enable log not found. enable log2 not found. enable disk log not found. no open Hisilicon Media Memory Zone Manager hi3520D_base: module license 'Proprietary' taints kernel. Disabling lock debugging due to kernel taint Hisilicon UMAP device driver interface: v3.00 load sys.ko ...OK! Load tde.ko ...OK! load venc.ko ...OK! load group.ko ...OK! load chnl.ko ...OK! load h264e.ko ...OK! load rc.ko ...OK! load jpege.ko ...OK! load viu.ko ...OK! load vou.ko ....OK! load vpss.ko ....OK! load vda.ko ....OK! load region.ko ....OK! load vdec.ko ....OK load vhd firmware.ko OK load hdmi.ko ....OK! insmod: can't insert './hi_module/jpeg.ko': No such file or directory Hisilicon Watchdog Timer: 0.01 initialized. default_margin=60 sec (nowayout= 0, nodeamon= 1) HI3515 base @ 10:51:01 Aug 12 2019 GPIO I2C ack for HI35xx @ 10:51:00 Aug 12 2019 gpio_Set_VI_ADC_REFCLK ok! VI_ADC_CLK value[2:0] = 0x62727726 GPIO_PROBE_VALUE : 0x00000000 GPIO Init Succeed! input: keypad as /devices/virtual/input/input2 Keypad for HI3515 @ 10:51:00 Aug 12 2019 input: irda as /devices/virtual/input/input3 Irda for HI3515 @ 10:51:01 Aug 12 2019 I2C -------------- PROBING I2C Device0 I2C -------------- PROBED : 0x60 I2C -------------- PROBING I2C Device1 0x70 no ack 0x72 no ack 0x74 no ack 0x76 no ack Device Detected: xxxx dev_init init successful! usbcore: registered new interface driver rtl8192eu do you want to run app.out(y or n)? Found keypad@event2. [pre_run_app] cp [pre_run_app] chmod [pre_run_app] running... pre_run_app.sh end [pre_run_app] finish STATIC->[GUIStatic]:154 lang0:name=English, file=0_english.fnt STATIC->[GUIStatic]:154 lang1:name=Chinese_Mainland, file=1_chinese_mainland.fnt STATIC->[GUIStatic]:154 lang2:name=Chinese_Hongkong, file=2_chinese_hongkong.fnt STATIC->[GUIStatic]:154 lang3:name=Chinese_Taiwan, file=3_chinese_taiwan.fnt STATIC->[GUIStatic]:154 lang4:name=Korean, file=4_korean.fnt STATIC->[GUIStatic]:154 lang5:name=Japanese, file=5_japanese.fnt STATIC->[GUIStatic]:154 lang6:name=Arabic, file=6_arabic.fnt STATIC->[GUIStatic]:154 lang7:name=Persian, file=7_persian.fnt STATIC->[GUIStatic]:154 lang8:name=Hebrew, file=8_hebrew.fnt STATIC->[GUIStatic]:154 lang9:name=Portuguese, file=9_portuguese.fnt STATIC->[GUIStatic]:154 lang10:name=Spanish, file=10_spanish.fnt STATIC->[GUIStatic]:154 lang11:name=Hungarian, file=11_hungarian.fnt STATIC->[GUIStatic]:154 lang12:name=Russian, file=12_russian.fnt STATIC->[GUIStatic]:154 lang13:name=French, file=13_french.fnt STATIC->[GUIStatic]:154 lang14:name=German, file=14_german.fnt STATIC->[GUIStatic]:154 lang15:name=Thai, file=15_thai.fnt STATIC->[GUIStatic]:154 lang16:name=Vietnamese, file=16_vietnamese.fnt STATIC->[GUIStatic]:154 lang17:name=Turkish, file=17_turkish.fnt STATIC->[GUIStatic]:154 lang18:name=Italian, file=18_italian.fnt STATIC->[GUIStatic]:154 lang19:name=Danish, file=19_danish.fnt STATIC->[LoadLangFile]:81 tmp_path=static/0_english.fnt JPROCESS::CRIT: [ja_process.c: 677] new ok@parent JPROCESS::CRIT: [ja_process.c: 663] new ok@child JPROCESS::CRIT: [ja_process.c: 497] JPROCESS proc.... JPROCESS::CRIT: [ja_process.c: 584] JPROCESS proc.... STATIC->[LoadLangFile]:88 file=0_english.fnt flag=feefface count=1033 wait for app to prepare environment.... wait for app to prepare environment.... ENVIRONMENT: check 2nd crc = f58b INFO : 1392:[DVR_InitTestMode:496]@17:58:02 enter main application 0xa0 no ack ioctl Read Debug Err !!! 0xa0 no ack ioctl Read Debug Err !!! 0xa0 no ack ioctl Read Debug Err !!! Device Name: DVR Device Model: R5104 Device ID: IU5B0533589152 Device ID KEY: 00000000000000000000000000000000 Device Software Version: 2.3.15 6 Camera: 4 Audio: 2 Sensor: 4 Alarm: 1 Hard Disk Driver: 4 Series Code: IU DEBUG: 1392:[dvr_init_prepare:1070]@17:58:02 begin DEBUG: 1392:[dvr_init_prepare:1092]@17:58:02 end DEBUG: 1392:[dvr_init_user:1098]@17:58:02 init user begin DEBUG: 1392:[dvr_init_keep_proc:1004]@17:58:02 begin Init Serial Code: IU5B0533589152 DEBUG: 1392:[dvr_init_user:1107]@17:58:03 init user end DVR->[DVR_Init]:1204 isNeedRecoverEnv = 0,No change env Need to Recover. TZONE_DEBUG: 1392:[TZONE_set_index:339] before setup time now: Wed Dec 30 17:58:03 2020 TZONE_DEBUG: 1392:[TZONE_set_index:341] gmttime: Wed Dec 30 17:58:03 2020 TZONE_DEBUG: 1392:[TZONE_set_index:343] localtime: Wed Dec 30 17:58:03 2020 TZONE_DEBUG: 1392:[TZONE_set_index:347] set system timezone to +07:00 (12, 25200) TZONE_DEBUG: 1392:[set_system_tzone_offset2:252] set TZ ENV to : GMT-07:00 success ! TZONE_DEBUG: 1392:[set_system_tzone_offset2:260] tzname:GMT/ tzone:-25200 daylight:0 TZONE_DEBUG: 1392:[TZONE_set_index:358] GMT Time: Wed Dec 30 17:58:03 2020 TZONE_DEBUG: 1392:[TZONE_set_index:359] Local Time: Thu Dec 31 00:58:03 2020 TZONE_DEBUG: 1392:[TZONE_set_index:361] time now: Thu Dec 31 00:58:03 2020 TZONE_DEBUG: 1392:[TZONE_set_index:363] gmttime: Wed Dec 30 17:58:03 2020 TZONE_DEBUG: 1392:[TZONE_set_index:365] localtime: Thu Dec 31 00:58:03 2020 DVR->[DVR_Init]:1298 vga [1280,1024] cvbs [704,576] TIMETICK->[timetick.c]:240 task list is empty TIMETICK->[timetick.c]:112 TIMETICK pid=1392 tid=42d414c0 begin --GMT Time: Wed Dec 30 17:58:03 2020 --Local Time: Thu Dec 31 00:58:03 2020 --SYS CUR PTS: 1609351083113496 Thu Dec 31 00:58:03 2020 DEBUG: 1392:[XENVACT_set_ip:204]@00:58:03 setup mac address! ADDRCONF(NETDEV_UP): eth0: link is not ready eth0 Link encap:Ethernet HWaddr 00:05:FE:BA:76:48 inet addr:192.168.1.114 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:56 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) NK_PROCESS::CRIT: [ja_process.c: 167] PROCESS(1404) wait done Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0 224.0.0.0 * 224.0.0.0 U 0 0 0 eth0 NK_PROCESS::CRIT: [ja_process.c: 167] PROCESS(1407) wait done DEBUG: 1392:[XENVACT_set_ip:282]@00:58:03 setup ip finished! DEBUG: 1392:[XENVACT_PPPoE_Start:2054]@00:58:03 start ppp0(pppoe)... DEBUG: 1392:[XENVACT_PPPoE_Start:2070]@00:58:03 start ppp0(pppoe) finished! WIFI_write_conf_file() ssid = admin, pwd= 12345678 QR code link: http://weixin.qq.com/r/kEzexpPEZc4ardel9xmC QR code link: http://p2p.juanvision.com/download/android.php?l=en QR code link: http://p2p.juanvision.com/download/ios.php?l=en QR code link: http://192.168.1.114:80/index.cgi?usern ... lang=zh_CN ENVIRONMENT: check 2nd crc = f58b Initialize internal port. Set server on unix domain ok. Subthread stack size:307200 Start thread code:0 id:4002a000 SOCK-ERROR: connect failed @ SOCK_ERR=2DVRCOMM: connect 127.0.0.1:9012 failed, after 5 seconds retry. QR code link: 533589152 QR code link: http://p2p.juanvision.com input: keypad as /devices/virtual/input/input4 Keypad for HI3515 @ 10:51:00 Aug 12 2019 0x88 0x88 no ack 0x88 no ack 0x88 no ack 0x88 no ack 0x88 no ack 0x88 no ack ioctl Read Debug0x88 no ack Err !!! 0x88 no ack 0x88 no ack 0x88 no ack 0x88 no ack 0x88 no ack ioctl Read Debug0x88 no ack Err !!! 0x88 no ack 0x88 no ack 0x88 no ack 0x88 no ack 0x88 no ack ioctl Read Debug Err !!! tmpChip =0 0x62 no ack w 0x62 no ack w 0x62 no ack w 0x62 no ack w 0x62 no ack w 0x62 no ack w ioctl Write Debu0x62 no ack g Err !!! 0x62 no ack 0x62 no ack 0x62 no ack 0x62 no ack 0x62 no ack ioctl Read Debug0x62 no ack w Err !!! ... ... много раз, потом или перезагрузка через 300 сек по таймеру watchdog, или срабарывает другой таймер, говоритт что счетчик попыток превышен и загрузка успешно завершается |
314404 [ 10 янв 2021, 16:20 ] | |
Заголовок сообщения: | Re: Ищу help.rom или дамп на 4х канальный DVR JA-RR5104-AHD (board HI3520D_V1.99 DATE: 2015.07.18) |
Вложение: FWHI2104HF_20180607_DVR_R5104_2_3_13_4_413221.rar Вложение: FWHI2104HF_20160304_DVR_JA-R5104-AHD_2_2_8_15_413221.rar ---------- Добавлено спустя 4 часа 44 минуты 32 секунды: ---------- Re: Ищу help.rom или дамп на 4х канальный DVR JA-R5104-AHD (board HI3520D_V1.99 DATE: 2015.07.18) Выяснил для себя следующее: Организация памяти доступной из U-Boot: (sf=spi flash) sf 0xc0000 (128K) - заставка 800*600*24bit jpeg sf 0xe0000 (128K) - заставка 720*576*24bit jpeg sf 0x180000 (2560K) - linux kernel sf 0x400000 (8192K) - ramdisk При включении выполняются команды U-Boot: sf probe 0 // выбор spi flash sf read 0x84800000 0xc0000 0x20000 // чтение jpeg заставки 800*600*24bit в RAM sf read 0x84900000 0xe0000 0x20000 // чтение jpeg заставки 720*576*24bit в RAM logo // Вывод заставки sf probe 0 // выбор spi flash sf read 0x82000000 0x180000 0x280000 // чтение linux kernel в RAM sf read 0x81000000 0x400000 0x800000 // чтение ramdisk в RAM bootm 0x82000000 0x81000000 // запуск из RAM образа linux kernel c ramdisk - там запускается приложение // если bootm ничего не загрузил - kernel либо ramdisk повреждены - запускается востановление с USB usb start // монтируем U-Disk fatload usb 0 0x82000000 help.rom // читаем с U-Disk help.rom sf probe 0 // выбор spi flash sf erase 0x180000 0x280000 // стирание kernek sf erase 0x400000 0xC00000 // стирание ramdisk sf write 0x82440000 0x400000 0xC00000 // запись на spi flash ramdisk из загруженного help.rom sf write 0x821C0000 0x180000 0x280000 // запись на spi flash kernel из загруженного help.rom reset // перезгрузка То есть полностью spi flash не затирается, только kernel и ramdisk. В моем случае надо достать из дампа регистратора (или rom прошивки) kernel и ramdisk и записать их в spi flash Экспериментировал с разными найденными в сети дампами - есть нюансы: разные пароли root в разных прошивках, поэтому kernel и ramdisk должны быть из одной прошивки, хотя ничего не мешает загружать их в любой комбинации. И второе - после дампа ramdisk с 0xC00000 есть большой кусок данных 3440К, о чем кстати предупреждает 7-zip при распаковке прошивки. Что там - пока не понял, но, видимо, кроме кода там лежат уникальные настройки для каждого экземпляра. Кто знает, как раскриптовать FWHI2104HF_20160304_DVR_JA-R5104-AHD_2_2_8_15_413221.rar из поста выше? там есть все чтобы восстановить регистратор |
fobos [ 12 янв 2021, 06:37 ] | |
Заголовок сообщения: | Re: Ищу help.rom или дамп на 4х канальный DVR JA-RR5104-AHD (board HI3520D_V1.99 DATE: 2015.07.18) |
пробуйте дамп https://cloud.mail.ru/public/qd6B/QUnN4BUo3 |
314404 [ 12 янв 2021, 16:59 ] | |
Заголовок сообщения: | Re: Ищу help.rom или дамп на 4х канальный DVR JA-RR5104-AHD (board HI3520D_V1.99 DATE: 2015.07.18) |
fobos писал(а): пробуйте дамп https://cloud.mail.ru/public/qd6B/QUnN4BUo3 Спасибо, то что было нужно. Однако моя теория не сработала..
Загрузил выдранные из этого дампа образы kernel и ramdisk (v 2.2.7.2, которая чуть младше моей до перепрошивки v.2.2.8.0)
U-Boot 2010.06-dirty (Aug 15 2013 - 10:07:00)
Check spi flash controller v350... Found Spi(cs1) ID: 0xEF 0x40 0x18 0x00 0x00 0x00 Spi(cs1): Block:64KB Chip:16MB Name:"W25Q128B" In: serial Out: serial Err: serial Hit any key to stop autoboot: 0 hisilicon # usb start (Re)start USB... USB: scanning bus for devices... 3 USB Device(s) found scanning bus for storage devices... usb_stor_get_info->1406,blksz:512 1 Storage Device(s) found hisilicon # fatload usb 0 0x82000000 kernel reading kernel ............................................................................................................................................................................................................................................................... 2621440 bytes read hisilicon # sf probe 0 16384 KiB hi_sfc at 0:0 is now current device hisilicon # sf erase 0x180000 0x280000 Erasing at 0x400000 -- 100% complete. hisilicon # sf write 0x82000000 0x180000 0x280000 Writing at 0x400000 -- 100% complete. hisilicon # fatload usb 0 0x82000000 ramdisk reading ramdisk .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. 8388608 bytes read hisilicon # sf erase 0x400000 0xC00000 Erasing at 0x1000000 -- 100% complete. hisilicon # sf write 0x82000000 0x400000 0xC00000 Writing at 0x1000000 -- 100% complete. hisilicon # reset resetting ...
в логах видно, что образы распознаны и с них идет загрузка
## Booting kernel from Legacy Image at 82000000 ...
Image Name: Linux-3.0.8 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1721432 Bytes = 1.6 MiB Load Address: 80008000 Entry Point: 80008000 ## Loading init Ramdisk from Legacy Image at 81000000 ... Image Name: JUAN root filesystem(13/10/2015) Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 6213632 Bytes = 5.9 MiB Load Address: 81000000 Entry Point: 81000000 Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel.
но приложение не запускается
o you want to run app.out(y or n)?
mount: mounting /dev/loop0 on /tmp/dvr_resource_dir failed: Invalid argument mount: mounting /tmp/dvr_resource_dir//font/ on /root/dvr_app/font failed: No such file or directory mount: mounting /tmp/dvr_resource_dir//app/skin/ on /root/dvr_app/skin failed: No such file or directory mount: mounting /tmp/dvr_resource_dir//app/config/ on /root/dvr_app/config failed: No such file or directory mount: mounting /tmp/dvr_resource_dir//font/ on /root/dvr_gui/font failed: No such file or directory mount: mounting /tmp/dvr_resource_dir//gui/dialog/ on /root/dvr_gui/dialog/ failed: No such file or directory mount: mounting /tmp/dvr_resource_dir//gui/luiengine/skin/ on /root/dvr_gui/luiengine/skin/ failed: No such file or directory mount: mounting /tmp/dvr_resource_dir//gui/resource/ on /root/dvr_gui/resource/ failed: No such file or directory mount: mounting /tmp/dvr_resource_dir//gui/static/ on /root/dvr_gui/static/ failed: No such file or directory mount: mounting /tmp/dvr_resource_dir//gui/icon/ on /root/dvr_gui/icon/ failed: No such file or directory mount: mounting /tmp/dvr_resource_dir//web/ on /root/dvr_web/www/ failed: No such file or directory Found keypad@event2. [pre_run_app] not found UCODEC -> IU5B0533589152 Init Serial Code: IU5B0533589152 Error open File:static/language-full.conf ./dvr_gui: gui_static.cpp: 133: GUIStatic::GUIStatic(): Assertion `nRet != 0' failed. ENVIRONMENT: check 2nd crc = c20e INFO : 1340:[DVR_InitTestMode:408]@05:50:48 enter main application Device Name: DVR Device Model: R5104-AHD Device ID: IU5B0533589152 Device Software Version: 2.2.7 2
и в финале выкидывает в командную стоку linux
system.c->463 HI_MPI_VB_Init() failed->0xa001800c
starting pid 1345, tty '': '/sbin/ifconfig lo 127.0.0.1 up' starting pid 1346, tty '': '/sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo' starting pid 1347, tty '': '-/bin/sh' Welcome to HiLinux. # ls a.out bin etc linuxrc mnt proc sbin tmp var a2.out dev lib media nfsroot root sys usr # ps PID USER VSZ STAT COMMAND 1 root 1352 S {linuxrc} init 2 root 0 SW [kthreadd] 3 root 0 SW [ksoftirqd/0] 4 root 0 SW [kworker/0:0] 5 root 0 SW [kworker/u:0] 6 root 0 SW [rcu_kthread] 7 root 0 SW< [khelper] 8 root 0 SW [kworker/u:1] 163 root 0 SW [sync_supers] 165 root 0 SW [bdi-default] 166 root 0 SW< [kintegrityd] 168 root 0 SW< [kblockd] 174 root 0 SW< [ata_sff] 185 root 0 SW [khubd] 273 root 0 SW< [rpciod] 274 root 0 SW [kworker/0:1] 284 root 0 SW [kswapd0] 337 root 0 SW [fsnotify_mark] 347 root 0 SW< [nfsiod] 355 root 0 SW< [crypto] 394 root 0 SW< [iscsi_eh] 416 root 0 SW [scsi_eh_0] 419 root 0 SW [scsi_eh_1] 433 root 0 SW [mtdblock0] 438 root 0 SW [mtdblock1] 443 root 0 SW [mtdblock2] 448 root 0 SW [mtdblock3] 453 root 0 SW [mtdblock4] 458 root 0 SW [mtdblock5] 461 root 0 SW [romblock0] 464 root 0 SW [romblock1] 467 root 0 SW [romblock2] 470 root 0 SW [romblock3] 473 root 0 SW [romblock4] 476 root 0 SW [romblock5] 539 root 0 SW< [bond0] 582 root 0 SW< [kpsmoused] 610 root 0 SW [scsi_eh_2] 612 root 0 SW [usb-storage] 615 root 980 S < udevd --daemon 1067 root 1348 S telnetd 1259 root 0 SW [hidog] 1305 root 0 SW< [loop0] 1335 root 17524 S ./upnp_server 1347 root 1356 S -/bin/sh 1349 root 1352 R ps # ls a.out bin etc linuxrc mnt proc sbin tmp var a2.out dev lib media nfsroot root sys usr # cd etc # ls fs-version group inittab passwd profile services fstab hosts inittab- passwd- protocols udev fstab- init.d mtab ppp resolv.conf usbmodems #
Полный лог загрузки
U-Boot 2010.06-dirty (Aug 15 2013 - 10:07:00)
Check spi flash controller v350... Found Spi(cs1) ID: 0xEF 0x40 0x18 0x00 0x00 0x00 Spi(cs1): Block:64KB Chip:16MB Name:"W25Q128B" In: serial Out: serial Err: serial Hit any key to stop autoboot: 0 16384 KiB hi_sfc at 0:0 is now current device enable_mmu_accelerate <<addr=0x84800000, size=0x40000, vobuf=0x8c000000>> <<imgwidth=800, imgheight=600, linebytes=1600>> decode success!!!! <<addr=0x84900000, size=0x40000, vobuf=0x8d000000>> <<imgwidth=720, imgheight=576, linebytes=1440>> decode success!!!! disable_mmu_accelerate 16384 KiB hi_sfc at 0:0 is now current device ## Booting kernel from Legacy Image at 82000000 ... Image Name: Linux-3.0.8 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1721432 Bytes = 1.6 MiB Load Address: 80008000 Entry Point: 80008000 ## Loading init Ramdisk from Legacy Image at 81000000 ... Image Name: JUAN root filesystem(13/10/2015) Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 6213632 Bytes = 5.9 MiB Load Address: 81000000 Entry Point: 81000000 Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Linux version 3.0.8 (root@archlinux) (gcc version 4.4.1 (Hisilicon_v100(gcc4.4-290+uclibc_0.9.32.1+eabi+linuxpthread)) ) #26 Tue Jan 21 12:24:20 SGT 2014 CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7f CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache Machine: hi3520d Memory policy: ECC disabled, Data cache writeback Built 1 zonelists in Zone order, mobility grouping on. Total pages: 24892 Kernel command line: mem=98M console=ttyAMA0,115200 root=0100 init=/linuxrc mtdparts=hi_sfc:512K(U),256K(E),256K(L),512K(C),2560K(K),12M(R) ramdisk_size=6208 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: 98MB = 98MB total Memory: 88644k/88644k available, 11708k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) DMA : 0xffc00000 - 0xffe00000 ( 2 MB) vmalloc : 0xc6800000 - 0xfe000000 ( 888 MB) lowmem : 0xc0000000 - 0xc6200000 ( 98 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .init : 0xc0008000 - 0xc002a000 ( 136 kB) .text : 0xc002a000 - 0xc0447000 (4212 kB) .data : 0xc0448000 - 0xc0473320 ( 173 kB) .bss : 0xc0473344 - 0xc0494538 ( 133 kB) SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:128 nr_irqs:128 128 sched_clock: 32 bits at 82MHz, resolution 12ns, wraps every 52060ms Console: colour dummy device 80x30 Calibrating delay loop... 1318.91 BogoMIPS (lpj=6594560) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available devtmpfs: initialized NET: Registered protocol family 16 hw-breakpoint: found 6 breakpoint and 1 watchpoint registers. hw-breakpoint: 1 breakpoint(s) reserved for watchpoint single-step. hw-breakpoint: maximum watchpoint size is 4 bytes. Serial: AMBA PL011 UART driver uart:0: ttyAMA0 at MMIO 0x20080000 (irq = 40) is a PL011 rev2 console [ttyAMA0] enabled uart:1: ttyAMA1 at MMIO 0x20090000 (irq = 41) is a PL011 rev2 bio: create slab <bio-0> at 0 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb Switching to clocksource timer1 FS-Cache: Loaded CacheFiles: Loaded NET: Registered protocol family 2 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 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. Trying to unpack rootfs image as initramfs... rootfs image is not initramfs (junk in compressed archive); looks like an initrd Freeing initrd memory: 6068K NetWinder Floating Point Emulator V0.97 (double precision) L2cache cache controller enabled squashfs: version 4.0 (2009/01/31) Phillip Lougher fuse init (API version 7.16) msgmni has been set to 184 alg: No test for stdrng (krng) Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) io scheduler noop registered io scheduler deadline registered (default) io scheduler cfq registered brd: module loaded loop: module loaded Loading iSCSI transport class v2.0-870. SCSI Media Changer driver v0.25 ahci: SSS flag set, parallel bus scan disabled ahci ahci.0: AHCI 0001.0200 32 slots 2 ports 3 Gbps 0x3 impl platform mode ahci ahci.0: flags: ncq sntf stag pm led clo only pmp pio slum part ccc sxs boh scsi0 : ahci_platform scsi1 : ahci_platform ata1: SATA max UDMA/133 mmio [mem 0x10080000-0x1008ffff] port 0x100 irq 52 ata2: SATA max UDMA/133 mmio [mem 0x10080000-0x1008ffff] port 0x180 irq 52 Spi id table Version 1.22 Spi(cs1) ID: 0xEF 0x40 0x18 0x00 0x00 0x00 SPI FLASH start_up_mode is 3 Bytes Spi(cs1): Block:64KB Chip:16MB Name:"W25Q128B" spi size: 0x16777216 chip num: 1 6 cmdlinepart partitions found on MTD device hi_sfc Creating 6 MTD partitions on "hi_sfc": 0x000000000000-0x000000080000 : "U" 0x000000080000-0x0000000c0000 : "E" 0x0000000c0000-0x000000100000 : "L" 0x000000100000-0x000000180000 : "C" 0x000000180000-0x000000400000 : "K" 0x000000400000-0x000001000000 : "R" Fixed MDIO Bus: probed ata1: SATA link down (SStatus 0 SControl 300) himii: probed ata2: SATA link down (SStatus 0 SControl 300) Invalid HW-MAC Address: 00:00:00:00:00:00 Set Random MAC address: AE:C0:C8:9B:9A:47 bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011) bonding: Warning: either miimon or arp_interval and arp_ip_target module parameters must be specified, otherwise bonding will not detect link failures! see bonding.txt for details. PPP generic driver version 2.4.2 PPP Deflate Compression module registered PPP BSD Compression module registered PPP MPPE Compression module registered NET: Registered protocol family 24 SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256). CSLIP: code copyright 1989 Regents of the University of California. SLIP linefill/keepalive option. usbmon: debugfs is not available ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver hiusb-ehci hiusb-ehci.0: HIUSB EHCI hiusb-ehci hiusb-ehci.0: new USB bus registered, assigned bus number 1 hiusb-ehci hiusb-ehci.0: irq 53, io mem 0x100b0000 hiusb-ehci hiusb-ehci.0: USB 0.0 started, EHCI 1.00 hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver hiusb-ohci hiusb-ohci.0: HIUSB OHCI hiusb-ohci hiusb-ohci.0: new USB bus registered, assigned bus number 2 hiusb-ohci hiusb-ohci.0: irq 54, io mem 0x100a0000 hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected usbcore: registered new interface driver cdc_acm cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. usbcore: registered new interface driver ums-alauda usbcore: registered new interface driver ums-cypress usbcore: registered new interface driver ums-datafab usbcore: registered new interface driver ums_eneub6250 usbcore: registered new interface driver ums-freecom usbcore: registered new interface driver ums-isd200 usbcore: registered new interface driver ums-jumpshot usbcore: registered new interface driver ums-karma usbcore: registered new interface driver ums-onetouch usbcore: registered new interface driver ums-realtek usbcore: registered new interface driver ums-sddr09 usbcore: registered new interface driver ums-sddr55 usbcore: registered new interface driver ums-usbat usbcore: registered new interface driver usbserial USB Serial support registered for generic usbcore: registered new interface driver usbserial_generic usbserial: USB Serial Driver core USB Serial support registered for GSM modem (1-port) usbcore: registered new interface driver option option: v0.7.2:USB Driver for GSM modems mousedev: PS/2 mouse device common for all mice usbcore: registered new interface driver usbhid usbhid: USB HID core driver TCP cubic registered Initializing XFRM netlink socket NET: Registered protocol family 10 NET: Registered protocol family 17 NET: Registered protocol family 15 RAMDISK: squashfs filesystem found at block 0 RAMDISK: Loading 6067KiB [1 disk] into ram disk... done. VFS: Mounted root (squashfs filesystem) readonly on device 1:0. devtmpfs: mounted Freeing init memory: 136K usb 1-2: new high speed USB device number 3 using hiusb-ehci starting pid 598, tty '': '/etc/init.d/rcS' _ _ _ _ _ _ _ _ _ _ _ _ \ _ _ _ _ _ ___ / /__/ \ |_/ / __ / - _ ___ / / / / / / _ _ _ _/ / / \_/ \_ ______ ___________\___\__________________ [RCS]: /etc/init.d/S00devs mknod: /dev/console: File exists mknod: /dev/ttyAMA0: File exists mknod: /dev/ttyAMA1: File exists [RCS]: /etc/init.d/S01scsi2 : usb-storage 1-2:1.0 udev udevd (615): /proc/615/oom_adj is deprecated, please use /proc/615/oom_score_adj instead. usb 2-1: new full speed USB device number 2 using hiusb-ohci input: Logitech USB Receiver as /devices/platform/hiusb-ohci.0/usb2/2-1/2-1:1.0/input/input0 generic-usb 0003:046D:C52B.0001: input: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-hiusb-ohci-1/input0 input: Logitech USB Receiver as /devices/platform/hiusb-ohci.0/usb2/2-1/2-1:1.1/input/input1 generic-usb 0003:046D:C52B.0002: input: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-hiusb-ohci-1/input1 generic-usb 0003:046D:C52B.0003: claimed by neither input, hiddev nor hidraw [RCS]: /etc/init.d/S02pppd scsi 2:0:0:0: Direct-Access Sony Storage Media 1.00 PQ: 0 ANSI: 2 sd 2:0:0:0: [sda] 15663104 512-byte logical blocks: (8.01 GB/7.46 GiB) [RCS]: /etc/init.d/S03pppoe sd 2:0:0:0: Attached scsi generic sg0 type 0 PPPoE config sd 2:0:0:0: [sda] Write Protect is off sd 2:0:0:0: [sda] No Caching mode page present sd 2:0:0:0: [sda] Assuming drive cache: write through sd 2:0:0:0: [sda] No Caching mode page present sd 2:0:0:0: [sda] Assuming drive cache: write through sda: sda1 sd 2:0:0:0: [sda] No Caching mode page present sd 2:0:0:0: [sda] Assuming drive cache: write through sd 2:0:0:0: [sda] Attached SCSI removable disk [RCS]: /etc/init.d/S80network ADDRCONF(NETDEV_UP): eth0: link is not ready [RCS]: /etc/init.d/S81toe [RCS]: /etc/init.d/S98 [RCS]: /etc/init.d/S99 mount dir('/media/usb1') isn't exist now! check sda... sda found... usb media sda found... usb media sda1 found... restore flag 1 not found. enable log not found. Hisilicon Media Memory Zone Manager ERROR: Conflict MMZ: PHYS(0x85B00000, 0x8FFFFFFF), GFP=0, nBYTES=168960KB, NAME="anonymous" MMZ conflict to kernel memory (0x80000000, 0x861FFFFF) Add MMZ failed: PHYS(0x85B00000, 0x8FFFFFFF), GFP=0, nBYTES=168960KB, NAME="anonymous" hi3520D_base: module license 'Proprietary' taints kernel. Disabling lock debugging due to kernel taint Hisilicon UMAP device driver interface: v3.00 load sys.ko ...OK! insmod: can't insert './hi_module/hi3520D_tde.ko': Operation not permitted hi3520D_dsu: Unknown symbol TdeOsiMbBlit (err 0) hi3520D_dsu: Unknown symbol TdeOsiMb2Mb (err 0) hi3520D_dsu: Unknown symbol TdeOsiCancelJob (err 0) hi3520D_dsu: Unknown symbol TdeOsiOpen (err 0) hi3520D_dsu: Unknown symbol TdeOsiOsd2Mb (err 0) hi3520D_dsu: Unknown symbol TdeOsiEndJob (err 0) hi3520D_dsu: Unknown symbol TdeOsiClose (err 0) hi3520D_dsu: Unknown symbol TdeOsiMbFill (err 0) hi3520D_dsu: Unknown symbol TdeOsiGetFiltParam (err 0) hi3520D_dsu: Unknown symbol TdeOsiBeginJobEx (err 0) hi3520D_dsu: Unknown symbol TdeOsiSetFiltParam (err 0) hi3520D_dsu: Unknown symbol TdeOsiMemRequest (err 0) hi3520D_dsu: Unknown symbol TdeOsiRegisterMemManage (err 0) hi3520D_dsu: Unknown symbol TdeOsiGetJobNumInFifo (err 0) insmod: can't insert './hi_module/hi3520D_dsu.ko': unknown symbol in module, or unknown parameter load venc.ko ...OK! load group.ko ...OK! load chnl.ko ...OK! load h264e.ko ...OK! load rc.ko ...OK! load jpege.ko ...OK! load viu.ko ...OK! load vou.ko ....OK! load vpss.ko ....OK! load vda.ko ....OK! load region.ko ....OK! hifb: Unknown symbol TdeOsiCancelJob (err 0) hifb: Unknown symbol TdeOsiOpen (err 0) hifb: Unknown symbol TdeOsiEndJob (err 0) hifb: Unknown symbol TdeOsiClose (err 0) hifb: Unknown symbol tde_get_procentry (err 0) hifb: Unknown symbol TdeOsiBlit (err 0) hifb: Unknown symbol TdeOsiBeginJob (err 0) hifb: Unknown symbol TdeOsiEnableRegionDeflicker (err 0) insmod: can't insert './hi_module/hifb.ko': unknown symbol in module, or unknown parameter load vdec.ko ....OK load vhd firmware.ko OK load hdmi.ko ....OK! jpeg: Unknown symbol tde_get_procentry (err 0) insmod: can't insert './hi_module/jpeg.ko': unknown symbol in module, or unknown parameter Hisilicon Watchdog Timer: 0.01 initialized. default_margin=60 sec (nowayout= 0, nodeamon= 0) HI3515 base @ 14:06:22 Oct 13 2015 GPIO I2C for HI35xx @ 14:06:21 Oct 13 2015 GPIO_PROBE_VALUE : 0x00000000 GPIO Init Succeed! input: keypad as /devices/virtual/input/input2 Keypad for HI3515 @ 14:06:21 Oct 13 2015 input: irda as /devices/virtual/input/input3 Irda for HI3515 @ 14:06:22 Oct 13 2015 I2C -------------- PROBING I2C Device0 I2C -------------- PROBED : 0x60 Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Got cx258x8 plat: 0x00(CxFFFF) Device Detected: xxxx dev_init init successful! do you want to run app.out(y or n)? mount: mounting /dev/loop0 on /tmp/dvr_resource_dir failed: Invalid argument mount: mounting /tmp/dvr_resource_dir//font/ on /root/dvr_app/font failed: No such file or directory mount: mounting /tmp/dvr_resource_dir//app/skin/ on /root/dvr_app/skin failed: No such file or directory mount: mounting /tmp/dvr_resource_dir//app/config/ on /root/dvr_app/config failed: No such file or directory mount: mounting /tmp/dvr_resource_dir//font/ on /root/dvr_gui/font failed: No such file or directory mount: mounting /tmp/dvr_resource_dir//gui/dialog/ on /root/dvr_gui/dialog/ failed: No such file or directory mount: mounting /tmp/dvr_resource_dir//gui/luiengine/skin/ on /root/dvr_gui/luiengine/skin/ failed: No such file or directory mount: mounting /tmp/dvr_resource_dir//gui/resource/ on /root/dvr_gui/resource/ failed: No such file or directory mount: mounting /tmp/dvr_resource_dir//gui/static/ on /root/dvr_gui/static/ failed: No such file or directory mount: mounting /tmp/dvr_resource_dir//gui/icon/ on /root/dvr_gui/icon/ failed: No such file or directory mount: mounting /tmp/dvr_resource_dir//web/ on /root/dvr_web/www/ failed: No such file or directory Found keypad@event2. [pre_run_app] not found UCODEC -> IU5B0533589152 Init Serial Code: IU5B0533589152 Error open File:static/language-full.conf ./dvr_gui: gui_static.cpp: 133: GUIStatic::GUIStatic(): Assertion `nRet != 0' failed. ENVIRONMENT: check 2nd crc = c20e INFO : 1340:[DVR_InitTestMode:408]@05:50:48 enter main application Device Name: DVR Device Model: R5104-AHD Device ID: IU5B0533589152 Device Software Version: 2.2.7 2 Camera: 4 Audio: 2 Sensor: 4 Alarm: 1 Hard Disk Driver: 4 Series Code: IU ENVIRONMENT: check 2nd crc = c20e DEBUG: 1340:[dvr_init_prepare:843]@05:50:48 begin DEBUG: 1340:[dvr_init_prepare:865]@05:50:48 end DVR->[DVR_Init]:941 vga [1280,1024] cvbs [704,576] DEBUG: 1340:[dvr_init_keep_proc:777]@05:50:48 begin TIMETICK->[timetick.c]:240 task list is empty TIMETICK->[timetick.c]:112 TIMETICK pid=1340 tid=424a24c0 begin system.c->463 HI_MPI_VB_Init() failed->0xa001800c starting pid 1345, tty '': '/sbin/ifconfig lo 127.0.0.1 up' starting pid 1346, tty '': '/sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo' starting pid 1347, tty '': '-/bin/sh' Welcome to HiLinux. # ls a.out bin etc linuxrc mnt proc sbin tmp var a2.out dev lib media nfsroot root sys usr # ps PID USER VSZ STAT COMMAND 1 root 1352 S {linuxrc} init 2 root 0 SW [kthreadd] 3 root 0 SW [ksoftirqd/0] 4 root 0 SW [kworker/0:0] 5 root 0 SW [kworker/u:0] 6 root 0 SW [rcu_kthread] 7 root 0 SW< [khelper] 8 root 0 SW [kworker/u:1] 163 root 0 SW [sync_supers] 165 root 0 SW [bdi-default] 166 root 0 SW< [kintegrityd] 168 root 0 SW< [kblockd] 174 root 0 SW< [ata_sff] 185 root 0 SW [khubd] 273 root 0 SW< [rpciod] 274 root 0 SW [kworker/0:1] 284 root 0 SW [kswapd0] 337 root 0 SW [fsnotify_mark] 347 root 0 SW< [nfsiod] 355 root 0 SW< [crypto] 394 root 0 SW< [iscsi_eh] 416 root 0 SW [scsi_eh_0] 419 root 0 SW [scsi_eh_1] 433 root 0 SW [mtdblock0] 438 root 0 SW [mtdblock1] 443 root 0 SW [mtdblock2] 448 root 0 SW [mtdblock3] 453 root 0 SW [mtdblock4] 458 root 0 SW [mtdblock5] 461 root 0 SW [romblock0] 464 root 0 SW [romblock1] 467 root 0 SW [romblock2] 470 root 0 SW [romblock3] 473 root 0 SW [romblock4] 476 root 0 SW [romblock5] 539 root 0 SW< [bond0] 582 root 0 SW< [kpsmoused] 610 root 0 SW [scsi_eh_2] 612 root 0 SW [usb-storage] 615 root 980 S < udevd --daemon 1067 root 1348 S telnetd 1259 root 0 SW [hidog] 1305 root 0 SW< [loop0] 1335 root 17524 S ./upnp_server 1347 root 1356 S -/bin/sh 1349 root 1352 R ps # ls a.out bin etc linuxrc mnt proc sbin tmp var a2.out dev lib media nfsroot root sys usr # cd etc # ls fs-version group inittab passwd profile services fstab hosts inittab- passwd- protocols udev fstab- init.d mtab ppp resolv.conf usbmodems # ---------- Добавлено спустя 4 часа 33 минуты 20 секунд: ----------
Теперь есть root через UART
# whoami
root # cd etc # ls fs-version group inittab passwd profile services fstab hosts inittab- passwd- protocols udev fstab- init.d mtab ppp resolv.conf usbmodems # cat fs-version 01000100 rootbox nohelp info # cat group root::0: # cat inittab ::sysinit:/etc/init.d/rcS ::sysinit:/sbin/ifconfig lo 127.0.0.1 up ::sysinit:/sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo ::respawn:-/bin/sh # cat fstab proc /proc proc defaults 0 0 sysfs /sys sysfs defaults 0 0 usbfs /proc/bus/usb usbfs defaults 0 0 tmpfs /dev tmpfs defaults 0 0 tmpfs /tmp tmpfs defaults 0 0 tmpfs /media tmpfs defaults 0 0 # cat mtab proc /proc proc rw 0 0 sysfs /sys sysfs rw 0 0 devfs /dev devfs rw 0 0 devpts /dev/pts devpts rw 0 0 # cd / # ls -l -rwxrwxrwx 1 root root 6744 Apr 22 2014 a.out -rwxrwxrwx 1 root root 4168 Feb 22 2014 a2.out drwxrwxrwx 2 root root 768 Sep 7 2015 bin drwxr-xr-x 7 root root 3400 Jan 12 06:28 dev drwxrwxrwx 6 root root 291 Oct 13 2015 etc lrwxrwxrwx 1 root root 20 Jul 8 2013 lib -> /root/module/hi_libs lrwxrwxrwx 1 root root 11 Jul 8 2013 linuxrc -> bin/busybox drwxrwxrwt 3 root root 60 Jan 1 1970 media drwxrwxrwx 2 root root 3 Feb 2 2013 mnt drwxrwxrwx 2 root root 3 Feb 2 2013 nfsroot dr-xr-xr-x 58 root root 0 Jan 1 1970 proc drwxrwxrwx 8 root root 179 Oct 13 2015 root drwxrwxrwx 2 root root 716 Jun 29 2013 sbin drwxr-xr-x 11 root root 0 Jan 1 1970 sys drwxrwxrwt 5 root root 280 Jan 12 06:24 tmp drwxrwxrwx 6 root root 62 Feb 2 2013 usr drwxrwxrwx 4 root root 38 Feb 2 2013 var # cd tmp # ls -l -rw-r--r-- 1 root root 15 Jan 12 05:50 DEVID -rwxr-xr-x 1 root root 18 Jan 1 1970 chap-secrets -rwxr-xr-x 1 root root 18 Jan 1 1970 chap-secrets-bak drwxr-xr-x 2 root root 40 Jan 12 05:50 dvr_resource_dir drwxr-xr-x 2 root root 40 Jan 1 1970 lock -rwxr-xr-x 1 root root 18 Jan 1 1970 pap-secrets -rwxr-xr-x 1 root root 18 Jan 1 1970 pap-secrets-bak -rwxr-xr-x 1 root root 4545 Jan 1 1970 pppoe.conf -rwxr-xr-x 1 root root 4545 Jan 1 1970 pppoe.conf-bak -rw-r--r-- 1 root root 0 Jan 12 05:50 resource_ok drwxr-xr-x 2 root root 60 Jan 12 05:50 run prwxr-xr-x 1 root root 0 Jan 12 05:50 wtd_pipe # ifconfig eth0 Link encap:Ethernet HWaddr AE:C0:C8:9B:9A:47 inet addr:192.168.1.114 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::acc0:c8ff:fe9b:9a47/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:243 errors:0 dropped:1 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:49970 (48.7 KiB) TX bytes:468 (468.0 B) Interrupt:56 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) # ifconfig eth0 up # ifconfig eth0 down # ***link down status changed***. PHY: himii:03 - Link is Down # ifconfig eth0 up ADDRCONF(NETDEV_UP): eth0: link is not ready # PHY: himii:03 - Link is Up - 100/Full ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready # ping 192.168.1.1 PING 192.168.1.1 (192.168.1.1): 56 data bytes 64 bytes from 192.168.1.1: seq=0 ttl=64 time=0.900 ms 64 bytes from 192.168.1.1: seq=1 ttl=64 time=0.543 ms 64 bytes from 192.168.1.1: seq=2 ttl=64 time=0.551 ms 64 bytes from 192.168.1.1: seq=3 ttl=64 time=0.820 ms 64 bytes from 192.168.1.1: seq=4 ttl=64 time=0.825 ms 64 bytes from 192.168.1.1: seq=5 ttl=64 time=0.542 ms 64 bytes from 192.168.1.1: seq=6 ttl=64 time=0.535 ms ^C --- 192.168.1.1 ping statistics --- 7 packets transmitted, 7 packets received, 0% packet loss round-trip min/avg/max = 0.535/0.673/0.900 ms # Jan 12 17:17:02 login[1431]: root login on 'pts/0'
и telnet
(none) login: root
Password: Welcome to HiLinux. # ls dvr_app dvr_web nfs run_app.sh upnp_server dvr_gui module rec run_app.sh.bak zint # |
314404 [ 17 янв 2021, 18:42 ] | |
Заголовок сообщения: | Re: Ищу help.rom или дамп на 4х канальный DVR JA-RR5104-AHD (board HI3520D_V1.99 DATE: 2015.07.18) [РЕШЕНО] |
Перепрошил дампом от fobos, загрузился нормально. |
Страница 1 из 1 | Часовой пояс: UTC + 4 часа |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |