U-Boot 2012.10 (Feb 05 2017 - 16:04:00) for GK7102 rb ov9712 v1.0 (GOKE) HAL: 20151223 DRAM: 64 MiB Flash: 16 MiB NAND: [No SPI nand] SF: 16 MiB [page:256 Bytes] [sector:64 KiB] [count:256] (GD25Q128C) In: serial Out: serial Err: serial -nCheckWiFiGpioStatus=1 -Start SD Card file to update 2016-10-14- Check the SD IO,value =1 gk7101_gpio_get_value=1 ,No sd card found, exit update Hit any key to stop autoboot: 0 [PROCESS_SEPARATORS] sf probe 0; sf read 0xc1000000 0x50000 0x200000; bootm 0xc1000000 SF: 16 MiB [page:256 Bytes] [sector:64 KiB] [count:256] (GD25Q128C) put param to memory mem size (47) bsb size (1) 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@ubuntuX64) (gcc version 4.6.1 (crosstool-NG 1.18.0) ) #27 PREEMPT Wed Apr 26 09:32:54 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 GK7102 RB_OV9712 board V1.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: 0xc3100000 0xf5000000 -- 0x100000 [ 0.000000] DSP: 0xc3200000 0xf6000000 -- 0xe00000 [ 0.000000] hal version = 20151223 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 11938 [ 0.000000] Kernel command line: console=ttySGK0 rootfstype=squashfs root=/dev/mtdblock2 init=/squashfs_init mem=47M phytype=0 mtdparts=gk7101_flash:320K(UBOOT),2M(LINUX),5M(ROOTFS),8M(USER),384K(DB),320K(DBBACK) [ 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: 47MB = 47MB total [ 0.000000] Memory: 42956k/42956k available, 5172k 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 - 0x82f00000 ( 47 MB) [ 0.000000] modules : 0x7f000000 - 0x80000000 ( 16 MB) [ 0.000000] .text : 0x80008000 - 0x80416000 (4152 kB) [ 0.000000] .init : 0x80416000 - 0x80434000 ( 120 kB) [ 0.000000] .data : 0x80434000 - 0x8045c6c0 ( 162 kB) [ 0.000000] .bss : 0x8045c6e4 - 0x8048df1c ( 199 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.020000] 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 0xc0540998 - 0xc05409d0 [ 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 at 0 [ 0.300000] SCSI subsystem initialized [ 0.310000] spi spi.0: gk7101 SPI Controller 0 created [ 0.310000] spi spi.0: master is unqueued, this is deprecated [ 0.320000] usbcore: registered new interface driver usbfs [ 0.320000] usbcore: registered new interface driver hub [ 0.330000] usbcore: registered new device driver usb [ 0.340000] i2c regbase: 0xf3003000 [ 0.340000] i2c i2c.0: i2c irq:registers 9 [ 0.350000] i2c i2c.0: GK7101 I2C[0] adapter[i2c-0] probed! [ 0.370000] cfg80211: Calling CRDA to update world regulatory domain [ 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] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.510000] NFS: Registering the id_resolver key type [ 0.520000] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.530000] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. [ 0.540000] msgmni has been set to 83 [ 0.550000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) [ 0.560000] io scheduler noop registered [ 0.560000] io scheduler deadline registered [ 0.570000] io scheduler cfq registered (default) [ 0.570000] uart.0: ttySGK0 at MMIO 0xa0005000 (irq = 31) is a gk7101uart [ 0.580000] uart.1: ttySGK1 at MMIO 0xa001f000 (irq = 15) is a gk7101uart [ 0.590000] uart.2: ttySGK2 at MMIO 0xa001e000 (irq = 27) is a gk7101uart [ 0.600000] adc initialized (10:11) [ 0.600000] slram: not enough parameters. [ 0.610000] speed_mod is 0 [ 0.610000] USE 1X mode read and 1X mode write [ 0.610000] gk7101_flash gk7101_flash.0: GD25Q128C (16384 Kbytes) [ 0.620000] 6 cmdlinepart partitions found on MTD device gk7101_flash [ 0.630000] Creating 6 MTD partitions on "gk7101_flash": [ 0.630000] 0x000000000000-0x000000050000 : "UBOOT" [ 0.640000] 0x000000050000-0x000000250000 : "LINUX" [ 0.650000] 0x000000250000-0x000000750000 : "ROOTFS" [ 0.660000] 0x000000750000-0x000000f50000 : "USER" [ 0.660000] 0x000000f50000-0x000000fb0000 : "DB" [ 0.670000] 0x000000fb0000-0x000001000000 : "DBBACK" [ 0.680000] tun: Universal TUN/TAP device driver, 1.6 [ 0.680000] tun: (C) 1999-2004 Max Krasnyansky [ 0.690000] GKETH_init [ 0.690000] [GKETH_drv_probe] eth_base = 0xf200e000 [ 0.700000] mii id = 0 [ 0.700000] ###### PHY Reset.1.0.2 [ 0.820000] mdiobus_register: PHY[0] whose id 0x00000000 [ 0.830000] goke MII Bus: probed [ 0.830000] gk7101-eth gk7101-eth.0: MAC Address[]. [ 0.840000] usbcore: registered new interface driver cdc_wdm [ 0.850000] usbcore: registered new interface driver libusual [ 0.850000] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host) [ 0.860000] musb phy Begin initial sequence ... [ 1.110000] gk7101 musb init end... [ 1.110000] [ 1.110000] [ 1.110000] dma controller create ok [ 1.120000] musb-hdrc musb-hdrc: MUSB HDRC host driver [ 1.120000] musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 1 [ 1.130000] vm : ffde0000, phy : c2d80000 [ 1.140000] dma_buf alloc ok! [ 1.140000] hub 1-0:1.0: USB hub found [ 1.150000] hub 1-0:1.0: 1 port detected [ 1.150000] musb-hdrc musb-hdrc: USB Host mode controller at f0006000 using DMA, IRQ 26 [ 1.160000] platform add gk7101 musb... [ 1.160000] i2c /dev entries driver [ 1.170000] gk7101_wdt: GK7101 Watchdog Timer, (c) 2014 Goke Microelectronics [ 1.180000] [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.220000] TCP: cubic registered [ 1.220000] Initializing XFRM netlink socket [ 1.230000] NET: Registered protocol family 17 [ 1.230000] NET: Registered protocol family 15 [ 1.240000] lib80211: common routines for IEEE802.11 drivers [ 1.240000] Registering the dns_resolver key type [ 1.250000] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5 [ 1.270000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2. [ 1.270000] Freeing init memory: 120K [ 1.720000] usb 1-1: new high-speed USB device number 2 using musb-hdrc Streate rc.sysinit shell Mounting root fs rw ... Mounting other filesystems ... Setting hostname ... Bringing up interfaces ... ifup: can't open '/etc/network/interfaces': No such file or directory Mounting user's MTD partion Press q -> ENTER to exit boot procedure? ----enter to upgrade from sdcard---- mount: mounting /dev/mmcblk0p1 on /var/sdcard failed: No such file or directory uboot.bin not exist. kernel.bin not exist. rootfs.bin not exist. user.bin not exist. ----leaved to upgrade from sdcard---- umount: can't umount /var/sdcard: Invalid argument Air Link Loading drv ,2016-05-26 [ 12.370000] rtusb init rt2870 ---> [ 12.390000] [ 12.390000] [ 12.390000] === pAd = 8326a000, size = 1581152 === [ 12.390000] [ 12.410000] <-- RTMPAllocTxRxRingMemory, Status=0 [ 12.410000] <-- RTMPAllocAdapterBlock, Status=0 [ 12.420000] RTMP_COM_IoctlHandle():pAd->BulkOutEpAddr=0x8 [ 12.420000] RTMP_COM_IoctlHandle():pAd->BulkOutEpAddr=0x4 [ 12.430000] RTMP_COM_IoctlHandle():pAd->BulkOutEpAddr=0x5 [ 12.450000] RTMP_COM_IoctlHandle():pAd->BulkOutEpAddr=0x6 [ 12.450000] RTMP_COM_IoctlHandle():pAd->BulkOutEpAddr=0x7 [ 12.460000] RTMP_COM_IoctlHandle():pAd->BulkOutEpAddr=0x9 [ 12.460000] ==>WaitForAsicReady MAC_CSR0=0x76010500 [ 12.470000] ==>WaitForAsicReady MAC_CSR0=0x76010500 [ 12.470000] NVM is EFUSE [ 12.480000] Endpoint(8) is for In-band Command [ 12.480000] Endpoint(4) is for WMM0 AC0 [ 12.490000] Endpoint(5) is for WMM0 AC1 [ 12.490000] Endpoint(6) is for WMM0 AC2 [ 12.500000] Endpoint(7) is for WMM0 AC3 [ 12.500000] Endpoint(9) is for WMM1 AC0 [ 12.500000] Endpoint(84) is for Data-In [ 12.510000] Endpoint(85) is for Command Rsp [ 12.510000] 80211> RFICType = 3 [ 12.520000] NumOfChan ===> 58 [ 12.520000] 80211> Number of channel = 44 [ 12.520000] 80211> Number of rate = 12 [ 12.530000] 80211> CurTxPower = 0 dBm [ 12.530000] 80211> TxStream = 0 [ 12.540000] crda> requlation requestion by core: 00 [ 12.540000] 80211> CFG80211_Register [ 12.570000] usbcore: registered new interface driver rt2870 [ 13.790000] gk_vi_init [ 13.790000] request_irq...24 ok-- video_sync [ 13.790000] request_irq...59 ok-- video_frame_last_pixel [ 13.810000] request_irq...61 ok-- video_frame [ 13.810000] gk7101_is_valid_gpio_irq... [ 13.880000] crypto initialized (10:11) Media driver version (gcc version 4.6.1 (crosstool-NG 1.18.0) (uClibc)) v1.1.2 #svn r9025 Wed Jul 13 16:40:36 CST 2016 Default method to init without VI drivers... [ 14.380000] sensor board reset... Jan 1 00:00:14 crond[130]: crond: crond (busybox 1.21.0) started, log level 8 [ 16.000000] ================> UP : RTMP_SEM_EVENT_WAIT(STA) [ 16.010000] 1. LDO_CTR0(6c) = a64799, PMU_OCLEVEL c [ 16.010000] 2. LDO_CTR0(6c) = a6478d, PMU_OCLEVEL 6 [ 16.020000] ==>WaitForAsicReady MAC_CSR0=0x76010500 [ 16.030000] FW Version:0.1.00 Build:7640 [ 16.030000] Build Time:201301040941____ [ 16.040000] ILM Length = 44276(bytes) [ 16.040000] DLM Length = 0(bytes) [ 16.050000] Loading FW.... [ 16.090000] RTMP_TimerListAdd: add timer obj 8339275c! [ 16.100000] RTMP_TimerListAdd: add timer obj 8339278c! [ 16.110000] RTMP_TimerListAdd: add timer obj 833927bc! [ 16.110000] RTMP_TimerListAdd: add timer obj 8339272c! [ 16.120000] RTMP_TimerListAdd: add timer obj 8339269c! [ 16.120000] RTMP_TimerListAdd: add timer obj 833926cc! [ 16.130000] RTMP_TimerListAdd: add timer obj 83326cd4! [ 16.140000] RTMP_TimerListAdd: add timer obj 833135d0! [ 16.150000] RTMP_TimerListAdd: add timer obj 83313604! [ 16.150000] RTMP_TimerListAdd: add timer obj 83326d74! [ 16.160000] RTMP_TimerListAdd: add timer obj 83315f80! [ 16.160000] RTMP_TimerListAdd: add timer obj 833157c0! [ 16.170000] RTMP_TimerListAdd: add timer obj 83315f4c! [ 16.170000] RTMP_TimerListAdd: add timer obj 8331629c! [ 16.180000] RTMP_TimerListAdd: add timer obj 83315fb4! [ 16.190000] RTMP_TimerListAdd: add timer obj 83315fe8! [ 16.190000] RTMP_TimerListAdd: add timer obj 8331601c! [ 16.200000] RTMP_TimerListAdd: add timer obj 8326e40c! [ 16.200000] RTMP_TimerListAdd: add timer obj 8326dc4c! [ 16.210000] RTMP_TimerListAdd: add timer obj 8326e3d8! [ 16.220000] RTMP_TimerListAdd: add timer obj 8326e728! [ 16.220000] RTMP_TimerListAdd: add timer obj 8326e65c! [ 16.230000] RTMP_TimerListAdd: add timer obj 832a5684! [ 16.230000] RTMP_TimerListAdd: add timer obj 832a4ec4! [ 16.240000] RTMP_TimerListAdd: add timer obj 832a5650! [ 16.240000] RTMP_TimerListAdd: add timer obj 832a59a0! [ 16.250000] RTMP_TimerListAdd: add timer obj 832a56b8! [ 16.260000] RTMP_TimerListAdd: add timer obj 832a56ec! [ 16.260000] RTMP_TimerListAdd: add timer obj 832a5720! [ 16.270000] RTMP_TimerListAdd: add timer obj 83326c74! [ 16.280000] RTMP_TimerListAdd: add timer obj 83326d44! [ 16.280000] RTMP_TimerListAdd: add timer obj 833e9d10! [ 16.290000] RTMP_TimerListAdd: add timer obj 833e9d40! [ 16.290000] RTMP_TimerListAdd: add timer obj 833e9d70! [ 16.300000] RTMP_TimerListAdd: add timer obj 833e9da0! [ 16.300000] RTMP_TimerListAdd: add timer obj 833e9dd0! [ 16.310000] RTMP_TimerListAdd: add timer obj 833e9e04! [ 16.320000] RTMP_TimerListAdd: add timer obj 833926fc! [ 16.330000] RTMP_TimerListAdd: add timer obj 833125ec! [ 16.330000] RTMP_TimerListAdd: add timer obj 833125bc! [ 16.340000] RTMP_TimerListAdd: add timer obj 8331258c! [ 16.340000] RTMP_TimerListAdd: add timer obj 83326ca4! [ 16.350000] P2pGroupTabInit . [ 16.350000] P2pScanChannelDefault <=== count = 3, Channels are 1, 6,11 separately [ 16.360000] P2pCfgInit:: [ 16.370000] ==>WaitForAsicReady MAC_CSR0=0x76010500 [ 16.800000] cfg_mode=9 [ 16.800000] cfg_mode=9 [ 16.800000] wmode_band_equal(): Band Equal! [ 16.810000] Key1Str is Invalid key length(0) or Type(0) [ 16.820000] Key2Str is Invalid key length(0) or Type(0) [ 16.820000] Key3Str is Invalid key length(0) or Type(0) [ 16.840000] Key4Str is Invalid key length(0) or Type(0) [ 16.840000] ###### Force at HT20 (BW_20) mode !!! ######## [ 16.860000] 1. Phy Mode = 14 [ 16.860000] 2. Phy Mode = 14 [ 16.860000] NVM is Efuse and its size =1d[1e0-1fc] [ 16.880000] ERROR!!! MT7601 E2PROM: WRONG VERSION 0xc, should be 9 [ 16.900000] 3. Phy Mode = 14 [ 16.900000] AntCfgInit: primary/secondary ant 0/1 [ 17.110000] ---> InitFrequencyCalibration [ 17.110000] InitFrequencyCalibrationMode:Unknow mode = 3 [ 17.120000] InitFrequencyCalibration: frequency offset in the EEPROM = 50(0x32) [ 17.130000] <--- InitFrequencyCalibration [ 17.130000] RTMPSetPhyMode: channel is out of range, use first channel=1 [ 17.150000] MCS Set = ff 00 00 00 01 [ 17.160000] <==== STA : rt28xx_init, Status=0 [ 17.170000] 80211> re-init bands... [ 17.190000] 80211> RFICType = 1 [ 17.190000] NumOfChan ===> 14 [ 17.190000] 80211> Number of channel = 44 [ 17.220000] 80211> Number of rate = 12 [ 17.220000] 80211> CurTxPower = 0 dBm [ 17.220000] 80211> TxStream = 1 [ 17.230000] 0x1300 = 00064300 [ 17.230000] RTMPDrvOpen(1):Check if PDMA is idle! [ 17.240000] RTMPDrvOpen(2):Check if PDMA is idle! [ 17.240000] <================ UP : RTMP_SEM_EVENT_UP(STA) Successfully initialized wpa_supplicant rfkill: Cannot open RFKILL control device / # [ 21.310000] ===>rt_ioctl_giwscan. 5(5) BSS returned, data->length = 906 [ 21.330000] ==>rt_ioctl_siwfreq::SIOCSIWFREQ(Channel=1) [ 21.360000] PeerBeaconAtJoinAction(): HT-CtrlChannel=1, CentralChannel=>1 [ 21.360000] PeerBeaconAtJoinAction(): Set CentralChannel=1