Type [C-a] [C-h] to see available commands Terminal ready . console init done U-Boot 2012.10 (Sep 29 2020 - 17:22:02) for GK7102C devkit-v1.1 (GOKE) HAL: 20160804 ram_size = 0x4000000 DRAM: 64 MiB Flash: [XM25QH64A] 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] (XM25QH64A) *** Warning - bad CRC, using default environment 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] (XM25QH64A) 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),1792K(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_1 [ 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.720000] 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.750000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.760000] NFS: Registering the id_resolver key type [ 0.770000] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. [ 0.780000] msgmni has been set to 60 [ 0.800000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) [ 0.810000] io scheduler noop registered [ 0.810000] io scheduler deadline registered [ 0.820000] io scheduler cfq registered (default) [ 0.820000] uart.0: ttySGK0 at MMIO 0xa0005000 (irq = 31) is a gkuart [ 0.830000] uart.1: ttySGK1 at MMIO 0xa001f000 (irq = 15) is a gkuart [ 0.840000] uart.2: ttySGK2 at MMIO 0xa001e000 (irq = 27) is a gkuart [ 0.870000] brd: module loaded [ 0.880000] loop: module loaded [ 0.880000] adc initialized (10:11) [ 0.890000] speed_mod is 1 [ 0.890000] device_ID = 0x00207017 [ 0.900000] [XM25QH64A] USE 1X mode read and 1X mode write [ 0.900000] gk_flash gk_flash.0: XM25QH64A (8192 Kbytes) [ 0.910000] 5 cmdlinepart partitions found on MTD device gk_flash [ 0.920000] Creating 5 MTD partitions on "gk_flash": [ 0.920000] 0x000000000000-0x000000050000 : "uboot" [ 0.930000] 0x000000050000-0x0000001f0000 : "kernel" [ 0.940000] 0x0000001f0000-0x0000003b0000 : "rootfs" [ 0.950000] 0x0000003b0000-0x000000410000 : "home" [ 0.960000] 0x000000410000-0x000000800000 : "mtd" [ 0.970000] speed_mod is 1 [ 0.970000] detect sflash fail [ 0.970000] slram: not enough parameters. [ 0.980000] GKETH_init [ 0.980000] [GKETH_drv_probe] eth_base = 0xf200e000 [ 0.990000] mii id = 0 [ 1.000000] mdiobus_register: PHY[0] whose id 0x00000000 [ 1.000000] goke MII Bus: probed [ 1.010000] gk-eth gk-eth.0: MAC Address[]. [ 1.020000] usbcore: registered new interface driver cdc_ether [ 1.020000] usbcore: registered new interface driver rndis_host [ 1.030000] usbcore: registered new interface driver cdc_wdm [ 1.040000] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host) [ 1.050000] musb phy Begin initial sequence ... [ 1.060000] mmc0: new high speed SD card at address 1234 [ 1.360000] gk musb init end... [ 1.360000] dma_controller_create_non_init ok [ 1.370000] musb-hdrc musb-hdrc: MUSB HDRC host driver [ 1.380000] musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 1 [ 1.390000] hub 1-0:1.0: USB hub found [ 1.390000] hub 1-0:1.0: 1 port detected [ 1.400000] musb-hdrc musb-hdrc: USB Host mode controller at f2006000 using DMA, IRQ 26 [ 1.410000] platform add gk musb... [ 1.410000] i2c /dev entries driver [ 1.410000] gk_wdt_v1_00: GK Watchdog Timer, (c) 2014 Goke Microelectronics [ 1.420000] [gk_wdt_init]: init [ 1.430000] [gk_wdt_probe]: probe [ 1.430000] [gk_wdt_probe]: probe mapped wdt_base=f3006000 [ 1.440000] watchdog inactive, reset disabled, irq disabled [ 1.440000] mmcblk0: mmc0:1234 SA02G 1.81 GiB [ 1.450000] mmcblk0: p1 [ 1.460000] IPv4 over IPv4 tunneling driver [ 1.460000] gre: GRE over IPv4 demultiplexor driver [ 1.470000] ip_gre: GRE over IPv4 tunneling driver [ 1.480000] TCP: cubic registered [ 1.480000] Initializing XFRM netlink socket [ 1.490000] NET: Registered protocol family 10 [ 1.500000] IPv6 over IPv4 tunneling driver [ 1.510000] NET: Registered protocol family 17 [ 1.510000] NET: Registered protocol family 15 [ 1.520000] Registering the dns_resolver key type [ 1.520000] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 4 [ 1.550000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2. [ 1.550000] Freeing init memory: 124K 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 7102C BOARD 20200325 START: mkdir: can't create directory '/var/run': File exists 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.710000] gpio_dev init suc [ 7.840000] exFAT: Version 1.2.9 set gpio[0_4] directrion output to 1. set gpio[0_4] to 0 [ 11.010000] hal: module license 'Proprietary' taints kernel. [ 11.020000] Disabling lock debugging due to kernel taint [ 11.060000] crypto initialized (10:11) [ 11.380000] usb 1-1: new high-speed USB device number 2 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.400000] usb 1-1: config 1 interface 0 altsetting 0 bulk endpoint 0x3 has invalid maxpacket 64 [ 11.420000] usb 1-1: config 1 interface 0 altsetting 0 bulk endpoint 0x83 has invalid maxpacket 64 [ 11.440000] request_irq...24 ok-- video_sync [ 11.450000] request_irq...59 ok-- video_frame_last_pixel [ 11.450000] request_irq...61 ok-- video_frame [ 11.460000] audio freq is 13500000 GOKE ADI: R(13210) LIBC(uClibc) (gcc version 4.6[ 11.810000] sensor board reset... .1 (crosstool-NG 1.18.0) ) 2018-02-11 09:53:00 [ 12.070000] detect:jxf37 at 0x8c [ 12.070000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 12.080000] i2c i2c.0: I2C state 0x10, please check address 0x8c! [ 12.090000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 12.090000] i2c i2c.0: I2C state 0x10, please check address 0x8c! [ 12.100000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 12.110000] i2c i2c.0: I2C state 0x10, please check address 0x8c! [ 12.110000] jxf37 i2c read 0x0000000a is 0x00000000 [ 12.120000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 12.130000] i2c i2c.0: I2C state 0x10, please check address 0x8c! [ 12.130000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 12.140000] i2c i2c.0: I2C state 0x10, please check address 0x8c! [ 12.150000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 12.150000] i2c i2c.0: I2C state 0x10, please check address 0x8c! [ 12.160000] jxf37 i2c read 0x0000000b is 0x00000000 [ 12.160000] detect:jxh62 at 0x6c [ 12.170000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 12.180000] i2c i2c.0: I2C state 0x10, please check address 0x6c! [ 12.180000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 12.190000] i2c i2c.0: I2C state 0x10, please check address 0x6c! [ 12.200000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 12.200000] i2c i2c.0: I2C state 0x10, please check address 0x6c! [ 12.210000] jxh62 i2c read 0x0000000a is 0x00000000 [ 12.210000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 12.220000] i2c i2c.0: I2C state 0x10, please check address 0x6c! [ 12.230000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 12.230000] i2c i2c.0: I2C state 0x10, please check address 0x6c! [ 12.240000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 12.250000] i2c i2c.0: I2C state 0x10, please check address 0x6c! [ 12.260000] jxh62 i2c read 0x0000000b is 0x00000000 [ 12.260000] detect:gc2053 at 0x6e [ 12.260000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 12.270000] i2c i2c.0: I2C state 0x10, please check address 0x6e! [ 12.280000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 12.280000] i2c i2c.0: I2C state 0x10, please check address 0x6e! [ 12.290000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 12.300000] i2c i2c.0: I2C state 0x10, please check address 0x6e! [ 12.310000] gc2053 i2c read 0x000000f0 is 0x00000000 [ 12.310000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 12.320000] i2c i2c.0: I2C state 0x10, please check address 0x6e! [ 12.320000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 12.330000] i2c i2c.0: I2C state 0x10, please check address 0x6e! [ 12.340000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 12.340000] i2c i2c.0: I2C state 0x10, please check address 0x6e! [ 12.350000] gc2053 i2c read 0x000000f1 is 0x00000000 [ 12.360000] detect:gc1034 at 0x42 [ 12.360000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 12.370000] i2c i2c.0: I2C state 0x10, please check address 0x42! [ 12.370000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 12.380000] i2c i2c.0: I2C state 0x10, please check address 0x42! [ 12.390000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 12.390000] i2c i2c.0: I2C state 0x10, please check address 0x42! [ 12.400000] gc1034 i2c read 0x000000f0 is 0x00000000 [ 12.410000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 12.410000] i2c i2c.0: I2C state 0x10, please check address 0x42! [ 12.420000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 12.430000] i2c i2c.0: I2C state 0x10, please check address 0x42! [ 12.430000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 12.440000] i2c i2c.0: I2C state 0x10, please check address 0x42! [ 12.450000] gc1034 i2c read 0x000000f1 is 0x00000000 [ 12.450000] detect:mis2003 at 0x60 [ 12.460000] mis2003 i2c read 0x00003000 is 0x00000020 [ 12.460000] mis2003 i2c read 0x00003001 is 0x00000003 [ 12.470000] =================================================== [ 12.480000] ================find:mis2003 at 0x60================ [ 12.480000] =================================================== find:mis2003 at 0x60 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 81: /bak/check_mem.sh: not found listen on port 3201. [ 13.680000] initlializing ptz... [ 13.680000] [ 13.680000] Parameters of PTZ driver: [ 13.690000] test_max_pos = 0 [ 13.690000] max_pps = 1000 [ 13.690000] pulse interval: 100/1000 = 0 [ 13.700000] xchg_dir = 2 [ 13.700000] hspd_slfck = 60 [ 13.700000] vspd_slfck = 40 [ 13.710000] hspd_normal = 0 [ 13.710000] vspd_normal = 0 [ 13.710000] hspd_reloc = 30 [ 13.720000] vspd_reloc = 10 [ 13.720000] spd_zoom = 3 [ 13.720000] hmotor_upbound = 496 [ 13.730000] vmotor_upbound = 169 [ 13.730000] zmotor_upbound = 130 [ 13.730000] no_selfck = 1 [ 13.740000] other_flags = 288 [ 13.740000] hmotor_center = 0 [ 13.740000] vmotor_center = 0 [ 13.750000] hmotor_border_low = 0 [ 13.750000] hmotor_border_high = 0 [ 13.760000] vmotor_border_low = 0 [ 13.760000] vmotor_border_high = 0 [ 13.760000] other_flags: [ 13.760000] 0x0001 --- Return to center when power on [ 13.760000] 0x0002 --- Z-Motor only [ 13.760000] 0x0004 --- No self-check [ 13.760000] 0x0008 --- Ignore position [ 13.760000] 0x0010 --- Respect spd_slfck [ 13.760000] 0x0020 --- No posotion-switch detection [ 13.770000] motor pins: 28,27,5,22,21,11,13,15 [ 13.770000] orig position: <248, 84, 0> [ 13.780000] GK710X gpio ptz(goke timer) device driver[2019.08.25] initialized. sh: 0: unknown operand mounting /bak read & write ... [ 15.520000] [RDAWLAN_DRIVER] Compiled on Oct 13 2020 at 14:38:55. [ 15.530000] [RDAWLAN_DRIVER] Ver: 1.6.0. [ 15.540000] [RDAWLAN_ERR]:: debugfs is not enabled on this kernel [ 15.540000] [RDAWLAN_USB] Enter [ 15.550000] [RDAWLAN_USB] Enter [ 15.570000] [RDAWLAN_ERR]:: root folder is NULL [ 15.570000] [RDAWLAN_DEFAULT] [nvram_read] : failed to open! [ 15.580000] [RDAWLAN_ERR]:: read nvrame fail, ret:-1 [ 15.590000] [RDAWLAN_DEFAULT] no mac addr in file [ 15.600000] [RDAWLAN_ERR]:: [nvram_write] : failed to open! [ 15.610000] [RDAWLAN_ERR]:: set cur_etheraddr failed! [ 15.620000] [RDAWLAN_CFG80211] get mac addr: [ 15.620000] [RDAWLAN_CFG80211] get amsdu:0x0 [ 15.630000] [RDAWLAN_CFG80211] Enter,ifp:812663a0,drvr->iflist[0]:812663a0. [ 15.660000] usbcore: registered new interface driver rdawfmac [ 15.660000] [RDAWLAN_USB] Exit mounting /bak readonly ... [ 17.080000] [RDAWLAN_DEFAULT] Enter, idx=0 [ 17.080000] [RDAWLAN_USB] Enter [ 17.090000] [RDAWLAN_USB] Enter, current state=0, new state=3 [ 17.100000] [RDAWLAN_DEFAULT] [nvram_read] : failed to open! [ 17.110000] [RDAWLAN_ERR]:: firmware_path:sta [ 17.740000] [RDAWLAN_CFG80211] enter [ 17.750000] [RDAWLAN_RFTEST] get_mac_addr [ 17.750000] [RDAWLAN_RFTEST] get_mac_addr from efuse: [ 17.760000] [RDAWLAN_CFG80211] Update macaddr from efuse. [ 17.760000] [RDAWLAN_ERR]:: [nvram_write] : failed to open! [ 17.770000] [RDAWLAN_ERR]:: set cur_etheraddr to file failed! [ 17.790000] [RDAWLAN_ERR]:: can not get config file status :-2 [ 17.800000] [RDAWLAN_DEFAULT] wland_set_power_config failed! [ 17.810000] [RDAWLAN_RFTEST] wland_read_txpower_from_efuse [ 17.820000] [RDAWLAN_RFTEST] read cal_val from efuse:50 [ 17.830000] [RDAWLAN_DRIVER] Chip Version:u06 [ 17.840000] [RDAWLAN_DRIVER] Firmware Version:r233 [ 17.840000] [RDAWLAN_DEFAULT] Done(err:4) [ 17.850000] [RDAWLAN_CFG80211] Enter, id:0,oldtype:2,type:2 [ 17.860000] [RDAWLAN_CFG80211] Done(err:0) [ 17.870000] [RDAWLAN_CFG80211] Enter [ 17.880000] [RDAWLAN_CFG80211] index:0,nmode:1 [ 17.880000] [RDAWLAN_ERR]:: Done, err:0 ifconfig: SIOCGIFFLAGS: No such device [ 17.940000] net eth0: ###### GKETH_start_hw [ 17.940000] net eth0: ###### GKETH_phy_start_aneg... [ 17.950000] ADDRCONF(NETDEV_UP): eth0: link is not ready /tmp/start.sh: line 340: can't create /sys/class/net/ra0/mtu: nonexistent directory Auto login as root ... goke login: 【APP START】: ========v2 pthread statck size 131072=== =============================== ver: 5.6.1.1019 =============================== ========v2 pthread statck size 65536=== ========v2 pthread statck size 65536=== 0: Watchdog started... feed interval 15 seconds. Watchdog wd_setTimeOut [15] complete. 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] gpio4, 4 parts, pinmux reg[0x0]:[0x0], effectValue[0] ptz/tty, protocol:0, port:0, bps:2400 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:22] [sysInit] silent_reboot_time = 5423 [1970-01-01 08:00:22] [sysInit] sys init finished. 检测到为海外版本 support all id, langauge check from platform, not from VOICE file. open /etc/passwd file errno=30adjustSysDateFromRTC, read_rtc: 0 mount sd by vfat ----initSdCard total 1943392256 1942880256 ----- [1970-01-01 08:00:23] [checkP2Pfile] GET EYE SER: AJWL2103021019IMTHXIY4A6RI006099, 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 setAvcodecFreature gc1034 sensor position adjust hiSetFeature gc1034_sensor_position:1 avEncInit start, sensorMode = 29 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. [ 23.900000] =================================================== [ 23.900000] =====mis2003 drv create at 20161117 ver:20170210==== [ 23.910000] =================================================== [ 23.920000] [sensor_get_dev_id 276]find sensor id: 00002003 [ 23.930000] sensor board reset... 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 [ 24.240000] sensor board reset... sensorType2Name, type=29 sensorType2Name, type=29 ------------------venc_video_set_qp-------------- qpMaxOnI[37], qpMaxOnP[42], qpMinOnI[34], qpMinOnP[34] sensorType2Name, type=29 sensorType2Name, type=29 ------------------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=29 sensorType2Name, type=29 ------------------venc_video_set_qp-------------- qpMaxOnI[37], qpMaxOnP[42], qpMinOnI[34], qpMinOnP[34] 2day gk_isp_daynight vbrMaxbps:1572864 ----------------->sensorModel == GADI_ISP_SENSOR_MIS2003, turn to day! sensorType2Name, type=29 try section isp_mis2003_day... try section isp_day... sensorType2Name, type=29 process image.ini section: isp_mis2003_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/mis2003.bin/etc/sensors/mis2003.binbin file name :mis2003 size is 170804 [Loading] sensor bin:mis2003.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=== ========v2 pthread statck size 65536=== lib record 20190629 MountLocalPartitions...... try mount t=vfat dev=/dev/mmcblk0p1 mp=/mnt/mmc01/0... [FUN]pda_thread [LINE]1900 face detection init ok ...ok local_create_root, root_path = /mnt/mmc01/0 eth0 Link encap:Ethernet HWaddr UP BROADCAST 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) Interrupt:1 lo Li[ 29.110000] net eth0: ###### GKETH_phy_stop nk encap:Local Loopback inet addr:127.0.0.1 Mask:2[ 29.120000] net eth0: ###### GKETH_start_hw 55.0.0.0 [ 29.130000] net eth0: ###### GKETH_phy_start_aneg... UP LOOPBACK RUNNING MTU:164[ 29.140000] device eth0 entered promiscuous mode 36 Metric:1 [ 29.140000] ADDRCONF(NETDEV_UP): eth0: link is not ready 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) 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:6 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:480 (480.0 B) init eth0... num of local partions: 1 check /mnt/mmc01/0/DUMPLOG -------------->init sd record, buffer is 512KB *libmyRecord.a, reversion: 2019.12.27 Wrong date/time of system doSdRecMode mode:1 ========v2 pthread statck size 65536=== IsStorageReady() = 1, p_devcfg_param->recordMode=1 gk_vi_set_flip GADI_ISP_SENSOR_MIS2003 sd record init ok. ========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