valov@N-DKS-ND-24182D:~> sudo picocom -b 115200 /dev/ttyUSB0 picocom v2024-07 port is : /dev/ttyUSB0 flowcontrol : none baudrate is : 115200 parity is : none databits are : 8 stopbits are : 1 txdelay is : 0 ns escape is : C-a local echo is : no noinit is : no noreset is : no hangup is : no nolock is : no send_cmd is : sz -vv receive_cmd is : rz -vv -E imap is : omap is : emap is : crcrlf,delbs, logfile is : none initstring : none exit_after is : not set exit is : no minimal cmds is: no Type [C-a] [C-h] to see available commands Terminal ready console init done U-Boot 2012.10 (May 21 2020 - 11:01:52) for GK7102C devkit-v1.1 (GOKE) HAL: 20160804 ram_size = 0x4000000 DRAM: 64 MiB Flash: [W25Q64FV] USE 1X mode read and 1X mode write 8 MiB NAND: [No SPI nand] SF: 8 MiB [page:256 Bytes] [sector:64 KiB] [count:128] (W25Q64FV) In: serial Out: serial Err: serial Net: Int PHY Hit Enter key to stop autoboot: 0 [PROCESS_SEPARATORS] sf probe;sf read 0xc1000000 0x50000 0x1A0000;bootm 0xc1000000 SF: 8 MiB [page:256 Bytes] [sector:64 KiB] [count:128] (W25Q64FV) put param to memory mem size (35) total mem size (64) bsb size (2) usr size (0) ## Booting kernel from Legacy Image at c1000000 ... Image Name: Linux-3.4.43-gk Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1676272 Bytes = 1.6 MiB Load Address: c0208000 Entry Point: c0208000 Verifying Checksum ... OK Loading Kernel Image ... OK OK entry = 0xc0208000 ## Transferring control to Linux (at address c0208000)... Starting kernel ... machid = 3988 r2 = 0xc0000100 Uncompressing Linux... done, booting the kernel. [ 0.000000] Booting Linux on physical CPU 0 [ 0.000000] Linux version 3.4.43-gk (wx@ubuntu) (gcc version 4.6.1 (crosstool-NG 1.18.0) ) #40 PREEMPT Thu May 21 10:00:34 CST 2020 [ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d [ 0.000000] CPU: VIPT aliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: Goke IPC Board [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] AHB: 0x90000000 0xf2000000 -- 0x1000000 [ 0.000000] APB: 0xa0000000 0xf3000000 -- 0x1000000 [ 0.000000] PPM: 0xc0000000 0xc0000000 -- 0x200000 [ 0.000000] BSB: 0xc2500000 0xf5000000 -- 0x200000 [ 0.000000] DSP: 0xc2700000 0xf6000000 -- 0x18f0000 [ 0.000000] USR: 0xc3ff0000 0xfe000000 -- 0x10000 [ 0.000000] hal version = 20160804 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8890 [ 0.000000] Kernel command line: console=ttySGK0,115200 mem=35M rootfstype=squashfs root=/dev/mtdblock2 mtdparts=gk_flash:320K(uboot),1664K(kernel),1088K(rootfs),384K(home),-(mtd) init=linuxrc [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Memory: 35MB = 35MB total [ 0.000000] Memory: 30800k/30800k available, 5040k reserved, 0K highmem [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] DMA : 0xff600000 - 0xffe00000 ( 8 MB) [ 0.000000] vmalloc : 0x82800000 - 0xff000000 (1992 MB) [ 0.000000] lowmem : 0x80000000 - 0x82300000 ( 35 MB) [ 0.000000] modules : 0x7f000000 - 0x80000000 ( 16 MB) [ 0.000000] .text : 0x80008000 - 0x80416000 (4152 kB) [ 0.000000] .init : 0x80416000 - 0x80435000 ( 124 kB) [ 0.000000] .data : 0x80436000 - 0x80460760 ( 170 kB) [ 0.000000] .bss : 0x80460784 - 0x80482a48 ( 137 kB) [ 0.000000] NR_IRQS:128 [ 0.000000] >> gk init irq vic1... [ 0.000000] >> gk init irq vic2... [ 0.000000] gk init vic... [ 0.000000] mach gk init timer... [ 0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms [ 0.000000] Console: colour dummy device 80x30 [ 0.000000] console [ttySGK0] enabled [ 0.020000] Calibrating delay loop... 430.08 BogoMIPS (lpj=2150400) [ 0.080000] pid_max: default: 32768 minimum: 301 [ 0.080000] Mount-cache hash table entries: 512 [ 0.090000] CPU: Testing write buffer coherency: ok [ 0.100000] Setting up static identity map for 0xc0546da8 - 0xc0546de0 [ 0.120000] NET: Registered protocol family 16 [ 0.120000] init timer... [ 0.130000] Init HW timer for DSP communication [ 0.130000] init gpio... [ 0.130000] ################################### [ 0.140000] [BOOT VERSION] GK7102C devkit-v1.1 v1.1 [ 0.150000] [NET INT_CLK] Internal PHY clock [ 0.150000] [GPIO]############################# [ 0.160000] [GPIO] gpio map get from uboot [ 0.160000] [GPIO CFG] gpio count = 63 [ 0.160000] [GPIO CFG] intphy count = 0 [ 0.170000] [GPIO CFG] extphy count = 0 [ 0.170000] [GPIO CFG] IR LED CTL (undefined) [ 0.180000] [GPIO CFG] IR CUT1 (undefined) [ 0.180000] [GPIO CFG] IR CUT2 (undefined) [ 0.190000] [GPIO CFG] SENSOR Reset (1) [ 0.190000] [GPIO CFG] PHY Reset (undefined) [ 0.200000] [GPIO CFG] PHY Speed Led (undefined) [ 0.200000] [GPIO CFG] SPI0 EN (undefined) [ 0.210000] [GPIO CFG] SPI1 EN (undefined) [ 0.210000] [GPIO CFG] USB HOST (undefined) [ 0.220000] [GPIO CFG] SD Detect (10) [ 0.220000] [GPIO CFG] SD Power (undefined) [ 0.230000] [GPIO CFG] SD1 Detect (undefined) [ 0.230000] [GPIO CFG] SD1 Power (undefined) [ 0.240000] [GPIO CFG] pwm0 (undefined) [ 0.240000] [GPIO CFG] pwm1 (undefined) [ 0.250000] [GPIO CFG] pwm2 (undefined) [ 0.250000] [GPIO CFG] pwm3 (undefined) [ 0.260000] [GPIO CFG] pwm4 (undefined) [ 0.260000] [GPIO CFG] pwm5 (undefined) [ 0.270000] [GPIO CFG] pwm6 (undefined) [ 0.270000] [GPIO CFG] pwm7 (undefined) [ 0.280000] [GPIO]############################# [ 0.280000] gpiochip_add: registered GPIOs 0 to 63 on device: gk-gpio0 [ 0.290000] [GPIO CFG] gpio_00=SF_CS0 [ 0.300000] [GPIO CFG] gpio_01=SENSOR_RESET [ 0.300000] [GPIO CFG] gpio_02=I2C0_DATA [ 0.310000] [GPIO CFG] gpio_03=I2C0_CLK [ 0.310000] [GPIO CFG] gpio_04=OUTPUT_0 [ 0.310000] [GPIO CFG] gpio_05=OUTPUT_0 [ 0.320000] [GPIO CFG] gpio_06=SDIO0_CMD [ 0.320000] [GPIO CFG] gpio_07=SDIO0_DATA_1 [ 0.330000] [GPIO CFG] gpio_08=SDIO0_DATA_0 [ 0.330000] [GPIO CFG] gpio_09=SDIO0_CLK [ 0.340000] [GPIO CFG] gpio_10=SDIO0_CD_N [ 0.340000] [GPIO CFG] gpio_11=OUTPUT_0 [ 0.350000] [GPIO CFG] gpio_12=INPUT_0 [ 0.350000] [GPIO CFG] gpio_13=OUTPUT_0 [ 0.350000] [GPIO CFG] gpio_14=OUTPUT_0 [ 0.360000] [GPIO CFG] gpio_15=OUTPUT_0 [ 0.360000] [GPIO CFG] gpio_16=INPUT_0 [ 0.370000] [GPIO CFG] gpio_17=OUTPUT_0 [ 0.370000] [GPIO CFG] gpio_18=INPUT_0 [ 0.370000] [GPIO CFG] gpio_19=SDIO0_DATA_3 [ 0.380000] [GPIO CFG] gpio_20=SDIO0_DATA_2 [ 0.380000] [GPIO CFG] gpio_21=OUTPUT_0 [ 0.390000] [GPIO CFG] gpio_22=OUTPUT_0 [ 0.390000] [GPIO CFG] gpio_23=OUTPUT_0 [ 0.400000] [GPIO CFG] gpio_24=OUTPUT_0 [ 0.400000] [GPIO CFG] gpio_25=UART0_RX [ 0.410000] [GPIO CFG] gpio_26=UART0_TX [ 0.410000] [GPIO CFG] gpio_27=OUTPUT_0 [ 0.410000] [GPIO CFG] gpio_28=OUTPUT_0 [ 0.420000] [GPIO CFG] gpio_29=INPUT_0 [ 0.420000] [GPIO CFG] gpio_30=INPUT_0 [ 0.430000] [GPIO CFG] gpio_31=INPUT_0 [ 0.430000] [GPIO CFG] gpio_32=INPUT_0 [ 0.440000] create proc dir [ 0.440000] gk register devices 8 [ 0.440000] gk register I2C [ 0.470000] bio: create slab at 0 [ 0.480000] spi spi.0: gk SPI Controller 0 created [ 0.480000] spi spi.0: master is unqueued, this is deprecated [ 0.490000] spi spi.1: gk SPI Controller 1 created [ 0.500000] spi spi.1: master is unqueued, this is deprecated [ 0.500000] usbcore: registered new interface driver usbfs [ 0.510000] usbcore: registered new interface driver hub [ 0.520000] usbcore: registered new device driver usb [ 0.520000] i2c regbase: 0xf3003000 [ 0.530000] i2c i2c.0: i2c irq:registers 9 [ 0.530000] i2c i2c.0: GK I2C[0] adapter[i2c-0] probed! [ 0.540000] i2c regbase: 0xf3004000 [ 0.540000] i2c i2c.1: i2c irq:registers 58 [ 0.550000] i2c i2c.1: GK I2C[1] adapter[i2c-1] probed! [ 0.560000] FS-Cache: Loaded [ 0.570000] cfg80211: Calling CRDA to update world regulatory domain [ 0.580000] CacheFiles: Loaded [ 0.600000] gk-sd gk-sd.0: Slot0 req_size=0x00010000, segs=16, seg_size=0x00010000 [ 0.630000] gk-sd gk-sd.0: GK SD/MMC[0] has 1 slots @ 48000000Hz, [0x09e130b0:0x00000000] [ 0.640000] NET: Registered protocol family 2 [ 0.640000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.650000] TCP established hash table entries: 2048 (order: 2, 16384 bytes) [ 0.660000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes) [ 0.670000] TCP: Hash tables configured (established 2048 bind 2048) [ 0.680000] TCP: reno registered [ 0.680000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.690000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.700000] NET: Registered protocol family 1 [ 0.700000] RPC: Registered named UNIX socket transport module. [ 0.710000] RPC: Registered udp transport module. [ 0.710000] RPC: Registered tcp transport module. [ 0.720000] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.730000] mdma init... [ 0.730000] mdma request irq: 54 [ 0.740000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.750000] NFS: Registering the id_resolver key type [ 0.760000] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. [ 0.770000] msgmni has been set to 60 [ 0.780000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) [ 0.790000] io scheduler noop registered [ 0.800000] io scheduler deadline registered [ 0.800000] io scheduler cfq registered (default) [ 0.810000] uart.0: ttySGK0 at MMIO 0xa0005000 (irq = 31) is a gkuart [ 0.820000] uart.1: ttySGK1 at MMIO 0xa001f000 (irq = 15) is a gkuart [ 0.820000] uart.2: ttySGK2 at MMIO 0xa001e000 (irq = 27) is a gkuart [ 0.850000] brd: module loaded [ 0.860000] loop: module loaded [ 0.870000] adc initialized (10:11) [ 0.870000] speed_mod is 1 [ 0.880000] device_ID = 0x00ef4017 [ 0.880000] [W25Q64FV] USE 1X mode read and 1X mode write [ 0.890000] gk_flash gk_flash.0: W25Q64FV (8192 Kbytes) [ 0.890000] 5 cmdlinepart partitions found on MTD device gk_flash [ 0.900000] Creating 5 MTD partitions on "gk_flash": [ 0.910000] 0x000000000000-0x000000050000 : "uboot" [ 0.910000] 0x000000050000-0x0000001f0000 : "kernel" [ 0.920000] 0x0000001f0000-0x000000300000 : "rootfs" [ 0.930000] 0x000000300000-0x000000360000 : "home" [ 0.940000] 0x000000360000-0x000000800000 : "mtd" [ 0.950000] speed_mod is 1 [ 0.950000] detect sflash fail [ 0.950000] slram: not enough parameters. [ 0.960000] GKETH_init [ 0.960000] [GKETH_drv_probe] eth_base = 0xf200e000 [ 0.970000] mii id = 0 [ 0.970000] mdiobus_register: PHY[0] whose id 0x00000000 [ 0.980000] goke MII Bus: probed [ 0.990000] gk-eth gk-eth.0: MAC Address[]. [ 0.990000] usbcore: registered new interface driver cdc_ether [ 1.000000] usbcore: registered new interface driver rndis_host [ 1.010000] usbcore: registered new interface driver cdc_wdm [ 1.010000] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host) [ 1.020000] musb phy Begin initial sequence ... [ 1.330000] gk musb init end... [ 1.330000] dma_controller_create_non_init ok [ 1.340000] musb-hdrc musb-hdrc: MUSB HDRC host driver [ 1.340000] musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 1 [ 1.350000] hub 1-0:1.0: USB hub found [ 1.360000] hub 1-0:1.0: 1 port detected [ 1.360000] musb-hdrc musb-hdrc: USB Host mode controller at f2006000 using DMA, IRQ 26 [ 1.370000] platform add gk musb... [ 1.380000] i2c /dev entries driver [ 1.380000] gk_wdt_v1_00: GK Watchdog Timer, (c) 2014 Goke Microelectronics [ 1.390000] [gk_wdt_init]: init [ 1.390000] [gk_wdt_probe]: probe [ 1.400000] [gk_wdt_probe]: probe mapped wdt_base=f3006000 [ 1.400000] watchdog inactive, reset disabled, irq disabled [ 1.410000] IPv4 over IPv4 tunneling driver [ 1.420000] gre: GRE over IPv4 demultiplexor driver [ 1.420000] ip_gre: GRE over IPv4 tunneling driver [ 1.430000] TCP: cubic registered [ 1.440000] Initializing XFRM netlink socket [ 1.440000] NET: Registered protocol family 10 [ 1.450000] IPv6 over IPv4 tunneling driver [ 1.460000] NET: Registered protocol family 17 [ 1.460000] NET: Registered protocol family 15 [ 1.470000] Registering the dns_resolver key type [ 1.480000] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 4 [ 1.500000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2. [ 1.510000] Freeing init memory: 124K [ 1.820000] usb 1-1: new high-speed USB device number 2 using musb-hdrc Starting logging: /etc/init.d/S01logging: line 24: start-stop-daemon: not found /etc/init.d/S01logging: line 24: start-stop-daemon: not found OK Starting mdev... Initializing random number generator... read-only file system detected...done Starting network... /etc/init.d/S40network: line 22: /sbin/ifup: not found GOKE 7102S BOARD START: mkdir: can't create directory '/var/run': File exists Press 'q' in 1 seconds to exit: sh: you need to specify whom to kill [ 7.640000] gpio_dev init suc [ 7.780000] exFAT: Version 1.2.9 set gpio[0_4] directrion output to 1. [ 8.800000] usb 1-1: USB disconnect, device number 2 set gpio[0_4] to 0 [ 10.930000] hal: module license 'Proprietary' taints kernel. [ 10.940000] Disabling lock debugging due to kernel taint [ 10.980000] crypto initialized (10:11) [ 11.250000] usb 1-1: new high-speed USB device number 3 using musb-hdrc Media driver version (gcc version 4.6.1 (crosstool-NG 1.18.0) (uClibc)) v2.1.0 #svn r17085 Thu Mar 12 17:10:47 CST 2020 [ 11.350000] request_irq...24 ok-- video_sync [ 11.360000] request_irq...59 ok-- video_frame_last_pixel [ 11.360000] request_irq...61 ok-- video_frame [ 11.370000] audio freq is 13500000 GOKE ADI: R(13210) LIBC(uClibc) (gcc version 4.6[ 11.720000] sensor board reset... .1 (crosstool-NG 1.18.0) ) 2018-02-11 09:53:00 [ 11.970000] detect:jxf37 at 0x8c [ 11.980000] jxf37 i2c read 0x0000000a is 0x0000000f [ 11.980000] jxf37 i2c read 0x0000000b is 0x00000037 [ 11.990000] =================================================== [ 12.000000] ================find:jxf37 at 0x8c================ [ 12.000000] =================================================== find:jxf37 at 0x8c rm: can't remove '/tmp/sensor_hw.bin': No such file or directory rm: can't remove '/tmp/sensor_ex.ko': No such file or directory /tmp/start.sh: line 79: /bak/check_mem.sh: not found sh: 102400: unknown operand tees. build at Jun 20 2019 20:16:42 listen on port 3201. [ 13.300000] initlializing ptz... [ 13.300000] [ 13.300000] Parameters of PTZ driver: [ 13.310000] test_max_pos = 0 [ 13.310000] max_pps = 1000 [ 13.310000] pulse interval: 100/1000 = 0 [ 13.320000] xchg_dir = 2 [ 13.320000] hspd_slfck = 50 [ 13.330000] vspd_slfck = 30 [ 13.330000] hspd_normal = 50 [ 13.330000] vspd_normal = 30 [ 13.330000] hspd_reloc = 30 [ 13.340000] vspd_reloc = 10 [ 13.340000] spd_zoom = 3 [ 13.340000] hmotor_upbound = 1000 [ 13.350000] vmotor_upbound = 160 [ 13.350000] zmotor_upbound = 130 [ 13.360000] no_selfck = 1 [ 13.360000] other_flags = 1312 [ 13.360000] hmotor_center = 0 [ 13.370000] vmotor_center = 0 [ 13.370000] hmotor_border_low = 0 [ 13.370000] hmotor_border_high = 0 [ 13.380000] vmotor_border_low = 0 [ 13.380000] vmotor_border_high = 0 [ 13.380000] other_flags: [ 13.380000] 0x0001 --- Return to center when power on [ 13.380000] 0x0002 --- Z-Motor only [ 13.380000] 0x0004 --- No self-check [ 13.380000] 0x0008 --- Ignore position [ 13.380000] 0x0010 --- Respect spd_slfck [ 13.380000] 0x0020 --- No posotion-switch detection [ 13.390000] motor pins: 5,28,27 [ 13.390000] orig position: <500, 80, 0> [ 13.400000] GK710X 2823-ptz(goke timer) device driver[2019.08.20] initialized. sh: 0: unknown operand [ 15.330000] usbcore: registered new interface driver rtl8188fu [ 17.160000] ADDRCONF(NETDEV_UP): wlan0: link is not ready ifconfig: SIOCGIFFLAGS: No such device [ 17.210000] net eth0: ###### GKETH_start_hw [ 17.220000] net eth0: ###### GKETH_phy_start_aneg... [ 17.230000] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 17.320000] PHY: 0:00 - Link is Up - 100/Full [ 17.320000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready /tmp/start.sh: line 283: can't create /sys/class/net/ra0/mtu: nonexistent directory umount: can't umount /mnt: Invalid argument Auto login as root ... goke login: [ 19.780000] dma abort ch=2,is_tx=0 dmasta=0x0 dmactr=0x38000000 [ 19.800000] dma abort ch=2,is_tx=0 dmasta=0x0 dmactr=0x38000000 [ 19.800000] dma abort ch=2,is_tx=0 dmasta=0x0 dmactr=0x38000000 [ 19.820000] dma abort ch=2,is_tx=0 dmasta=0x0 dmactr=0x38000000 [ 19.820000] dma abort ch=2,is_tx=0 dmasta=0x0 dmactr=0x38000000 [ 19.840000] dma abort ch=2,is_tx=0 dmasta=0x0 dmactr=0x38000000 [ 19.840000] dma abort ch=2,is_tx=0 dmasta=0x0 dmactr=0x38000000 [ 19.860000] dma abort ch=2,is_tx=0 dmasta=0x0 dmactr=0x38000000 【APP START】: ========v2 pthread statck size 131072=== =============================== ver: 5.5.4.0728 =============================== ========v2 pthread statck size 65536=== ========v2 pthread statck size 65536=== gpio-1, 1 parts, pinmux reg[0x0]:[0x0], effectValue[0] gpio-1, 1 parts, pinmux reg[0x0]:[0x0], effectValue[0] gpio24, 4 parts, pinmux reg[0x0]:[0x0], effectValue[1] gpio16, 4 parts, pinmux reg[0x0]:[0x0], effectValue[0] gpio12, 4 parts, pinmux reg[0x0]:[0x0], effectValue[0] gpio0, 1 parts, pinmux reg[0x0]:[0x0], effectValue[0] gpio23, 4 parts, pinmux reg[0x0]:[0x0], effectValue[1] gpio17, 4 parts, pinmux reg[0x0]:[0x0], effectValue[1] gpio14, 4 parts, pinmux reg[0x0]:[0x0], effectValue[1] ptz/tty, protocol:0, port:0, bps:2400 0: Watchdog started... feed interval 15 seconds. Watchdog wd_setTimeOut [15] complete. ptz/tty, protocol:1, port:0, bps:2400 ######Get Hardware Info: model:CloudCam, firmware-ident:eyeplus_ipc_gkc_002 GPIO: RedLed[-1], BlueLed[-1], BoardReset[16] ptzSupport[1], LocalImageAuto[2400] promptVoice[1]... GPIO open success. GIO fd = 7 ERROR: gpio = -1 return ! ERROR: gpio = -1 return ! ERROR: gpio = -1 return ! ERROR: gpio = -1 return ! ERROR: gpio = -1 return ! ERROR: gpio = -1 return ! ERROR: gpio = -1 return ! ERROR: gpio = -1 return ! reset sensor ###### ERROR: gpio = -1 return ! [1970-01-01 08:00:21] [sysInit] silent_reboot_time = 4553 [1970-01-01 08:00:21] [sysInit] sys init finished. 检测到为海外版本 support all id, langauge check from platform, not from VOICE file. [ 22.750000] =================================================== [ 22.760000] =====jxf37 drv create at 20190829 ver:20170210==== [ 22.760000] =================================================== [ 22.770000] [sensor_get_dev_id 276]find sensor id: 00000f37 [ 22.790000] sensor board reset... open /etc/passwd file errno=30adjustSysDateFromRTC, read_rtc: 0 no sd card! [1970-01-01 08:00:21] [checkP2Pfile] GET EYE SER: [ 22.960000] [sched_delayed] sched: RT throttling activated , isSupportMotionTrack:1, smartAiMode:0 hiSetFeature g_md_level[2]:0 hiSetFeature g_md_level[1]:0 hiSetFeature g_md_level[0]:0 hiSetFeature g_high_quality:0 avEncInit start, sensorMode = 31 GOKE ADI: R() LIBC(uClibc) (gcc version 4.6.1 (crosstool-NG 1.18.0) ) 2018-07-13 19:34:52 [PRI] firmware version:7114. [PRI] chip and firmware match:GK_CHIP_ID_GK7102C_A. Image library version (gcc version 4.6.1 (crosstool-NG 1.18.0) (uClibc)) v2.1.0 #svn r12890 Fri Oct 20 10:37:06 CST 2017 ===========================gadi_venc_map_dsp call====================== got sensor size: 1920x1080 [ 23.150000] sensor board reset... sensorType2Name, type=31 sensorType2Name, type=31 ------------------venc_video_set_qp-------------- qpMaxOnI[37], qpMaxOnP[42], qpMinOnI[34], qpMinOnP[34] sensorType2Name, type=31 sensorType2Name, type=31 ------------------venc_video_set_qp-------------- qpMaxOnI[38], qpMaxOnP[38], qpMinOnI[28], qpMinOnP[28] ############################## venc_isp_start########################## start stream[0] start stream[1] start stream[2] osd init suc got sensor size: 1920x1080 [gk_isp_daynight]gadi_venc_set_framerate:streamid:0,fps:12 [gk_isp_daynight]gadi_venc_set_framerate:streamid:1,fps:12 gk_isp_daynight: set day mode 1day gk_isp_daynight vbrMaxbps:768000 sensorType2Name, type=31 sensorType2Name, type=31 ------------------venc_video_set_qp-------------- qpMaxOnI[37], qpMaxOnP[42], qpMinOnI[34], qpMinOnP[34] 2day gk_isp_daynight vbrMaxbps:1572864 ----------------->sensorModel == GADI_ISP_SENSOR_JXF37, turn to day! sensorType2Name, type=31 try section isp_jxf37_day... try section isp_day... sensorType2Name, type=31 process image.ini section: isp_jxf37_day [PRI] VI: [PRI] vi_mode:0 [PRI] vi_framerate:1250 [PRI] vi_mirror:0 [PRI] vi_bayer:0 [PRI] VO: [PRI] vo[0]_mode:0 [PRI] vo[0]_dev:1 [PRI] vo[1]_mode:0 [PRI] vo[1]_dev:1 [PRI] BUF:0 [PRI] width:1920 [PRI] height:1080 [PRI] type:ENCODE [PRI] BUF:1 [PRI] width:640 [PRI] height:352 [PRI] type:ENCODE [PRI] BUF:2 [PRI] width:640 [PRI] height:352 [PRI] type:ENCODE [PRI] BUF:3 [PRI] width:0 [PRI] height:0 [PRI] type:OFF [PRI] STREAM:0: [PRI] stream_id:0: [PRI] stream_type:H264 [PRI] width:1920: [PRI] height:1080: [PRI] buffer_index:0 [PRI] fps:12: [PRI] keep_aspect:0: [PRI] h264_gop_mode:0: [PRI] h264_gop_M:1: [PRI] h264_gop_N:36: [PRI] h264_idr_interval:1: [PRI] h264_profile:0: [PRI] h264_bcr:1: [PRI] h264_cbr_avg_bps:400000: [PRI] h264_vbr_min_bps:786432: [PRI] h264_vbr_max_bps:1572864: [PRI] h264_adap_qp:2: [PRI] h264_qp_min_I:1: [PRI] h264_qp_min_P:1: [PRI] h264_qp_weight_I:6: [PRI] h264_qp_weight_P:3: [PRI] h264_reenc_mode:1: [PRI] STREAM:1: [PRI] stream_id:1: [PRI] stream_type:H264 [PRI] width:640: [PRI] height:352: [PRI] buffer_index:1 [PRI] fps:12: [PRI] keep_aspect:0: [PRI] h264_gop_mode:0: [PRI] h264_gop_M:1: [PRI] h264_gop_N:36: [PRI] h264_idr_interval:1: [PRI] h264_profile:0: [PRI] h264_bcr:1: [PRI] h264_cbr_avg_bps:130000: [PRI] h264_vbr_min_bps:60000: [PRI] h264_vbr_max_bps:384000: [PRI] h264_adap_qp:2: [PRI] h264_qp_min_I:1: [PRI] h264_qp_min_P:1: [PRI] h264_qp_weight_I:6: [PRI] h264_qp_weight_P:3: [PRI] h264_reenc_mode:1: [PRI] STREAM:2: [PRI] stream_id:2: [PRI] stream_type:MJPEG [PRI] width:640: [PRI] height:352: [PRI] buffer_index:1 [PRI] fps:12: [PRI] keep_aspect:0: [PRI] mjpeg_quality:25: [PRI] mjpeg_chromaformat:1: VENC INIT OK! /etc/sensors/jxf37.bin/etc/sensors/jxf37.binbin file name :jxf37 size is 170708 [Loading] sensor bin:jxf37.bin Handle next connect... gk_md_start gk md move_totalSum = 3379 audio frame size: 160 _audio_ao_start 185 gadi_audio_ao_set_volume 0xb9 mic Value = 16 ----------------soundDetectInit: sensitivity[98] ========v2 pthread statck size 65536=== [FUN]pda_thread [LINE]1900 face detection init ok ========v2 pthread statck size 65536=== IsStorageReady() = 0, p_devcfg_param->recordMode=1 ========v2 pthread statck size 65536=== ========v2 pthread statck size 65536=== ========v2 pthread statck size 65536=== ========v2 pthread statck size 65536=== ========v2 pthread statck size 65536=== ========v2 pthread statck size 65536=== sync reboot system time!!!!!! checkMdAreparams enter checkMdAreparams exit eth0 Link encap:Ethernet HWaddr UP BROADCAST RUNNING MULTICAST MTU:1450 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:468 (468.0 B) [ 27.950000] net eth0: ###### GKETH_phy_stop Interrupt:1 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 [ 27.970000] net eth0: ###### GKETH_start_hw UP LOOPBACK RUNN[ 27.980000] net eth0: ###### GKETH_phy_start_aneg... ING MTU:16436 Metric:1 [ 27.980000] device eth0 entered promiscuous mode RX packets:0[ 27.990000] ADDRCONF(NETDEV_UP): eth0: link is not ready 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) wlan0 Link encap:Ethernet HWaddr UP BROADCAST RUNNING MULTICAST MTU:1450 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) init eth0... Thu Jan 1 08:00:28 CST 1970 --------------SONG TOOL INIT------------ ========v2 pthread statck size 65536=== interface is not ready lib ctp. v20190625 CTP Server Started at 8001 setsockopt IP_ADD_MEMBERSHIP: No such device [ 30.080000] PHY: 0:00 - Link is Up - 100/Full [ 30.090000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready linktest(eth0) = 1 NET INTERFACE is eth0 ========v2 pthread statck size 65536=== start udhcpc on eth0........ ------playSound /tmp/VOICE/Please_wait_for_wired_connection.wav killall: telnetd: no process killed [1970-01-01 08:00:33] [closeliInit] sdk version=============================: 1.0.1964 /tmp/VOICE/Please_wait_for_wired_connection.wav, file_type=2, audioType = 0 ext:.wav.. start /tmp/VOICE/Please_wait_for_wired_connection.wav, file_type=0, audioType = 1.. eth0: ip = 192.168.100.100, subnet = 255.255.255.0, router = 192.168.100.1, dns = 192.168.100.1 router is set ************set_gateway : 192.168.100.1 del_gateway ioctl error and errno=3 dns server address 1 = 192.168.100.1 dns server address 2 = 0.0.0.0 Write dns server address 1 ok. set dns ok without restart. [xml_config_init, 192] [1970-01-01 08:00:35] [set_device_info] module id:eyeplus_ipc_gkc_002, pro_name:CloudCam, device_type:IPC, app_version:5.5.4.0728, fw_version:5.5.4.0728, sn:, mac: [1970-01-01 08:00:35] [set_device_feature] set device feature ... [1970-01-01 08:00:35] [set_callback] set callback ... eyeplus_cc_network_cb line(429) cmd(4)=CC_CMD_GET_WIFI_DEVICE_NAME eyeplus_cc_get_feature_default_value_cb: line(473), type:0x23. [1970-01-01 08:00:36] [closeliInit] closelicamera_start(): 0! [1970-01-01 08:00:36] [CloseliConfigNetworkAndRegister] Register: wait for eth0 ip..... ------playSound /tmp/VOICE/Please_wait_for_wired_connection.wav over ------playSound /tmp/VOICE/WiFi_connect_success.wav ---------ip got, start onvif----------- ------------uuid is 1df2e14e-1dd2-11b2-8323- and mac = getMainStreamVideoSize: w 1920 h 1080 [res = 0x0] getMainStreamVideoSize: w 1920 h 1080 [res = 0x0] getMainStreamVideoSize: w 1920 h 1080 [res = 0x0] getMainStreamVideoSize: w 1920 h 1080 [res = 0x0] remote hello ret ========= /tmp/VOICE/WiFi_connect_success.wav, file_type=2, audioType = 0 ext:.wav.. start /tmp/VOICE/WiFi_connect_success.wav, file_type=0, audioType = 1.. connect: Network is unreachable ------playSound /tmp/VOICE/WiFi_connect_success.wav over ------playSound /tmp/VOICE/Please_choose_wired_connection_to_add_camera.wav /tmp/VOICE/Please_choose_wired_connection_to_add_camera.wav, file_type=2, audioType = 0 ext:.wav.. start /tmp/VOICE/Please_choose_wired_connection_to_add_camera.wav, file_type=0, audioType = 1.. ------playSound /tmp/VOICE/Please_choose_wired_connection_to_add_camera.wav over got sensor size: 1920x1080 [gk_isp_daynight]gadi_venc_set_framerate:streamid:0,fps:12 [gk_isp_daynight]gadi_venc_set_framerate:streamid:1,fps:12 gk_isp_daynight: set day mode 1day gk_isp_daynight vbrMaxbps:1572864 sensorType2Name, type=31 sensorType2Name, type=31 ------------------venc_video_set_qp-------------- qpMaxOnI[37], qpMaxOnP[42], qpMinOnI[34], qpMinOnP[34] 2day gk_isp_daynight vbrMaxbps:1572864 ----------------->sensorModel == GADI_ISP_SENSOR_JXF37, turn to day! sensorType2Name, type=31 try section isp_jxf37_day... try section isp_day... sensorType2Name, type=31 process image.ini section: isp_jxf37_day #####IR CUT in Day Mode2. got sensor size: 1920x1080 [gk_isp_daynight]gadi_venc_set_framerate:streamid:0,fps:8 [gk_isp_daynight]gadi_venc_set_framerate:streamid:1,fps:8 gk_isp_daynight: set night mode 1night gk_isp_daynight vbrMaxbps:1572864 sensorType2Name, type=31 sensorType2Name, type=31 ------------------venc_video_set_qp-------------- qpMaxOnI[37], qpMaxOnP[42], qpMinOnI[34], qpMinOnP[34] 2night gk_isp_daynight vbrMaxbps:1572864 ----------------->sensorModel == GADI_ISP_SENSOR_JXF37, turn to night! sensorType2Name, type=31 try section isp_jxf37_night... try section isp_night... sensorType2Name, type=31 process image.ini section: isp_jxf37_night #####IR CUT in Night Mode2. getSubStreamVideoSize: w 640 h 352 [res = 0x0] ------setBuzzerStatus 1 got sensor size: 1920x1080 [gk_isp_daynight]gadi_venc_set_framerate:streamid:0,fps:8 [gk_isp_daynight]gadi_venc_set_framerate:streamid:1,fps:8 gk_isp_daynight: set day mode 1day gk_isp_daynight vbrMaxbps:1572864 sensorType2Name, type=31 sensorType2Name, type=31 ------------------venc_video_set_qp-------------- qpMaxOnI[37], qpMaxOnP[42], qpMinOnI[34], qpMinOnP[34] 2day gk_isp_daynight vbrMaxbps:1572864 ----------------->sensorModel == GADI_ISP_SENSOR_JXF37, turn to day! sensorType2Name, type=31 try section isp_jxf37_day.wl... try section isp_day.wl... sensorType2Name, type=31 process image.ini section: isp_jxf37_day.wl #####IR CUT in Color. ------setBuzzerStatus 0 Login timed out Auto login as root ... localhost login: Terminating... Thanks for using picocom valov@N-DKS-ND-24182D:~> env arm_freq=0x00112032 baudrate=115200 bootargs=console=ttySGK0,115200 mem=35M rootfstype=squashfs root=/dev/mtdblock2 mtdparts=gk_flash:320K(uboot),1664K(kernel),1088K(rootfs),384K(home),-(mtd) init=linuxrc bootcmd=sf probe;sf read 0xc1000000 0x50000 0x1A0000;bootm 0xc1000000 bootdelay=1 bootfile=zImage bsbsize=2M consoledev=ttySGK0 ethact=goke ethaddr= gatewayip=11.1.5.1 hostname="gk7102c" ipaddr=11.1.5.20 loadaddr=0xC1000000 mem=35M netdev=eth0 netmask=255.255.255.0 nfsserver=11.1.5.19 phytype=0 rootfstype=ubi.mtd=3 rootfstype=ubifs root=ubi0:rootfs rootpath=/opt/work serverip=11.1.5.19 sfboot=setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=linuxrc ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev} mac=${ethaddr} phytype=${phytype};sf probe 0 0;sf read ${loadaddr} ${sfkernel} ${filesize}; bootm sfkernel=0x50000 stderr=serial stdin=serial stdout=serial tftpboot=setenv bootargs root=/dev/nfs nfsroot=${nfsserver}:${rootpath},proto=tcp,nfsvers=3,nolock ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev} mac=${ethaddr} phytype=${phytype} console=${consoledev},${baudrate} mem=${mem};tftpboot ${bootfile};bootm Environment size: 1278/65532 bytes