#C-kermit for windows # cat /proc/mtd #dev: size erasesize name #mtd0: 00080000 00010000 "boot" #mtd1: 00280000 00010000 "kernel" #mtd2: 00d00000 00010000 "rootfs" #0x0 0x80000 #0x80000 0x280000 #0x300000 0xD00000 # BOOT mw.b 0x82000000 0xff 0x80000 loady 0x82000000 115200 sf probe 0; sf erase 0x0 0x80000; sf write 0x82000000 0x0 0x80000 #KERNEL #0x80000 0x280000 mw.b 0x82000000 0xff 0x280000 loady 0x82000000 115200 sf probe 0; sf erase 0x80000 0x280000; sf write 0x82000000 0x80000 0x280000 #ROOTFS #0x300000 0xD00000 mw.b 0x82000000 0xff 0xD00000 loady 0x82000000 115200 sf probe 0; sf erase 0x300000 0xD00000; sf write 0x82000000 0x300000 0xD00000
# ./ipctool Error: unexpected value for SOI == 0x9711 --- chip: vendor: HiSilicon model: 3518EV100 board: possible-IR-cut-GPIO: 3,18,24,26,34,35,39,42,46,80,81 ethernet: mac: "00:e0:f8:01:9e:65" u-mdio-phyaddr: 1 phy-id: 0xffffffff d-mdio-phyaddr: 0 phy-mode: mii rom: - type: nor block: 64K partitions: - name: boot size: 0x80000 sha1: 68273b72 contains: - name: uboot-env offset: 0x40000 - name: kernel size: 0x280000 sha1: 6aae77e9 - name: rootfs size: 0xd00000 path: /,jffs2 sha1: 3140c4b0 size: 16M addr-mode: 3-byte ram: total: 64M media: 20M firmware: u-boot: "2010.06 (Mar 18 2014 - 03:42:32)" kernel: "3.0.8 (Tue Mar 18 03:54:42 HKT 2014)" toolchain: gcc version 4.4.1 (Hisilicon_v100(gcc4.4-290+uclibc_0.9.32.1+eabi+linuxpthread)) libc: uClibc 0.9.32.1 sdk: "Hi3518_MPP_V1.0.8.1 (Mar 18 2014, 11:53:10)" main-app: /mnt/mtd/ipc/ipc_server sensors: - vendor: OmniVision model: OV9712 control: bus: 0 type: i2c addr: 0x60 data: type: DC clock: 24MHz # ./ipctool reginfo muxctrl_reg0 0x200f0000 0x1 GPIO1_0 [SHUTTER_TRIG] muxctrl_reg1 0x200f0004 0x1 GPIO1_1 [SDIO_CCLK_OUT] muxctrl_reg2 0x200f0008 0x1 GPIO1_2 [SENSOR_CLK] muxctrl_reg3 0x200f000c 0 [GPIO1_4] SPI0_SCLK muxctrl_reg4 0x200f0010 0 [GPIO1_5] SPI0_SDO muxctrl_reg5 0x200f0014 0 [GPIO1_6] SPI0_SDI muxctrl_reg6 0x200f0018 0x1 GPIO2_0 [I2C_SDA] muxctrl_reg7 0x200f001c 0x1 GPIO2_1 [I2C_SCL] muxctrl_reg8 0x200f0020 0 [GPIO2_2] UART1_RTSN muxctrl_reg9 0x200f0024 0x1 GPIO2_3 [UART1_RXD] muxctrl_reg10 0x200f0028 0x1 GPIO2_4 [UART1_CTSN] muxctrl_reg11 0x200f002c 0x1 GPIO2_5 [UART1_TXD] muxctrl_reg12 0x200f0030 0 [GPIO3_0] MII_CRS VOU1120_DATA10 muxctrl_reg13 0x200f0034 0 [GPIO3_1] MII_COL VOU1120_DATA9 muxctrl_reg14 0x200f0038 0 [GPIO4_3] MII_RXD3 VOU1120_DATA15 muxctrl_reg15 0x200f003c 0 [GPIO4_2] MII_RXD2 VOU1120_DATA11 muxctrl_reg16 0x200f0040 0x1 GPIO4_1 [MII_RXD1] VOU1120_DATA8 muxctrl_reg17 0x200f0044 0x1 GPIO4_0 [MII_RXD0] VOU1120_DATA12 muxctrl_reg18 0x200f0048 0 [GPIO4_7] MII_TXD3 VOU1120_DATA3 muxctrl_reg19 0x200f004c 0 [GPIO4_6] MII_TXD2 VOU1120_DATA13 muxctrl_reg20 0x200f0050 0x1 GPIO4_5 [MII_TXD1] VOU1120_DATA0 muxctrl_reg21 0x200f0054 0x1 GPIO4_4 [MII_TXD0] VOU1120_DATA4 muxctrl_reg22 0x200f0058 0 [GPIO3_2] MII_RXCK VOU1120_CLK muxctrl_reg23 0x200f005c 0x3 GPIO3_3 MII_TXCK VOU1120_DATA7 [RMII_CLK] muxctrl_reg24 0x200f0060 0x1 GPIO3_4 [MII_RXDV] VOU1120_DATA1 muxctrl_reg25 0x200f0064 0x1 GPIO3_5 [MII_TXEN] VOU1120_DATA5 muxctrl_reg26 0x200f0068 0x1 GPIO2_6 [MII_TXER] muxctrl_reg27 0x200f006c 0x1 GPIO2_7 [MII_RXER] muxctrl_reg28 0x200f0070 0x1 GPIO1_3 [EPHY_CLK] VOU1120_DATA2 muxctrl_reg29 0x200f0074 0x1 GPIO3_6 [MDCK] VOU1120_DATA6 BOOT_SEL muxctrl_reg30 0x200f0078 0x1 GPIO3_7 [MDIO] VOU1120_DATA14 muxctrl_reg31 0x200f007c 0x1 GPIO1_7 [FLASH_TRIG] muxctrl_reg32 0x200f0080 0x1 GPIO6_0 [SDIO_CARD_DETECT] muxctrl_reg33 0x200f0084 0x1 GPIO6_1 [SDIO_CARD_POWER_EN] muxctrl_reg34 0x200f0088 0x1 GPIO6_2 [SDIO_CWPR] muxctrl_reg35 0x200f008c 0x1 GPIO6_3 [SDIO_CCMD] muxctrl_reg36 0x200f0090 0x1 GPIO6_4 [SDIO_CDATA0] CLK_TEST_OUT0 CLK_TEST_OUT1 CLK_TEST_OUT2 CLK_TEST_OUT3 muxctrl_reg37 0x200f0094 0x1 PLL_TEST_OUT0 [SDIO_CDATA1] GPIO6_5 PLL_TEST_OUT1 PLL_TEST_OUT2 PLL_TEST_OUT3 RTC_TEST_CLK muxctrl_reg38 0x200f0098 0x1 GPIO6_6 [SDIO_CDATA2] muxctrl_reg39 0x200f009c 0x1 GPIO6_7 [SDIO_CDATA3] muxctrl_reg40 0x200f00a0 0 [SFC_DIO] GPIO7_0 muxctrl_reg41 0x200f00a4 0 [SFC_WP_IO2] GPIO7_1 muxctrl_reg42 0x200f00a8 0 [SFC_CLK] GPIO7_2 SFC_ADDR_MODE muxctrl_reg43 0x200f00ac 0 [SFC_DOI] GPIO7_3 muxctrl_reg44 0x200f00b0 0 [SFC_HOLD_IO3] GPIO7_4 muxctrl_reg45 0x200f00b4 0x1 GPIO5_0 [USB_OVRCUR] muxctrl_reg46 0x200f00b8 0 [GPIO5_1] USB_PWREN muxctrl_reg47 0x200f00bc 0 [GPIO5_2] PWM_OUT0 muxctrl_reg48 0x200f00c0 0 [GPIO5_3] PWM_OUT1 muxctrl_reg49 0x200f00c4 0x1 IR_IN [GPIO7_5] muxctrl_reg50 0x200f00c8 0x1 reserved [GPIO9_0] muxctrl_reg51 0x200f00cc 0x1 reserved [GPIO9_1] muxctrl_reg52 0x200f00d0 0x1 reserved [GPIO9_2] muxctrl_reg53 0x200f00d4 0x1 reserved [GPIO9_3] muxctrl_reg54 0x200f00d8 0x1 reserved [GPIO9_4] muxctrl_reg55 0x200f00dc 0x1 reserved [GPIO9_5] muxctrl_reg56 0x200f00e0 0x1 reserved [GPIO9_6] muxctrl_reg57 0x200f00e4 0x1 reserved [GPIO9_7] muxctrl_reg58 0x200f0108 0 [GPIO7_6] UART2_RXD muxctrl_reg59 0x200f010c 0 [GPIO7_7] UART2_TXD muxctrl_reg60 0x200f0110 0 [GPIO5_4] SPI1_SCLK muxctrl_reg61 0x200f0114 0 [GPIO5_5] SPI1_SDO muxctrl_reg62 0x200f0118 0 [GPIO5_6] SPI1_SDI muxctrl_reg63 0x200f011c 0 [GPIO5_7] SPI1_CSN muxctrl_reg64 0x200f0120 0 [GPIO0_0] JTAG_TRSTN TEMPER_DQ muxctrl_reg65 0x200f0124 0 [GPIO0_1] JTAG_TCK TEMPER_DQ muxctrl_reg66 0x200f0128 0 [GPIO0_2] JTAG_TMS TEMPER_DQ muxctrl_reg67 0x200f012c 0 [GPIO0_3] JTAG_TDO TEMPER_DQ muxctrl_reg68 0x200f0130 0 [GPIO0_4] JTAG_TDI TEMPER_DQ muxctrl_reg69 0x200f0134 0x1 SVB_PWM [GPIO0_5] TEMPER_DQ muxctrl_reg70 0x200f0138 0 [GPIO0_6] SVB_PWM TEMPER_DQ muxctrl_reg71 0x200f013c 0x1 SYS_RSTN_OUT [GPIO0_7] TEMPER_DQ muxctrl_reg72 0x200f0140 0 [VIU_CLK] GPIO11_6 muxctrl_reg73 0x200f0144 0 [VIU_VS] GPIO11_5 muxctrl_reg74 0x200f0148 0 [VIU_HS] GPIO11_4 muxctrl_reg75 0x200f014c 0 [VIU_DAT11] GPIO11_3 muxctrl_reg76 0x200f0150 0 [VIU_DAT10] GPIO11_2 muxctrl_reg77 0x200f0154 0 [VIU_DAT9] GPIO11_1 muxctrl_reg78 0x200f0158 0 [VIU_DAT8] GPIO11_0 muxctrl_reg79 0x200f015c 0 [VIU_DAT7] GPIO10_7 muxctrl_reg80 0x200f0160 0 [VIU_DAT6] GPIO10_6 muxctrl_reg81 0x200f0164 0 [VIU_DAT5] GPIO10_5 muxctrl_reg82 0x200f0168 0 [VIU_DAT4] GPIO10_4 muxctrl_reg83 0x200f016c 0 [VIU_DAT3] GPIO10_3 muxctrl_reg84 0x200f0170 0 [VIU_DAT2] GPIO10_2 muxctrl_reg85 0x200f0174 0x1 VIU_DAT1 [GPIO10_1] muxctrl_reg86 0x200f0178 0x1 VIU_DAT0 [GPIO10_0]
https://github.com/OpenIPC WIKI pdf https://themactep.com/tools/firmware-partitions-calculation
прошивка get root Uboot MII example firmware
# Params of camera cpu hi3518ev100 sensor ov9712_i2c nor # read flash to ram sf read <addr> <offset>|<partition> <len> ;sf read 0x82000000 0x80000 0x280000 printenv bootdelay=1 baudrate=115200 bootfile="uImage" phyaddru=0 phyaddrd=1 mdio_intf=rmii bootcmd=sf probe 0;sf read 0x82000000 0x80000 0x280000;bootm 0x82000000 ethaddr=00:ab:e3:f6:89:02 filesize=A1CF04 fileaddr=82000000 bootargs=mem=44M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=jffs2 mtdparts=hi_sfc:512K(boot),2560K(kernel),13M(rootfs) ipaddr=192.168.114.20 netmask=255.255.255.0 gatewayip=192.168.114.1 serverip=192.168.114.112 stdin=serial stdout=serial stderr=serial verify=n ver=U-Boot 2010.06 (Mar 18 2014 - 03:42:32) Environment size: 532/262140 bytes #backup #https://felipe.astroza.cl/hacking-hi3815-based-ip-camera/ # dd if=/dev/mtd0 of=/mnt/mtd/ipc/tmpfs/sd/boot.mtd bs=65536 8+0 records in 8+0 records out 524288 bytes (512.0KB) copied, 0.220300 seconds, 2.3MB/s # dd if=/dev/mtd1 of=/mnt/mtd/ipc/tmpfs/sd/kernel.mtd bs=65536 40+0 records in 40+0 records out 2621440 bytes (2.5MB) copied, 0.678152 seconds, 3.7MB/s # dd if=/dev/mtd2 of=/mnt/mtd/ipc/tmpfs/sd/rootfs.mtd bs=65536 208+0 records in 208+0 records out 13631488 bytes (13.0MB) copied, 4.859616 seconds, 2.7MB/s setenv ipaddr 192.168.114.20 setenv netmask 255.255.255.0 setenv gatewayip 192.168.114.1 setenv serverip 192.168.114.112 saveenv sf probe [[[<bus>:]<cs>] [<hz> [<mode>]]] sf read <addr> <offset>|<partition> <len> sf write <addr> <offset>|<partition> <len> sf erase <offset>|<partition> <len> sf update <addr> <offset>|<partition> <len> sf protect lock|unlock <sector> <len> sf test <offset>|<partition> <len> sf read 0x82000000 0x80000 0x500000 flash1 sf read 0x82000000 0x300000 0x280000 flash2 hisilicon # sf read 0x82000000 0x80000 0xF80000 tftp 0x82000000 flash.bin 0xF80000 # get shell #https://forum.videon.spb.ru/viewtopic.php?f=24&t=7550 uboot hisilicon # setenv bootargs mem=43M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=jffs2 mtdparts=hi_sfc:512K(boot),2560K(kernel),13M(rootfs) init=/bin/sh hisilicon # sf probe 0 16384 KiB hi_sfc at 0:0 is now current device hisilicon # sf read 0x82000000 0x80000 0x280000 hisilicon # bootm 0x82000000
# Uboot and loading kernel U-Boot 2010.06 (Mar 18 2014 - 03:42:32) 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 ## Booting kernel from Legacy Image at 82000000 ... Image Name: Linux-3.0.8 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2598364 Bytes = 2.5 MiB Load Address: 80008000 Entry Point: 80008000 Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Linux version 3.0.8 (root@localhost.localdomain) (gcc version 4.4.1 (Hisilicon_v 100(gcc4.4-290+uclibc_0.9.32.1+eabi+linuxpthread)) ) #1 Tue Mar 18 03:54:42 HKT 2014 CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 CPU: VIVT data cache, VIVT instruction cache Machine: hi3518 Memory policy: ECC disabled, Data cache writeback AXI bus clock 200000000. Built 1 zonelists in Zone order, mobility grouping on. Total pages: 11176 Kernel command line: mem=44M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfsty pe=jffs2 mtdparts=hi_sfc:512K(boot),2560K(kernel),13M(rootfs) PID hash table entries: 256 (order: -2, 1024 bytes) Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory: 44MB = 44MB total Memory: 39732k/39732k available, 5324k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) DMA : 0xffc00000 - 0xffe00000 ( 2 MB) vmalloc : 0xc3000000 - 0xfe000000 ( 944 MB) lowmem : 0xc0000000 - 0xc2c00000 ( 44 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .init : 0xc0008000 - 0xc0022000 ( 104 kB) .text : 0xc0022000 - 0xc0491000 (4540 kB) .data : 0xc0492000 - 0xc04b0e00 ( 124 kB) .bss : 0xc04b0e24 - 0xc04c4170 ( 77 kB) SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:32 nr_irqs:32 32 sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 42949ms Console: colour dummy device 80x30 Calibrating delay loop... 218.72 BogoMIPS (lpj=1093632) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok NET: Registered protocol family 16 Serial: AMBA PL011 UART driver uart:0: ttyAMA0 at MMIO 0x20080000 (irq = 5) is a PL011 rev2 console [ttyAMA0] enabled uart:1: ttyAMA1 at MMIO 0x20090000 (irq = 5) 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 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 2048 (order: 2, 16384 bytes) TCP bind hash table entries: 2048 (order: 1, 8192 bytes) TCP: Hash tables configured (established 2048 bind 2048) 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. JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc. fuse init (API version 7.16) msgmni has been set to 77 Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) io scheduler noop registered io scheduler deadline registered (default) io scheduler cfq registered 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 3 cmdlinepart partitions found on MTD device hi_sfc Creating 3 MTD partitions on "hi_sfc": 0x000000000000-0x000000080000 : "boot" 0x000000080000-0x000000300000 : "kernel" 0x000000300000-0x000001000000 : "rootfs" Fixed MDIO Bus: probed himii: probed 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 15, 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: 1 port 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 16, io mem 0x100a0000 hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected 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 lib80211: common routines for IEEE802.11 drivers Registering the dns_resolver key type drivers/rtc/hctosys.c: unable to open rtc device (rtc0) ▒usb 1-1: new high speed USB device number 2 using hiusb-ehci VFS: Mounted root (jffs2 filesystem) on device 31:2. Freeing init memory: 104K _ _ _ _ _ _ _ _ _ _ _ _ \ _ _ _ _ _ ___ / /__/ \ |_/ / __ / - _ ___ / / / / / / _ _ _ _/ / / \_/ \_ ______ ___________\___\__________________ [RCS]: /etc/init.d/S00devs [RCS]: /etc/init.d/S01udev udevd (412): /proc/412/oom_adj is deprecated, please use /proc/412/oom_score_adj instead. [RCS]: /etc/init.d/S80network ADDRCONF(NETDEV_UP): eth0: link is not ready sd sd infrared driver init successful! sinit driver init successful! (none) login: mt7601Usta: module license 'unspecified' taints kernel. Disabling lock debugging due to kernel taint rtusb init rtusbSTA ---> === pAd = c32b4000, size = 860120 === <-- RTMPAllocTxRxRingMemory, Status=0 <-- RTMPAllocAdapterBlock, Status=0 RTMP_COM_IoctlHandle():pAd->BulkOutEpAddr=0x8 RTMP_COM_IoctlHandle():pAd->BulkOutEpAddr=0x4 RTMP_COM_IoctlHandle():pAd->BulkOutEpAddr=0x5 RTMP_COM_IoctlHandle():pAd->BulkOutEpAddr=0x6 RTMP_COM_IoctlHandle():pAd->BulkOutEpAddr=0x7 RTMP_COM_IoctlHandle():pAd->BulkOutEpAddr=0x9 NVM is EFUSE Endpoint(8) is for In-band Command Endpoint(4) is for WMM0 AC0 Endpoint(5) is for WMM0 AC1 Endpoint(6) is for WMM0 AC2 Endpoint(7) is for WMM0 AC3 Endpoint(9) is for WMM1 AC0 Endpoint(84) is for Data-In Endpoint(85) is for Command Rsp usbcore: registered new interface driver rtusbSTA extalarm driver init successful ! Hisilicon Watchdog Timer: 0.01 initialized. default_margin=60 sec (nowayout= 0, nodeamon= 0) encript driver init successful! relay driver init successful! reset driver init successful! rsignal driver init successful! wifikey driver init successful! light driver init successful ! audioin driver init successful! Hisilicon Media Memory Zone Manager Hisilicon UMAP device driver interface: v3.00 pa:82c00000, va:c3440000 load sys.ko for Hi3518...OK! load viu.ko for Hi3518...OK! ISP Mod init! load vpss.ko ....OK! load venc.ko for Hi3518...OK! load group.ko for Hi3518...OK! load chnl.ko for Hi3518...OK! load h264e.ko for Hi3518...OK! load jpege.ko for Hi3518...OK! load rc.ko for Hi3518...OK! load region.ko ....OK! load vda.ko ....OK! hi_i2c init is ok! Kernel: ssp initial ok! acodec inited! insert audio ==== Your input Sensor type is icx692 ==== 1. LDO_CTR0(6c) = a64799, PMU_OCLEVEL c 2. LDO_CTR0(6c) = a6478d, PMU_OCLEVEL 6 FW Version:0.1.00 Build:7640 Build Time:201308222153____ ILM Length = 47000(bytes) DLM Length = 0(bytes) Loading FW.... # RTMP_TimerListAdd: add timer obj c33347ec! RTMP_TimerListAdd: add timer obj c3334804! RTMP_TimerListAdd: add timer obj c333481c! RTMP_TimerListAdd: add timer obj c33347d4! RTMP_TimerListAdd: add timer obj c333478c! RTMP_TimerListAdd: add timer obj c33347a4! RTMP_TimerListAdd: add timer obj c32c9624! RTMP_TimerListAdd: add timer obj c32b61e0! RTMP_TimerListAdd: add timer obj c32b61fc! RTMP_TimerListAdd: add timer obj c32c967c! RTMP_TimerListAdd: add timer obj c32b8bb4! RTMP_TimerListAdd: add timer obj c32b8264! RTMP_TimerListAdd: add timer obj c32b8b98! RTMP_TimerListAdd: add timer obj c32b8dd8! RTMP_TimerListAdd: add timer obj c32b8bd0! RTMP_TimerListAdd: add timer obj c32b8bec! RTMP_TimerListAdd: add timer obj c32b8c08! RTMP_TimerListAdd: add timer obj c32c95f4! RTMP_TimerListAdd: add timer obj c32c9664! RTMP_TimerListAdd: add timer obj c32b8e08! RTMP_TimerListAdd: add timer obj c32b8e20! RTMP_TimerListAdd: add timer obj c32b8e38! RTMP_TimerListAdd: add timer obj c32b8e50! cfg_mode=9 wmode_band_equal(): Band Equal! Key1Str is Invalid key length(0) or Type(0) Key2Str is Invalid key length(0) or Type(0) Key3Str is Invalid key length(0) or Type(0) Key4Str is Invalid key length(0) or Type(0) 1. Phy Mode = 14 2. Phy Mode = 14 NVM is Efuse and its size =1d[1e0-1fc] 3. Phy Mode = 14 AntCfgInit: primary/secondary ant 0/1 ---> InitFrequencyCalibration InitFrequencyCalibrationMode:Unknow mode = 3 InitFrequencyCalibration: frequency offset in the EEPROM = 100(0x64) <--- InitFrequencyCalibration RTMPSetPhyMode: channel is out of range, use first channel=1 MCS Set = ff 00 00 00 00 <==== rt28xx_init, Status=0 0x1300 = 00064300 RTMPDrvOpen(1):Check if PDMA is idle! RTMPDrvOpen(2):Check if PDMA is idle! motor driver init successful! ADDRCONF(NETDEV_UP): eth0: link is not ready killall: udhcpc: no process killed udhcpc (v1.16.1) started dhcp failed. set eth0 to default ip: 192.168.1.88 killall: runarp: no process killed Sending discover... killall: arping: no process killed Sending discover... Sending discover... dhcp failed. set eth0 to default ip: 192.168.1.88 route: SIOCADDRT: File exists No lease, forking to background 1 2 RTC time 1970-01-01 00:00:00 Set system time as date -s 1970.01.01-00:00:00 date: can't set date: Invalid argument Thu Jan 1 00:00:00 STD 1970 umount: can't forcibly umount /mnt/mtd/ipc/tmpfs/sd: Invalid argument killall: gerddns: no process killed killall: upnp_map: no process killed killall: arping: no process killed killall: upnp_map: no process killed killall: ddns_update: no process killed workthread: log init succeed. libs_initnettype(Lan): succeed. macflag: 0 videocomm(0): 6 1280 720 videocomm(1): 7 640 352 videocomm(2): 8 320 176 TimeZone: -5 workthread: init ini succeed. workthread: ntpsvr init succeed. sLightInfo.s32Enable=1 workthread: reset init succeed. HI_WifiKey_Init: apmode=0 workthread: wifikey init succeed. workthread: timerreboot init succeed. ptz type: motor HI_Ntp_Proc: enable=1, svr=10.59.5.1, interval=1 timerreboot: enable=0,reboot time=00:00:00 workthread: ptz init succeed. HI_Media_SDKInit: efreq=50,maxchn=2,resolution=31,maxresolution=6,maxwidth=1280, maxheight=720 HI_Media_SDKInit: HI_SDK_Init() error! HI_Media_Init: init sdk failed! HI_Websvr_Init: init media failed! workthread: websvr start failed! ipc_server stop: 1970-01-01 05:00:31 onvif: TZ: STD-5:0:0 onvif: TZInterval: 18000 onvif: login dev failed! handle=0 objp2p: start: 1970-01-01 05:00:36 HI_ObjLink_Svr_Start pGLCfg->szUID = HZD-023351-DBEFA login dev failed! handle[0]=0 objp2p: sdk login failed! objp2p: stop: 1970-01-01 05:00:36 objp2p: start: 1970-01-01 05:00:36 HI_ObjLink_Svr_Start pGLCfg->szUID = HZD-023351-DBEFA login dev failed! handle[0]=0
root@ipcam1:/mnt/mmcblk0p1/ipc# ./ipctool mdio busy mdio busy Error: unexpected value for SOI == 0x9711 --- chip: vendor: HiSilicon model: 3518EV100 board: vendor: OpenIPC version: 2.3.12.15 ethernet: u-mdio-phyaddr: 0 phy-id: 0x00000000 d-mdio-phyaddr: 0 phy-mode: mii rom: - type: nor block: 64K partitions: - name: boot size: 0x40000 sha1: 42f2bad9 - name: env size: 0x10000 sha1: e14d8313 contains: - name: uboot-env offset: 0x0 - name: kernel size: 0x300000 sha1: c6e96ceb - name: rootfs size: 0xa00000 path: /,squashfs sha1: cdbf09f2 - name: rootfs_data size: 0x2b0000 path: /overlay,jffs2,rw size: 16M addr-mode: 3-byte ram: total: 64M media: 32M firmware: u-boot: "2010.06 (Nov 14 2022 - 19:25:39)" kernel: "3.0.8 (Fri Dec 15 16:15:50 UTC 2023)" toolchain: buildroot-gcc-12.2.0 sdk: "Hi3518_MPP_V1.0.B.0 (Nov 19 2015, 16:37:04)" sensors: - vendor: OmniVision model: OV9712 control: bus: 0 type: i2c addr: 0x60 data: type: DC clock: 24MHz