Skip to content

Instantly share code, notes, and snippets.

@simons-public
Last active January 10, 2023 01:08
Show Gist options
  • Save simons-public/7d3c3595aa46db418ea8f69fe53eddb4 to your computer and use it in GitHub Desktop.
Save simons-public/7d3c3595aa46db418ea8f69fe53eddb4 to your computer and use it in GitHub Desktop.

UART connection (sometimes direction's flipped, check underside of board)

Port J3 on board
Pin 1 TX
Pin 2 GND
Pin 3 RX
Pin 4 3.3V

Uboot shell

On boot press enter at prompt: Hit any key to stop autoboot: 2 ��� 1 ��� 0

Save original environment info to text file printenv

PLV Camera uses run sfboot to start, so change sfboot setenv sfboot 'setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=/bin/sh ;sf probe 0 0;sf read ${loadaddr} ${sfkernel} ${filesize}; bootm'

write or saveenv

Boot up run sfboot

Wait for sh

Disable password, enable telnetd

Edit shadow file vi /etc/shadow

Remove root password root:F0pCSaZ.P1Rrc:0:0:99999:7::: -> root::0:0:99999:7:::
default::10933:0:99999:7:::
admin:RdQhwfYI/a1kQ:0:0:99999:7:::

Alternatively, passwords are root:hichiphx, admin:2601hx, default:

Enable telnet in /mnt/mtd/ipc/conf/config_debug.ini

[telnet]
tenable = "1"

Put busybox with more applets

Download statically compiled busybox-armv6l and put in tftp server

Change to tmpfs where there's space cd /mnt/mtd/ipc/tmpfs

Download busybox tftp -gr busybox-armv6l ${ip_address}

Make executable chmod a+x busybox-armv6l

Dump Filesystem

Telnet in telnet ${ip_address}

Login with root and no password

On local machine: nc -l 4444 | tar xvpmf -

On device: tar -cvf- bin dev home linuxrc opt root usr boot etc lib mnt sbin tmp var | /mnt/mtd/ipc/tmpfs/busybox nc ${ip_address} 4 444

Dump mtd devices

Make root read only to avoid corruption mount -o remount,ro /

Dump each mtdblock (starting with 0) On device: /mnt/mtd/ipc/tmpfs/busybox dd if=/dev/mtdblock0 | /mnt/mtd/ipc/tmpfs/busybox nc

On local machine: nc -l 4444 | dd of=mtdblock0

Copy all mtd files to tftpboot dir
Split mtdblock2 into xaa and xab to avoid a long tftp transfer split -b 5242880 mtdblock2

Enter uboot prompt via serial with enter

Setup IPs set ipaddr ${device_ip_address} set serverip ${server_ip_address}

Setup flash sf probe 0 0

Download partion 0 at 0x8000800 in ram tftp mtdblock0

Erase partition 0 sectors sf erase 0 0x40000

Copy image from ram to flash sf write 0x80008000 0 0x40000

GK7102C #
GK7102C #
GK7102C # setenv sfboot 'setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=/bin/sh
[PROCESS_SEPARATORS] setenv sfboot 'setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=/bin/sh
GK7102C # printenv
[PROCESS_SEPARATORS] printenv
/bin/sh=bootm
arm_freq=0x00112032
baudrate=115200
bootcmd=run sfboot
bootdelay=1
bootfile=zImage
bsbsize=2M
consoledev=ttySGK0
ethact=goke
ethaddr=3C:97:0E:22:E1:20
fileaddr=C1000000
filesize=170000
gatewayip=11.1.5.1
hostname="gk7102c"
ipaddr=192.168.1.9
loadaddr=0xC1000000
mem=45M
netdev=eth0
netmask=255.255.255.0
nfsserver=11.1.5.19
phytype=0
rootfstype=rootfstype=squashfs root=/dev/mtdblock3 mtdparts=gk_flash:192K(boot),64K(bootenv),1344K(kernel),1856K(rootfs),3072K(mtd),1664K(conf),8M@0(all)
rootpath=/opt/work
serverip=192.168.1.7
sfboot=setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=/bin/sh
sfkernel=0x40000
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: 1044/65532 bytes
GK7102C # setenv sfboot 'setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=bin/sh;sf prbe 0 0sf red ${lodaddr ${sfkrnel}${fileize}; ootm'
[PROCESS_SEPARATORS] setenv sfboot 'setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=bin/sh;sf prbe 0 0sf red ${lodaddr ${sfkrnel}${fileize}; ootm'
GK7102C # setenv sfboot 'setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=bin/sh;sf prbe 0 0sf red ${lodaddr ${sfkrnel}${fileize}; bootm'
[PROCESS_SEPARATORS] setenv sfboot 'setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=bin/sh;sf prbe 0 0sf red ${lodaddr ${sfkrnel}${fileize}; bootm'
GK7102C # printenv
[PROCESS_SEPARATORS] printenv
/bin/sh=bootm
arm_freq=0x00112032
baudrate=115200
bootcmd=run sfboot
bootdelay=1
bootfile=zImage
bsbsize=2M
consoledev=ttySGK0
ethact=goke
ethaddr=3C:97:0E:22:E1:20
fileaddr=C1000000
filesize=170000
gatewayip=11.1.5.1
hostname="gk7102c"
ipaddr=192.168.1.9
loadaddr=0xC1000000
mem=45M
netdev=eth0
netmask=255.255.255.0
nfsserver=11.1.5.19
phytype=0
rootfstype=rootfstype=squashfs root=/dev/mtdblock3 mtdparts=gk_flash:192K(boot),64K(bootenv),1344K(kernel),1856K(rootfs),3072K(mtd),1664K(conf),8M@0(all)
rootpath=/opt/work
serverip=192.168.1.7
sfboot=setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=bin/sh;sf prbe 0 0sf red ${lodaddr ${sfkrnel}${fileize}; bootm
sfkernel=0x40000
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: 1099/65532 bytes
GK7102C # printenv
[PROCESS_SEPARATORS] printenv
/bin/sh=bootm
arm_freq=0x00112032
baudrate=115200
bootcmd=run sfboot
bootdelay=1
bootfile=zImage
bsbsize=2M
consoledev=ttySGK0
ethact=goke
ethaddr=3C:97:0E:22:E1:20
fileaddr=C1000000
filesize=170000
gatewayip=11.1.5.1
hostname="gk7102c"
ipaddr=192.168.1.9
loadaddr=0xC1000000
mem=45M
netdev=eth0
netmask=255.255.255.0
nfsserver=11.1.5.19
phytype=0
rootfstype=rootfstype=squashfs root=/dev/mtdblock3 mtdparts=gk_flash:192K(boot),64K(bootenv),1344K(kernel),1856K(rootfs),3072K(mtd),1664K(conf),8M@0(all)
rootpath=/opt/work
serverip=192.168.1.7
sfboot=setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=bin/sh;sf prbe 0 0sf red ${lodaddr ${sfkrnel}${fileize}; bootm
sfkernel=0x40000
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: 1099/65532 bytes
GK7102C # run sfboot
[PROCESS_SEPARATORS] run sfboot
[PROCESS_SEPARATORS] setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=bin/sh;sf prbe 0 0sf red ${lodaddr ${sfkrnel}${fileize}; bootm
No SPI flash selected. Please run `sf probe'
put param to memory
mem size (45)
total mem size (64)
bsb size (2)
usr size (0)
the kernel image is zImage or Image
entry = 0xc1000000
## Transferring control to Linux (at address c1000000)...
Starting kernel ...
machid = 3988 r2 = 0xc0000100
.*
console init done
U-Boot 2012.10 (Oct 13 2017 - 20:12:38) for GK7102C hx-gc1034-v1.0 (GOKE)
HAL: 20160804
ram_size = 0x4000000
DRAM: 64 MiB
Flash: [XM25QH64A] USE 1X mode read and 1X mode write
8 MiB
DMA new c1000000
DMA reboot
NAND: [No SPI nand]
SF: 8 MiB [page:256 Bytes] [sector:64 KiB] [count:128] (XM25QH64A)
In: serial
Out: serial
Err: serial
Net: Int PHY
Hit Enter key to stop autoboot: 1
.*
console init done
U-Boot 2012.10 (Oct 13 2017 - 20:12:38) for GK7102C hx-gc1034-v1.0 (GOKE)
HAL: 20160804
ram_size = 0x4000000
DRAM: 64 MiB
Flash: [XM25QH64A] USE 1X mode read and 1X mode write
8 MiB
DMA new c1000008
NAND: [No SPI nand]
SF: 8 MiB [page:256 Bytes] [sector:64 KiB] [count:128] (XM25QH64A)
In: serial
Out: serial
Err: serial
Net: Int PHY
Hit Enter key to stop autoboot: 0
[PROCESS_SEPARATORS] run sfboot
[PROCESS_SEPARATORS] setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=linuxrc ;sf probe 0 0;sf read ${loadaddr} ${sfkernel} ${filesize}; bootm
SF: 8 MiB [page:256 Bytes] [sector:64 KiB] [count:128] (XM25QH64A)
put param to memory
mem size (45)
total mem size (64)
bsb size (2)
usr size (0)
the kernel image is zImage or Image
entry = 0xc1000000
## Transferring control to Linux (at address c1000000)...
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 (root@localhost.localdomain) (gcc version 4.6.1 (crosstool-NG 1.18.0) ) #6 PREEMPT Sat Sep 30 10:14:30 CST 2017
[ 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: 0xc2f00000 0xf5000000 -- 0x200000
[ 0.000000] DSP: 0xc3100000 0xf6000000 -- 0xef0000
[ 0.000000] USR: 0xc3ff0000 0xfe000000 -- 0x10000
[ 0.000000] hal version = 20160804
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 11430
[ 0.000000] Kernel command line: console=ttySGK0,115200 noinitrd mem=45M rw rootfstype=squashfs root=/dev/mtdblock3 mtdparts=gk_flash:192K(boot),64K(bootenv),1344K(kernel),1856K(rootfs),3072K(mtd),1664K(conf),8M@0(all) 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: 45MB = 45MB total
[ 0.000000] Memory: 41556k/41556k available, 4524k 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 : 0x83000000 - 0xff000000 (1984 MB)
[ 0.000000] lowmem : 0x80000000 - 0x82d00000 ( 45 MB)
[ 0.000000] modules : 0x7f000000 - 0x80000000 ( 16 MB)
[ 0.000000] .text : 0x80008000 - 0x80382000 (3560 kB)
[ 0.000000] .init : 0x80382000 - 0x8039d000 ( 108 kB)
[ 0.000000] .data : 0x8039e000 - 0x803c1840 ( 143 kB)
[ 0.000000] .bss : 0x803c1864 - 0x803f1ef4 ( 194 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 [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 0xc04aeed8 - 0xc04aef10
[ 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 hx-gc1034-v1.0 v1.0
[ 0.140000] [NET INT_CLK] Internal PHY clock
[ 0.150000] [GPIO]#############################
[ 0.150000] [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 (12)
[ 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 (32)
[ 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.290000] [GPIO CFG] gpio_01=SENSOR_RESET
[ 0.300000] [GPIO CFG] gpio_02=I2C0_CLK
[ 0.300000] [GPIO CFG] gpio_03=I2C0_DATA
[ 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_CLK
[ 0.320000] [GPIO CFG] gpio_08=SDIO0_DATA_1
[ 0.330000] [GPIO CFG] gpio_09=SDIO0_DATA_0
[ 0.330000] [GPIO CFG] gpio_10=OUTPUT_1
[ 0.340000] [GPIO CFG] gpio_11=PHY_LINK_LED
[ 0.340000] [GPIO CFG] gpio_12=PHY_SPEED_LED
[ 0.350000] [GPIO CFG] gpio_13=OUTPUT_0
[ 0.350000] [GPIO CFG] gpio_14=OUTPUT_0
[ 0.360000] [GPIO CFG] gpio_15=UART1_TX
[ 0.360000] [GPIO CFG] gpio_16=UART1_RX
[ 0.360000] [GPIO CFG] gpio_17=OUTPUT_0
[ 0.370000] [GPIO CFG] gpio_18=SDIO0_DATA_2
[ 0.370000] [GPIO CFG] gpio_19=SDIO0_DATA_3
[ 0.380000] [GPIO CFG] gpio_20=OUTPUT_0
[ 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.400000] [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=OUTPUT_1
[ 0.420000] [GPIO CFG] gpio_30=OUTPUT_1
[ 0.430000] [GPIO CFG] gpio_32=SDIO0_CD_N
[ 0.430000] audio freq is 13500000
[ 0.430000] create proc dir
[ 0.440000] gk register devices 8
[ 0.440000] gk register I2C
[ 0.460000] bio: create slab <bio-0> at 0
[ 0.470000] spi spi.0: gk SPI Controller 0 created
[ 0.480000] spi spi.0: master is unqueued, this is deprecated
[ 0.480000] spi spi.1: gk SPI Controller 1 created
[ 0.490000] spi spi.1: master is unqueued, this is deprecated
[ 0.500000] usbcore: registered new interface driver usbfs
[ 0.500000] usbcore: registered new interface driver hub
[ 0.510000] usbcore: registered new device driver usb
[ 0.520000] i2c regbase: 0xf3003000
[ 0.520000] i2c i2c.0: i2c irq:registers 9
[ 0.530000] i2c i2c.0: GK I2C[0] adapter[i2c-0] probed!
[ 0.530000] i2c regbase: 0xf3004000
[ 0.540000] i2c i2c.1: i2c irq:registers 58
[ 0.540000] i2c i2c.1: GK I2C[1] adapter[i2c-1] probed!
[ 0.550000] FS-Cache: Loaded
[ 0.560000] cfg80211: Calling CRDA to update world regulatory domain
[ 0.570000] CacheFiles: Loaded
[ 0.570000] gk-sd gk-sd.0: Slot0 req_size=0x00010000, segs=16, seg_size=0x00010000
[ 0.600000] gk-sd gk-sd.0: GK SD/MMC[0] has 1 slots @ 27000000Hz, [0x09e130b0:0x00000000]
[ 0.610000] NET: Registered protocol family 2
[ 0.610000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.620000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.630000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.640000] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.650000] TCP: reno registered
[ 0.650000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.660000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.660000] NET: Registered protocol family 1
[ 0.670000] RPC: Registered named UNIX socket transport module.
[ 0.680000] RPC: Registered udp transport module.
[ 0.680000] RPC: Registered tcp transport module.
[ 0.690000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.700000] mdma init...
[ 0.700000] mdma request irq: 54
[ 0.710000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.720000] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.730000] msgmni has been set to 81
[ 0.740000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[ 0.750000] io scheduler noop registered
[ 0.750000] io scheduler deadline registered
[ 0.760000] io scheduler cfq registered (default)
[ 0.760000] uart.0: ttySGK0 at MMIO 0xa0005000 (irq = 31) is a gkuart
[ 0.770000] uart.1: ttySGK1 at MMIO 0xa001f000 (irq = 15) is a gkuart
[ 0.780000] uart.2: ttySGK2 at MMIO 0xa001e000 (irq = 27) is a gkuart
[ 0.800000] brd: module loaded
[ 0.810000] adc initialized (10:11)
[ 0.810000] speed_mod is 0
[ 0.820000] [XM25QH64A] USE 1X mode read and 1X mode write
[ 0.820000] gk_flash gk_flash.0: XM25QH64A (8192 Kbytes)
[ 0.830000] 7 cmdlinepart partitions found on MTD device gk_flash
[ 0.840000] Creating 7 MTD partitions on "gk_flash":
[ 0.840000] 0x000000000000-0x000000030000 : "boot"
[ 0.850000] 0x000000030000-0x000000040000 : "bootenv"
[ 0.860000] 0x000000040000-0x000000190000 : "kernel"
[ 0.870000] 0x000000190000-0x000000360000 : "rootfs"
[ 0.870000] 0x000000360000-0x000000660000 : "mtd"
[ 0.880000] 0x000000660000-0x000000800000 : "conf"
[ 0.890000] 0x000000000000-0x000000800000 : "all"
[ 0.900000] speed_mod is 0
[ 0.900000] detect sflash fail
[ 0.910000] slram: not enough parameters.
[ 0.910000] GKETH_init
[ 0.920000] [GKETH_drv_probe] eth_base = 0xf200e000
[ 0.920000] mii id = 0
[ 0.930000] mdiobus_register: PHY[0] whose id 0x00000000
[ 0.930000] goke MII Bus: probed
[ 0.940000] gk-eth gk-eth.0: MAC Address[02:11:22:a3:a0:00].
[ 0.940000] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.950000] musb phy Begin initial sequence ...
[ 1.260000] gk musb init end...
[ 1.260000] dma_controller_create_non_init ok
[ 1.270000] musb-hdrc musb-hdrc: MUSB HDRC host driver
[ 1.270000] musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 1
[ 1.280000] hub 1-0:1.0: USB hub found
[ 1.290000] hub 1-0:1.0: 1 port detected
[ 1.290000] musb-hdrc musb-hdrc: USB Host mode controller at f2006000 using DMA, IRQ 26
[ 1.300000] platform add gk musb...
[ 1.310000] i2c /dev entries driver
[ 1.310000] gk_wdt_v1_00: GK Watchdog Timer, (c) 2014 Goke Microelectronics
[ 1.320000] [gk_wdt_init]: init
[ 1.320000] [gk_wdt_probe]: probe
[ 1.330000] [gk_wdt_probe]: probe mapped wdt_base=f3006000
[ 1.330000] watchdog inactive, reset disabled, irq disabled
[ 1.340000] TCP: cubic registered
[ 1.350000] Initializing XFRM netlink socket
[ 1.350000] NET: Registered protocol family 17
[ 1.360000] NET: Registered protocol family 15
[ 1.360000] lib80211: common routines for IEEE802.11 drivers
[ 1.370000] Registering the dns_resolver key type
[ 1.370000] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 4
[ 1.390000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[ 1.400000] Freeing init memory: 108K
[ 1.750000] usb 1-1: new high-speed USB device number 2 using musb-hdrc
Starting mdev...
[ 3.440000] net eth0: ###### GKETH_start_hw
[ 3.440000] net eth0: ###### GKETH_phy_start_aneg...
[ 3.540000] PHY: 0:00 - Link is Up - 100/Full
Archive: /mnt/mtd/ipc/conf/ipc_server
inflating: ipc_server
Welcome to HiLinux
IPCamera login: Archive: /mnt/mtd/ipc/conf/libNetLib.so
inflating: libNetLib.so
Archive: /mnt/mtd/ipc/conf/libXqAPILib.so
inflating: libXqAPILib.so
Archive: /mnt/mtd/ipc/conf/libxqun.so
inflating: libxqun.so
The timeout was [ 5.200000] watchdog: GK Watchdog: watchdog did not stop!
is 15 seconds
The timeout was set to 60 seconds
start watchdog set 60s timeout
[ 5.380000] rtw_mem_init
[ 5.380000] MAX_RTKM_NR_PREALLOC_RECV_SKB: 16
[ 5.390000] MAX_RTKM_RECVBUF_SZ: 15360
[ 5.390000] rtw_mem_init, rtk_skb_mem_q len : 16
[ 6.230000] RTL871X: module init start
[ 6.240000] RTL871X: rtl8188fu v4.3.23.6_20964.20170110
[ 6.240000] RTL871X: build time: Sep 30 2017 10:19:41
[ 6.250000] RTL871X:
[ 6.250000] usb_endpoint_descriptor(0):
[ 6.250000] RTL871X: bLength=7
[ 6.260000] RTL871X: bDescriptorType=5
[ 6.260000] RTL871X: bEndpointAddress=81
[ 6.270000] RTL871X: wMaxPacketSize=512
[ 6.270000] RTL871X: bInterval=0
[ 6.270000] RTL871X: RT_usb_endpoint_is_bulk_in = 1
[ 6.280000] RTL871X:
[ 6.280000] usb_endpoint_descriptor(1):
[ 6.290000] RTL871X: bLength=7
[ 6.290000] RTL871X: bDescriptorType=5
[ 6.290000] RTL871X: bEndpointAddress=2
[ 6.300000] RTL871X: wMaxPacketSize=512
[ 6.300000] RTL871X: bInterval=0
[ 6.310000] RTL871X: RT_usb_endpoint_is_bulk_out = 2
[ 6.310000] RTL871X:
[ 6.310000] usb_endpoint_descriptor(2):
[ 6.320000] RTL871X: bLength=7
[ 6.320000] RTL871X: bDescriptorType=5
[ 6.330000] RTL871X: bEndpointAddress=3
[ 6.330000] RTL871X: wMaxPacketSize=512
[ 6.340000] RTL871X: bInterval=0
[ 6.340000] RTL871X: RT_usb_endpoint_is_bulk_out = 3
[ 6.340000] RTL871X: nr_endpoint=3, in_num=1, out_num=2
[ 6.340000]
[ 6.350000] RTL871X: USB_SPEED_HIGH
[ 6.360000] RTL871X: CHIP TYPE: RTL8188FU
[ 6.360000] RTL871X: rtw_hal_config_rftype RF_Type is 3 TotalTxPath is 1
[ 6.370000] RTL871X: Chip Version Info: CHIP_8188F_Normal_Chip_SMIC_B_CUT_1T1R_RomVer(0)
[ 6.380000] RTL871X: _ConfigChipOutEP_8188F OutEpQueueSel(0x05), OutEpNumber(2)
[ 6.390000] RTL871X: EEPROM type is E-FUSE
[ 6.390000] RTL871X: Boot from EFUSE, Autoload OK !
[ 6.400000] RTL871X: hal_EfuseSwitchToBank: Efuse switch bank to 0
[ 6.600000] RTL871X: hal_ReadEFuse_WiFi: data end at address=0x74
[ 6.610000] RTL871X: Efuse Realmap:
[ 6.610000] 29 81 00 FC 0B 00 00 00 00 0C 04 4C 10 07 00 00
[ 6.620000] 2A 2B 2B 2B 2C 2C 2E 2E 2F 2F 30 03 FF FF FF FF
[ 6.620000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.630000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.640000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.640000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.650000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.660000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.660000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.670000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.680000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.680000] FF FF FF FF FF FF FF FF 20 34 1A 00 00 00 00 FF
[ 6.690000] FF 12 00 10 00 FF 00 FF 00 00 FF FF FF FF FF FF
[ 6.690000] DA 0B 79 F1 42 66 40 00 0C 43 60 71 86 09 03 52
[ 6.700000] 65 61 6C 74 65 6B 09 03 38 30 32 2E 31 31 6E 00
[ 6.710000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.710000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.720000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.730000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.730000] C1 B6 FF FF FF FF FF FF FF FF 00 11 FF FF FF FF
[ 6.740000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.740000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.750000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.760000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.760000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.770000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.780000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.780000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.790000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.790000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.800000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.810000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.810000] RTL871X: EEPROM VID = 0x bda
[ 6.820000] RTL871X: EEPROM PID = 0xf179
[ 6.820000] RTL871X: hal_com_config_channel_plan chplan:0x20
[ 6.830000] RTL871X: Hal_EfuseParsePowerSavingMode_8188F...bHWPwrPindetect(0)-bHWPowerdown(0) ,bSupportRemoteWakeup(1)
[ 6.840000] RTL871X: ### PS params=> power_mgnt(0),usbss_enable(0) ###
[ 6.850000] RTL871X: kfree Pwr Trim flag:1
[ 6.860000] RTL871X: bb_gain:4
[ 6.870000] RTL871X: rtl8188f_FirmwareDownload fw: FW_NIC, size: 21020
[ 6.870000] RTL871X: rtl8188f_FirmwareDownload: fw_ver=4 fw_subver=0000 sig=0x88f1, Month=08, Date=22, Hour=17, Minute=36
[ 6.880000] RTL871X: rtl8188f_FirmwareDownload(): Shift for fw header!
[ 6.880000] RTL871X: rtl8188f_FirmwareDownload by IO write!
[ 6.940000] RTL871X: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x00050105
[ 6.950000] RTL871X: _8051Reset8188: Finish
[ 6.970000] RTL871X: _FWFreeToGo: Polling FW ready OK! (35, 20ms), REG_MCUFWDL:0x000501c6
[ 6.980000] RTL871X: rtl8188f_FirmwareDownload: DLFW OK !
[ 6.980000] RTL871X: rtl8188f_FirmwareDownload success. write_fw:1, 100ms
[ 6.990000] RTL871X: <=== rtl8188f_FirmwareDownload()
[ 7.000000] RTL871X: CardDisableRTL8188FU
[ 7.010000] RTL871X: InitAdapterVariablesByPROM_8188FU(): REPLACEMENT = 0
[ 7.010000] RTL871X: rtw_hal_read_chip_info in 620 ms
[ 7.020000] RTL871X: init_channel_set((null)) ChannelPlan ID:0x20, ch num:13
[ 7.030000] RTL871X: NR_RECVBUFF: 8
[ 7.030000] RTL871X: MAX_RECVBUF_SZ: 4000
[ 7.040000] RTL871X: NR_PREALLOC_RECV_SKB: 8
[ 7.040000] rtw_alloc_skb_premem, rtk_skb_mem_q len : 15
[ 7.050000] rtw_alloc_skb_premem, rtk_skb_mem_q len : 14
[ 7.050000] rtw_alloc_skb_premem, rtk_skb_mem_q len : 13
[ 7.060000] rtw_alloc_skb_premem, rtk_skb_mem_q len : 12
[ 7.070000] rtw_alloc_skb_premem, rtk_skb_mem_q len : 11
[ 7.070000] rtw_alloc_skb_premem, rtk_skb_mem_q len : 10
[ 7.080000] rtw_alloc_skb_premem, rtk_skb_mem_q len : 9
[ 7.080000] rtw_alloc_skb_premem, rtk_skb_mem_q len : 8
[ 7.090000] RTL871X: rtw_alloc_macid((null)) if1, hwaddr:ff:ff:ff:ff:ff:ff macid:1
[ 7.100000] RTL871X: Init_ODM_ComInfo_8188f(): fab_ver=0 cut_ver=1
[ 7.110000] RTL871X: phy_ConfigBBWithPgParaFile(): No File PHY_REG_PG.txt, Load from HWImg Array!
[ 7.120000] RTL871X: default power by rate loaded
[ 7.120000] RTL871X: rtw_macaddr_cfg mac addr:00:0c:43:60:71:86
[ 7.130000] RTL871X: bDriverStopped:True, bSurpriseRemoved:False, bup:0, hw_init_completed:0
[ 7.140000] RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=00:0c:43:60:71:86
[ 7.150000] usbcore: registered new interface driver rtl8188fu
[ 7.160000] RTL871X: module init ret=0
[ 7.210000] encript driver init successful!
[ 7.230000] gpio driver init successful!
sensor=16get sensor_type= 16
gc1034
[ 8.660000] hal: module license 'Proprietary' taints kernel.
[ 8.660000] Disabling lock debugging due to kernel taint
[ 8.690000] audio freq is 13500000
[ 8.700000] i2s: audio clock = 13500000.
[ 8.700000] i2s: init successful.
[ 8.730000] crypto initialized (10:11)
Media driver version (gcc version 4.6.1 (crosstool-NG 1.18.0) (uClibc)) v2.1.0 #svn r12607 Mon Aug 21 14:39:14 CST 2017
[ 9.000000] request_irq...24 ok-- video_sync
[ 9.000000] request_irq...59 ok-- video_frame_last_pixel
[ 9.010000] request_irq...61 ok-- video_frame
[ 9.020000] audio freq is 13500000
[ 9.140000] RTL871X: +871x_drv - drv_open, bup=0
[ 9.150000] RTL871X: power-on :REG_SYS_CLKR 0x09=0xfc. REG_CR 0x100=0x3f.
[ 9.150000] RTL871X: MAC has already power on.
[ 9.160000] RTL871X: rtl8188f_FirmwareDownload fw: FW_NIC, size: 21020
[ 9.170000] RTL871X: rtl8188f_FirmwareDownload: fw_ver=4 fw_subver=0000 sig=0x88f1, Month=08, Date=22, Hour=17, Minute=36
[ 9.180000] RTL871X: rtl8188f_FirmwareDownload(): Shift for fw header!
[ 9.190000] RTL871X: rtl8188f_FirmwareDownload by IO write!
[ 9.250000] RTL871X: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x00050105
[ 9.260000] RTL871X: _8051Reset8188: Finish
[ 9.270000] RTL871X: _FWFreeToGo: Polling FW ready OK! (35, 10ms), REG_MCUFWDL:0x000501c6
[ 9.280000] RTL871X: rtl8188f_FirmwareDownload: DLFW OK !
[ 9.290000] RTL871X: rtl8188f_FirmwareDownload success. write_fw:1, 100ms
[ 9.300000] RTL871X: <=== rtl8188f_FirmwareDownload()
[ 9.300000] RTL871X: fw download ok!
[ 9.330000] RTL871X: PHY_MACConfig8188F OK!
[ 9.400000] RTL871X: PHY_BBConfig8188F OK!
[ 9.660000] RTL871X: PHY_RFConfig8188F OK!
[ 9.690000] RTL871X: pDM_Odm TxPowerTrackControl = 1
[ 9.700000] RTL871X: pDM_Odm TxPowerTrackControl = 1
[ 10.020000] RTL871X: rtl8188fu_hal_init in 880ms
[ 10.040000] RTL871X: #### hw_var_set_opmode() -5079 iface_type(0) mode = 2 ####
[ 10.050000] RTL871X: rtw_rf_get_kfree_tx_gain_offset path:0, ch:6, bb_gain_sel:0, kfree_offset:4
[ 10.060000] RTL871X: kfree gain_offset 0x55:0x82060 RTL871X: after :0x92060
[ 10.070000] RTL871X: MAC Address = 00:0c:43:60:71:86
[ 10.080000] RTL871X: -871x_drv - drv_open, bup=1
rfkill: Cannot o[ 10.410000] RTL871X: [rtw_wx_set_pmkid] IW_PMKSA_FLUSH!
pen RFKILL contr[ 10.420000] RTL871X: set_mode = IW_MODE_INFRA
ol device
[ 10.430000] RTL871X: #### hw_var_set_opmode() -5079 iface_type(0) mode = 2 ####
[ 10.440000] RTL871X: set bssid:00:00:00:00:00:00
ioctl[SIOCSIWAP]: Operation not permitted
[ 10.450000] RTL871X: [rtw_wx_set_pmkid] IW_PMKSA_FLUSH!
OK
[ 10.870000] motor_init pan_all=520 titl_all=210
[ 10.880000] motor driver init successful!
[ 12.340000] RTL871X: survey done event(f) band:0 for wlan0
[ 12.340000] RTL871X: rtw_indicate_scan_done(wlan0)
killall: udhcpc: no process killed
udhcpc (v1.18.1) started
dhcp failed. set eth0 to default ip: 192.168.1.88
killall: arping: no process killed
killall: runarp: no process killed
Sending discover...
Sending select for 192.168.2.5...
killall: arping: no process killed
Lease of 192.168.2.5 obtained, lease time 85536
Terminated
deleting routers
route: SIOCDELRT: No such process
adding dns 192.168.2.1
The timeout was is 60 seconds
can't found rtc pcf8563
rtc: th_i2c_init error!
The timeout was [ 18.040000] watchdog: GK Watchdog: watchdog did not stop!
set to 60 seconds
Tue Aug 29 04:10:11 STD 2017
umount: can't forcibly umount /mnt/mtd/ipc/tmpfs/sd: Invalid argument
[ 18.290000] iFlag: 0, iCurStep: 105
killall: gerddns: no process killed
killall: upnp_map: no process killed
killall: upnp_map: no process killed
killall: ddns_update: no process killed
audioout: close.
workthread: log init succeed.
workthread: timer init succeed.
libs_initnettype(Lan): succeed.
timer: proc start.
macaddr: 00:E0:F8:44:61:A4
macflag: 1
videocomm(0): 6(6) 1280 720
videocomm(1): 7(7) 640 352
TimeZone: -8
workthread: init ini succeed.
workthread: ntpsvr init succeed.
workthread: timerreboot init succeed.
ptz type: motor
workthread: ptz init succeed.
HI_Media_SDKInit: efreq=50,resolution=31,maxresolution=6,maxwidth=1280,maxheight=720
HI_Media_SDKInit: maxchannel=2
HI_Media_SDKInit: maxresolution[0]=6
HI_Media_SDKInit: maxresolution[1]=7
HI_SDK_Init
motor: move(selfdet) start.
ntp: enable=1, svr=time.nist.gov, interval=1
timerreboot: enable=0, day=1, time=00:00:00
GOKE ADI: R(12607) LIBC(uClibc) (gcc version 4.6.1 (crosstool-NG 1.18.0) ) 2017-08-21 14:40:17
[PRI] firmware version:5089.
Image library version (gcc version 4.6.1 (crosstool-NG 1.18.0) (uClibc)) v2.1.0 #svn r12607 Mon Aug 21 14:40:33 CST 2017
[ 23.230000] ===================================================
[ 23.240000] =====gc1034 drv create at 20170526 ver:20170210====
[ 23.250000] ===================================================
[ 23.250000] [sensor_get_dev_id 276]find sensor id: 00001034
[ 23.270000] sensor board reset...
[ 23.790000] sensor board reset...
timesvr: get svrtime(1) succeed.
timesvr: svrtime: 1647129388
ntp: update succeed, utc_time=1647129388
ntp: update succeed, local_time=2022-03-13 07:56:28
ntp: start time rewrite succeed.
can't found rtc pcf8563
rtc: th_i2c_init error!
vinWidth: 1280, vinHeight: 720
HI_SDK_Init ok
HI_SDK_Init: TH_flag=0,temp=0.000000,hum=0
initaudio: inputtype=1, input=15, output=9, aec=0
HI_SDK_InitAudio
HI_Media_SDKInit: sensor: 32
HI_Media_SDKInit: vctrl: enable=1, recchn=1
encode(chn=0): profile=1,resolution=6,cbr=0,bitrate=1536,frame=20,iframe=40,quali[ 24.140000] win_height:0 win_width:0
ty=1,minq=24,max[ 24.150000] win_height:0 win_width:0
q=41
encode(chn=0): audioenable=1, audiotype=1
HI_SDK_CreateEncodeChannel u32Chn: 0
encode(chn=1): profile=1,resolution=7,cbr=0,bitrate=70,frame=2,iframe=4,quality=1,minq=24,maxq=41
encode(chn=1): audioenable=1, audiotype=1
HI_SDK_CreateEncodeChannel u32Chn: 1
HI_Media_SDKInit: snap_chn=0
HI_SDK_CreateSnapChannel
HI_Media_SDKInit: vctrl: mdvalue=88
audiovol: 1 15 9
HI_SDK_SetConfig u32Command: 4101
HI_SDK_StartEncode u32Chn: 0
&
.*
console init done
U-Boot 2012.10 (Oct 13 2017 - 20:12:38) for GK7102C hx-gc1034-v1.0 (GOKE)
HAL: 20160804
ram_size = 0x4000000
DRAM: 64 MiB
Flash: [XM25QH64A] USE 1X mode read and 1X mode write
8 MiB
DMA new c1000008
NAND: [No SPI nand]
SF: 8 MiB [page:256 Bytes] [sector:64 KiB] [count:128] (XM25QH64A)
In: serial
Out: serial
Err: serial
Net: Int PHY
Hit Enter key to stop autoboot: 1
GK7102C #
GK7102C #
GK7102C # printenv
[PROCESS_SEPARATORS] printenv
arm_freq=0x00112032
baudrate=115200
bootcmd=run sfboot
bootdelay=1
bootfile=zImage
bsbsize=2M
consoledev=ttySGK0
ethact=goke
ethaddr=3C:97:0E:22:E1:20
fileaddr=C1000000
filesize=170000
gatewayip=11.1.5.1
hostname="gk7102c"
ipaddr=192.168.1.9
loadaddr=0xC1000000
mem=45M
netdev=eth0
netmask=255.255.255.0
nfsserver=11.1.5.19
phytype=0
rootfstype=rootfstype=squashfs root=/dev/mtdblock3 mtdparts=gk_flash:192K(boot),64K(bootenv),1344K(kernel),1856K(rootfs),3072K(mtd),1664K(conf),8M@0(all)
rootpath=/opt/work
serverip=192.168.1.7
sfboot=setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=linuxrc ;sf probe 0 0;sf read ${loadaddr} ${sfkernel} ${filesize}; bootm
sfkernel=0x40000
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: 1093/65532 bytes
GK7102C # setenv sfboot 'setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=/bn/sh sf prbe 0 ;sf red ${ladaddr ${sfernel}${filsize};bootm'
[PROCESS_SEPARATORS] setenv sfboot 'setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=/bn/sh sf prbe 0 ;sf red ${ladaddr ${sfernel}${filsize};bootm'
GK7102C # printenv
[PROCESS_SEPARATORS] printenv
arm_freq=0x00112032
baudrate=115200
bootcmd=run sfboot
bootdelay=1
bootfile=zImage
bsbsize=2M
consoledev=ttySGK0
ethact=goke
ethaddr=3C:97:0E:22:E1:20
fileaddr=C1000000
filesize=170000
gatewayip=11.1.5.1
hostname="gk7102c"
ipaddr=192.168.1.9
loadaddr=0xC1000000
mem=45M
netdev=eth0
netmask=255.255.255.0
nfsserver=11.1.5.19
phytype=0
rootfstype=rootfstype=squashfs root=/dev/mtdblock3 mtdparts=gk_flash:192K(boot),64K(bootenv),1344K(kernel),1856K(rootfs),3072K(mtd),1664K(conf),8M@0(all)
rootpath=/opt/work
serverip=192.168.1.7
sfboot=setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=/bn/sh sf prbe 0 ;sf red ${ladaddr ${sfernel}${filsize};bootm
sfkernel=0x40000
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: 1082/65532 bytes
GK7102C # setenv sfboot 'setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=/bin/sh; sf probe 0 ;sf read ${loadaddr} ${sfkernel} ${filesize} ;bootm'
[PROCESS_SEPARATORS] setenv sfboot 'setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=/bin/sh; sf probe 0 ;sf read ${loadaddr} ${sfkernel} ${filesize} ;bootm'
GK7102C # printenv
[PROCESS_SEPARATORS] printenv
arm_freq=0x00112032
baudrate=115200
bootcmd=run sfboot
bootdelay=1
bootfile=zImage
bsbsize=2M
consoledev=ttySGK0
ethact=goke
ethaddr=3C:97:0E:22:E1:20
fileaddr=C1000000
filesize=170000
gatewayip=11.1.5.1
hostname="gk7102c"
ipaddr=192.168.1.9
loadaddr=0xC1000000
mem=45M
netdev=eth0
netmask=255.255.255.0
nfsserver=11.1.5.19
phytype=0
rootfstype=rootfstype=squashfs root=/dev/mtdblock3 mtdparts=gk_flash:192K(boot),64K(bootenv),1344K(kernel),1856K(rootfs),3072K(mtd),1664K(conf),8M@0(all)
rootpath=/opt/work
serverip=192.168.1.7
sfboot=setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=/bin/sh; sf probe 0 ;sf read ${loadaddr} ${sfkernel} ${filesize} ;bootm
sfkernel=0x40000
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: 1092/65532 bytes
GK7102C # setenv sfboot 'setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=/bin/sh; sf probe 0 0;sf read ${loadaddr} ${sfkernel} ${filesize} ;bootm'
[PROCESS_SEPARATORS] setenv sfboot 'setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=/bin/sh; sf probe 0 0;sf read ${loadaddr} ${sfkernel} ${filesize} ;bootm'
GK7102C # write
[PROCESS_SEPARATORS] write
Unknown command 'write' - try 'help'
GK7102C # help
[PROCESS_SEPARATORS] help
? - alias for 'help'
base - print or set address offset
bdinfo - print Board Info structure
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
bootvx - Boot vxWorks from an ELF image
bootz - boot Linux zImage image from memory
cmp - memory compare
coninfo - print console devices and information
cp - memory copy
crc32 - checksum calculation
dhcp - boot image via network using DHCP/TFTP protocol
echo - echo args to console
editenv - edit environment variable
env - environment handling commands
erase - erase FLASH memory
flinfo - print FLASH memory information
gkgpio - set gpio_x env
go - start application at address 'addr'
help - print command description/usage
iminfo - print header information for application image
imls - list all images found in flash
imxtract- extract a part of a multi-image
itest - return true/false on integer compare
loadb - load binary file over serial line (kermit mode)
loads - load S-Record file over serial line
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
md - memory display
mm - memory modify (auto-incrementing address)
mtest - simple RAM read/write test
mw - memory write (fill)
nfs - boot image via network using NFS protocol
nm - memory modify (constant address)
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
sf - SPI flash sub-system
sleep - delay execution for some time
snand - SpiNAND sub-system
source - run script from memory
tftpboot- boot image via network using TFTP protocol
tftpput - TFTP put command, for uploading files to a server
version - print monitor, compiler and linker version
GK7102C # printenv
[PROCESS_SEPARATORS] printenv
arm_freq=0x00112032
baudrate=115200
bootcmd=run sfboot
bootdelay=1
bootfile=zImage
bsbsize=2M
consoledev=ttySGK0
ethact=goke
ethaddr=3C:97:0E:22:E1:20
fileaddr=C1000000
filesize=170000
gatewayip=11.1.5.1
hostname="gk7102c"
ipaddr=192.168.1.9
loadaddr=0xC1000000
mem=45M
netdev=eth0
netmask=255.255.255.0
nfsserver=11.1.5.19
phytype=0
rootfstype=rootfstype=squashfs root=/dev/mtdblock3 mtdparts=gk_flash:192K(boot),64K(bootenv),1344K(kernel),1856K(rootfs),3072K(mtd),1664K(conf),8M@0(all)
rootpath=/opt/work
serverip=192.168.1.7
sfboot=setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=/bin/sh; sf probe 0 0;sf read ${loadaddr} ${sfkernel} ${filesize} ;bootm
sfkernel=0x40000
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: 1093/65532 bytes
GK7102C # write
[PROCESS_SEPARATORS] write
Unknown command 'write' - try 'help'
GK7102C # saveenv
[PROCESS_SEPARATORS] saveenv
Saving Environment to SPI Flash...
SF: 8 MiB [page:256 Bytes] [sector:64 KiB] [count:128] (XM25QH64A)
Erasing SPI flash...
Erasing:
100%
Writing to SPI flash...
Programming:
100%
Verifying:
100%
done
GK7102C # run sfboot
[PROCESS_SEPARATORS] run sfboot
[PROCESS_SEPARATORS] setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=/bin/sh; sf probe 0 0;sf read ${loadaddr} ${sfkernel} ${filesize} ;bootm
SF: 8 MiB [page:256 Bytes] [sector:64 KiB] [count:128] (XM25QH64A)
put param to memory
mem size (45)
total mem size (64)
bsb size (2)
usr size (0)
the kernel image is zImage or Image
entry = 0xc1000000
## Transferring control to Linux (at address c1000000)...
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 (root@localhost.localdomain) (gcc version 4.6.1 (crosstool-NG 1.18.0) ) #6 PREEMPT Sat Sep 30 10:14:30 CST 2017
[ 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: 0xc2f00000 0xf5000000 -- 0x200000
[ 0.000000] DSP: 0xc3100000 0xf6000000 -- 0xef0000
[ 0.000000] USR: 0xc3ff0000 0xfe000000 -- 0x10000
[ 0.000000] hal version = 20160804
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 11430
[ 0.000000] Kernel command line: console=ttySGK0,115200 noinitrd mem=45M rw rootfstype=squashfs root=/dev/mtdblock3 mtdparts=gk_flash:192K(boot),64K(bootenv),1344K(kernel),1856K(rootfs),3072K(mtd),1664K(conf),8M@0(all) init=/bin/sh
[ 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: 45MB = 45MB total
[ 0.000000] Memory: 41556k/41556k available, 4524k 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 : 0x83000000 - 0xff000000 (1984 MB)
[ 0.000000] lowmem : 0x80000000 - 0x82d00000 ( 45 MB)
[ 0.000000] modules : 0x7f000000 - 0x80000000 ( 16 MB)
[ 0.000000] .text : 0x80008000 - 0x80382000 (3560 kB)
[ 0.000000] .init : 0x80382000 - 0x8039d000 ( 108 kB)
[ 0.000000] .data : 0x8039e000 - 0x803c1840 ( 143 kB)
[ 0.000000] .bss : 0x803c1864 - 0x803f1ef4 ( 194 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 [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 0xc04aeed8 - 0xc04aef10
[ 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 hx-gc1034-v1.0 v1.0
[ 0.140000] [NET INT_CLK] Internal PHY clock
[ 0.150000] [GPIO]#############################
[ 0.150000] [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 (12)
[ 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 (32)
[ 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.290000] [GPIO CFG] gpio_01=SENSOR_RESET
[ 0.300000] [GPIO CFG] gpio_02=I2C0_CLK
[ 0.300000] [GPIO CFG] gpio_03=I2C0_DATA
[ 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_CLK
[ 0.320000] [GPIO CFG] gpio_08=SDIO0_DATA_1
[ 0.330000] [GPIO CFG] gpio_09=SDIO0_DATA_0
[ 0.330000] [GPIO CFG] gpio_10=OUTPUT_1
[ 0.340000] [GPIO CFG] gpio_11=PHY_LINK_LED
[ 0.340000] [GPIO CFG] gpio_12=PHY_SPEED_LED
[ 0.350000] [GPIO CFG] gpio_13=OUTPUT_0
[ 0.350000] [GPIO CFG] gpio_14=OUTPUT_0
[ 0.360000] [GPIO CFG] gpio_15=UART1_TX
[ 0.360000] [GPIO CFG] gpio_16=UART1_RX
[ 0.360000] [GPIO CFG] gpio_17=OUTPUT_0
[ 0.370000] [GPIO CFG] gpio_18=SDIO0_DATA_2
[ 0.370000] [GPIO CFG] gpio_19=SDIO0_DATA_3
[ 0.380000] [GPIO CFG] gpio_20=OUTPUT_0
[ 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.400000] [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=OUTPUT_1
[ 0.420000] [GPIO CFG] gpio_30=OUTPUT_1
[ 0.430000] [GPIO CFG] gpio_32=SDIO0_CD_N
[ 0.430000] audio freq is 13500000
[ 0.430000] create proc dir
[ 0.440000] gk register devices 8
[ 0.440000] gk register I2C
[ 0.460000] bio: create slab <bio-0> at 0
[ 0.470000] spi spi.0: gk SPI Controller 0 created
[ 0.480000] spi spi.0: master is unqueued, this is deprecated
[ 0.480000] spi spi.1: gk SPI Controller 1 created
[ 0.490000] spi spi.1: master is unqueued, this is deprecated
[ 0.500000] usbcore: registered new interface driver usbfs
[ 0.500000] usbcore: registered new interface driver hub
[ 0.510000] usbcore: registered new device driver usb
[ 0.520000] i2c regbase: 0xf3003000
[ 0.520000] i2c i2c.0: i2c irq:registers 9
[ 0.530000] i2c i2c.0: GK I2C[0] adapter[i2c-0] probed!
[ 0.530000] i2c regbase: 0xf3004000
[ 0.540000] i2c i2c.1: i2c irq:registers 58
[ 0.540000] i2c i2c.1: GK I2C[1] adapter[i2c-1] probed!
[ 0.550000] FS-Cache: Loaded
[ 0.560000] cfg80211: Calling CRDA to update world regulatory domain
[ 0.570000] CacheFiles: Loaded
[ 0.570000] gk-sd gk-sd.0: Slot0 req_size=0x00010000, segs=16, seg_size=0x00010000
[ 0.600000] gk-sd gk-sd.0: GK SD/MMC[0] has 1 slots @ 27000000Hz, [0x09e130b0:0x00000000]
[ 0.610000] NET: Registered protocol family 2
[ 0.610000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.620000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.630000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.640000] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.650000] TCP: reno registered
[ 0.650000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.660000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.660000] NET: Registered protocol family 1
[ 0.670000] RPC: Registered named UNIX socket transport module.
[ 0.680000] RPC: Registered udp transport module.
[ 0.680000] RPC: Registered tcp transport module.
[ 0.690000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.700000] mdma init...
[ 0.700000] mdma request irq: 54
[ 0.710000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.720000] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.730000] msgmni has been set to 81
[ 0.740000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[ 0.750000] io scheduler noop registered
[ 0.750000] io scheduler deadline registered
[ 0.760000] io scheduler cfq registered (default)
[ 0.760000] uart.0: ttySGK0 at MMIO 0xa0005000 (irq = 31) is a gkuart
[ 0.770000] uart.1: ttySGK1 at MMIO 0xa001f000 (irq = 15) is a gkuart
[ 0.780000] uart.2: ttySGK2 at MMIO 0xa001e000 (irq = 27) is a gkuart
[ 0.800000] brd: module loaded
[ 0.810000] adc initialized (10:11)
[ 0.810000] speed_mod is 0
[ 0.820000] [XM25QH64A] USE 1X mode read and 1X mode write
[ 0.820000] gk_flash gk_flash.0: XM25QH64A (8192 Kbytes)
[ 0.830000] 7 cmdlinepart partitions found on MTD device gk_flash
[ 0.840000] Creating 7 MTD partitions on "gk_flash":
root:F0pCSaZ.P1Rrc:0:0:99999:7:::
bin:*:10933:0:99999:7:::
daemon:*:10933:0:99999:7:::
adm:*:10933:0:99999:7:::
lp:*:10933:0:99999:7:::
sync:*:10933:0:99999:7:::
shutdown:*:10933:0:99999:7:::
halt:*:10933:0:99999:7:::
uucp:*:10933:0:99999:7:::
operator:*:10933:0:99999:7:::
ftp:*:10933:0:99999:7:::
nobody:*:10933:0:99999:7:::
default::10933:0:99999:7:::
admin:RdQhwfYI/a1kQ:0:0:99999:7:::
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
/ # reboot
/ #
/ #
/ #
/ #
/ # exit
[ 120.070000] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000
[ 120.070000]
[ 120.070000] Backtrace:
[ 120.070000] [<800112a8>] (dump_backtrace+0x0/0x10c) from [<802aa95c>] (dump_stack+0x18/0x1c)
[ 120.070000] r6:82617b30 r5:803afca0 r4:82617b30 r3:00000001
[ 120.070000] [<802aa944>] (dump_stack+0x0/0x1c) from [<802aaa60>] (panic+0x84/0x1c4)
[ 120.070000] [<802aa9dc>] (panic+0x0/0x1c4) from [<80029340>] (do_exit+0x2fc/0x714)
[ 120.070000] r3:8261ae00 r2:82619f48 r1:00000000 r0:8033fcec
[ 120.070000] r7:000000f8
[ 120.070000] [<80029044>] (do_exit+0x0/0x714) from [<80029a6c>] (do_group_exit+0xa8/0xd4)
[ 120.070000] r7:000000f8
[ 120.070000] [<800299c4>] (do_group_exit+0x0/0xd4) from [<80029ab0>] (__wake_up_parent+0x0/0x28)
[ 120.070000] r6:0000003b r5:7e994f14 r4:00000000 r3:00000000
[ 120.070000] [<80029a98>] (sys_exit_group+0x0/0x18) from [<8000dac0>] (ret_fast_syscall+0x0/0x30)
.*
console init done
U-Boot 2012.10 (Oct 13 2017 - 20:12:38) for GK7102C hx-gc1034-v1.0 (GOKE)
HAL: 20160804
ram_size = 0x4000000
DRAM: 64 MiB
Flash: [XM25QH64A] USE 1X mode read and 1X mode write
8 MiB
DMA new c1000008
NAND: [No SPI nand]
SF: 8 MiB [page:256 Bytes] [sector:64 KiB] [count:128] (XM25QH64A)
In: serial
Out: serial
Err: serial
Net: Int PHY
Hit Enter key to stop autoboot: 1
GK7102C #
GK7102C # printenv
[PROCESS_SEPARATORS] printenv
arm_freq=0x00112032
baudrate=115200
bootcmd=run sfboot
bootdelay=1
bootfile=zImage
bsbsize=2M
consoledev=ttySGK0
ethact=goke
ethaddr=3C:97:0E:22:E1:20
fileaddr=C1000000
filesize=170000
gatewayip=11.1.5.1
hostname="gk7102c"
ipaddr=192.168.1.9
loadaddr=0xC1000000
mem=45M
netdev=eth0
netmask=255.255.255.0
nfsserver=11.1.5.19
phytype=0
rootfstype=rootfstype=squashfs root=/dev/mtdblock3 mtdparts=gk_flash:192K(boot),64K(bootenv),1344K(kernel),1856K(rootfs),3072K(mtd),1664K(conf),8M@0(all)
rootpath=/opt/work
serverip=192.168.1.7
sfboot=setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=/bin/sh; sf probe 0 0;sf read ${loadaddr} ${sfkernel} ${filesize} ;bootm
sfkernel=0x40000
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: 1093/65532 bytes
GK7102C # setenv sfboot=setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=linuxrc ; sf probe 0 0;sf read ${loadaddr} ${sfkernel} ${filesize} ;bootm
[PROCESS_SEPARATORS] setenv sfboot=setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=linuxrc ; sf probe 0 0;sf read ${loadaddr} ${sfkernel} ${filesize} ;bootm
## Error: illegal character '='in variable name "sfboot=setenv"
SF: 8 MiB [page:256 Bytes] [sector:64 KiB] [count:128] (XM25QH64A)
put param to memory
mem size (45)
total mem size (64)
bsb size (2)
usr size (0)
the kernel image is zImage or Image
entry = 0xc1000000
## Transferring control to Linux (at address c1000000)...
Starting kernel ...
machid = 3988 r2 = 0xc0000100
Uncompressing Linux... done, booting the kernel.
.*
console init done
U-Boot 2012.10 (Oct 13 2017 - 20:12:38) for GK7102C hx-gc1034-v1.0 (GOKE)
HAL: 20160804
ram_size = 0x4000000
DRAM: 64 MiB
Flash: [XM25QH64A] USE 1X mode read and 1X mode write
8 MiB
DMA new c1000008
NAND: [No SPI nand]
SF: 8 MiB [page:256 Bytes] [sector:64 KiB] [count:128] (XM25QH64A)
In: serial
Out: serial
Err: serial
Net: Int PHY
Hit Enter key to stop autoboot: 0
[PROCESS_SEPARATORS] run sfboot
[PROCESS_SEPARATORS] setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=/bin/sh; sf probe 0 0;sf read ${loadaddr} ${sfkernel} ${filesize} ;bootm
SF: 8 MiB [page:256 Bytes] [sector:64 KiB] [count:128] (XM25QH64A)
put param to memory
mem size (45)
total mem size (64)
bsb size (2)
usr size (0)
the kernel image is zImage or Image
entry = 0xc1000000
## Transferring control to Linux (at address c1000000)...
Starting kernel ...
machid = 3988 r2 = 0xc0000100
Uncompressing Linux...
.*
console init done
U-Boot 2012.10 (Oct 13 2017 - 20:12:38) for GK7102C hx-gc1034-v1.0 (GOKE)
HAL: 20160804
ram_size = 0x4000000
DRAM: 64 MiB
Flash: [XM25QH64A] USE 1X mode read and 1X mode write
8 MiB
DMA new c1000008
NAND: [No SPI nand]
SF: 8 MiB [page:256 Bytes] [sector:64 KiB] [count:128] (XM25QH64A)
In: serial
Out: serial
Err: serial
Net: Int PHY
Hit Enter key to stop autoboot: 0
GK7102C #
GK7102C #
GK7102C #
GK7102C #
GK7102C #
GK7102C #
GK7102C # setenv sfboot 'setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=linuxrc ;sf probe 0 0;sf read ${loadaddr} ${sfkernel} ${filesize}; bootm'
[PROCESS_SEPARATORS] setenv sfboot 'setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=linuxrc ;sf probe 0 0;sf read ${loadaddr} ${sfkernel} ${filesize}; bootm'
GK7102C # saveenv
[PROCESS_SEPARATORS] saveenv
Saving Environment to SPI Flash...
SF: 8 MiB [page:256 Bytes] [sector:64 KiB] [count:128] (XM25QH64A)
Erasing SPI flash...
Erasing:
100%
Writing to SPI flash...
Programming:
100%
Verifying:
100%
done
GK7102C # run sfboot
[PROCESS_SEPARATORS] run sfboot
[PROCESS_SEPARATORS] setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=linuxrc ;sf probe 0 0;sf read ${loadaddr} ${sfkernel} ${filesize}; bootm
SF: 8 MiB [page:256 Bytes] [sector:64 KiB] [count:128] (XM25QH64A)
put param to memory
mem size (45)
total mem size (64)
bsb size (2)
usr size (0)
the kernel image is zImage or Image
entry = 0xc1000000
## Transferring control to Linux (at address c1000000)...
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 (root@localhost.localdomain) (gcc version 4.6.1 (crosstool-NG 1.18.0) ) #6 PREEMPT Sat Sep 30 10:14:30 CST 2017
[ 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: 0xc2f00000 0xf5000000 -- 0x200000
[ 0.000000] DSP: 0xc3100000 0xf6000000 -- 0xef0000
[ 0.000000] USR: 0xc3ff0000 0xfe000000 -- 0x10000
[ 0.000000] hal version = 20160804
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 11430
[ 0.000000] Kernel command line: console=ttySGK0,115200 noinitrd mem=45M rw rootfstype=squashfs root=/dev/mtdblock3 mtdparts=gk_flash:192K(boot),64K(bootenv),1344K(kernel),1856K(rootfs),3072K(mtd),1664K(conf),8M@0(all) 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: 45MB = 45MB total
[ 0.000000] Memory: 41556k/41556k available, 4524k 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 : 0x83000000 - 0xff000000 (1984 MB)
[ 0.000000] lowmem : 0x80000000 - 0x82d00000 ( 45 MB)
[ 0.000000] modules : 0x7f000000 - 0x80000000 ( 16 MB)
[ 0.000000] .text : 0x80008000 - 0x80382000 (3560 kB)
[ 0.000000] .init : 0x80382000 - 0x8039d000 ( 108 kB)
[ 0.000000] .data : 0x8039e000 - 0x803c1840 ( 143 kB)
[ 0.000000] .bss : 0x803c1864 - 0x803f1ef4 ( 194 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 [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 0xc04aeed8 - 0xc04aef10
[ 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 hx-gc1034-v1.0 v1.0
[ 0.140000] [NET INT_CLK] Internal PHY clock
[ 0.150000] [GPIO]#############################
[ 0.150000] [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 (12)
[ 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 (32)
[ 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.290000] [GPIO CFG] gpio_01=SENSOR_RESET
[ 0.300000] [GPIO CFG] gpio_02=I2C0_CLK
[ 0.300000] [GPIO CFG] gpio_03=I2C0_DATA
[ 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_CLK
[ 0.320000] [GPIO CFG] gpio_08=SDIO0_DATA_1
[ 0.330000] [GPIO CFG] gpio_09=SDIO0_DATA_0
[ 0.330000] [GPIO CFG] gpio_10=OUTPUT_1
[ 0.340000] [GPIO CFG] gpio_11=PHY_LINK_LED
[ 0.340000] [GPIO CFG] gpio_12=PHY_SPEED_LED
[ 0.350000] [GPIO CFG] gpio_13=OUTPUT_0
[ 0.350000] [GPIO CFG] gpio_14=OUTPUT_0
[ 0.360000] [GPIO CFG] gpio_15=UART1_TX
[ 0.360000] [GPIO CFG] gpio_16=UART1_RX
[ 0.360000] [GPIO CFG] gpio_17=OUTPUT_0
[ 0.370000] [GPIO CFG] gpio_18=SDIO0_DATA_2
[ 0.370000] [GPIO CFG] gpio_19=SDIO0_DATA_3
[ 0.380000] [GPIO CFG] gpio_20=OUTPUT_0
[ 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.400000] [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=OUTPUT_1
[ 0.420000] [GPIO CFG] gpio_30=OUTPUT_1
[ 0.430000] [GPIO CFG] gpio_32=SDIO0_CD_N
[ 0.430000] audio freq is 13500000
[ 0.430000] create proc dir
[ 0.440000] gk register devices 8
[ 0.440000] gk register I2C
[ 0.470000] bio: create slab <bio-0> at 0
[ 0.470000] spi spi.0: gk SPI Controller 0 created
[ 0.480000] spi spi.0: master is unqueued, this is deprecated
[ 0.480000] spi spi.1: gk SPI Controller 1 created
[ 0.490000] spi spi.1: master is unqueued, this is deprecated
[ 0.500000] usbcore: registered new interface driver usbfs
[ 0.500000] usbcore: registered new interface driver hub
[ 0.510000] usbcore: registered new device driver usb
[ 0.520000] i2c regbase: 0xf3003000
[ 0.520000] i2c i2c.0: i2c irq:registers 9
[ 0.530000] i2c i2c.0: GK I2C[0] adapter[i2c-0] probed!
[ 0.530000] i2c regbase: 0xf3004000
[ 0.540000] i2c i2c.1: i2c irq:registers 58
[ 0.540000] i2c i2c.1: GK I2C[1] adapter[i2c-1] probed!
[ 0.550000] FS-Cache: Loaded
[ 0.560000] cfg80211: Calling CRDA to update world regulatory domain
[ 0.570000] CacheFiles: Loaded
[ 0.570000] gk-sd gk-sd.0: Slot0 req_size=0x00010000, segs=16, seg_size=0x00010000
[ 0.600000] gk-sd gk-sd.0: GK SD/MMC[0] has 1 slots @ 27000000Hz, [0x09e130b0:0x00000000]
[ 0.610000] NET: Registered protocol family 2
[ 0.610000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.620000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.630000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.640000] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.650000] TCP: reno registered
[ 0.650000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.660000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.660000] NET: Registered protocol family 1
[ 0.670000] RPC: Registered named UNIX socket transport module.
[ 0.680000] RPC: Registered udp transport module.
[ 0.680000] RPC: Registered tcp transport module.
[ 0.690000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.700000] mdma init...
[ 0.700000] mdma request irq: 54
[ 0.710000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.720000] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.730000] msgmni has been set to 81
[ 0.740000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[ 0.750000] io scheduler noop registered
[ 0.750000] io scheduler deadline registered
[ 0.760000] io scheduler cfq registered (default)
[ 0.760000] uart.0: ttySGK0 at MMIO 0xa0005000 (irq = 31) is a gkuart
[ 0.770000] uart.1: ttySGK1 at MMIO 0xa001f000 (irq = 15) is a gkuart
[ 0.780000] uart.2: ttySGK2 at MMIO 0xa001e000 (irq = 27) is a gkuart
[ 0.810000] brd: module loaded
[ 0.810000] adc initialized (10:11)
[ 0.810000] speed_mod is 0
[ 0.820000] [XM25QH64A] USE 1X mode read and 1X mode write
[ 0.820000] gk_flash gk_flash.0: XM25QH64A (8192 Kbytes)
[ 0.830000] 7 cmdlinepart partitions found on MTD device gk_flash
[ 0.840000] Creating 7 MTD partitions on "gk_flash":
[ 0.840000] 0x000000000000-0x000000030000 : "boot"
[ 0.850000] 0x000000030000-0x000000040000 : "bootenv"
[ 0.860000] 0x000000040000-0x000000190000 : "kernel"
[ 0.870000] 0x000000190000-0x000000360000 : "rootfs"
[ 0.880000] 0x000000360000-0x000000660000 : "mtd"
[ 0.880000] 0x000000660000-0x000000800000 : "conf"
[ 0.890000] 0x000000000000-0x000000800000 : "all"
[ 0.900000] speed_mod is 0
[ 0.900000] detect sflash fail
[ 0.910000] slram: not enough parameters.
[ 0.910000] GKETH_init
[ 0.920000] [GKETH_drv_probe] eth_base = 0xf200e000
[ 0.920000] mii id = 0
[ 0.930000] mdiobus_register: PHY[0] whose id 0x00000000
[ 0.930000] goke MII Bus: probed
[ 0.940000] gk-eth gk-eth.0: MAC Address[02:11:22:a3:a0:00].
[ 0.940000] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.950000] musb phy Begin initial sequence ...
[ 1.260000] gk musb init end...
[ 1.260000] dma_controller_create_non_init ok
[ 1.270000] musb-hdrc musb-hdrc: MUSB HDRC host driver
[ 1.270000] musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 1
[ 1.280000] hub 1-0:1.0: USB hub found
[ 1.290000] hub 1-0:1.0: 1 port detected
[ 1.290000] musb-hdrc musb-hdrc: USB Host mode controller at f2006000 using DMA, IRQ 26
[ 1.300000] platform add gk musb...
[ 1.310000] i2c /dev entries driver
[ 1.310000] gk_wdt_v1_00: GK Watchdog Timer, (c) 2014 Goke Microelectronics
[ 1.320000] [gk_wdt_init]: init
[ 1.320000] [gk_wdt_probe]: probe
[ 1.330000] [gk_wdt_probe]: probe mapped wdt_base=f3006000
[ 1.330000] watchdog inactive, reset disabled, irq disabled
[ 1.340000] TCP: cubic registered
[ 1.350000] Initializing XFRM netlink socket
[ 1.350000] NET: Registered protocol family 17
[ 1.360000] NET: Registered protocol family 15
[ 1.360000] lib80211: common routines for IEEE802.11 drivers
[ 1.370000] Registering the dns_resolver key type
[ 1.370000] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 4
[ 1.400000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[ 1.400000] Freeing init memory: 108K
[ 1.750000] usb 1-1: new high-speed USB device number 2 using musb-hdrc
Starting mdev...
[ 3.450000] net eth0: ###### GKETH_start_hw
[ 3.450000] net eth0: ###### GKETH_phy_start_aneg...
[ 3.550000] PHY: 0:00 - Link is Up - 100/Full
Archive: /mnt/mtd/ipc/conf/ipc_server
inflating: ipc_server
Welcome to HiLinux
IPCamera login: Archive: /mnt/mtd/ipc/conf/libNetLib.so
inflating: libNetLib.so
Archive: /mnt/mtd/ipc/conf/libXqAPILib.so
inflating: libXqAPILib.so
Archive: /mnt/mtd/ipc/conf/libxqun.so
inflating: libxqun.so
The timeout was [ 5.220000] watchdog: GK Watchdog: watchdog did not stop!
is 15 seconds
The timeout was set to 60 seconds
start watchdog set 60s timeout
[ 5.390000] rtw_mem_init
[ 5.400000] MAX_RTKM_NR_PREALLOC_RECV_SKB: 16
[ 5.400000] MAX_RTKM_RECVBUF_SZ: 15360
[ 5.410000] rtw_mem_init, rtk_skb_mem_q len : 16
[ 6.250000] RTL871X: module init start
[ 6.250000] RTL871X: rtl8188fu v4.3.23.6_20964.20170110
[ 6.260000] RTL871X: build time: Sep 30 2017 10:19:41
[ 6.260000] RTL871X:
[ 6.260000] usb_endpoint_descriptor(0):
[ 6.270000] RTL871X: bLength=7
[ 6.270000] RTL871X: bDescriptorType=5
[ 6.280000] RTL871X: bEndpointAddress=81
[ 6.280000] RTL871X: wMaxPacketSize=512
[ 6.290000] RTL871X: bInterval=0
[ 6.290000] RTL871X: RT_usb_endpoint_is_bulk_in = 1
[ 6.300000] RTL871X:
[ 6.300000] usb_endpoint_descriptor(1):
[ 6.300000] RTL871X: bLength=7
[ 6.310000] RTL871X: bDescriptorType=5
[ 6.310000] RTL871X: bEndpointAddress=2
[ 6.310000] RTL871X: wMaxPacketSize=512
[ 6.320000] RTL871X: bInterval=0
[ 6.320000] RTL871X: RT_usb_endpoint_is_bulk_out = 2
[ 6.330000] RTL871X:
[ 6.330000] usb_endpoint_descriptor(2):
[ 6.330000] RTL871X: bLength=7
[ 6.340000] RTL871X: bDescriptorType=5
[ 6.340000] RTL871X: bEndpointAddress=3
[ 6.350000] RTL871X: wMaxPacketSize=512
[ 6.350000] RTL871X: bInterval=0
[ 6.350000] RTL871X: RT_usb_endpoint_is_bulk_out = 3
[ 6.360000] RTL871X: nr_endpoint=3, in_num=1, out_num=2
[ 6.360000]
[ 6.370000] RTL871X: USB_SPEED_HIGH
[ 6.370000] RTL871X: CHIP TYPE: RTL8188FU
[ 6.380000] RTL871X: rtw_hal_config_rftype RF_Type is 3 TotalTxPath is 1
[ 6.390000] RTL871X: Chip Version Info: CHIP_8188F_Normal_Chip_SMIC_B_CUT_1T1R_RomVer(0)
[ 6.390000] RTL871X: _ConfigChipOutEP_8188F OutEpQueueSel(0x05), OutEpNumber(2)
[ 6.400000] RTL871X: EEPROM type is E-FUSE
[ 6.410000] RTL871X: Boot from EFUSE, Autoload OK !
[ 6.410000] RTL871X: hal_EfuseSwitchToBank: Efuse switch bank to 0
[ 6.600000] RTL871X: hal_ReadEFuse_WiFi: data end at address=0x74
[ 6.610000] RTL871X: Efuse Realmap:
[ 6.610000] 29 81 00 FC 0B 00 00 00 00 0C 04 4C 10 07 00 00
[ 6.620000] 2A 2B 2B 2B 2C 2C 2E 2E 2F 2F 30 03 FF FF FF FF
[ 6.620000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.630000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.640000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.640000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.650000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.650000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.660000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.670000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.670000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.680000] FF FF FF FF FF FF FF FF 20 34 1A 00 00 00 00 FF
[ 6.690000] FF 12 00 10 00 FF 00 FF 00 00 FF FF FF FF FF FF
[ 6.690000] DA 0B 79 F1 42 66 40 00 0C 43 60 71 86 09 03 52
[ 6.700000] 65 61 6C 74 65 6B 09 03 38 30 32 2E 31 31 6E 00
[ 6.710000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.710000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.720000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.720000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.730000] C1 B6 FF FF FF FF FF FF FF FF 00 11 FF FF FF FF
[ 6.740000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.740000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.750000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.760000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.760000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.770000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.770000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.780000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.790000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.790000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.800000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.810000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.810000] RTL871X: EEPROM VID = 0x bda
[ 6.820000] RTL871X: EEPROM PID = 0xf179
[ 6.820000] RTL871X: hal_com_config_channel_plan chplan:0x20
[ 6.830000] RTL871X: Hal_EfuseParsePowerSavingMode_8188F...bHWPwrPindetect(0)-bHWPowerdown(0) ,bSupportRemoteWakeup(1)
[ 6.840000] RTL871X: ### PS params=> power_mgnt(0),usbss_enable(0) ###
[ 6.850000] RTL871X: kfree Pwr Trim flag:1
[ 6.860000] RTL871X: bb_gain:4
[ 6.860000] RTL871X: rtl8188f_FirmwareDownload fw: FW_NIC, size: 21020
[ 6.870000] RTL871X: rtl8188f_FirmwareDownload: fw_ver=4 fw_subver=0000 sig=0x88f1, Month=08, Date=22, Hour=17, Minute=36
[ 6.880000] RTL871X: rtl8188f_FirmwareDownload(): Shift for fw header!
[ 6.890000] RTL871X: rtl8188f_FirmwareDownload by IO write!
[ 6.950000] RTL871X: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x00050105
[ 6.960000] RTL871X: _8051Reset8188: Finish
[ 6.970000] RTL871X: _FWFreeToGo: Polling FW ready OK! (35, 10ms), REG_MCUFWDL:0x000501c6
[ 6.980000] RTL871X: rtl8188f_FirmwareDownload: DLFW OK !
[ 6.990000] RTL871X: rtl8188f_FirmwareDownload success. write_fw:1, 100ms
[ 7.000000] RTL871X: <=== rtl8188f_FirmwareDownload()
[ 7.010000] RTL871X: CardDisableRTL8188FU
[ 7.010000] RTL871X: InitAdapterVariablesByPROM_8188FU(): REPLACEMENT = 0
[ 7.020000] RTL871X: rtw_hal_read_chip_info in 620 ms
[ 7.030000] RTL871X: init_channel_set((null)) ChannelPlan ID:0x20, ch num:13
[ 7.040000] RTL871X: NR_RECVBUFF: 8
[ 7.040000] RTL871X: MAX_RECVBUF_SZ: 4000
[ 7.050000] RTL871X: NR_PREALLOC_RECV_SKB: 8
[ 7.050000] rtw_alloc_skb_premem, rtk_skb_mem_q len : 15
[ 7.060000] rtw_alloc_skb_premem, rtk_skb_mem_q len : 14
[ 7.060000] rtw_alloc_skb_premem, rtk_skb_mem_q len : 13
[ 7.070000] rtw_alloc_skb_premem, rtk_skb_mem_q len : 12
[ 7.080000] rtw_alloc_skb_premem, rtk_skb_mem_q len : 11
[ 7.080000] rtw_alloc_skb_premem, rtk_skb_mem_q len : 10
[ 7.090000] rtw_alloc_skb_premem, rtk_skb_mem_q len : 9
[ 7.090000] rtw_alloc_skb_premem, rtk_skb_mem_q len : 8
[ 7.100000] RTL871X: rtw_alloc_macid((null)) if1, hwaddr:ff:ff:ff:ff:ff:ff macid:1
[ 7.110000] RTL871X: Init_ODM_ComInfo_8188f(): fab_ver=0 cut_ver=1
[ 7.120000] RTL871X: phy_ConfigBBWithPgParaFile(): No File PHY_REG_PG.txt, Load from HWImg Array!
[ 7.130000] RTL871X: default power by rate loaded
[ 7.130000] RTL871X: rtw_macaddr_cfg mac addr:00:0c:43:60:71:86
[ 7.140000] RTL871X: bDriverStopped:True, bSurpriseRemoved:False, bup:0, hw_init_completed:0
[ 7.150000] RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=00:0c:43:60:71:86
[ 7.160000] usbcore: registered new interface driver rtl8188fu
[ 7.170000] RTL871X: module init ret=0
[ 7.220000] encript driver init successful!
[ 7.240000] gpio driver init successful!
sensor=16get sensor_type= 16
gc1034
[ 8.670000] hal: module license 'Proprietary' taints kernel.
[ 8.680000] Disabling lock debugging due to kernel taint
[ 8.710000] audio freq is 13500000
[ 8.710000] i2s: audio clock = 13500000.
[ 8.710000] i2s: init successful.
[ 8.740000] crypto initialized (10:11)
Media driver version (gcc version 4.6.1 (crosstool-NG 1.18.0) (uClibc)) v2.1.0 #svn r12607 Mon Aug 21 14:39:14 CST 2017
[ 9.010000] request_irq...24 ok-- video_sync
[ 9.010000] request_irq...59 ok-- video_frame_last_pixel
[ 9.020000] request_irq...61 ok-- video_frame
[ 9.030000] audio freq is 13500000
[ 9.150000] RTL871X: +871x_drv - drv_open, bup=0
[ 9.160000] RTL871X: power-on :REG_SYS_CLKR 0x09=0xfc. REG_CR 0x100=0x3f.
[ 9.170000] RTL871X: MAC has already power on.
[ 9.170000] RTL871X: rtl8188f_FirmwareDownload fw: FW_NIC, size: 21020
[ 9.180000] RTL871X: rtl8188f_FirmwareDownload: fw_ver=4 fw_subver=0000 sig=0x88f1, Month=08, Date=22, Hour=17, Minute=36
[ 9.190000] RTL871X: rtl8188f_FirmwareDownload(): Shift for fw header!
[ 9.200000] RTL871X: rtl8188f_FirmwareDownload by IO write!
[ 9.260000] RTL871X: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x00050105
[ 9.270000] RTL871X: _8051Reset8188: Finish
[ 9.280000] RTL871X: _FWFreeToGo: Polling FW ready OK! (35, 10ms), REG_MCUFWDL:0x000501c6
[ 9.290000] RTL871X: rtl8188f_FirmwareDownload: DLFW OK !
[ 9.300000] RTL871X: rtl8188f_FirmwareDownload success. write_fw:1, 100ms
[ 9.310000] RTL871X: <=== rtl8188f_FirmwareDownload()
[ 9.310000] RTL871X: fw download ok!
[ 9.340000] RTL871X: PHY_MACConfig8188F OK!
[ 9.410000] RTL871X: PHY_BBConfig8188F OK!
[ 9.680000] RTL871X: PHY_RFConfig8188F OK!
[ 9.710000] RTL871X: pDM_Odm TxPowerTrackControl = 1
[ 9.720000] RTL871X: pDM_Odm TxPowerTrackControl = 1
[ 10.040000] RTL871X: rtl8188fu_hal_init in 890ms
[ 10.070000] RTL871X: #### hw_var_set_opmode() -5079 iface_type(0) mode = 2 ####
[ 10.070000] RTL871X: rtw_rf_get_kfree_tx_gain_offset path:0, ch:6, bb_gain_sel:0, kfree_offset:4
[ 10.090000] RTL871X: kfree gain_offset 0x55:0x82060 RTL871X: after :0x92060
[ 10.100000] RTL871X: MAC Address = 00:0c:43:60:71:86
[ 10.100000] RTL871X: -871x_drv - drv_open, bup=1
rfkill: Cannot o[ 10.440000] RTL871X: [rtw_wx_set_pmkid] IW_PMKSA_FLUSH!
pen RFKILL contr[ 10.450000] RTL871X: set_mode = IW_MODE_INFRA
ol device
[ 10.450000] RTL871X: #### hw_var_set_opmode() -5079 iface_type(0) mode = 2 ####
[ 10.460000] RTL871X: set bssid:00:00:00:00:00:00
ioctl[SIOCSIWAP]: Operation not permitted
[ 10.480000] RTL871X: [rtw_wx_set_pmkid] IW_PMKSA_FLUSH!
OK
[ 10.910000] motor_init pan_all=520 titl_all=210
[ 10.920000] motor driver init successful!
[ 12.320000] RTL871X: survey done event(13) band:0 for wlan0
[ 12.320000] RTL871X: rtw_indicate_scan_done(wlan0)
killall: udhcpc: no process killed
udhcpc (v1.18.1) started
dhcp failed. set eth0 to default ip: 192.168.1.88
killall: arping: no process killed
killall: runarp: no process killed
Sending discover...
Sending select for 192.168.2.5...
killall: arping: no process killed
Lease of 192.168.2.5 obtained, lease time 85536
Terminated
deleting routers
route: SIOCDELRT: No such process
adding dns 192.168.2.1
can't found rtc pcf8563
rtc: th_i2c_init error!
The timeout was [ 18.120000] watchdog: GK Watchdog: watchdog did not stop!
is 60 seconds
The timeout was set to 60 seconds
Tue Aug 29 04:10:11 STD 2017
umount: can't forcibly umount /mnt/mtd/ipc/tmpfs/sd: Invalid argument
[ 18.330000] iFlag: 0, iCurStep: 105
killall: gerddns: no process killed
killall: upnp_map: no process killed
killall: upnp_map: no process killed
killall: ddns_update: no process killed
audioout: close.
workthread: log init succeed.
workthread: timer init succeed.
timer: proc start.
libs_initnettype(Lan): succeed.
macaddr: 00:E0:F8:44:61:A4
macflag: 1
videocomm(0): 6(6) 1280 720
videocomm(1): 7(7) 640 352
TimeZone: -8
workthread: init ini succeed.
workthread: ntpsvr init succeed.
workthread: timerreboot init succeed.
ptz type: motor
workthread: ptz init succeed.
HI_Media_SDKInit: efreq=50,resolution=31,maxresolution=6,maxwidth=1280,maxheight=720
HI_Media_SDKInit: maxchannel=2
HI_Media_SDKInit: maxresolution[0]=6
HI_Media_SDKInit: maxresolution[1]=7
HI_SDK_Init
motor: move(selfdet) start.
ntp: enable=1, svr=time.nist.gov, interval=1
timerreboot: enable=0, day=1, time=00:00:00
GOKE ADI: R(12607) LIBC(uClibc) (gcc version 4.6.1 (crosstool-NG 1.18.0) ) 2017-08-21 14:40:17
[PRI] firmware version:5089.
Image library version (gcc version 4.6.1 (crosstool-NG 1.18.0) (uClibc)) v2.1.0 #svn r12607 Mon Aug 21 14:40:33 CST 2017
[ 23.300000] ===================================================
[ 23.310000] =====gc1034 drv create at 20170526 ver:20170210====
[ 23.320000] ===================================================
[ 23.320000] [sensor_get_dev_id 276]find sensor id: 00001034
[ 23.340000] sensor board reset...
[ 23.860000] sensor board reset...
timesvr: get svrtime(1) succeed.
timesvr: svrtime: 1647129849
ntp: update succeed, utc_time=1647129849
ntp: update succeed, local_time=2022-03-13 08:04:09
ntp: start time rewrite succeed.
can't found rtc pcf8563
rtc: th_i2c_init error!
vinWidth: 1280, vinHeight: 720
HI_SDK_Init ok
HI_SDK_Init: TH_flag=0,temp=0.000000,hum=0
initaudio: inputtype=1, input=15, output=9, aec=0
HI_SDK_InitAudio
HI_Media_SDKInit: sensor: 32
HI_Media_SDKInit: vctrl: enable=1, recchn=1
encode(chn=0): profile=1,resolution=6,cbr=0,bitrate=1536,frame=20,iframe=40,quali[ 24.210000] win_height:0 win_width:0
ty=1,minq=24,max[ 24.220000] win_height:0 win_width:0
q=41
encode(chn=0): audioenable=1, audiotype=1
HI_SDK_CreateEncodeChannel u32Chn: 0
encode(chn=1): profile=1,resolution=7,cbr=0,bitrate=70,frame=2,iframe=4,quality=1,minq=24,maxq=41
encode(chn=1): audioenable=1, audiotype=1
HI_SDK_CreateEncodeChannel u32Chn: 1
HI_Media_SDKInit: snap_chn=0
HI_SDK_CreateSnapChannel
HI_Media_SDKInit: vctrl: mdvalue=88
audiovol: 1 15 9
HI_SDK_SetConfig u32Command: 4101
HI_SDK_StartEncode u32Chn: 0
HI_SDK_IspStart
HI_SDK_H264EncodeProcess
HI_Media_SDKInit: HI_SDK_StartEncode(chn=0) succeed.
HI_SDK_StartEncode u32Chn: 1
HI_SDK_H264EncodeProcess
HI_Media_SDKInit: HI_SDK_StartEncode(chn=1) succeed.
video(chn=0): cbr=0,bitrate=1536,frame=20,iframe=40,quality=1,minq=24,maxq=41
HI_SDK_SetConfig u32Command: 4098
video(chn=1): cbr=0,bitrate=70,frame=2,iframe=4,quality=1,minq=24,maxq=41
HI_SDK_SetConfig u32Command: 4098
HI_SDK_StartSnap
PTS cur: 1050, last: 0
HI_SDK_StartSnap ok
audio: denoise=1
HI_SDK_StartAudioEncode
webrtc_ns_init
HI_SDK_StartMDChannel
gadi_pda_init
gadi_pda_buffer_info
gadi_pda_open
gadi_pda_start_recv_pic
HI_SDK_StartMDChannel thread ok
HI_SDK_SendAudioProcess
HI_SDK_SetConfig u32Command: 4119
HI_Media_SDKInit: display mode: blackwhite
HI_SDK_SetConfig u32Command: 4097
SPS[0]=R00AH5mwFAFuhAAAD6AAAnECEA==
PPS[0]=SOpDyA==
SPS[1]=R01AHpmwKAtoQAAA+gAAAwPoIQ==
PPS[1]=SOpDyA==
sdkmgr: build sps/pps succeed.
night
g_struSdkPublic.struImg.s32Flag
color(ini): f=0xffffff, b=0x000000, ftrans=192, btrans=64
HI_SDK_InitOSD
OSD(area=0): show=1, pos=0, x=672, y=0, str=YYYY-MM-DD hh:mm:ss
HI_SDK_CreateOSDArea u32Area: 0
OSD(area=1): show=1, pos=1, x=0, y=576, str=IP Camera
HI_SDK_CreateOSDArea u32Area: 1
OSD: no temp/hum sensor.
HI_SDK_SetConfig u32Command: 4112
audioalarm: off 50
sdkmgr: init succeed, max channel=2
HI_Media_LiveStreamInit: alarmsound: enable=0, dalaytime=5
ALARM_SERVER:
HI_Record_Stop succeed.
HI_Media_RecInit: HI_Record_Start(chn=1) succeed.
HI_Websvr_Init: init media succeed.
HI_Websvr_Init: PBServer start.
HI_Websvr_Init: httpport=80, snapchn=1
VCtrl_Proc: enable=1, debug=0,recchn=1, mdrectime=15, mode=lowrate
relay: start...
ircut: c2b_value=500, b2c_value=300
ircut: switch, imagetype=1.
ircut: switch, imagetype=0.
workthread: ircut init succeed.
infra: proc(19) start.
rled: auto.
workthread: infrared init succeed.
HI_Reset_Init: smart: enable=0
HI_Reset_Init: light: enable=1
HI_Reset_Init: apmode: status=1
workthread: reset init succeed.
workthread: wifikey init succeed.
reset: proc(23) start.
ircut: proc(22) start.
workthread: netdetect init succeed.
workthread: search start.
workthread: p2p start.
workthread: wdt init succeed.
wdt: default timeout: 60 sec.
wdt: default timeout: 5 sec.
netdetect: WiFi (Enable).
netdetect: netflag(Lan).
===================================================
ipc_server start : 2022-03-13 08:04:12
ipc_server version: V13.1.6.1.26-20171207
===================================================
light: proc(28) start.
ircut: switch status on.
ircut: switch, imagetype=1.
rled: close.
HI_SDK_SetConfig u32Command: 4097
day
ircut: display switch(blackwhite -> color).
hichip: start: 2022-03-13 08:04:17
HI_HichipLink_Svr_Start
szUID = IIII-252455-CDBDE, szCrcKet=nocrckey, u32StreamCtrl=1, aszPushIp=47.91.149.233
login dev success! handle[0]=30766616
login dev success! handle[1]=31322560
login dev success! handle[alarm]=31324712
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
HI_Media_LiveStreamRegisterMediaLink: cntindex=0,onlinenum=0
HI_Media_LiveStreamParseStream: cntindex=0,sock=31,avchn=0,mediatype=4
SendMediaDataThread(entry): cntindex=0,avchn=0,af=1,sock=31,rbhandle=30765752
start stream succeed(ret=0x0)! handle(alarm)=31324712
u32CodeType = 264
it is fl (-1)Ver: V1.0.0.1
API V: 100a1d02
1-
Session[6]
Channel[6]
Buffer[256]
Packet[1024]
2-
Session[6]
Channel[6]
Buffer[256]
Packet[1024]
ircut: switch status off.
IIII-252455-CDBDE 47.91.149.233
HI_P2P_SessionProcess listen start
UID:IIII-252455-CDBDE
CRC:nocrckey
addr0 47.91.149.233
addr1 47.91.149.233
addr2 47.91.149.233
===================
uAlarmPushHandle=31328232, sAlarmExitFlag=1
[ 36.660000] iFlag: 1, iCurStep: 260
motor: selfdet stop.
motor: selfdet finsh.
motor: move stop.
CLOSE WAIT
onvif: TZ: STD-8:0:0
onvif: TZInterval: 28800
onvif: login dev success! handle=27668488
onvif: login dev success! handle[alarm]=27670808
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
HI_Media_LiveStreamRegisterMediaLink: cntindex=1,onlinenum=0
HI_Media_LiveStreamParseStream: cntindex=1,sock=32,avchn=0,mediatype=4
SendMediaDataThread(entry): cntindex=1,avchn=0,af=1,sock=32,rbhandle=31327920
onvif: start stream succeed(ret=0x0)! handle(alarm)=27670808
onvif: devmgmt_proc ok.
onvif: V2.04-20170421
onvif: start: 2022-03-13 08:04:39
onvif: searcher svr monitor start.
onvif: timg: productid=C9F0SeZ0N0P4L0
onvif: searcher svr start.
CLOSE WAIT
Welcome to HiLinux
IPCamera login: default
login: can't chdir to home directory '/home/default'
$ su
su: must be suid to work properly
$ exit
Welcome to HiLinux
IPCamera login: root
Password:
Mar 13 08:05:35 login[425]: root login on 'ttySGK0'
# CLOSE WAIT
ip
-sh: ip: not found
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:F8:44:61:A4
inet addr:192.168.2.5 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:56 errors:0 dropped:0 overruns:0 frame:0
TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7395 (7.2 KiB) TX bytes:4018 (3.9 KiB)
Interrupt:1
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:780 errors:0 dropped:0 overruns:0 frame:0
TX packets:780 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:61966 (60.5 KiB) TX bytes:61966 (60.5 KiB)
wlan0 Link encap:Ethernet HWaddr 00:0C:43:60:71:86
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)
# CLOSE WAIT
CLOSE WAIT
vctrl: alarm_push_recv,switch to normal mode...
vctrl: switch ---> [normal] mode...
encode(chn=1): cbr=0,bitrate=448,frame=20,iframe=40,quality=1,minq=24,maxq=41
HI_SDK_SetConfig u32Command: 4098
vctrl: alarm_rec_end,switch to lowrate mode...
vctrl: switch ---> [lowrate] mode...
encode(chn=1): cbr=0,bitrate=70,frame=2,iframe=4,quality=1,minq=24,maxq=41
HI_SDK_SetConfig u32Command: 4098
# ftpget
-sh: ftpget: not found
# CLOSE WAIT
CLOSE WAIT
# wget
-sh: wget: not found
# busybox
BusyBox v1.18.1 (2017-08-11 16:47:04 CST) multi-call binary.
Copyright (C) 1998-2009 Erik Andersen, Rob Landley, Denys Vlasenko
and others. Licensed under GPLv2.
See source distribution for full notice.
Usage: busybox [function] [arguments]...
or: busybox --list[-full]
or: function [arguments]...
BusyBox is a multi-call binary that combines many common Unix
utilities into a single executable. Most people will create a
link to busybox for each function they wish to use and BusyBox
will act like whatever it was invoked as.
Currently defined functions:
arping, ash, awk, basename, bash, cat, chmod, cp, cttyhack, date, df,
dhcprelay, dmesg, dnsdomainname, du, dumpleases, echo, egrep, false,
fdisk, fgrep, free, getty, grep, gunzip, gzip, halt, hostname, id,
ifconfig, init, insmod, kill, killall, linuxrc, ln, login, ls, lsmod,
lsusb, mdev, mesg, mkdir, mknod, mount, mv, netstat, ping, poweroff,
printenv, printf, ps, pwd, reboot, rm, rmmod, route, sed, seq, sh,
sleep, stat, su, sulogin, sync, tar, telnetd, tftp, top, touch, true,
udhcpc, udhcpd, umount, unzip, usleep, vi, wc, zcat
# busybox wget
wget: applet not found
# which busybox
-sh: which: not found
# CLOSE WAIT
CLOSE WAIT
CLOSE WAIT
busybox nc
nc: applet not found
# PPPP_Listen error -3
CLOSE WAIT
CLOSE WAIT
CLOSE WAIT
tftp
BusyBox v1.18.1 (2017-08-11 16:47:04 CST) multi-call binary.
Usage: tftp [OPTIONS] HOST [PORT]
Transfer a file from/to tftp server
Options:
-l FILE Local FILE
-r FILE Remote FILE
-g Get file
-p Put file
-b SIZE Transfer blocks of SIZE octets
# tftp -r -g CLOSE WAIT
dropbear 192.168.2.1
BusyBox v1.18.1 (2017-08-11 16:47:04 CST) multi-call binary.
Usage: tftp [OPTIONS] HOST [PORT]
Transfer a file from/to tftp server
Options:
-l FILE Local FILE
-r FILE Remote FILE
-g Get file
-p Put file
-b SIZE Transfer blocks of SIZE octets
# tftp -r -g dropbear 192.168.2.1
BusyBox v1.18.1 (2017-08-11 16:47:04 CST) multi-call binary.
Usage: tftp [OPTIONS] HOST [PORT]
Transfer a file from/to tftp server
Options:
-l FILE Local FILE
-r FILE Remote FILE
-g Get file
-p Put file
-b SIZE Transfer blocks of SIZE octets
# tftp -g dropbear 192.168.2.1
BusyBox v1.18.1 (2017-08-11 16:47:04 CST) multi-call binary.
Usage: tftp [OPTIONS] HOST [PORT]
Transfer a file from/to tftp server
Options:
-l FILE Local FILE
-r FILE Remote FILE
-g Get file
-p Put file
-b SIZE Transfer blocks of SIZE octets
# tftp -rCLOSE WAIT 92.168.2.1
dropbear 192.168.2.1
BusyBox v1.18.1 (2017-08-11 16:47:04 CST) multi-call binary.
Usage: tftp [OPTIONS] HOST [PORT]
Transfer a file from/to tftp server
Options:
-l FILE Local FILE
-r FILE Remote FILE
-g Get file
-p Put file
-b SIZE Transfer blocks of SIZE octets
# tftp -g -r dropbear 192.168.2.1
tftp: can't open 'dropbear': Read-only file system
# cd /mnt/
mtd/ nfs/
# cd /mnt/
mtd/ nfs/
# cd /mnt/
# ls
mtd nfs
# cd mtd
# ls
ipc
# cd ipc
# ls
allexit.sh hzk16 sd_first
asc16 ipc_server sdmore
chg_net.sh libNetLib.so sensors
chknet libXqAPILib.so setlinuxtime
chksensor libxqun.so setnet
chksock load_drv start.g711
chkwifi.sh load_media th3ddns.sh
conf loadp2p.sh tmpfs
config_default.zip modules updatewifi
ddns_update net_detect upgrade
dhcp.sh onvif upnp_map
exclude.lst platform.sh upnpmap.sh
facddns.sh readcfg watchdog
fdisk.sh reset.g711 web
findap.sh reset_sensor.sh wfsort
finish.g711 run wifi_ap.sh
finish8k.g711 runarp wifi_setsmart.sh
flash_upg.sh sd wifi_setsta.sh
gerddns sd.sh wifiget
getdevmac sd_detect wifiset.sh
# cd tmpfs
# ls
efuse.tmp libXqAPILib.so sd var
fddns.dat libxqun.so sensor.conf wifi.mac
ipc_server m.ok syslog.txt wifi.type
lib netflag.dat th3ddns.dat wpa.conf
libNetLib.so proc.tmp upnpmap.dat
# tftp -g -r dropbear 192.168.2.1
CLOSE WAIT
tftp: timeout
# tftp
BusyBox v1.18.1 (2017-08-11 16:47:04 CST) multi-call binary.
Usage: tftp [OPTIONS] HOST [PORT]
Transfer a file from/to tftp server
Options:
-l FILE Local FILE
-r FILE Remote FILE
-g Get file
-p Put file
-b SIZE Transfer blocks of SIZE octets
# tftp -g -CLOSE WAIT 192.168.2.1
CLOSE WAIT
CLOSE WAIT
CLOSE WAIT
# ls
# lsPPPP_Listen error -3
# tftp -g -r dropbear 192.168.2.1
dropbear 100% |*******************************| 364k --:--:-- ETA
# ls
dropbear libNetLib.so proc.tmp upnpmap.dat
efuse.tmp libXqAPILib.so sd var
fddns.dat libxqun.so sensor.conf wifi.mac
ipc_server m.ok syslog.txt wifi.type
lib netflag.dat th3ddns.dat wpa.conf
[debug]
[debug]
denable = "0 "
dserver = "192.168.1.88"
dport = "12990 "
[telnet]
tenable = "1 "
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
# CLOSE WAIT
CLOSE WAIT
PPPP_Listen error -3
#
# sf
-sh: sf: not found
# CLOSE WAIT
mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro,relatime)
proc on /proc type proc (rw,relatime)
tmpfs on /dev type tmpfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
/dev/mtdblock4 on /mnt/mtd/ipc type squashfs (ro,relatime)
/dev/mtdblock5 on /mnt/mtd/ipc/conf type jffs2 (rw,relatime)
/proc/bus/usb on /proc/bus/usb type usbfs (rw,relatime)
tmpfs on /mnt/mtd/ipc/tmpfs type tmpfs (rw,relatime,size=16384k)
# mount -o remount,rw /
# mv dropbear /usr/bin/reabpord
mv: can't create '/usr/bin/reabpord': Read-only file system
# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro,relatime)
proc on /proc type proc (rw,relatime)
tmpfs on /dev type tmpfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
/dev/mtdblock4 on /mnt/mtd/ipc type squashfs (ro,relatime)
/dev/mtdblock5 on /mnt/mtd/ipc/conf type jffs2 (rw,relatime)
/proc/bus/usb on /proc/bus/usb type usbfs (rw,relatime)
tmpfs on /mnt/mtd/ipc/tmpfs type tmpfs (rw,relatime,size=16384k)
# CLOSE WAIT
vctrl: alarm_push_recv,switch to normal mode...
vctrl: switch ---> [normal] mode...
encode(chn=1): cbr=0,bitrate=448,frame=20,iframe=40,quality=1,minq=24,maxq=41
HI_SDK_SetConfig u32Command: 4098
# mv dropbear /usr/bin/reabpord
mv: can't create '/usr/bin/reabpord': Read-only file system
# ls
dropbear libNetLib.so proc.tmp upnpmap.dat
efuse.tmp libXqAPILib.so sd var
fddns.dat libxqun.so sensor.conf wifi.mac
ipc_server m.ok syslog.txt wifi.type
lib netflag.dat th3ddns.dat wpa.conf
# cd /usr/bin
# ls
arping flashcp mesg unzip
awk free mkfs.vfat wc
basename hostapd printf wpa_cli
dosfsck id seq wpa_supplicant
du iwlist sfdisk
dumpleases killall tftp
flash_erase lsusb top
# touch id
touch: id: Read-only file system
# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro,relatime)
proc on /proc type proc (rw,relatime)
tmpfs on /dev type tmpfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
/dev/mtdblock4 on /mnt/mtd/ipc type squashfs (ro,relatime)
/dev/mtdblock5 on /mnt/mtd/ipc/conf type jffs2 (rw,relatime)
/proc/bus/usb on /proc/bus/usb type usbfs (rw,relatime)
tmpfs on /mnt/mtd/ipc/tmpfs type tmpfs (rw,relatime,size=16384k)
# vctrl: alarm_rec_end,switch to lowrate mode...
vctrl: switch ---> [lowrate] mode...
encode(chn=1): cbr=0,bitrate=70,frame=2,iframe=4,quality=1,minq=24,maxq=41
HI_SDK_SetConfig u32Command: 4098
CLOSE WAIT
CLOSE WAIT
# ls /dev/mtd*
/dev/mtd0 /dev/mtd3 /dev/mtd6 /dev/mtdblock4
/dev/mtd0ro /dev/mtd3ro /dev/mtd6ro /dev/mtdblock5
/dev/mtd1 /dev/mtd4 /dev/mtdblock0 /dev/mtdblock6
/dev/mtd1ro /dev/mtd4ro /dev/mtdblock1
/dev/mtd2 /dev/mtd5 /dev/mtdblock2
/dev/mtd2ro /dev/mtd5ro /dev/mtdblock3
# mkdir /mnt/root
mkdir: can't create directory '/mnt/root': Read-only file system
# ls /
bin etc inittab linuxrc proc sbin tmp var
dev home lib mnt root sys usr
# ls /mnt
mtd nfs
# ls /mnt/nfs
# mountCLOSE WAIT
# mount /dev/mtdblock0 /mnt/nfs
mount: mounting /dev/mtdblock0 on /mnt/nfs failed: Invalid argument
# mount /dev/mtdblock1 /mnt/nfs
mount: mounting /dev/mtdblock1 on /mnt/nfs failed: Invalid argument
# mount /dev/mtdblock2 /mnt/nfs
mount: mounting /dev/mtdblock2 on /mnt/nfs failed: Invalid argument
# mount /dev/mtdblock3 /mnt/nfs
mount: mounting /dev/mtdblock3 on /mnt/nfs failed: Device or resource busy
# mount /dev/mtdblock4 /mnt/nfs
mount: mounting /dev/mtdblock4 on /mnt/nfs failed: Device or resource busy
# mount /dev/mtdblock5 /mnt/nfs
mount: mounting /dev/mtdblock5 on /mnt/nfs failed: Invalid argument
# mount /dev/mtdblock5 /mnCLOSE WAIT
/mnt/nfs
# mount /dev/mtdblock6 /mnt/nfs
mount: mounting /dev/mtdblock6 on /mnt/nfs failed: Invalid argument
# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro,relatime)
proc on /proc type proc (rw,relatime)
tmpfs on /dev type tmpfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
/dev/mtdblock4 on /mnt/mtd/ipc type squashfs (ro,relatime)
/dev/mtdblock5 on /mnt/mtd/ipc/conf type jffs2 (rw,relatime)
/proc/bus/usb on /proc/bus/usb type usbfs (rw,relatime)
tmpfs on /mnt/mtd/ipc/tmpfs type tmpfs (rw,relatime,size=16384k)
# vctrl: alarm_push_recv,switch to normal mode...
vctrl: switch ---> [normal] mode...
encode(chn=1): cbr=0,bitrate=448,frame=20,iframe=40,quality=1,minq=24,maxq=41
HI_SDK_SetConfig u32Command: 4098
CLOSE WAIT
vctrl: alarm_rec_end,switch to lowrate mode...
vctrl: switch ---> [lowrate] mode...
encode(chn=1): cbr=0,bitrate=70,frame=2,iframe=4,quality=1,minq=24,maxq=41
HI_SDK_SetConfig u32Command: 4098
CLOSE WAIT
df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 2.0M 2.0M 0 100% /
tmpfs 20.3M 0 20.3M 0% /dev
tmpfs 20.3M 0 20.3M 0% /tmp
/dev/mtdblock4 3.0M 3.0M 0 100% /mnt/mtd/ipc
/dev/mtdblock5 1.6M 1.0M 620.0K 63% /mnt/mtd/ipc/conf
tmpfs 16.0M 2.1M 13.9M 13% /mnt/mtd/ipc/tmpfs
# CLOSE WAIT
CLOSE WAIT
PPPP_Listen error -3
vctrl: alarm_push_recv,switch to normal mode...
vctrl: switch ---> [normal] mode...
encode(chn=1): cbr=0,bitrate=448,frame=20,iframe=40,quality=1,minq=24,maxq=41
HI_SDK_SetConfig u32Command: 4098
"
.*
console init done
U-Boot 2012.10 (Oct 13 2017 - 20:12:38) for GK7102C hx-gc1034-v1.0 (GOKE)
HAL: 20160804
ram_size = 0x4000000
DRAM: 64 MiB
Flash: [XM25QH64A] USE 1X mode read and 1X mode write
8 MiB
DMA new c1000008
NAND: [No SPI nand]
SF: 8 MiB [page:256 Bytes] [sector:64 KiB] [count:128] (XM25QH64A)
In: serial
Out: serial
Err: serial
Net: Int PHY
Hit Enter key to stop autoboot: 0
GK7102C #
GK7102C #
GK7102C #
GK7102C #
GK7102C # printenv
[PROCESS_SEPARATORS] printenv
arm_freq=0x00112032
baudrate=115200
bootcmd=run sfboot
bootdelay=1
bootfile=zImage
bsbsize=2M
consoledev=ttySGK0
ethact=goke
ethaddr=3C:97:0E:22:E1:20
fileaddr=C1000000
filesize=170000
gatewayip=11.1.5.1
hostname="gk7102c"
ipaddr=192.168.1.9
loadaddr=0xC1000000
mem=45M
netdev=eth0
netmask=255.255.255.0
nfsserver=11.1.5.19
phytype=0
rootfstype=rootfstype=squashfs root=/dev/mtdblock3 mtdparts=gk_flash:192K(boot),64K(bootenv),1344K(kernel),1856K(rootfs),3072K(mtd),1664K(conf),8M@0(all)
rootpath=/opt/work
serverip=192.168.1.7
sfboot=setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=linuxrc ;sf probe 0 0;sf read ${loadaddr} ${sfkernel} ${filesize}; bootm
sfkernel=0x40000
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: 1093/65532 bytes
GK7102C # help
[PROCESS_SEPARATORS] help
? - alias for 'help'
base - print or set address offset
bdinfo - print Board Info structure
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
bootvx - Boot vxWorks from an ELF image
bootz - boot Linux zImage image from memory
cmp - memory compare
coninfo - print console devices and information
cp - memory copy
crc32 - checksum calculation
dhcp - boot image via network using DHCP/TFTP protocol
echo - echo args to console
editenv - edit environment variable
env - environment handling commands
erase - erase FLASH memory
flinfo - print FLASH memory information
gkgpio - set gpio_x env
go - start application at address 'addr'
help - print command description/usage
iminfo - print header information for application image
imls - list all images found in flash
imxtract- extract a part of a multi-image
itest - return true/false on integer compare
loadb - load binary file over serial line (kermit mode)
loads - load S-Record file over serial line
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
md - memory display
mm - memory modify (auto-incrementing address)
mtest - simple RAM read/write test
mw - memory write (fill)
nfs - boot image via network using NFS protocol
nm - memory modify (constant address)
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
sf - SPI flash sub-system
sleep - delay execution for some time
snand - SpiNAND sub-system
source - run script from memory
tftpboot- boot image via network using TFTP protocol
tftpput - TFTP put command, for uploading files to a server
version - print monitor, compiler and linker version
GK7102C # tftpput
[PROCESS_SEPARATORS] tftpput
TFTP to server 192.168.1.7; our IP address is 192.168.1.9
Filename 'zImage'.
Save address: 0x0
Save size: 0x0
Saving: T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T
Abort
GK7102C # printenv
[PROCESS_SEPARATORS] printenv
arm_freq=0x00112032
baudrate=115200
bootcmd=run sfboot
bootdelay=1
bootfile=zImage
bsbsize=2M
consoledev=ttySGK0
ethact=goke
ethaddr=3C:97:0E:22:E1:20
fileaddr=C1000000
filesize=170000
gatewayip=11.1.5.1
hostname="gk7102c"
ipaddr=192.168.1.9
loadaddr=0xC1000000
mem=45M
netdev=eth0
netmask=255.255.255.0
nfsserver=11.1.5.19
phytype=0
rootfstype=rootfstype=squashfs root=/dev/mtdblock3 mtdparts=gk_flash:192K(boot),64K(bootenv),1344K(kernel),1856K(rootfs),3072K(mtd),1664K(conf),8M@0(all)
rootpath=/opt/work
serverip=192.168.1.7
sfboot=setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=linuxrc ;sf probe 0 0;sf read ${loadaddr} ${sfkernel} ${filesize}; bootm
sfkernel=0x40000
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: 1093/65532 bytes
GK7102C # setenv serverip 192.158.2.1
[PROCESS_SEPARATORS] setenv serverip 192.158.2.1
GK7102C # setenv serverip 192.168.2.1
[PROCESS_SEPARATORS] setenv serverip 192.168.2.1
GK7102C # printenv
[PROCESS_SEPARATORS] printenv
arm_freq=0x00112032
baudrate=115200
bootcmd=run sfboot
bootdelay=1
bootfile=zImage
bsbsize=2M
consoledev=ttySGK0
ethact=goke
ethaddr=3C:97:0E:22:E1:20
fileaddr=C1000000
filesize=170000
gatewayip=11.1.5.1
hostname="gk7102c"
ipaddr=192.168.1.9
loadaddr=0xC1000000
mem=45M
netdev=eth0
netmask=255.255.255.0
nfsserver=11.1.5.19
phytype=0
rootfstype=rootfstype=squashfs root=/dev/mtdblock3 mtdparts=gk_flash:192K(boot),64K(bootenv),1344K(kernel),1856K(rootfs),3072K(mtd),1664K(conf),8M@0(all)
rootpath=/opt/work
serverip=192.168.2.1
sfboot=setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=linuxrc ;sf probe 0 0;sf read ${loadaddr} ${sfkernel} ${filesize}; bootm
sfkernel=0x40000
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: 1093/65532 bytes
GK7102C # setenv ipaddr 192.168.2.10
[PROCESS_SEPARATORS] setenv ipaddr 192.168.2.10
GK7102C # tftpput
[PROCESS_SEPARATORS] tftpput
TFTP to server 192.168.2.1; our IP address is 192.168.2.10
Filename 'zImage'.
Save address: 0x0
Save size: 0x0
Saving: *
TFTP error: 'File not found' (1)
Not retrying...
GK7102C # tftpput
[PROCESS_SEPARATORS] tftpput
TFTP to server 192.168.2.1; our IP address is 192.168.2.10
Filename 'zImage'.
Save address: 0x0
Save size: 0x0
Saving: *
TFTP error: 'File not found' (1)
Not retrying...
GK7102C # tftpput<INTERRUPT>
GK7102C # printenv
[PROCESS_SEPARATORS] printenv
arm_freq=0x00112032
baudrate=115200
bootcmd=run sfboot
bootdelay=1
bootfile=zImage
bsbsize=2M
consoledev=ttySGK0
ethact=goke
ethaddr=3C:97:0E:22:E1:20
fileaddr=C1000000
filesize=170000
gatewayip=11.1.5.1
hostname="gk7102c"
ipaddr=192.168.2.10
loadaddr=0xC1000000
mem=45M
netdev=eth0
netmask=255.255.255.0
nfsserver=11.1.5.19
phytype=0
rootfstype=rootfstype=squashfs root=/dev/mtdblock3 mtdparts=gk_flash:192K(boot),64K(bootenv),1344K(kernel),1856K(rootfs),3072K(mtd),1664K(conf),8M@0(all)
rootpath=/opt/work
serverip=192.168.2.1
sfboot=setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=linuxrc ;sf probe 0 0;sf read ${loadaddr} ${sfkernel} ${filesize}; bootm
sfkernel=0x40000
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: 1094/65532 bytes
GK7102C # setenv rootfstype rootfstype=squashfs root=/dev/mtdblock3 mtdparts=gk_flash:192K(boot),64K(bootenv),1344K(kernel),1856K(rootfs),072K(td),164K(cnf),8M@(all)
[PROCESS_SEPARATORS] setenv rootfstype rootfstype=squashfs root=/dev/mtdblock3 mtdparts=gk_flash:192K(boot),64K(bootenv),1344K(kernel),1856K(rootfs),072K(td),164K(cnf),8M@(all)
GK7102C # printenv
[PROCESS_SEPARATORS] printenv
arm_freq=0x00112032
baudrate=115200
bootcmd=run sfboot
bootdelay=1
bootfile=zImage
bsbsize=2M
consoledev=ttySGK0
ethact=goke
ethaddr=3C:97:0E:22:E1:20
fileaddr=C1000000
filesize=170000
gatewayip=11.1.5.1
hostname="gk7102c"
ipaddr=192.168.2.10
loadaddr=0xC1000000
mem=45M
netdev=eth0
netmask=255.255.255.0
nfsserver=11.1.5.19
phytype=0
rootfstype=rootfstype=squashfs root=/dev/mtdblock3 mtdparts=gk_flash:192K(boot),64K(bootenv),1344K(kernel),1856K(rootfs),072K(td),164K(cnf),8M@(all)
rootpath=/opt/work
serverip=192.168.2.1
sfboot=setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=linuxrc ;sf probe 0 0;sf read ${loadaddr} ${sfkernel} ${filesize}; bootm
sfkernel=0x40000
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: 1089/65532 bytes
GK7102C # pr<INTERRUPT>
GK7102C # sf probe 0
[PROCESS_SEPARATORS] sf probe 0
SF: 8 MiB [page:256 Bytes] [sector:64 KiB] [count:128] (XM25QH64A)
GK7102C # sf read 0x82000000 0x0 0x000001000000
[PROCESS_SEPARATORS] sf read 0x82000000 0x0 0x000001000000
ERROR: attempting read past flash size (0x800000)
GK7102C # sf read 0x82000000 0x0 0x800000
[PROCESS_SEPARATORS] sf read 0x82000000 0x0 0x800000
GK7102C # tftp
tftpput tftpboot
GK7102C # tftpput
[PROCESS_SEPARATORS] tftpput
TFTP to server 192.168.2.1; our IP address is 192.168.2.10
Filename 'zImage'.
Save address: 0x0
Save size: 0x0
Saving: *
TFTP error: 'File not found' (1)
Not retrying...
GK7102C # tftp 0x82000000 firmware.bin 0x800000
[PROCESS_SEPARATORS] tftp 0x82000000 firmware.bin 0x800000
Unknown command 'tftp' - try 'help'
GK7102C # printenv
[PROCESS_SEPARATORS] printenv
arm_freq=0x00112032
baudrate=115200
bootcmd=run sfboot
bootdelay=1
bootfile=zImage
bsbsize=2M
consoledev=ttySGK0
ethact=goke
ethaddr=3C:97:0E:22:E1:20
fileaddr=C1000000
filesize=170000
gatewayip=11.1.5.1
hostname="gk7102c"
ipaddr=192.168.2.10
loadaddr=0xC1000000
mem=45M
netdev=eth0
netmask=255.255.255.0
nfsserver=11.1.5.19
phytype=0
rootfstype=rootfstype=squashfs root=/dev/mtdblock3 mtdparts=gk_flash:192K(boot),64K(bootenv),1344K(kernel),1856K(rootfs),072K(td),164K(cnf),8M@(all)
rootpath=/opt/work
serverip=192.168.2.1
sfboot=setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=linuxrc ;sf probe 0 0;sf read ${loadaddr} ${sfkernel} ${filesize}; bootm
sfkernel=0x40000
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: 1089/65532 bytes
GK7102C # help
[PROCESS_SEPARATORS] help
? - alias for 'help'
base - print or set address offset
bdinfo - print Board Info structure
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
bootvx - Boot vxWorks from an ELF image
bootz - boot Linux zImage image from memory
cmp - memory compare
coninfo - print console devices and information
cp - memory copy
crc32 - checksum calculation
dhcp - boot image via network using DHCP/TFTP protocol
echo - echo args to console
editenv - edit environment variable
env - environment handling commands
erase - erase FLASH memory
flinfo - print FLASH memory information
gkgpio - set gpio_x env
go - start application at address 'addr'
help - print command description/usage
iminfo - print header information for application image
imls - list all images found in flash
imxtract- extract a part of a multi-image
itest - return true/false on integer compare
loadb - load binary file over serial line (kermit mode)
loads - load S-Record file over serial line
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
md - memory display
mm - memory modify (auto-incrementing address)
mtest - simple RAM read/write test
mw - memory write (fill)
nfs - boot image via network using NFS protocol
nm - memory modify (constant address)
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
sf - SPI flash sub-system
sleep - delay execution for some time
snand - SpiNAND sub-system
source - run script from memory
tftpboot- boot image via network using TFTP protocol
tftpput - TFTP put command, for uploading files to a server
version - print monitor, compiler and linker version
GK7102C # ping 192.168.2.2
[PROCESS_SEPARATORS] ping 192.168.2.2
Using goke device
ping failed; host 192.168.2.2 is not alive
GK7102C # tftpput
[PROCESS_SEPARATORS] tftpput
TFTP to server 192.168.2.1; our IP address is 192.168.2.10
Filename 'zImage'.
Save address: 0x0
Save size: 0x0
Saving: *
TFTP error: 'File not found' (1)
Not retrying...
GK7102C # tftpput
[PROCESS_SEPARATORS] tftpput
TFTP to server 192.168.2.1; our IP address is 192.168.2.10
Filename 'zImage'.
Save address: 0x0
Save size: 0x0
Saving: *
TFTP error: 'Access violation' (2)
Not retrying...
GK7102C # tftpput
[PROCESS_SEPARATORS] tftpput
TFTP to server 192.168.2.1; our IP address is 192.168.2.10
Filename 'zImage'.
Save address: 0x0
Save size: 0x0
Saving: *
TFTP error: 'Access violation' (2)
Not retrying...
GK7102C # tftpput
[PROCESS_SEPARATORS] tftpput
TFTP to server 192.168.2.1; our IP address is 192.168.2.10
Filename 'zImage'.
Save address: 0x0
Save size: 0x0
Saving: T T
TFTP server died; starting again
TFTP to server 192.168.2.1; our IP address is 192.168.2.10
Filename 'zImage'.
Save address: 0x0
Save size: 0x0
Saving: T T T T T
TFTP server died; starting again
TFTP to server 192.168.2.1; our IP address is 192.168.2.10
Filename 'zImage'.
Save address: 0x0
Save size: 0x0
Saving: T T T
TFTP server died; starting again
TFTP to server 192.168.2.1; our IP address is 192.168.2.10
Filename 'zImage'.
Save address: 0x0
Save size: 0x0
Saving: T T T T T T T T T T T
TFTP server died; starting again
TFTP to server 192.168.2.1; our IP address is 192.168.2.10
Filename 'zImage'.
Save address: 0x0
Save size: 0x0
Saving: T T T T T T T T T T T
TFTP server died; starting again
TFTP to server 192.168.2.1; our IP address is 192.168.2.10
Filename 'zImage'.
Save address: 0x0
Save size: 0x0
Saving: T
Abort
GK7102C # tftp 0x82000000 firmware.bin 0x800000<INTERRUPT>
GK7102C # tftput 0x82000000 0x800000 192.168.2.1:firmware.bin
[PROCESS_SEPARATORS] tftput 0x82000000 0x800000 192.168.2.1:firmware.bin
Unknown command 'tftput' - try 'help'
GK7102C # tftput 0x82000000 0x800000 192.168.2.1:firmware.bin<INTERRUPT>
GK7102C # tftpput 0x82000000 0x800000 192.168.2.1:firmware.bin
[PROCESS_SEPARATORS] tftpput 0x82000000 0x800000 192.168.2.1:firmware.bin
TFTP to server 192.168.2.1; our IP address is 192.168.2.10
Filename 'firmware.bin'.
Save address: 0x82000000
Save size: 0x800000
Saving: ################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
################################T #################################
#################################################################
#################################################################
#################################################################
#################################################################
#######################################T ##########################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
##########T #######################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
##############################################T ###################
##############
done
Bytes transferred = 8388608 (800000 hex)
GK7102C # tftp
tftpput tftpboot
GK7102C # tftp<INTERRUPT>
GK7102C # help
[PROCESS_SEPARATORS] help
? - alias for 'help'
base - print or set address offset
bdinfo - print Board Info structure
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
bootvx - Boot vxWorks from an ELF image
bootz - boot Linux zImage image from memory
cmp - memory compare
coninfo - print console devices and information
cp - memory copy
crc32 - checksum calculation
dhcp - boot image via network using DHCP/TFTP protocol
echo - echo args to console
editenv - edit environment variable
env - environment handling commands
erase - erase FLASH memory
flinfo - print FLASH memory information
gkgpio - set gpio_x env
go - start application at address 'addr'
help - print command description/usage
iminfo - print header information for application image
imls - list all images found in flash
imxtract- extract a part of a multi-image
itest - return true/false on integer compare
loadb - load binary file over serial line (kermit mode)
loads - load S-Record file over serial line
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
md - memory display
mm - memory modify (auto-incrementing address)
mtest - simple RAM read/write test
mw - memory write (fill)
nfs - boot image via network using NFS protocol
nm - memory modify (constant address)
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
sf - SPI flash sub-system
sleep - delay execution for some time
snand - SpiNAND sub-system
source - run script from memory
tftpboot- boot image via network using TFTP protocol
tftpput - TFTP put command, for uploading files to a server
version - print monitor, compiler and linker version
GK7102C # sf read 0x82000000 0x40000 0x800000
[PROCESS_SEPARATORS] sf read 0x82000000 0x40000 0x800000
ERROR: attempting read past flash size (0x800000)
GK7102C # sf read 0 0
[PROCESS_SEPARATORS] sf read 0 0
sf - SPI flash sub-system
Usage:
sf probe [[bus:]cs] [hz] [mode] - init flash device on given SPI bus
and chip select
sf read addr offset len - read `len' bytes starting at
`offset' to memory at `addr'
sf write addr offset len - write `len' bytes from memory
at `addr' to flash at `offset'
sf erase offset [+]len - erase `len' bytes from `offset'
`+len' round up `len' to block size
sf update addr offset len - erase and write `len' bytes from memory
at `addr' to flash at `offset'
GK7102C # sf read 0
[PROCESS_SEPARATORS] sf read 0
sf - SPI flash sub-system
Usage:
sf probe [[bus:]cs] [hz] [mode] - init flash device on given SPI bus
and chip select
sf read addr offset len - read `len' bytes starting at
`offset' to memory at `addr'
sf write addr offset len - write `len' bytes from memory
at `addr' to flash at `offset'
sf erase offset [+]len - erase `len' bytes from `offset'
`+len' round up `len' to block size
sf update addr offset len - erase and write `len' bytes from memory
at `addr' to flash at `offset'
GK7102C # sf probe 0
[PROCESS_SEPARATORS] sf probe 0
SF: 8 MiB [page:256 Bytes] [sector:64 KiB] [count:128] (XM25QH64A)
GK7102C # sf read 0x82000000 0x40000 0x800000
[PROCESS_SEPARATORS] sf read 0x82000000 0x40000 0x800000
ERROR: attempting read past flash size (0x800000)
GK7102C # sf read 0x82000000 0x40000 0x800000
[PROCESS_SEPARATORS] sf read 0x82000000 0x40000 0x800000
ERROR: attempting read past flash size (0x800000)
GK7102C # sf read 0x82000000 0x0 0x800000
[PROCESS_SEPARATORS] sf read 0x82000000 0x0 0x800000
GK7102C # sf read 0x82000000 0x40000 0x800000
[PROCESS_SEPARATORS] sf read 0x82000000 0x40000 0x800000
ERROR: attempting read past flash size (0x800000)
GK7102C # help
[PROCESS_SEPARATORS] help
? - alias for 'help'
base - print or set address offset
bdinfo - print Board Info structure
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
bootvx - Boot vxWorks from an ELF image
bootz - boot Linux zImage image from memory
cmp - memory compare
coninfo - print console devices and information
cp - memory copy
crc32 - checksum calculation
dhcp - boot image via network using DHCP/TFTP protocol
echo - echo args to console
editenv - edit environment variable
env - environment handling commands
erase - erase FLASH memory
flinfo - print FLASH memory information
gkgpio - set gpio_x env
go - start application at address 'addr'
help - print command description/usage
iminfo - print header information for application image
imls - list all images found in flash
imxtract- extract a part of a multi-image
itest - return true/false on integer compare
loadb - load binary file over serial line (kermit mode)
loads - load S-Record file over serial line
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
md - memory display
mm - memory modify (auto-incrementing address)
mtest - simple RAM read/write test
mw - memory write (fill)
nfs - boot image via network using NFS protocol
nm - memory modify (constant address)
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
sf - SPI flash sub-system
sleep - delay execution for some time
snand - SpiNAND sub-system
source - run script from memory
tftpboot- boot image via network using TFTP protocol
tftpput - TFTP put command, for uploading files to a server
version - print monitor, compiler and linker version
GK7102C # tftpboot
[PROCESS_SEPARATORS] tftpboot
TFTP from server 192.168.2.1; our IP address is 192.168.2.10
Filename 'firmware.bin'.
Load address: 0xc1000000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
GK7102C # printenv
[PROCESS_SEPARATORS] printenv
arm_freq=0x00112032
baudrate=115200
bootcmd=run sfboot
bootdelay=1
bootfile=zImage
bsbsize=2M
consoledev=ttySGK0
ethact=goke
ethaddr=3C:97:0E:22:E1:20
fileaddr=C1000000
filesize=800000
gatewayip=11.1.5.1
hostname="gk7102c"
ipaddr=192.168.2.10
loadaddr=0xC1000000
mem=45M
netdev=eth0
netmask=255.255.255.0
nfsserver=11.1.5.19
phytype=0
rootfstype=rootfstype=squashfs root=/dev/mtdblock3 mtdparts=gk_flash:192K(boot),64K(bootenv),1344K(kernel),1856K(rootfs),072K(td),164K(cnf),8M@(all)
rootpath=/opt/work
serverip=192.168.2.1
sfboot=setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=linuxrc ;sf probe 0 0;sf read ${loadaddr} ${sfkernel} ${filesize}; bootm
sfkernel=0x40000
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: 1089/65532 bytes
GK7102C # help
[PROCESS_SEPARATORS] help
? - alias for 'help'
base - print or set address offset
bdinfo - print Board Info structure
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootelf - Boot from an ELF image in memory
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
bootvx - Boot vxWorks from an ELF image
bootz - boot Linux zImage image from memory
cmp - memory compare
coninfo - print console devices and information
cp - memory copy
crc32 - checksum calculation
dhcp - boot image via network using DHCP/TFTP protocol
echo - echo args to console
editenv - edit environment variable
env - environment handling commands
erase - erase FLASH memory
flinfo - print FLASH memory information
gkgpio - set gpio_x env
go - start application at address 'addr'
help - print command description/usage
iminfo - print header information for application image
imls - list all images found in flash
imxtract- extract a part of a multi-image
itest - return true/false on integer compare
loadb - load binary file over serial line (kermit mode)
loads - load S-Record file over serial line
loady - load binary file over serial line (ymodem mode)
loop - infinite loop on address range
md - memory display
mm - memory modify (auto-incrementing address)
mtest - simple RAM read/write test
mw - memory write (fill)
nfs - boot image via network using NFS protocol
nm - memory modify (constant address)
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
protect - enable or disable FLASH write protection
reset - Perform RESET of the CPU
run - run commands in an environment variable
saveenv - save environment variables to persistent storage
setenv - set environment variables
sf - SPI flash sub-system
sleep - delay execution for some time
snand - SpiNAND sub-system
source - run script from memory
tftpboot- boot image via network using TFTP protocol
tftpput - TFTP put command, for uploading files to a server
version - print monitor, compiler and linker version
GK7102C # base
[PROCESS_SEPARATORS] base
Base Address: 0x00000000
GK7102C # bdinfo
[PROCESS_SEPARATORS] bdinfo
arch_number = 0x00000F94
boot_params = 0xC0000100
DRAM bank = 0x00000000
-> start = 0xC0000000
-> size = 0x04000000
ethaddr = 3C:97:0E:22:E1:20
ip_addr = 192.168.2.10
baudrate = 115200 bps
relocaddr = 0xC0800000
reloc off = 0x00000000
irq_sp = 0xC3F3FF68
sp start = 0xC3F3FF58
FB base = 0x00000000
GK7102C # md
[PROCESS_SEPARATORS] md
md - memory display
Usage:
md [.b, .w, .l] address [# of objects]
GK7102C # version
[PROCESS_SEPARATORS] version
U-Boot 2012.10 (Oct 13 2017 - 20:12:38) for GK7102C hx-gc1034-v1.0 (GOKE)
arm-goke-linux-uclibcgnueabi-gcc (crosstool-NG 1.18.0) 4.6.1
GNU ld (crosstool-NG 1.18.0) 2.21.1
GK7102C # sfboot
[PROCESS_SEPARATORS] sfboot
Unknown command 'sfboot' - try 'help'
GK7102C # boot
[PROCESS_SEPARATORS] boot
[PROCESS_SEPARATORS] run sfboot
[PROCESS_SEPARATORS] setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=linuxrc ;sf probe 0 0;sf read ${loadaddr} ${sfkernel} ${filesize}; bootm
SF: 8 MiB [page:256 Bytes] [sector:64 KiB] [count:128] (XM25QH64A)
ERROR: attempting read past flash size (0x800000)
put param to memory
mem size (45)
total mem size (64)
bsb size (2)
usr size (0)
the kernel image is zImage or Image
entry = 0xc1000000
## Transferring control to Linux (at address c1000000)...
Starting kernel ...
machid = 3988 r2 = 0xc0000100
.*
console init done
U-Boot 2012.10 (Oct 13 2017 - 20:12:38) for GK7102C hx-gc1034-v1.0 (GOKE)
HAL: 20160804
ram_size = 0x4000000
DRAM: 64 MiB
Flash: [XM25QH64A] USE 1X mode read and 1X mode write
8 MiB
DMA new c1000000
DMA reboot
NAND: [No SPI nand]
SF: 8 MiB [page:256 Bytes] [sector:64 KiB] [count:128] (XM25QH64A)
In: serial
Out: serial
Err: serial
Net: Int PHY
Hit Enter key to stop autoboot: 1
.*
console init done
U-Boot 2012.10 (Oct 13 2017 - 20:12:38) for GK7102C hx-gc1034-v1.0 (GOKE)
HAL: 20160804
ram_size = 0x4000000
DRAM: 64 MiB
Flash: [XM25QH64A] USE 1X mode read and 1X mode write
8 MiB
DMA new c1000008
NAND: [No SPI nand]
SF: 8 MiB [page:256 Bytes] [sector:64 KiB] [count:128] (XM25QH64A)
In: serial
Out: serial
Err: serial
Net: Int PHY
Hit Enter key to stop autoboot: 0
[PROCESS_SEPARATORS] run sfboot
[PROCESS_SEPARATORS] setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=linuxrc ;sf probe 0 0;sf read ${loadaddr} ${sfkernel} ${filesize}; bootm
SF: 8 MiB [page:256 Bytes] [sector:64 KiB] [count:128] (XM25QH64A)
put param to memory
mem size (45)
total mem size (64)
bsb size (2)
usr size (0)
the kernel image is zImage or Image
entry = 0xc1000000
## Transferring control to Linux (at address c1000000)...
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 (root@localhost.localdomain) (gcc version 4.6.1 (crosstool-NG 1.18.0) ) #6 PREEMPT Sat Sep 30 10:14:30 CST 2017
[ 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: 0xc2f00000 0xf5000000 -- 0x200000
[ 0.000000] DSP: 0xc3100000 0xf6000000 -- 0xef0000
[ 0.000000] USR: 0xc3ff0000 0xfe000000 -- 0x10000
[ 0.000000] hal version = 20160804
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 11430
[ 0.000000] Kernel command line: console=ttySGK0,115200 noinitrd mem=45M rw rootfstype=squashfs root=/dev/mtdblock3 mtdparts=gk_flash:192K(boot),64K(bootenv),1344K(kernel),1856K(rootfs),3072K(mtd),1664K(conf),8M@0(all) 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: 45MB = 45MB total
[ 0.000000] Memory: 41556k/41556k available, 4524k 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 : 0x83000000 - 0xff000000 (1984 MB)
[ 0.000000] lowmem : 0x80000000 - 0x82d00000 ( 45 MB)
[ 0.000000] modules : 0x7f000000 - 0x80000000 ( 16 MB)
[ 0.000000] .text : 0x80008000 - 0x80382000 (3560 kB)
[ 0.000000] .init : 0x80382000 - 0x8039d000 ( 108 kB)
[ 0.000000] .data : 0x8039e000 - 0x803c1840 ( 143 kB)
[ 0.000000] .bss : 0x803c1864 - 0x803f1ef4 ( 194 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 [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 0xc04aeed8 - 0xc04aef10
[ 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 hx-gc1034-v1.0 v1.0
[ 0.140000] [NET INT_CLK] Internal PHY clock
[ 0.150000] [GPIO]#############################
[ 0.150000] [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 (12)
[ 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 (32)
[ 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.290000] [GPIO CFG] gpio_01=SENSOR_RESET
[ 0.300000] [GPIO CFG] gpio_02=I2C0_CLK
[ 0.300000] [GPIO CFG] gpio_03=I2C0_DATA
[ 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_CLK
[ 0.320000] [GPIO CFG] gpio_08=SDIO0_DATA_1
[ 0.330000] [GPIO CFG] gpio_09=SDIO0_DATA_0
[ 0.330000] [GPIO CFG] gpio_10=OUTPUT_1
[ 0.340000] [GPIO CFG] gpio_11=PHY_LINK_LED
[ 0.340000] [GPIO CFG] gpio_12=PHY_SPEED_LED
[ 0.350000] [GPIO CFG] gpio_13=OUTPUT_0
[ 0.350000] [GPIO CFG] gpio_14=OUTPUT_0
[ 0.360000] [GPIO CFG] gpio_15=UART1_TX
[ 0.360000] [GPIO CFG] gpio_16=UART1_RX
[ 0.360000] [GPIO CFG] gpio_17=OUTPUT_0
[ 0.370000] [GPIO CFG] gpio_18=SDIO0_DATA_2
[ 0.370000] [GPIO CFG] gpio_19=SDIO0_DATA_3
[ 0.380000] [GPIO CFG] gpio_20=OUTPUT_0
[ 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.400000] [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=OUTPUT_1
[ 0.420000] [GPIO CFG] gpio_30=OUTPUT_1
[ 0.430000] [GPIO CFG] gpio_32=SDIO0_CD_N
[ 0.430000] audio freq is 13500000
[ 0.430000] create proc dir
[ 0.440000] gk register devices 8
[ 0.440000] gk register I2C
[ 0.460000] bio: create slab <bio-0> at 0
[ 0.470000] spi spi.0: gk SPI Controller 0 created
[ 0.480000] spi spi.0: master is unqueued, this is deprecated
[ 0.480000] spi spi.1: gk SPI Controller 1 created
[ 0.490000] spi spi.1: master is unqueued, this is deprecated
[ 0.500000] usbcore: registered new interface driver usbfs
[ 0.500000] usbcore: registered new interface driver hub
[ 0.510000] usbcore: registered new device driver usb
[ 0.520000] i2c regbase: 0xf3003000
[ 0.520000] i2c i2c.0: i2c irq:registers 9
[ 0.530000] i2c i2c.0: GK I2C[0] adapter[i2c-0] probed!
[ 0.530000] i2c regbase: 0xf3004000
[ 0.540000] i2c i2c.1: i2c irq:registers 58
[ 0.540000] i2c i2c.1: GK I2C[1] adapter[i2c-1] probed!
[ 0.550000] FS-Cache: Loaded
[ 0.560000] cfg80211: Calling CRDA to update world regulatory domain
[ 0.570000] CacheFiles: Loaded
[ 0.570000] gk-sd gk-sd.0: Slot0 req_size=0x00010000, segs=16, seg_size=0x00010000
[ 0.600000] gk-sd gk-sd.0: GK SD/MMC[0] has 1 slots @ 27000000Hz, [0x09e130b0:0x00000000]
[ 0.610000] NET: Registered protocol family 2
[ 0.610000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.620000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.630000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.640000] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.650000] TCP: reno registered
[ 0.650000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.660000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.660000] NET: Registered protocol family 1
[ 0.670000] RPC: Registered named UNIX socket transport module.
[ 0.680000] RPC: Registered udp transport module.
[ 0.680000] RPC: Registered tcp transport module.
[ 0.690000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.700000] mdma init...
[ 0.700000] mdma request irq: 54
[ 0.710000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.720000] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.730000] msgmni has been set to 81
[ 0.740000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[ 0.750000] io scheduler noop registered
[ 0.750000] io scheduler deadline registered
[ 0.760000] io scheduler cfq registered (default)
[ 0.760000] uart.0: ttySGK0 at MMIO 0xa0005000 (irq = 31) is a gkuart
[ 0.770000] uart.1: ttySGK1 at MMIO 0xa001f000 (irq = 15) is a gkuart
[ 0.780000] uart.2: ttySGK2 at MMIO 0xa001e000 (irq = 27) is a gkuart
[ 0.800000] brd: module loaded
[ 0.810000] adc initialized (10:11)
[ 0.810000] speed_mod is 0
[ 0.820000] [XM25QH64A] USE 1X mode read and 1X mode write
[ 0.820000] gk_flash gk_flash.0: XM25QH64A (8192 Kbytes)
[ 0.830000] 7 cmdlinepart partitions found on MTD device gk_flash
[ 0.840000] Creating 7 MTD partitions on "gk_flash":
[ 0.840000] 0x000000000000-0x000000030000 : "boot"
[ 0.850000] 0x000000030000-0x000000040000 : "bootenv"
[ 0.860000] 0x000000040000-0x000000190000 : "kernel"
[ 0.870000] 0x000000190000-0x000000360000 : "rootfs"
[ 0.870000] 0x000000360000-0x000000660000 : "mtd"
[ 0.880000] 0x000000660000-0x000000800000 : "conf"
[ 0.890000] 0x000000000000-0x000000800000 : "all"
[ 0.900000] speed_mod is 0
[ 0.900000] detect sflash fail
[ 0.910000] slram: not enough parameters.
[ 0.910000] GKETH_init
[ 0.920000] [GKETH_drv_probe] eth_base = 0xf200e000
[ 0.920000] mii id = 0
[ 0.930000] mdiobus_register: PHY[0] whose id 0x00000000
[ 0.930000] goke MII Bus: probed
[ 0.940000] gk-eth gk-eth.0: MAC Address[02:11:22:a3:a0:00].
[ 0.940000] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.950000] musb phy Begin initial sequence ...
[ 1.260000] gk musb init end...
[ 1.260000] dma_controller_create_non_init ok
[ 1.270000] musb-hdrc musb-hdrc: MUSB HDRC host driver
[ 1.270000] musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 1
[ 1.280000] hub 1-0:1.0: USB hub found
[ 1.290000] hub 1-0:1.0: 1 port detected
[ 1.290000] musb-hdrc musb-hdrc: USB Host mode controller at f2006000 using DMA, IRQ 26
[ 1.300000] platform add gk musb...
[ 1.310000] i2c /dev entries driver
[ 1.310000] gk_wdt_v1_00: GK Watchdog Timer, (c) 2014 Goke Microelectronics
[ 1.320000] [gk_wdt_init]: init
[ 1.320000] [gk_wdt_probe]: probe
[ 1.330000] [gk_wdt_probe]: probe mapped wdt_base=f3006000
[ 1.330000] watchdog inactive, reset disabled, irq disabled
[ 1.340000] TCP: cubic registered
[ 1.350000] Initializing XFRM netlink socket
[ 1.350000] NET: Registered protocol family 17
[ 1.360000] NET: Registered protocol family 15
[ 1.360000] lib80211: common routines for IEEE802.11 drivers
[ 1.370000] Registering the dns_resolver key type
[ 1.370000] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 4
[ 1.390000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[ 1.400000] Freeing init memory: 108K
[ 1.750000] usb 1-1: new high-speed USB device number 2 using musb-hdrc
Starting mdev...
[ 3.430000] net eth0: ###### GKETH_start_hw
[ 3.440000] net eth0: ###### GKETH_phy_start_aneg...
[ 3.540000] PHY: 0:00 - Link is Up - 100/Full
Archive: /mnt/mtd/ipc/conf/ipc_server
inflating: ipc_server
Welcome to HiLinux
IPCamera login: Archive: /mnt/mtd/ipc/conf/libNetLib.so
inflating: libNetLib.so
Archive: /mnt/mtd/ipc/conf/libXqAPILib.so
inflating: libXqAPILib.so
Archive: /mnt/mtd/ipc/conf/libxqun.so
inflating: libxqun.so
start watchdog set 60s timeout
[ 5.360000] rtw_mem_init
[ 5.360000] MAX_RTKM_NR_PREALLOC_RECV_SKB: 16
[ 5.360000] MAX_RTKM_RECVBUF_SZ: 15360
[ 5.380000] rtw_mem_init, rtk_skb_mem_q len : 16
The timeout was [ 5.390000] watchdog: GK Watchdog: watchdog did not stop!
is 15 seconds
The timeout was set to 60 seconds
[ 6.230000] RTL871X: module init start
[ 6.240000] RTL871X: rtl8188fu v4.3.23.6_20964.20170110
[ 6.240000] RTL871X: build time: Sep 30 2017 10:19:41
[ 6.250000] RTL871X:
[ 6.250000] usb_endpoint_descriptor(0):
[ 6.260000] RTL871X: bLength=7
[ 6.260000] RTL871X: bDescriptorType=5
[ 6.260000] RTL871X: bEndpointAddress=81
[ 6.270000] RTL871X: wMaxPacketSize=512
[ 6.270000] RTL871X: bInterval=0
[ 6.280000] RTL871X: RT_usb_endpoint_is_bulk_in = 1
[ 6.280000] RTL871X:
[ 6.280000] usb_endpoint_descriptor(1):
[ 6.290000] RTL871X: bLength=7
[ 6.290000] RTL871X: bDescriptorType=5
[ 6.300000] RTL871X: bEndpointAddress=2
[ 6.300000] RTL871X: wMaxPacketSize=512
[ 6.300000] RTL871X: bInterval=0
[ 6.310000] RTL871X: RT_usb_endpoint_is_bulk_out = 2
[ 6.310000] RTL871X:
[ 6.310000] usb_endpoint_descriptor(2):
[ 6.320000] RTL871X: bLength=7
[ 6.320000] RTL871X: bDescriptorType=5
[ 6.330000] RTL871X: bEndpointAddress=3
[ 6.330000] RTL871X: wMaxPacketSize=512
[ 6.340000] RTL871X: bInterval=0
[ 6.340000] RTL871X: RT_usb_endpoint_is_bulk_out = 3
[ 6.350000] RTL871X: nr_endpoint=3, in_num=1, out_num=2
[ 6.350000]
[ 6.350000] RTL871X: USB_SPEED_HIGH
[ 6.360000] RTL871X: CHIP TYPE: RTL8188FU
[ 6.360000] RTL871X: rtw_hal_config_rftype RF_Type is 3 TotalTxPath is 1
[ 6.370000] RTL871X: Chip Version Info: CHIP_8188F_Normal_Chip_SMIC_B_CUT_1T1R_RomVer(0)
[ 6.380000] RTL871X: _ConfigChipOutEP_8188F OutEpQueueSel(0x05), OutEpNumber(2)
[ 6.390000] RTL871X: EEPROM type is E-FUSE
[ 6.390000] RTL871X: Boot from EFUSE, Autoload OK !
[ 6.400000] RTL871X: hal_EfuseSwitchToBank: Efuse switch bank to 0
[ 6.590000] RTL871X: hal_ReadEFuse_WiFi: data end at address=0x74
[ 6.590000] RTL871X: Efuse Realmap:
[ 6.600000] 29 81 00 FC 0B 00 00 00 00 0C 04 4C 10 07 00 00
[ 6.600000] 2A 2B 2B 2B 2C 2C 2E 2E 2F 2F 30 03 FF FF FF FF
[ 6.610000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.620000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.620000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.630000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.640000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.640000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.650000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.650000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.660000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.670000] FF FF FF FF FF FF FF FF 20 34 1A 00 00 00 00 FF
[ 6.670000] FF 12 00 10 00 FF 00 FF 00 00 FF FF FF FF FF FF
[ 6.680000] DA 0B 79 F1 42 66 40 00 0C 43 60 71 86 09 03 52
[ 6.690000] 65 61 6C 74 65 6B 09 03 38 30 32 2E 31 31 6E 00
[ 6.690000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.700000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.700000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.710000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.720000] C1 B6 FF FF FF FF FF FF FF FF 00 11 FF FF FF FF
[ 6.720000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.730000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.740000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.740000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.750000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.760000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.760000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.770000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.770000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.780000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.790000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.790000] FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
[ 6.800000] RTL871X: EEPROM VID = 0x bda
[ 6.800000] RTL871X: EEPROM PID = 0xf179
[ 6.810000] RTL871X: hal_com_config_channel_plan chplan:0x20
[ 6.810000] RTL871X: Hal_EfuseParsePowerSavingMode_8188F...bHWPwrPindetect(0)-bHWPowerdown(0) ,bSupportRemoteWakeup(1)
[ 6.820000] RTL871X: ### PS params=> power_mgnt(0),usbss_enable(0) ###
[ 6.830000] RTL871X: kfree Pwr Trim flag:1
[ 6.830000] RTL871X: bb_gain:4
[ 6.840000] RTL871X: rtl8188f_FirmwareDownload fw: FW_NIC, size: 21020
[ 6.850000] RTL871X: rtl8188f_FirmwareDownload: fw_ver=4 fw_subver=0000 sig=0x88f1, Month=08, Date=22, Hour=17, Minute=36
[ 6.860000] RTL871X: rtl8188f_FirmwareDownload(): Shift for fw header!
[ 6.870000] RTL871X: rtl8188f_FirmwareDownload by IO write!
[ 6.930000] RTL871X: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x00050105
[ 6.940000] RTL871X: _8051Reset8188: Finish
[ 6.950000] RTL871X: _FWFreeToGo: Polling FW ready OK! (35, 10ms), REG_MCUFWDL:0x000501c6
[ 6.960000] RTL871X: rtl8188f_FirmwareDownload: DLFW OK !
[ 6.970000] RTL871X: rtl8188f_FirmwareDownload success. write_fw:1, 100ms
[ 6.980000] RTL871X: <=== rtl8188f_FirmwareDownload()
[ 6.990000] RTL871X: CardDisableRTL8188FU
[ 7.000000] RTL871X: InitAdapterVariablesByPROM_8188FU(): REPLACEMENT = 0
[ 7.000000] RTL871X: rtw_hal_read_chip_info in 610 ms
[ 7.010000] RTL871X: init_channel_set((null)) ChannelPlan ID:0x20, ch num:13
[ 7.020000] RTL871X: NR_RECVBUFF: 8
[ 7.030000] RTL871X: MAX_RECVBUF_SZ: 4000
[ 7.030000] RTL871X: NR_PREALLOC_RECV_SKB: 8
[ 7.030000] rtw_alloc_skb_premem, rtk_skb_mem_q len : 15
[ 7.040000] rtw_alloc_skb_premem, rtk_skb_mem_q len : 14
[ 7.050000] rtw_alloc_skb_premem, rtk_skb_mem_q len : 13
[ 7.050000] rtw_alloc_skb_premem, rtk_skb_mem_q len : 12
[ 7.060000] rtw_alloc_skb_premem, rtk_skb_mem_q len : 11
[ 7.060000] rtw_alloc_skb_premem, rtk_skb_mem_q len : 10
[ 7.070000] rtw_alloc_skb_premem, rtk_skb_mem_q len : 9
[ 7.080000] rtw_alloc_skb_premem, rtk_skb_mem_q len : 8
[ 7.080000] RTL871X: rtw_alloc_macid((null)) if1, hwaddr:ff:ff:ff:ff:ff:ff macid:1
[ 7.090000] RTL871X: Init_ODM_ComInfo_8188f(): fab_ver=0 cut_ver=1
[ 7.100000] RTL871X: phy_ConfigBBWithPgParaFile(): No File PHY_REG_PG.txt, Load from HWImg Array!
[ 7.110000] RTL871X: default power by rate loaded
[ 7.120000] RTL871X: rtw_macaddr_cfg mac addr:00:0c:43:60:71:86
[ 7.120000] RTL871X: bDriverStopped:True, bSurpriseRemoved:False, bup:0, hw_init_completed:0
[ 7.130000] RTL871X: rtw_ndev_init(wlan0) if1 mac_addr=00:0c:43:60:71:86
[ 7.140000] usbcore: registered new interface driver rtl8188fu
[ 7.150000] RTL871X: module init ret=0
[ 7.200000] encript driver init successful!
[ 7.230000] gpio driver init successful!
sensor=16get sensor_type= 16
gc1034
[ 8.650000] hal: module license 'Proprietary' taints kernel.
[ 8.650000] Disabling lock debugging due to kernel taint
[ 8.680000] audio freq is 13500000
[ 8.690000] i2s: audio clock = 13500000.
[ 8.690000] i2s: init successful.
[ 8.720000] crypto initialized (10:11)
Media driver version (gcc version 4.6.1 (crosstool-NG 1.18.0) (uClibc)) v2.1.0 #svn r12607 Mon Aug 21 14:39:14 CST 2017
[ 8.990000] request_irq...24 ok-- video_sync
[ 8.990000] request_irq...59 ok-- video_frame_last_pixel
[ 9.000000] request_irq...61 ok-- video_frame
[ 9.010000] audio freq is 13500000
[ 9.130000] RTL871X: +871x_drv - drv_open, bup=0
[ 9.140000] RTL871X: power-on :REG_SYS_CLKR 0x09=0xfc. REG_CR 0x100=0x3f.
[ 9.150000] RTL871X: MAC has already power on.
[ 9.150000] RTL871X: rtl8188f_FirmwareDownload fw: FW_NIC, size: 21020
[ 9.160000] RTL871X: rtl8188f_FirmwareDownload: fw_ver=4 fw_subver=0000 sig=0x88f1, Month=08, Date=22, Hour=17, Minute=36
[ 9.170000] RTL871X: rtl8188f_FirmwareDownload(): Shift for fw header!
[ 9.180000] RTL871X: rtl8188f_FirmwareDownload by IO write!
[ 9.240000] RTL871X: polling_fwdl_chksum: Checksum report OK! (1, 0ms), REG_MCUFWDL:0x00050105
[ 9.250000] RTL871X: _8051Reset8188: Finish
[ 9.270000] RTL871X: _FWFreeToGo: Polling FW ready OK! (35, 20ms), REG_MCUFWDL:0x000501c6
[ 9.280000] RTL871X: rtl8188f_FirmwareDownload: DLFW OK !
[ 9.280000] RTL871X: rtl8188f_FirmwareDownload success. write_fw:1, 100ms
[ 9.290000] RTL871X: <=== rtl8188f_FirmwareDownload()
[ 9.290000] RTL871X: fw download ok!
[ 9.320000] RTL871X: PHY_MACConfig8188F OK!
[ 9.380000] RTL871X: PHY_BBConfig8188F OK!
[ 9.640000] RTL871X: PHY_RFConfig8188F OK!
[ 9.680000] RTL871X: pDM_Odm TxPowerTrackControl = 1
[ 9.680000] RTL871X: pDM_Odm TxPowerTrackControl = 1
[ 10.000000] RTL871X: rtl8188fu_hal_init in 870ms
[ 10.010000] RTL871X: #### hw_var_set_opmode() -5079 iface_type(0) mode = 2 ####
[ 10.020000] RTL871X: rtw_rf_get_kfree_tx_gain_offset path:0, ch:6, bb_gain_sel:0, kfree_offset:4
[ 10.040000] RTL871X: kfree gain_offset 0x55:0x82060 RTL871X: after :0x92060
[ 10.050000] RTL871X: MAC Address = 00:0c:43:60:71:86
[ 10.050000] RTL871X: -871x_drv - drv_open, bup=1
rfkill: Cannot o[ 10.390000] RTL871X: [rtw_wx_set_pmkid] IW_PMKSA_FLUSH!
pen RFKILL contr[ 10.400000] RTL871X: set_mode = IW_MODE_INFRA
ol device
[ 10.400000] RTL871X: #### hw_var_set_opmode() -5079 iface_type(0) mode = 2 ####
[ 10.410000] RTL871X: set bssid:00:00:00:00:00:00
ioctl[SIOCSIWAP]: Operation not permitted
[ 10.430000] RTL871X: [rtw_wx_set_pmkid] IW_PMKSA_FLUSH!
OK
[ 10.860000] motor_init pan_all=520 titl_all=210
[ 10.860000] motor driver init successful!
[ 12.270000] RTL871X: survey done event(15) band:0 for wlan0
[ 12.270000] RTL871X: rtw_indicate_scan_done(wlan0)
killall: udhcpc: no process killed
udhcpc (v1.18.1) started
dhcp failed. set eth0 to default ip: 192.168.1.88
killall: arping: no process killed
killall: runarp: no process killed
Sending discover...
Sending select for 192.168.2.5...
killall: arping: no process killed
Lease of 192.168.2.5 obtained, lease time 85536
Terminated
deleting routers
route: SIOCDELRT: No such process
adding dns 192.168.2.1
The timeout was [ 17.920000] watchdog: GK Watchdog: watchdog did not stop!
is 60 seconds
The timeout was set to 60 seconds
can't found rtc pcf8563
rtc: th_i2c_init error!
Tue Aug 29 04:10:11 STD 2017
umount: can't forcibly umount /mnt/mtd/ipc/tmpfs/sd: Invalid argument
[ 18.270000] iFlag: 0, iCurStep: 105
killall: gerddns: no process killed
killall: upnp_map: no process killed
killall: upnp_map: no process killed
killall: ddns_update: no process killed
audioout: close.
workthread: log init succeed.
workthread: timer init succeed.
libs_initnettype(Lan): succeed.
timer: proc start.
macaddr: 00:E0:F8:44:61:A4
macflag: 1
videocomm(0): 6(6) 1280 720
videocomm(1): 7(7) 640 352
TimeZone: -8
workthread: init ini succeed.
workthread: ntpsvr init succeed.
workthread: timerreboot init succeed.
ptz type: motor
workthread: ptz init succeed.
HI_Media_SDKInit: efreq=50,resolution=31,maxresolution=6,maxwidth=1280,maxheight=720
HI_Media_SDKInit: maxchannel=2
HI_Media_SDKInit: maxresolution[0]=6
HI_Media_SDKInit: maxresolution[1]=7
HI_SDK_Init
motor: move(selfdet) start.
ntp: enable=1, svr=time.nist.gov, interval=1
timerreboot: enable=0, day=1, time=00:00:00
GOKE ADI: R(12607) LIBC(uClibc) (gcc version 4.6.1 (crosstool-NG 1.18.0) ) 2017-08-21 14:40:17
[PRI] firmware version:5089.
Image library version (gcc version 4.6.1 (crosstool-NG 1.18.0) (uClibc)) v2.1.0 #svn r12607 Mon Aug 21 14:40:33 CST 2017
[ 23.130000] ===================================================
[ 23.140000] =====gc1034 drv create at 20170526 ver:20170210====
[ 23.140000] ===================================================
[ 23.150000] [sensor_get_dev_id 276]find sensor id: 00001034
[ 23.170000] sensor board reset...
[ 23.680000] sensor board reset...
timesvr: get svrtime(1) succeed.
timesvr: svrtime: 1647132576
ntp: update succeed, utc_time=1647132576
ntp: update succeed, local_time=2022-03-13 08:49:36
ntp: start time rewrite succeed.
can't found rtc pcf8563
rtc: th_i2c_init error!
vinWidth: 1280, vinHeight: 720
HI_SDK_Init ok
HI_SDK_Init: TH_flag=0,temp=0.000000,hum=0
initaudio: inputtype=1, input=15, output=9, aec=0
HI_SDK_InitAudio
HI_Media_SDKInit: sensor: 32
HI_Media_SDKInit: vctrl: enable=1, recchn=1
encode(chn=0): profile=1,resolution=6,cbr=0,bitrate=1536,frame=20,iframe=40,quali[ 24.020000] win_height:0 win_width:0
ty=1,minq=24,max[ 24.030000] win_height:0 win_width:0
q=41
encode(chn=0): audioenable=1, audiotype=1
HI_SDK_CreateEncodeChannel u32Chn: 0
encode(chn=1): profile=1,resolution=7,cbr=0,bitrate=70,frame=2,iframe=4,quality=1,minq=24,maxq=41
encode(chn=1): audioenable=1, audiotype=1
HI_SDK_CreateEncodeChannel u32Chn: 1
HI_Media_SDKInit: snap_chn=0
HI_SDK_CreateSnapChannel
HI_Media_SDKInit: vctrl: mdvalue=88
audiovol: 1 15 9
HI_SDK_SetConfig u32Command: 4101
HI_SDK_StartEncode u32Chn: 0
HI_SDK_IspStart
HI_SDK_H264EncodeProcess
HI_Media_SDKInit: HI_SDK_StartEncode(chn=0) succeed.
HI_SDK_StartEncode u32Chn: 1
HI_SDK_H264EncodeProcess
HI_Media_SDKInit: HI_SDK_StartEncode(chn=1) succeed.
video(chn=0): cbr=0,bitrate=1536,frame=20,iframe=40,quality=1,minq=24,maxq=41
HI_SDK_SetConfig u32Command: 4098
video(chn=1): cbr=0,bitrate=70,frame=2,iframe=4,quality=1,minq=24,maxq=41
HI_SDK_SetConfig u32Command: 4098
HI_SDK_StartSnap
PTS cur: 1050, last: 0
HI_SDK_StartSnap ok
audio: denoise=1
HI_SDK_StartAudioEncode
webrtc_ns_init
HI_SDK_StartMDChannel
gadi_pda_init
gadi_pda_buffer_info
gadi_pda_open
gadi_pda_start_recv_pic
HI_SDK_StartMDChannel thread ok
HI_SDK_SendAudioProcess
HI_SDK_SetConfig u32Command: 4119
HI_Media_SDKInit: display mode: blackwhite
SPS[0]=R00AH5mwFAFuhAAAD6AAAnECEA==
PPS[0]=SOpDyA==
SPS[1]=R01AHpmwKAtoQAAA+gAAAwPoIQ==
PPS[1]=SOpDyA==
sdkmgr: build sps/pps succeed.
HI_SDK_SetConfig u32Command: 4097
night
g_struSdkPublic.struImg.s32Flag
color(ini): f=0xffffff, b=0x000000, ftrans=192, btrans=64
HI_SDK_InitOSD
OSD(area=0): show=1, pos=0, x=672, y=0, str=YYYY-MM-DD hh:mm:ss
HI_SDK_CreateOSDArea u32Area: 0
OSD(area=1): show=1, pos=1, x=0, y=576, str=IP Camera
HI_SDK_CreateOSDArea u32Area: 1
OSD: no temp/hum sensor.
HI_SDK_SetConfig u32Command: 4112
audioalarm: off 50
sdkmgr: init succeed, max channel=2
HI_Media_LiveStreamInit: alarmsound: enable=0, dalaytime=5
ALARM_SERVER:
HI_Record_Stop succeed.
relay: start...
HI_Media_RecInit: HI_Record_Start(chn=1) succeed.
HI_Websvr_Init: init media succeed.
HI_Websvr_Init: PBServer start.
HI_Websvr_Init: httpport=80, snapchn=1
VCtrl_Proc: enable=1, debug=0,recchn=1, mdrectime=15, mode=lowrate
ircut: c2b_value=500, b2c_value=300
ircut: switch, imagetype=1.
ircut: switch, imagetype=0.
workthread: ircut init succeed.
infra: proc(20) start.
rled: auto.
workthread: infrared init succeed.
HI_Reset_Init: smart: enable=0
HI_Reset_Init: light: enable=1
HI_Reset_Init: apmode: status=1
workthread: reset init succeed.
workthread: wifikey init succeed.
workthread: netdetect init succeed.
light: proc(24) start.
netdetect: WiFi (Enable).
reset: proc(25) start.
ircut: proc(22) start.
workthread: search start.
workthread: p2p start.
workthread: wdt init succeed.
netdetect: netflag(Lan).
wdt: default timeout: 60 sec.
wdt: default timeout: 5 sec.
===================================================
ipc_server start : 2022-03-13 08:49:39
ipc_server version: V13.1.6.1.26-20171207
===================================================
ircut: switch status on.
ircut: switch, imagetype=1.
rled: close.
HI_SDK_SetConfig u32Command: 4097
day
ircut: display switch(blackwhite -> color).
hichip: start: 2022-03-13 08:49:44
HI_HichipLink_Svr_Start
szUID = IIII-252455-CDBDE, szCrcKet=nocrckey, u32StreamCtrl=1, aszPushIp=47.91.149.233
login dev success! handle[0]=17787776
login dev success! handle[1]=17859064
login dev success! handle[alarm]=17861216
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
HI_Media_LiveStreamRegisterMediaLink: cntindex=0,onlinenum=0
HI_Media_LiveStreamParseStream: cntindex=0,sock=31,avchn=0,mediatype=4
SendMediaDataThread(entry): cntindex=0,avchn=0,af=1,sock=31,rbhandle=17786960
start stream succeed(ret=0x0)! handle(alarm)=17861216
u32CodeType = 264
it is fl (-1)Ver: V1.0.0.1
API V: 100a1d02
1-
Session[6]
Channel[6]
Buffer[256]
Packet[1024]
2-
Session[6]
Channel[6]
Buffer[256]
Packet[1024]
ircut: switch status off.
IIII-252455-CDBDE 47.91.149.233
HI_P2P_SessionProcess listen start
UID:IIII-252455-CDBDE
CRC:nocrckey
addr0 47.91.149.233
addr1 47.91.149.233
addr2 47.91.149.233
===================
uAlarmPushHandle=17864592, sAlarmExitFlag=1
[ 36.600000] iFlag: 1, iCurStep: 260
motor: selfdet stop.
motor: selfdet finsh.
motor: move stop.
CLOSE WAIT
onvif: TZ: STD-8:0:0
onvif: TZInterval: 28800
onvif: login dev success! handle=33239048
onvif: login dev success! handle[alarm]=33241368
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
HI_Media_LiveStreamRegisterMediaLink: cntindex=1,onlinenum=0
onvif: start stream succeed(ret=0x0)! handle(alarm)=33241368
HI_Media_LiveStreamParseStream: cntindex=1,sock=32,avchn=0,mediatype=4
SendMediaDataThread(entry): cntindex=1,avchn=0,af=1,sock=32,rbhandle=17863800
onvif: devmgmt_proc ok.
onvif: searcher svr monitor start.
onvif: V2.04-20170421
onvif: start: 2022-03-13 08:50:06
onvif: timg: productid=C9F0SeZ0N0P4L0
onvif: searcher svr start.
CLOSE WAIT
CLOSE WAIT
CLOSE WAIT
CLOSE WAIT
Mar 13 08:52:09 login[438]: root login on 'pts/0'
CLOSE WAIT
can't found rtc pcf8563
rtc: th_i2c_init error!
PPPP_Listen error -3
can't found rtc pcf8563
rtc: th_i2c_init error!
CLOSE WAIT
HI_CGI_Interface: REQUEST_METHOD=POST
HI_CGI_Interface: URL=/web/cgi-bin/hi3510/param.cgi
HI_CGI_Interface: QUERY_STRING=cmd=setoverlayattr&cururl=http%3A%2F%2F192.168.2.5%2Fweb%2Fosd.html&-region=0&-show=0&-place=0&cmd=setoverlayattr&-region=1&-show=0&-name=IP+Camera&-place=1
HI_CGI_Interface: POST_CURURL=http://192.168.2.5/web/osd.html
OSD(area=0): show=0, pos=0, x=672, y=0, str=YYYY-MM-DD hh:mm:ss
HI_SDK_CreateOSDArea u32Area: 0
OSD(area=1): show=0, pos=1, x=0, y=576, str=IP Camera
HI_SDK_CreateOSDArea u32Area: 1
CLOSE WAIT
HI_CGI_Interface: REQUEST_METHOD=POST
HI_CGI_Interface: URL=/web/cgi-bin/hi3510/param.cgi
HI_CGI_Interface: QUERY_STRING=cmd=setnetattr&cururl=http%3A%2F%2F192.168.2.5%2Fweb%2Fnetwork.html&-ipaddr=&-netmask=&-gateway=&-dhcp=on&-dnsstat=1&-fdnsip=192.168.2.1&-sdnsip=%22%22&cmd=setrtspauth&-rtsp_aenable=0&cmd=setrtspport&-rtspport=554&cmd=setrtmpattr&-rtmpport=1935&cmd=sethttpport&-httpport=80
HI_CGI_Interface: POST_CURURL=http://192.168.2.5/web/network.html
CLOSE WAIT
HI_CGI_Interface: REQUEST_METHOD=POST
HI_CGI_Interface: URL=/web/cgi-bin/hi3510/param.cgi
HI_CGI_Interface: QUERY_STRING=cmd=chkwirelessattr&-wf_key=7GxZRAnyDgmzkVRTtVQF7uLnmu6XPs2FcAZzthgb6Ac3NDEHqkZB4YhpCKbCiyp&-wf_ssid=motion&-wf_auth=3&-wf_mode=0&-wf_enc=1
HI_CGI_WifiChk_Cfg: soapAP=0
wifi: g_u32Phone=0
HI_CGI_WifiChk_Cfg: soapAP=0
HI_Wifi_Search: soapap=0
rm: can't remove '/mnt/mtd/ipc/tmpfs/wifires': No such file or directory
FAIL
0
OK
OK
OK
OK
[ 300.800000] RTL871X: survey done event(15) band:0 for wlan0
[ 300.810000] RTL871X: rtw_indicate_scan_done(wlan0)
[ 300.830000] RTL871X: wpa_set_auth_algs, AUTH_ALG_OPEN_SYSTEM
[ 300.840000] RTL871X: set_mode = IW_MODE_INFRA
[ 300.840000] RTL871X: #### hw_var_set_opmode() -5079 iface_type(0) mode = 2 ####
[ 300.860000] RTL871X:
[ 300.860000] wpa_ie(length:22):
[ 300.860000] RTL871X: 0x30 0x14 0x01 0x00 0x00 0x0f 0xac 0x04
[ 300.880000] RTL871X: 0x01 0x00 0x00 0x0f 0xac 0x04 0x01 0x00
[ 300.890000] RTL871X: 0x00 0x0f 0xac 0x02 0x00 0x00 0x04 0x80
[ 300.900000] RTL871X: SetHwReg8188F, 6249, RCR= 700060ca
[ 300.910000] RTL871X: rtw_wx_set_freq: set to channel 1
[ 300.960000] RTL871X: =>rtw_wx_set_essid
[ 300.960000] RTL871X: ssid=motion, len=6
[ 300.980000] RTL871X: set ssid [motion] fw_state=0x00000008
[ 300.990000] RTL871X: Set SSID under fw_state=0x00000008
[ 301.000000] RTL871X: [by_bssid:0][assoc_ssid:motion][to_roam:0] new candidate: motion(a4:b1:c1:d8:e9:01, ch1) rssi:-96
[ 301.010000] RTL871X: rtw_select_and_join_from_scanned_queue: candidate: motion(a4:b1:c1:d8:e9:01, ch:1)
[ 301.020000] RTL871X: link to new AP
[ 301.030000] RTL871X: rtw_chk_start_clnt_join(wlan0) req: 1,0,0
[ 301.040000] RTL871X: <=rtw_wx_set_essid, ret 0
[ 301.050000] RTL871X: rtw_chk_start_clnt_join(wlan0) union: 1,0,0
[ 301.060000] RTL871X: set bssid:a4:b1:c1:d8:e9:01
[ 301.070000] RTL871X: Set BSSID under fw_state=0x00000088
[ 301.140000] RTL871X: OnBeacon: beacon keys ready
[ 301.140000] RTL871X: link to new AP
[ 301.150000] RTL871X: start auth
[ 301.150000] RTL871X: issue_auth
[ 301.160000] RTL871X: OnAuthClient
[ 301.170000] RTL871X: auth success, start assoc
[ 301.170000] RTL871X: network.SupportedRates[0]=82
[ 301.180000] RTL871X: network.SupportedRates[1]=84
[ 301.180000] RTL871X: network.SupportedRates[2]=8B
[ 301.190000] RTL871X: network.SupportedRates[3]=96
[ 301.190000] RTL871X: network.SupportedRates[4]=0C
[ 301.200000] RTL871X: network.SupportedRates[5]=12
[ 301.200000] RTL871X: network.SupportedRates[6]=18
[ 301.210000] RTL871X: network.SupportedRates[7]=24
[ 301.210000] RTL871X: network.SupportedRates[8]=30
[ 301.220000] RTL871X: network.SupportedRates[9]=48
[ 301.220000] RTL871X: network.SupportedRates[10]=60
[ 301.230000] RTL871X: network.SupportedRates[11]=6C
[ 301.230000] RTL871X: bssrate_len = 12
[ 301.250000] RTL871X: OnAssocRsp
[ 301.260000] RTL871X: report_join_res(2)
[ 301.260000] RTL871X: rtw_joinbss_update_network
[ 301.270000] RTL871X: rtw_alloc_macid(wlan0) if1, hwaddr:a4:b1:c1:d8:e9:01 macid:0
[ 301.270000] RTL871X: rtw_joinbss_update_stainfo
[ 301.280000] RTL871X: rtw_get_tx_nss: 1 SS, rf_type=3
[ 301.290000] RTL871X: ### Set STA_(0) info ###
[ 301.290000] RTL871X: assoc success
[ 301.290000] RTL871X: recv eapol packet
[ 301.310000] RTL871X: WMM(0): 0, a425
[ 301.310000] RTL871X: WMM(1): 0, a449
[ 301.340000] RTL871X: send eapol packet
[ 301.350000] RTL871X: WMM(2): 0, 5e431c
[ 301.360000] RTL871X: recv eapol packet
[ 301.390000] RTL871X: send eapol packet
[ 301.390000] RTL871X: ~~~~set sta key:unicastkey
[ 301.400000] RTL871X: WMM(3): 0, 2f321c
[ 301.400000] RTL871X: wmm_para_seq(0): 0
[ 301.410000] RTL871X: wmm_para_seq(1): 1
[ 301.430000] RTL871X: ~~~~set sta key:groupkey
[ 301.440000] RTL871X: ==> rtw_set_key algorithm(4),keyid(1),key_mask(0)
[ 301.450000] RTL871X: wmm_para_seq(2): 2
[ 301.450000] RTL871X: wmm_para_seq(3): 3
[ 301.500000] RTL871X: HTOnAssocRsp
[ 301.540000] RTL871X: =>mlmeext_joinbss_event_callback - End to Connection without 4-way
[ 301.560000] RTL871X: phydm_rssi_report mac_id:0, mac:a4:b1:c1:d8:e9:01, rssi:16
[ 301.570000] RTL871X: phydm_rssi_report RAINFO - TP:UL, TxBF:DIS, STBC:DIS, Noisy:False, Firstcont:True
[ 301.590000] RTL871X: set pairwise key camid:4, addr:a4:b1:c1:d8:e9:01, kid:0, type:AES
[ 301.610000] RTL871X: set group key camid:5, addr:a4:b1:c1:d8:e9:01, kid:1, type:AES
[ 301.640000] RTL871X: SetHwReg8188F, 6242, RCR= 700060ce
wpa_state=COMPLETED
[ 301.680000] RTL871X: rtw_wx_set_mlme
[ 301.690000] RTL871X: rtw_wx_set_mlme, cmd=1, reason=3
[ 301.700000] RTL871X: indicate disassoc
[ 301.700000] RTL871X: set bssid:00:00:00:00:00:00
[ 301.710000] RTL871X: rtw_reset_securitypriv(wlan0) - End to Disconnect
[ 301.730000] RTL871X: ### Clean STA_(0) info ###
OK
[ 301.760000] RTL871X: free disconnecting network of scanned_queue
CLOSE WAIT
CLOSE WAIT
Welcome to HiLinux
IPCamera login: reboot
Password:
CLOSE WAIT
Login incorrect
IPCamera login:
IPCamera login: default
login: can't chdir to home directory '/home/default'
$ reboot
reboot: Operation not permitted
$ exit
Welcome to HiLinux
IPCamera login: root
Password:
Mar 12 16:55:56 login[543]: root login on 'ttySGK0'
# reboot
# mount: mounting /dev/mtdblock4 on /mnt/mtd/ipc failed: Device or resource busy
mount: mounting /dev/mtdblock5 on /mnt/mtd/ipc/conf failed: Device or resource busy
mknod: /dev/gk_video: File exists
mount: mounting /proc/bus/usb on /proc/bus/usb failed: Device or resource busy
mknod: /dev/gk_log: File exists
mknod: /dev/gk_fw: File exists
mknod: /dev/debug: File exists
mknod: /dev/ai_dev: File exists
mknod: /dev/ao_dev: File exists
mknod: /dev/encript: File exists
mknod: /dev/motor: File exists
mknod: /dev/gkio: File exists
mkdir: can't create directory '/dev/pts': File exists
Archive: /mnt/mtd/ipc/conf/ipc_server
inflating: ipc_server
mount: mounting devpts on /dev/pts failed: Device or resource busy
umount: can't remount tmpfs read-only
umount: can't remount tmpfs read-only
umount: /dev/mtdblock5 busy - remounted read-only
umount: /dev/mtdblock4 busy - remounted read-only
umount: devpts busy - remounted read-only
umount: tmpfs busy - remounted read-only
umount: tmpfs busy - remounted read-only
umount: can't remount proc read-only
can't run '/sbin/swapoff': No such file or directory
The system is g[ 409.580000] RTL871X: rtw_cmd_thread(wlan0) _rtw_down_sema(&pcmdpriv->cmd_queue_sema) return _FAIL, break
oing down NOW!
Sent SIGTERM to all processes
[ 409.650000] RTL871X: set bssid:00:00:00:00:00:00
[ 409.650000] RTL871X: (2)871x_drv - drv_close, bup=1, hw_init_completed=_TRUE
[ 409.690000] RTL871X: indicate disassoc
[ 409.690000] RTL871X: free disconnecting network of scanned_queue failed due to pwlan== NULL
[ 409.690000]
[ 409.720000] RTL871X: -871x_drv - drv_close, bup=1
onvif: !!!!!!-----searcher svr monitor exit------!!!!!!
onvif: searcher svr exit!
workthread: Exiting(signal=15), waiting for all threads to finish...
Sent SIGKILL to all processes
Requesting system reboot
[ 410.680000] watchdog: GK Watchdog: watchdog did not stop!
[ 411.650000] RTL871X: rtw_dev_shutdown
[ 411.650000] (NULL device *): gadget not registered.
[ 411.660000] musb-hdrc musb-hdrc: remove, state 1
[ 411.660000] usb usb1: USB disconnect, device number 1
[ 411.670000] usb 1-1: USB disconnect, device number 2
[ 411.670000] dma abort ch=2,is_tx=0 dmasta=0x0 dmactr=0x2a0000bf
[ 411.670000] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(True)
[ 411.670000] dma abort ch=2,is_tx=0 dmasta=0x0 dmactr=0x2a0000bf
[ 411.670000] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(True)
[ 411.670000] dma abort ch=2,is_tx=0 dmasta=0x0 dmactr=0x2a0000bf
[ 411.670000] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(True)
[ 411.670000] dma abort ch=2,is_tx=0 dmasta=0x0 dmactr=0x2a0000bf
[ 411.670000] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(True)
[ 411.670000] dma abort ch=2,is_tx=0 dmasta=0x0 dmactr=0x2a0000bf
[ 411.670000] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(True)
[ 411.670000] dma abort ch=2,is_tx=0 dmasta=0x0 dmactr=0x2a0000bf
[ 411.670000] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(True)
[ 411.670000] dma abort ch=2,is_tx=0 dmasta=0x0 dmactr=0x2a0000bf
[ 411.670000] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(True)
[ 411.670000] dma abort ch=2,is_tx=0 dmasta=0x0 dmactr=0x2a0000bf
[ 411.670000] RTL871X: usb_read_port_complete() RX Warning! bDriverStopped(False) OR bSurpriseRemoved(True)
[ 411.680000] RTL871X: +rtw_dev_remove
[ 411.690000] RTL871X: rtw_ndev_uninit(wlan0) if1
[ 411.700000] RTL871X: rtw_pm_set_ips IPS_NONE
[ 411.700000] RTL871X: LeaveAllPowerSaveMode(wlan0): bSurpriseRemoved=_TRUE Skip!
[ 411.710000] RTL871X: ### Clean STA_(1) info ###
[ 411.710000] RTL871X: ===> rtw_dev_unload
[ 411.720000] RTL871X: usb_read_port_cancel
[ 411.720000] RTL871X: usb_write_port_cancel
[ 411.730000] RTL871X: rtw_hal_check_ips_status: HalFunc.check_ips_status is NULL!
[ 411.740000] RTL871X: rtw_dev_unload: driver not in IPS
[ 411.740000] RTL871X: <=== rtw_dev_unload
[ 411.750000] RTL871X: +r871xu_dev_remove, hw_init_completed=1
[ 411.750000] rtw_free_skb_premem, rtk_skb_mem_q len : 9
[ 411.760000] rtw_free_skb_premem, rtk_skb_mem_q len : 10
[ 411.770000] rtw_free_skb_premem, rtk_skb_mem_q len : 11
[ 411.770000] rtw_free_skb_premem, rtk_skb_mem_q len : 12
[ 411.780000] rtw_free_skb_premem, rtk_skb_mem_q len : 13
[ 411.780000] rtw_free_skb_premem, rtk_skb_mem_q len : 14
[ 411.790000] rtw_free_skb_premem, rtk_skb_mem_q len : 15
[ 411.800000] rtw_free_skb_premem, rtk_skb_mem_q len : 16
[ 411.800000] RTL871X: <4>free_recv_skb_queue not empty, 2
[ 411.810000] RTL871X: -r871xu_dev_remove, done
[ 411.820000] musb-hdrc musb-hdrc: USB bus 1 deregistered
[ 411.830000] Restarting system.
[ 411.830000] gk reboot...
.*
console init done
U-Boot 2012.10 (Oct 13 2017 - 20:12:38) for GK7102C hx-gc1034-v1.0 (GOKE)
HAL: 20160804
ram_size = 0x4000000
DRAM: 64 MiB
Flash: [XM25QH64A] USE 1X mode read and 1X mode write
8 MiB
DMA new c1000008
NAND: [No SPI nand]
SF: 8 MiB [page:256 Bytes] [sector:64 KiB] [count:128] (XM25QH64A)
In: serial
Out: serial
Err: serial
Net: Int PHY
Hit Enter key to stop autoboot: 1
GK7102C #
GK7102C #
GK7102C #
console init done
U-Boot 2012.10 (Feb 24 2016 - 22:33:54) for GK7102 rb sc1045 v2.00 (GOKE)
HAL: 20151223
DRAM: 64 MiB
Flash: 16 MiB
16 MiB
NAND: SPINAND MID = 0xff, DID = 0xffff, Data = 0x1ffffff !spinand_board_init[1581]: No support this SPI nand!
SF: Detected GD25Q128C with page size 256 B, sector size 64 KiB, total size 16 MiB
In: serial
Out: serial
Err: serial
Net: arm_freq(600MHz)..............0x112032
use int MII..............
gk7101
Hit any key to stop autoboot: 2  1  0
[PROCESS_SEPARATORS] run sfboot
[PROCESS_SEPARATORS] setenv bootargs console=${consoledev},${baudrate} noinitrd mem=${mem} rw ${rootfstype} init=linuxrc ;sf probe 0 0;sf read ${loadaddr} ${sfkernel} ${filesize}; bootm
SF: Detected GD25Q128C with page size 256 B, sector size 64 KiB, total size 16 MiB
put param to memory
mem size (41)
bsb size (2)
the kernel image is zImage or Image
entry = 0xc1000000
## Transferring control to Linux (at address c1000000)...
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 (root@localhost.localdomain) (gcc version 4.6.1 (crosstool-NG 1.18.0) ) #14 PREEMPT Fri Dec 9 14:49:48 CST 2016
[ 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 GK7102 RB_SC1045 board V2.00
[ 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: 0xc2b00000 0xf5000000 -- 0x200000
[ 0.000000] DSP: 0xc2d00000 0xf6000000 -- 0x1300000
[ 0.000000] hal version = 20151223
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 10414
[ 0.000000] Kernel command line: console=ttySGK0,115200 noinitrd mem=41M rw rootfstype=jffs2 root=/dev/mtdblock3 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: 41MB = 41MB total
[ 0.000000] Memory: 36760k/36760k available, 5224k 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 : 0x83000000 - 0xff000000 (1984 MB)
[ 0.000000] lowmem : 0x80000000 - 0x82900000 ( 41 MB)
[ 0.000000] modules : 0x7f000000 - 0x80000000 ( 16 MB)
[ 0.000000] .text : 0x80008000 - 0x8042f000 (4252 kB)
[ 0.000000] .init : 0x8042f000 - 0x8044f000 ( 128 kB)
[ 0.000000] .data : 0x80450000 - 0x80478e40 ( 164 kB)
[ 0.000000] .bss : 0x80478e64 - 0x804aaf38 ( 201 kB)
[ 0.000000] NR_IRQS:128
[ 0.000000] >> gk7101 init irq vic1...
[ 0.000000] >> gk7101 init irq vic2...
[ 0.000000] gk7101 init vic...
[ 0.000000] mach gk7101 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.010000] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
[ 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 0xc0559058 - 0xc0559090
[ 0.110000] NET: Registered protocol family 16
[ 0.120000] gk7101 init timer...
[ 0.120000] Init HW timer for DSP communication
[ 0.130000] gk7101 init gpio...
[ 0.130000] gpiochip_add: registered GPIOs 0 to 63 on device: gk7101-gpio0
[ 0.140000] gpio map init...
[ 0.140000] create proc dir
[ 0.140000] gk7101 register devices 8
[ 0.150000] gk7101 register I2C
[ 0.290000] bio: create slab <bio-0> at 0
[ 0.300000] spi spi.0: gk7101 SPI Controller 0 created
[ 0.300000] spi spi.0: master is unqueued, this is deprecated
[ 0.310000] usbcore: registered new interface driver usbfs
[ 0.320000] usbcore: registered new interface driver hub
[ 0.320000] usbcore: registered new device driver usb
[ 0.330000] i2c regbase: 0xf3003000
[ 0.340000] i2c i2c.0: i2c irq:registers 9
[ 0.340000] i2c i2c.0: GK7101 I2C[0] adapter[i2c-0] probed!
[ 0.350000] FS-Cache: Loaded
[ 0.360000] cfg80211: Calling CRDA to update world regulatory domain
[ 0.360000] CacheFiles: Loaded
[ 0.380000] gk7101-sd gk7101-sd.0: Slot0 req_size=0x00010000, segs=16, seg_size=0x00010000
[ 0.400000] gk7101-sd gk7101-sd.0: GK7101 SD/MMC[0] has 1 slots @ 46000000Hz, [0x09e130b0:0x00000000]
[ 0.410000] NET: Registered protocol family 2
[ 0.410000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.420000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.430000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.440000] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.450000] TCP: reno registered
[ 0.450000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.460000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.460000] NET: Registered protocol family 1
[ 0.470000] RPC: Registered named UNIX socket transport module.
[ 0.480000] RPC: Registered udp transport module.
[ 0.480000] RPC: Registered tcp transport module.
[ 0.490000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.490000] mdma init...
[ 0.500000] mdma request irq: 54
[ 0.510000] NFS: Registering the id_resolver key type
[ 0.510000] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.520000] fuse init (API version 7.18)
[ 0.530000] msgmni has been set to 71
[ 0.540000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[ 0.550000] io scheduler noop registered
[ 0.550000] io scheduler deadline registered
[ 0.560000] io scheduler cfq registered (default)
[ 0.560000] uart.0: ttySGK0 at MMIO 0xa0005000 (irq = 31) is a gk7101uart
[ 0.570000] uart.1: ttySGK1 at MMIO 0xa001f000 (irq = 15) is a gk7101uart
[ 0.580000] uart.2: ttySGK2 at MMIO 0xa001e000 (irq = 27) is a gk7101uart
[ 0.590000] brd: module loaded
[ 0.600000] loop: module loaded
[ 0.610000] adc initialized (10:11)
[ 0.610000] slram: not enough parameters.
[ 0.620000] speed_mod is 0
[ 0.620000] USE 1X mode read and 1X mode write
[ 0.620000] gk7101_flash gk7101_flash.0: GD25Q128C (16384 Kbytes)
[ 0.630000] Creating 5 MTD partitions on "gk7101_flash":
[ 0.640000] 0x000000000000-0x000000040000 : "uboot"
[ 0.640000] 0x000000040000-0x000000050000 : "ubootenv"
[ 0.650000] 0x000000050000-0x000000200000 : "kernel"
[ 0.660000] 0x000000200000-0x000001000000 : "rootfs"
[ 0.670000] 0x000000000000-0x000001000000 : "all"
[ 0.670000] GKETH_init
[ 0.680000] [GKETH_drv_probe] eth_base = 0xf200e000
[ 0.680000] mii id = 0
[ 0.690000] ###### PHY Reset.1.0.2
[ 0.800000] mdiobus_register: PHY[0] whose id 0x00000000
[ 0.810000] goke MII Bus: probed
[ 0.810000] gk7101-eth gk7101-eth.0: MAC Address[02:11:22:a3:a0:00].
[ 0.820000] usbcore: registered new interface driver cdc_wdm
[ 0.830000] usbcore: registered new interface driver libusual
[ 0.830000] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.840000] musb phy Begin initial sequence ...
[ 1.090000] gk7101 musb init end...
[ 1.090000] musb-hdrc musb-hdrc: MUSB HDRC host driver
[ 1.100000] musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 1
[ 1.110000] vm : ffde0000, phy : c25a0000
[ 1.110000] dma_buf alloc ok!
[ 1.110000] hub 1-0:1.0: USB hub found
[ 1.120000] hub 1-0:1.0: 1 port detected
[ 1.120000] musb-hdrc musb-hdrc: USB Host mode controller at f0006000 using PIO, IRQ 26
[ 1.130000] platform add gk7101 musb...
[ 1.140000] mousedev: PS/2 mouse device common for all mice
[ 1.140000] input: GKInput as /devices/virtual/input/input0
[ 1.150000] Protocol NEC[0]
[ 1.150000] ir request irq: 62
[ 1.160000] IR Host Controller probed!
[ 1.160000] i2c /dev entries driver
[ 1.170000] gk7101_wdt: GK7101 Watchdog Timer, (c) 2014 Goke Microelectronics
[ 1.170000] [gk7101_wdt_init]: init
[ 1.180000] [gk7101_wdt_probe]: probe
[ 1.180000] [gk7101_wdt_probe]: probe mapped wdt_base=f3006000
[ 1.190000] watchdog inactive, reset disabled, irq disabled
[ 1.200000] IPv4 over IPv4 tunneling driver
[ 1.200000] gre: GRE over IPv4 demultiplexor driver
[ 1.210000] ip_gre: GRE over IPv4 tunneling driver
[ 1.210000] TCP: cubic registered
[ 1.220000] Initializing XFRM netlink socket
[ 1.220000] NET: Registered protocol family 10
[ 1.230000] IPv6 over IPv4 tunneling driver
[ 1.240000] NET: Registered protocol family 17
[ 1.240000] NET: Registered protocol family 15
[ 1.250000] lib80211: common routines for IEEE802.11 drivers
[ 1.250000] Registering the dns_resolver key type
[ 1.260000] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
[ 1.700000] usb 1-1: new high-speed USB device number 2 using musb-hdrc
[ 8.110000] VFS: Mounted root (jffs2 filesystem) on device 31:3.
[ 8.120000] Freeing init memory: 128K
Starting mdev...
[ 10.740000] net eth0: ###### GKETH_start_hw
[ 10.750000] net eth0: ###### GKETH_phy_start_aneg...
[ 10.750000] ADDRCONF(NETDEV_UP): eth0: link is not ready
Archive: /mnt/mtd/ipc/ipc_server
inflating: ipc_server
[ 11.750000] PHY: 0:00 - Link is Up - 100/Full
[ 11.750000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Welcome to HiLinux
IPCamera login: Archive: /mnt/mtd/ipc/libNetLib.so
inflating: libNetLib.so
Archive: /mnt/mtd/ipc/libXqAPILib.so
inflating: libXqAPILib.so
Archive: /mnt/mtd/ipc/libxqun.so
inflating: libxqun.so
ipc_server libXqAPILib.so sd
libNetLib.so libxqun.so
ipc_server libXqAPILib.so sd
libNetLib.so libxqun.so
start watchdog set 60s timeout
The timeout was [ 12.800000] watchdog: GK7101 Watchdog: watchdog did not stop!
is 15 seconds
The timeout was set to 60 seconds
[ 14.240000] mt7601Usta: module license 'unspecified' taints kernel.
[ 14.260000] Disabling lock debugging due to kernel taint
[ 14.360000] rtusb init rtusbSTA --->
[ 14.370000]
[ 14.370000]
[ 14.370000] === pAd = 83182000, size = 899480 ===
[ 14.370000]
[ 14.380000] <-- RTMPAllocTxRxRingMemory, Status=0
[ 14.380000] <-- RTMPAllocAdapterBlock, Status=0
[ 14.390000] RTMP_COM_IoctlHandle():pAd->BulkOutEpAddr=0x8
[ 14.410000] RTMP_COM_IoctlHandle():pAd->BulkOutEpAddr=0x4
[ 14.410000] RTMP_COM_IoctlHandle():pAd->BulkOutEpAddr=0x5
[ 14.420000] RTMP_COM_IoctlHandle():pAd->BulkOutEpAddr=0x6
[ 14.420000] RTMP_COM_IoctlHandle():pAd->BulkOutEpAddr=0x7
[ 14.430000] RTMP_COM_IoctlHandle():pAd->BulkOutEpAddr=0x9
[ 14.440000] NVM is EFUSE
[ 14.440000] Endpoint(8) is for In-band Command
[ 14.440000] Endpoint(4) is for WMM0 AC0
[ 14.450000] Endpoint(5) is for WMM0 AC1
[ 14.450000] Endpoint(6) is for WMM0 AC2
[ 14.460000] Endpoint(7) is for WMM0 AC3
[ 14.460000] Endpoint(9) is for WMM1 AC0
[ 14.460000] Endpoint(84) is for Data-In
[ 14.470000] Endpoint(85) is for Command Rsp
[ 14.480000] usbcore: registered new interface driver rtusbSTA
[ 14.520000] encript driver init successful!
[ 14.540000] gpio driver init successful!
[ 14.590000] i2c i2c.0: i2c[60]:gk7101_i2c_irq in wrong state[0x9]
[ 15.590000] i2c i2c.0: I2C state 0x10, please check address 0x20!
[ 15.590000] i2c i2c.0: i2c[60]:gk7101_i2c_irq in wrong state[0x9]
[ 16.590000] i2c i2c.0: I2C state 0x10, please check address 0x20!
[ 16.590000] i2c i2c.0: i2c[60]:gk7101_i2c_irq in wrong state[0x9]
[ 17.590000] i2c i2c.0: I2C state 0x10, please check address 0x20!
Fail to send dat[ 17.590000] i2c i2c.0: i2c[60]:gk7101_i2c_irq in wrong state[0x9]
a
[ 18.590000] i2c i2c.0: I2C state 0x10, please check address 0x78!
[ 18.590000] i2c i2c.0: i2c[60]:gk7101_i2c_irq in wrong state[0x9]
[ 19.590000] i2c i2c.0: I2C state 0x10, please check address 0x78!
[ 19.590000] i2c i2c.0: i2c[60]:gk7101_i2c_irq in wrong state[0x9]
[ 20.590000] i2c i2c.0: I2C state 0x10, please check address 0x78!
Fail to send data
sensor=15get sensor_type= 15
1145
[ 20.820000] gk_vi_init
[ 20.820000] request_irq...24 ok-- video_sync
[ 20.820000] request_irq...59 ok-- video_frame_last_pixel
[ 20.830000] request_irq...61 ok-- video_frame
[ 20.830000] gk7101_is_valid_gpio_irq...
[ 20.910000] crypto initialized (10:11)
[ 21.060000]
Media driver version (gcc version 4.6.1 (crosstool-NG 1.18.0) (uClibc)) v1.1.2 #svn r8850 Wed Jul 6 17:44:23 CST 2016
[ 21.190000] usb 1-1: USB disconnect, device number 2
[ 21.190000] rtusb_disconnect: unregister usbnet usb-musb-hdrc-1
[ 21.210000] RtmpOSNetDevDetach(): RtmpOSNetDeviceDetach(), dev->name=ra0!
[ 21.220000] ---> RTMPFreeTxRxRingMemory
[ 21.220000] <--- RTMPFreeTxRxRingMemory
[ 21.220000] RTUSB disconnect successfully
[ 21.330000] sensor board reset...
[ 21.620000] sensor board reset...
[ 21.750000] PHY: 0:00 - Link is Down
[ 21.760000] usb 1-1: new high-speed USB device number 3 using musb-hdrc
[ 21.910000]
[ 21.910000]
[ 21.910000] === pAd = 832b0000, size = 899480 ===
[ 21.910000]
[ 21.920000] <-- RTMPAllocTxRxRingMemory, Status=0
[ 21.950000] <-- RTMPAllocAdapterBlock, Status=0
[ 21.950000] RTMP_COM_IoctlHandle():pAd->BulkOutEpAddr=0x8
[ 21.970000] RTMP_COM_IoctlHandle():pAd->BulkOutEpAddr=0x4
[ 21.970000] RTMP_COM_IoctlHandle():pAd->BulkOutEpAddr=0x5
[ 21.990000] RTMP_COM_IoctlHandle():pAd->BulkOutEpAddr=0x6
[ 21.990000] RTMP_COM_IoctlHandle():pAd->BulkOutEpAddr=0x7
[ 22.010000] RTMP_COM_IoctlHandle():pAd->BulkOutEpAddr=0x9
[ 22.010000] NVM is EFUSE
[ 22.010000] Endpoint(8) is for In-band Command
ifconfig: SIOCGI[ 22.030000] Endpoint(4) is for WMM0 AC0
FFLAGS: No such [ 22.030000] Endpoint(5) is for WMM0 AC1
device
[ 22.070000] Endpoint(6) is for WMM0 AC2
[ 22.070000] Endpoint(7) is for WMM0 AC3
[ 22.090000] Endpoint(9) is for WMM1 AC0
[ 22.090000] Endpoint(84) is for Data-In
[ 22.110000] Endpoint(85) is for Command Rsp
[ 22.240000] motor driver init successful!
[ 22.520000] net eth0: ###### GKETH_phy_stop
[ 22.590000] net eth0: ###### GKETH_start_hw
[ 22.600000] net eth0: ###### GKETH_phy_start_aneg...
[ 22.600000] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 23.600000] PHY: 0:00 - Link is Up - 100/Full
[ 23.600000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
killall: udhcpc: no process killed
udhcpc (v1.18.5) started
dhcp failed. set eth0 to default ip: 192.168.1.88
killall: arping: no process killed
killall: runarp: no process killed
Sending discover...
Sending select for 172.16.0.10...
[ 27.380000] iFlag: 0, iCurStep: 80
killall: arping: no process killed
Lease of 172.16.0.10 obtained, lease time 85536
Terminated
deleting routers
route: SIOCDELRT: No such process
adding dns 172.16.0.1
The timeout was [ 28.910000] watchdog: GK7101 Watchdog: watchdog did not stop!
is 60 seconds
The timeout was set to 60 seconds
can't found rtc pcf8563
rtc: th_i2c_init error!
umount: can't forcibly umount /mnt/mtd/ipc/tmpfs/sd: Invalid argument
killall: gerddns: no process killed
killall: upnp_map: no process killed
killall: upnp_map: no process killed
killall: ddns_update: no process killed
audioout: close.
workthread: log init succeed.
libs_initnettype(Lan): succeed.
macaddr: 00:E0:F8:3C:07:AA
macflag: 1
videocomm(0): 6(6) 1280 720
videocomm(1): 7(7) 640 352
TimeZone: 7
workthread: init ini succeed.
workthread: timerreboot init succeed.
ptz type: motor
workthread: ptz init succeed.
HI_Media_SDKInit: efreq=60,resolution=31,maxresolution=6,maxwidth=1280,maxheight=720
HI_Media_SDKInit: maxchannel=2
HI_Media_SDKInit: maxresolution[0]=6
HI_Media_SDKInit: maxresolution[1]=7
timerreboot: enable=0,reboot time=00:00:00
GOKE ADI: R(8724) LIBC(uClibc) (gcc version 4.6.1 (crosstool-NG 1.18.0) ) Sat Jun 25 04:57:54 CST 2016
Image library version (gcc version 4.6.1 (crosstool-NG 1.18.0) (uClibc)) v1.1.2 #svn r9021 Wed Jul 13 15:44:41 CST 2016
[ERROR] set vi source slowshutter mode failed.
[ 39.750000] fps is 25, support max shutter time is 20480000 curr shutter_time 0
[ 39.770000] fps is 20, support max shutter time is 25600000 curr shutter_time 20480000
[ 39.780000] exposure time updating...
[ 39.780000] exposure time updating...
vinWidth: 1280, vinHeight: 720
HI_SDK_Init: TH_flag=0,temp=0.000000,hum=0
initaudio: inputtype=1, input=14, output=13, aec=0
HI_Media_SDKInit: sensor: 31
HI_Media_SDKInit: vctrl: enable=1, recchn=1
encode(chn=0): profile=1,resolution=[ 39.810000] win_height:0 win_width:0
6,cbr=0,bitrate=[ 39.810000] win_height:0 win_width:0
1536,frame=20,iframe=40,quality=3,minq=26,maxq=45
encode(chn=0): audioenable=1, audiotype=1
encode(chn=1): profile=1,resolution=7,cbr=0,bitrate=128,frame=10,iframe=20,quality=0,minq=23,maxq=39
encode(chn=1): audioenable=1, audiotype=1
HI_Media_SDKInit: snap_chn=0
HI_Media_SDKInit: vctrl: mdvalue=35
audiovol: 1 14 13
HI_Media_SDKInit: HI_SDK_StartEncode(chn=0) succeed.
HI_Media_SDKInit: HI_SDK_StartEncode(chn=1) succeed.
audio: denoise=1
HI_Media_SDKInit: display mode: blackwhite
=======================================
[GK]DE-MBLK 4x4 basing on 1/16 orig pic version: v2.1.0
=======================================
[ 41.940000] fps is 10, support max shutter time is 51200000 curr shutter_time 25600000
color(ini): f=0xffffff, b=0x000000, ftrans=192, btrans=64
OSD(area=0): show=0, pos=0, x=672, y=0, str=YYYY-MM-DD hh:mm:ss
OSD(area=1): show=0, pos=1, x=0, y=576, str=IP-CAM3
OSD: no temp/hum sensor.
audioalarm: off 50
sdkmgr: max channel=2
HI_Media_LiveStreamInit: alarmsound: enable=0, dalaytime=5
ALARM_SERVER:
HI_Record_Stop
HI_Media_RecInit: HI_Record_Start(chn=1) succeed.
HI_Websvr_Init: init media succeed.
HI_Websvr_Init: PBServer start.
HI_Websvr_Init: httpport=80, snapchn=2
VCtrl_Proc: enable=1, debug=0,recchn=1, mdrectime=15, mode=lowrate
relay: start...
ircut: c2b_value=500, b2c_value=300
ircut: switch, imagetype=1.
ircut: switch, imagetype=0.
workthread: ircut init succeed.
infra: proc(21) start.
rled: auto.
workthread: infrared init succeed.
HI_Reset_Init: smart: enable=0
HI_Reset_Init: light: enable=1
HI_Reset_Init: apmode: status=0
workthread: reset init succeed.
workthread: wifikey init succeed.
workthread: netdetect init succeed.
workthread: ntpsvr init succeed.
hichip: start: 1969-12-31 17:00:42
HI_HichipLink_Svr_Start
netdetect: WiFi (Enable).
netdetect: netflag(Lan).
light: proc(24) start.
reset: proc(25) start.
ircut: proc(22) start.
szUID = FFFF-192207-EFCAA, szCrcKet=nocrckey, u32StreamCtrl=1, aszPushIp=47.91.149.233
login dev success! handle[0]=8430624
login dev success! handle[1]=8431792
login dev success! handle[alarm]=8432960
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
HI_Media_LiveStreamRegisterMediaLink: cntindex=0,onlinenum=0
start stream succeed(ret=0x0)! handle(alarm)=8432960
HI_Media_LiveStreamParseStream: cntindex=0,sock=26,avchn=0,mediatype=4
SendMediaDataThread(entry): cntindex=0,avchn=0,af=1,sock=26,rbhandle=8920448
u32CodeType = 264
Ver: V1.0.0.1
API V: 100a1d02
1-
Session[6]
Channel[6]
Buffer[256]
Packet[1024]
2-
Session[6]
Channel[6]
Buffer[256]
Packet[1024]
ircut: switch status on.
ircut: switch, imagetype=1.
rled: close.
[ 44.050000] fps is 20, support max shutter time is 25600000 curr shutter_time 17074246
[ 44.070000] iFlag: 1, iCurStep: 260
FFFF-192207-EFCAA 47.91.149.233
HI_P2P_SessionProcess listen start
UID:FFFF-192207-EFCAA
CRC:nocrckey
ircut: display switch(blackwhite -> color).
vctrl: md push failed, because of ircut switch.
addr0 47.91.149.233
addr1 47.91.149.233
addr2 47.91.149.233
===================
uAlarmPushHandle=8921712, sAlarmExitFlag=1
vctrl: md push failed, because of ircut switch.
vctrl: md push failed, because of ircut switch.
workthread: search start.
workthread: wdt init succeed.
===================================================
ipc_server start : 1969-12-31 17:00:45
ipc_server version: V9.1.6.1.16-20170311
===================================================
wdt: default timeout: 60 sec.
wdt: default timeout: 3 sec.
vctrl: md push failed, because of ircut switch.
vctrl: md push failed, because of ircut switch.
vctrl: md push failed, because of ircut switch.
HI_Ntp_Proc: enable=1, svr=pool0.ntp.org, interval=1
vctrl: md push failed, because of ircut switch.
ircut: switch status off.
motor: selfdet stop.
vctrl: alarm_push_recv,switch to normal mode...
libs_GetNTPTime: failed!
vctrl: switch ---> [normal] mode...
encode(chn=1): cbr=0,bitrate=448,frame=20,iframe=50,quality=2,minq=25,maxq=43
mode = 1 min = 65536 max = 458752 avg = 4000000
CLOSE WAIT
onvif: TZ: STD+7:0:0
onvif: TZInterval: -25200
onvif: login dev success! handle=28946440
onvif: login dev success! handle[alarm]=28947608
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
HI_Media_LiveStreamRegisterMediaLink: cntindex=1,onlinenum=0
HI_Media_LiveStreamParseStream: cntindex=1,sock=27,avchn=0,mediatype=4
SendMediaDataThread(entry): cntindex=1,avchn=0,af=1,sock=27,rbhandle=8920280
onvif: start stream succeed(ret=0x0)! handle(alarm)=28947608
onvif: devmgmt_proc ok.
onvif: start: 1969-12-31 17:01:05
onvif: timg: productid=C9F0SeZ0N0P0L0
CLOSE WAIT
libs_GetNTPTime: failed!
CLOSE WAIT
CLOSE WAIT
libs_GetNTPTime: failed!
CLOSE WAIT
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
rtsp_accept: accept(39) succeed.
rtsp_accept: SessionDistribLink succeed(sock=39).
rtsp_distribLink: acceep user(index=0,newsock=39) succeed.
rtsp_distribLink: create session_proc(index=0,newsock=39) succeed.
rtsp_msgproc(entry): index=0,sock=39,cntip=172.16.0.1
DESCRIBE rtsp://172.16.0.10:554/live1.sdp RTSP/1.0
CSeq: 2
User-Agent: LIVE555 Streaming Media v2015.12.22
Accept: application/sdp
rtsp over udp/tcp: request channel(chn=-1,max=2) error!
CLOSE WAIT
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
rtsp_accept: accept(37) succeed.
rtsp_accept: SessionDistribLink succeed(sock=37).
rtsp_distribLink: acceep user(index=1,newsock=37) succeed.
rtsp_distribLink: create session_proc(index=1,newsock=37) succeed.
rtsp_msgproc(entry): index=1,sock=37,cntip=172.16.0.1
DESCRIBE rtsp://172.16.0.10:554/stream1 RTSP/1.0
CSeq: 2
User-Agent: LIVE555 Streaming Media v2015.12.22
Accept: application/sdp
rtsp over udp/tcp: request channel(chn=-1,max=2) error!
rtsp_msgproc: recv(index=1) error.
rtsp_msgproc(exit): index=1,sock=37,cntip=172.16.0.1
rtsp_msgproc: recv(index=0) error.
rtsp_msgproc(exit): index=0,sock=39,cntip=172.16.0.1
libs_GetNTPTime: failed!
Welcome to HiLinux
IPCamera login:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment