console init done U-Boot 2012.10 (Jan 11 2019 - 21:23:59) for GK7102 rb-aijia-v2.0 (GOKE) HAL: 20160913 DRAM: 64 MiB Flash: [W25Q64FV] USE 4X mode read and 4X mode write 8 MiB SF: 8 MiB [page:256 Bytes] [sector:64 KiB] [count:128] (W25Q64FV) *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: Int PHY Hit Enter key to stop autoboot: 0 [PROCESS_SEPARATORS] setenv bootargs ${bootargs}; sf probe 0 0;sf read 0xC1000000 0x40000 0x200000;bootm 0xC1000000 SF: 8 MiB [page:256 Bytes] [sector:64 KiB] [count:128] (W25Q64FV) put param to memory mem size (39) total mem size (64) 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 (laishaojun@EXServer) (gcc version 4.6.1 (crosstool-NG 1.18.0) ) #36 PREEMPT Thu Aug 29 20:27:30 CST 2019 [ 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: 0xc2900000 0xf5000000 -- 0x100000 [ 0.000000] DSP: 0xc2a00000 0xf6000000 -- 0x15f0000 [ 0.000000] USR: 0xc3ff0000 0xfe000000 -- 0x10000 [ 0.000000] hal version = 20160913 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 9906 [ 0.000000] Kernel command line: console=ttySGK0,115200 mem=39M root=/dev/mtdblock2 rootfstype=squashfs init=/sbin/init_s phytype=0 mtdparts=gk_flash:256k(uboot),2048k(kernel),896k(rootfs),4992k(data) [ 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: 39MB = 39MB total [ 0.000000] Memory: 34504k/34504k available, 5432k reserved, 0K highmem [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] DMA : 0xff600000 - 0xffe00000 ( 8 MB) [ 0.000000] vmalloc : 0x82800000 - 0xff000000 (1992 MB) [ 0.000000] lowmem : 0x80000000 - 0x82700000 ( 39 MB) [ 0.000000] modules : 0x7f000000 - 0x80000000 ( 16 MB) [ 0.000000] .text : 0x80008000 - 0x80452000 (4392 kB) [ 0.000000] .init : 0x80452000 - 0x80475000 ( 140 kB) [ 0.000000] .data : 0x80476000 - 0x804a4060 ( 185 kB) [ 0.000000] .bss : 0x804a4084 - 0x804dcb78 ( 227 kB) [ 0.000000] NR_IRQS:128 [ 0.000000] >> gk init irq vic1... [ 0.000000] >> gk init irq vic2... [ 0.000000] gk init vic... [ 0.000000] mach gk init timer... [ 0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms [ 0.000000] Console: colour dummy device 80x30 [ 0.000000] console [ttySGK0] enabled [ 0.010000] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032) [ 0.070000] pid_max: default: 32768 minimum: 301 [ 0.070000] Mount-cache hash table entries: 512 [ 0.080000] CPU: Testing write buffer coherency: ok [ 0.090000] Setting up static identity map for 0xc0576348 - 0xc0576380 [ 0.100000] NET: Registered protocol family 16 [ 0.110000] init timer... [ 0.110000] Init HW timer for DSP communication [ 0.110000] init gpio... [ 0.120000] ################################### [ 0.120000] [BOOT VERSION] Unknown -v2.0 v0.0 [ 0.130000] [NET INT_CLK] Internal PHY clock [ 0.130000] [GPIO]############################# [ 0.140000] [GPIO] gpio map get from uboot [ 0.140000] [GPIO CFG] gpio count = 55 [ 0.140000] [GPIO CFG] intphy count = 0 [ 0.150000] [GPIO CFG] extphy count = 0 [ 0.150000] [GPIO CFG] IR LED CTL (undefined) [ 0.160000] [GPIO CFG] IR CUT1 (undefined) [ 0.160000] [GPIO CFG] IR CUT2 (undefined) [ 0.170000] [GPIO CFG] SENSOR Reset (27) [ 0.170000] [GPIO CFG] PHY Reset (undefined) [ 0.180000] [GPIO CFG] PHY Speed Led (51) [ 0.180000] [GPIO CFG] SPI0 EN (undefined) [ 0.190000] [GPIO CFG] SPI1 EN (undefined) [ 0.190000] [GPIO CFG] USB HOST (undefined) [ 0.200000] [GPIO CFG] SD Detect (32) [ 0.200000] [GPIO CFG] SD Power (undefined) [ 0.210000] [GPIO CFG] pwm0 (undefined) [ 0.210000] [GPIO CFG] pwm1 (undefined) [ 0.220000] [GPIO CFG] pwm2 (undefined) [ 0.220000] [GPIO CFG] pwm3 (undefined) [ 0.230000] [GPIO]############################# [ 0.230000] gpiochip_add: registered GPIOs 0 to 54 on device: gk-gpio0 [ 0.240000] [GPIO CFG] gpio_00=SF_CS0 [ 0.240000] [GPIO CFG] gpio_01=SF_CS1 [ 0.250000] [GPIO CFG] gpio_03=INPUT_0 [ 0.250000] [GPIO CFG] gpio_09=UART1_TX [ 0.260000] [GPIO CFG] gpio_10=UART1_RX [ 0.260000] [GPIO CFG] gpio_12=OUTPUT_0 [ 0.270000] [GPIO CFG] gpio_13=INPUT_0 [ 0.270000] [GPIO CFG] gpio_15=OUTPUT_1 [ 0.270000] [GPIO CFG] gpio_16=INPUT_0 [ 0.280000] [GPIO CFG] gpio_17=INPUT_0 [ 0.280000] [GPIO CFG] gpio_18=INPUT_0 [ 0.290000] [GPIO CFG] gpio_20=I2C1_CLK [ 0.290000] [GPIO CFG] gpio_23=I2C1_DATA [ 0.290000] [GPIO CFG] gpio_24=INPUT_0 [ 0.300000] [GPIO CFG] gpio_25=UART0_RX [ 0.300000] [GPIO CFG] gpio_26=UART0_TX [ 0.310000] [GPIO CFG] gpio_27=SENSOR_RESET [ 0.310000] [GPIO CFG] gpio_28=I2C0_DATA [ 0.320000] [GPIO CFG] gpio_29=I2C0_CLK [ 0.320000] [GPIO CFG] gpio_30=SDIO0_CLK [ 0.320000] [GPIO CFG] gpio_31=SDIO0_DATA_0 [ 0.330000] [GPIO CFG] gpio_32=SDIO0_CD_N [ 0.330000] [GPIO CFG] gpio_33=INPUT_0 [ 0.340000] [GPIO CFG] gpio_34=OUTPUT_1 [ 0.340000] [GPIO CFG] gpio_35=INPUT_0 [ 0.350000] [GPIO CFG] gpio_36=INPUT_0 [ 0.350000] [GPIO CFG] gpio_37=OUTPUT_0 [ 0.350000] [GPIO CFG] gpio_38=OUTPUT_0 [ 0.360000] [GPIO CFG] gpio_39=OUTPUT_0 [ 0.360000] [GPIO CFG] gpio_40=OUTPUT_0 [ 0.370000] [GPIO CFG] gpio_41=OUTPUT_0 [ 0.370000] [GPIO CFG] gpio_42=OUTPUT_0 [ 0.380000] [GPIO CFG] gpio_43=OUTPUT_0 [ 0.380000] [GPIO CFG] gpio_44=OUTPUT_0 [ 0.380000] [GPIO CFG] gpio_45=SDIO0_DATA_2 [ 0.390000] [GPIO CFG] gpio_46=OUTPUT_0 [ 0.390000] [GPIO CFG] gpio_47=OUTPUT_0 [ 0.400000] [GPIO CFG] gpio_48=AO0_MCLK [ 0.400000] [GPIO CFG] gpio_49=SDIO0_CMD [ 0.410000] [GPIO CFG] gpio_50=SDIO0_DATA_3 [ 0.410000] [GPIO CFG] gpio_51=PHY_SPEED_LED [ 0.420000] [GPIO CFG] gpio_52=SDIO0_DATA_1 [ 0.420000] [GPIO CFG] gpio_53=INPUT_0 [ 0.420000] [GPIO CFG] gpio_54=OUTPUT_1 [ 0.430000] create proc dir [ 0.430000] gk register devices 10 [ 0.440000] gk register I2C [ 0.450000] bio: create slab at 0 [ 0.460000] SCSI subsystem initialized [ 0.460000] spi spi.0: gk SPI Controller 0 created [ 0.470000] spi spi.0: master is unqueued, this is deprecated [ 0.470000] spi spi.1: gk SPI Controller 1 created [ 0.480000] spi spi.1: master is unqueued, this is deprecated [ 0.490000] usbcore: registered new interface driver usbfs [ 0.490000] usbcore: registered new interface driver hub [ 0.500000] usbcore: registered new device driver usb [ 0.510000] i2c regbase: 0xf3003000 [ 0.510000] i2c i2c.0: i2c irq:registers 9 [ 0.510000] i2c i2c.0: GK I2C[0] adapter[i2c-0] probed! [ 0.520000] i2c regbase: 0xf3004000 [ 0.520000] i2c i2c.1: i2c irq:registers 58 [ 0.530000] i2c i2c.1: GK I2C[1] adapter[i2c-1] probed! [ 0.540000] FS-Cache: Loaded [ 0.540000] CacheFiles: Loaded [ 0.550000] cfg80211: Calling CRDA to update world regulatory domain [ 0.560000] gk-sd gk-sd.0: Slot0 req_size=0x00010000, segs=16, seg_size=0x00010000 [ 0.590000] gk-sd gk-sd.0: GK SD/MMC[0] has 1 slots @ 12000000Hz, [0x09e130b0:0x00000000] [ 0.600000] NET: Registered protocol family 2 [ 0.600000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.610000] TCP established hash table entries: 2048 (order: 2, 16384 bytes) [ 0.620000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes) [ 0.630000] TCP: Hash tables configured (established 2048 bind 2048) [ 0.630000] TCP: reno registered [ 0.640000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.640000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.650000] NET: Registered protocol family 1 [ 0.660000] RPC: Registered named UNIX socket transport module. [ 0.660000] RPC: Registered udp transport module. [ 0.670000] RPC: Registered tcp transport module. [ 0.680000] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.680000] mdma init... [ 0.690000] mdma request irq: 54 [ 0.700000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.700000] exFAT: Version 1.2.9 [ 0.710000] NFS: Registering the id_resolver key type [ 0.710000] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc. [ 0.720000] msgmni has been set to 67 [ 0.730000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 0.740000] io scheduler noop registered [ 0.740000] io scheduler deadline registered [ 0.750000] io scheduler cfq registered (default) [ 0.750000] uart.0: ttySGK0 at MMIO 0xa0005000 (irq = 31) is a gkuart [ 0.760000] uart.1: ttySGK1 at MMIO 0xa001f000 (irq = 15) is a gkuart [ 0.770000] uart.2: ttySGK2 at MMIO 0xa001e000 (irq = 27) is a gkuart [ 0.790000] brd: module loaded [ 0.790000] loop: module loaded [ 0.800000] adc initialized (10:11) [ 0.800000] pwm initialized (10:10) [ 0.810000] speed_mod is 1 [ 0.810000] [W25Q64FV] USE 1X mode read and 1X mode write [ 0.820000] flash ic id:ef [ 0.820000] fuid:0x75b860df.....0x292c095f........ [ 0.830000] gk_flash gk_flash.0: W25Q64FV (8192 Kbytes) [ 0.840000] 4 cmdlinepart partitions found on MTD device gk_flash [ 0.850000] Creating 4 MTD partitions on "gk_flash": [ 0.850000] 0x000000000000-0x000000040000 : "uboot" [ 0.860000] 0x000000040000-0x000000240000 : "kernel" [ 0.860000] 0x000000240000-0x000000320000 : "rootfs" [ 0.870000] 0x000000320000-0x000000800000 : "data" [ 0.880000] speed_mod is 1 [ 0.880000] detect sflash fail [ 0.890000] slram: not enough parameters. [ 0.890000] GKETH_init [ 0.890000] [GKETH_drv_probe] eth_base = 0xf200e000 [ 0.900000] mii id = 0 [ 0.900000] mdiobus_register: PHY[0] whose id 0x00000000 [ 0.910000] goke MII Bus: probed [ 0.910000] gk-eth gk-eth.0: MAC Address[02:11:22:a3:a0:00]. [ 0.920000] PPP generic driver version 2.4.2 [ 0.930000] PPP BSD Compression module registered [ 0.930000] PPP Deflate Compression module registered [ 0.940000] PPP MPPE Compression module registered [ 0.940000] NET: Registered protocol family 24 [ 0.950000] PPTP driver version 0.8.5 [ 0.950000] usbcore: registered new interface driver cdc_wdm [ 0.960000] Initializing USB Mass Storage driver... [ 0.970000] usbcore: registered new interface driver usb-storage [ 0.970000] USB Mass Storage support registered. [ 0.980000] usbcore: registered new interface driver libusual [ 0.990000] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host) [ 0.990000] musb phy Begin initial sequence ... [ 1.300000] gk musb init end... [ 1.300000] musb-hdrc musb-hdrc: MUSB HDRC host driver [ 1.310000] musb-hdrc musb-hdrc: new USB bus registered, assigned bus number 1 [ 1.320000] hub 1-0:1.0: USB hub found [ 1.320000] hub 1-0:1.0: 1 port detected [ 1.330000] musb-hdrc musb-hdrc: USB Host mode controller at f0006000 using PIO, IRQ 26 [ 1.340000] platform add gk musb... [ 1.340000] mousedev: PS/2 mouse device common for all mice [ 1.350000] input: GKInput as /devices/virtual/input/input0 [ 1.350000] Protocol NEC[0] [ 1.360000] ir request irq: 62 [ 1.360000] IR Host Controller probed! [ 1.360000] gk rtc init... [ 1.370000] rtc base: 0xf2080000 [ 1.370000] os read tm: t=0 [ 1.380000] gk-rtc gk-rtc: rtc core: registered gk-rtc as rtc0 [ 1.380000] i2c /dev entries driver [ 1.390000] gk_wdt_v1_00: GK Watchdog Timer, (c) 2014 Goke Microelectronics [ 1.390000] [gk_wdt_init]: init [ 1.400000] [gk_wdt_probe]: probe [ 1.400000] [gk_wdt_probe]: probe mapped wdt_base=f3006000 [ 1.410000] watchdog inactive, reset disabled, irq disabled [ 1.410000] watchdog: only one watchdog can use /dev/watchdog [ 1.420000] watchdog: error registering /dev/watchdog (err=-16) [ 1.430000] IPv4 over IPv4 tunneling driver [ 1.430000] gre: GRE over IPv4 demultiplexor driver [ 1.440000] ip_gre: GRE over IPv4 tunneling driver [ 1.450000] TCP: cubic registered [ 1.450000] Initializing XFRM netlink socket [ 1.460000] NET: Registered protocol family 10 [ 1.460000] IPv6 over IPv4 tunneling driver [ 1.470000] NET: Registered protocol family 17 [ 1.470000] NET: Registered protocol family 15 [ 1.480000] lib80211: common routines for IEEE802.11 drivers [ 1.490000] Registering the dns_resolver key type [ 1.490000] VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5 [ 1.500000] os read tm: t=0 [ 1.500000] gk-rtc gk-rtc: setting system clock to 1970-01-01 00:00:00 UTC (0) [ 1.520000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2. [ 1.530000] Freeing init memory: 140K mount: mounting /dev/loop2 on /system/web failed: Invalid argument mount: mounting /dev/loop2 on /system/custom failed: Invalid argument mount: mounting /dev/loop2 on /system/vendor failed: Inv+argument Starting logging: OK Starting mdev... Initializing random number generator... read-only file system detected...done Starting network... run-parts: /etc/network/if-pre-up.d: No such file or directory run-parts: /etc/network/if-up.d: No such file or directory [ 5.930000] net eth0: ###### GKETH_start_hw [ 5.930000] net eth0: ###### GKETH_phy_start_aneg... [ 5.940000] ADDRCONF(NETDEV_UP): eth0: link is not ready /etc/init.d/rcS: line 41: /system/vendor/configs/run_before.sh: not found [ 6.080000] hal: module license 'Proprietary' taints kernel. [ 6.090000] Disabling lock debugging due to kernel taint [ 6.140000] crypto initialized (10:11) Media driver version (gcc version 4.6.1 (crosstool-NG 1.18.0) (uClibc)) v2.1.0 #svn r12890 Fri Oct 20 10:35:16 CST 2017 [ 6.510000] request_irq...24 ok-- video_sync [ 6.510000] request_irq...59 ok-- video_frame_last_pixel [ 6.530000] request_irq...61 ok-- video_frame GOKE ADI: R(12890) LIBC(uClibc) [ 7.120000] sensor board reset... (gcc version 4.6.1 (crosstool-NG 1.18.0) ) 2017-10-20 10:36:45 [ 7.380000] detect:gc2023 at 0x6e [ 7.390000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 7.390000] i2c i2c.0: I2C state 0x10, please check address 0x6e! [ 7.400000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 7.410000] i2c i2c.0: I2C state 0x10, please check address 0x6e! [ 7.420000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 7.420000] i2c i2c.0: I2C state 0x10, please check address 0x6e! [ 7.430000] gc2023 i2c read 0x000000f0 is 0x00000000 [ 7.440000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 7.440000] i2c i2c.0: I2C state 0x10, please check address 0x6e! [ 7.450000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 7.460000] i2c i2c.0: I2C state 0x10, please check address 0x6e! [ 7.470000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 7.470000] i2c i2c.0: I2C state 0x10, please check address 0x6e! [ 7.480000] gc2023 i2c read 0x000000f1 is 0x00000000 [ 7.490000] detect:sc2135 at 0x60 [ 7.490000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 7.500000] i2c i2c.0: I2C state 0x10, please check address 0x60! [ 7.510000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 7.510000] i2c i2c.0: I2C state 0x10, please check address 0x60! [ 7.520000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 7.530000] i2c i2c.0: I2C state 0x10, please check address 0x60! [ 7.540000] sc2135 i2c read 0x00003107 is 0x00000000 [ 7.540000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 7.550000] i2c i2c.0: I2C state 0x10, please check address 0x60! [ 7.560000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 7.570000] i2c i2c.0: I2C state 0x10, please check address 0x60! [ 7.570000] i2c i2c.0: i2c[60]:gk_i2c_irq in wrong state[0x9] [ 7.580000] i2c i2c.0: I2C state 0x10, please check address 0x60! [ 7.590000] sc2135 i2c read 0x00003108 is 0x00000000 [ 7.590000] detect:gc1034 at 0x42 [ 7.600000] gc1034 i2c read 0x000000f0 is 0x00000010 [ 7.600000] gc1034 i2c read 0x000000f1 is 0x00000034 [ 7.610000] =================================================== [ 7.620000] ================find:gc1034 at 0x42================ [ 7.630000] =================================================== find:gc1034 at 0x42 rm: can't remove '/tmp/sensor_hw.bin': No such file or directory rm: can't remove '/tmp/sensor_ex.ko': No such file or directory /etc/init.d/rcS: line 44: /system/vendor/configs/run_after.sh: not found Welcome to Goke Linux goke login: ###run_guideapp(33):/system/bin/guide 1>/dev/null 2>/dev/null &### waitpid end [ 16.570000] usb 1-1: new high-speed USB device number 2 using musb-hdrc [ 16.650000] gc1034 i2c write 0x00003640 is 0x00000003 [ 16.650000] write: addr 0x3640 val 0x3 [ 17.530000] gc1034 i2c write 0x00003640 is 0x00000003 [ 17.540000] write: addr 0x3640 val 0x3 [ 17.590000] =================================================== [ 17.600000] =====gc1034 drv create at 20170801 ver:20170210==== [ 17.610000] =================================================== [ 17.610000] [sensor_get_dev_id 276]find sensor id: 00001034 [ 17.630000] sensor board reset... [ 17.930000] sensor board reset... [ 18.300000] win_height:0 win_width:0 [ 18.300000] win_height:0 win_width:0 [ 20.860000] write: addr 0x3640 val 0x3 [ 22.850000] levelmidflag 1 midtimes 2080 [ 22.850000] vertmidflag 1 midtimes 1100 [ 22.850000] leveltimers 4100 [ 22.860000] verttimes 1400 [ 23.670000] net eth0: ###### GKETH_phy_stop [ 24.430000] net eth0: ###### GKETH_start_hw [ 24.440000] net eth0: ###### GKETH_phy_start_aneg... [ 24.450000] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 27.220000] usbcore: registered new interface driver rtl8188fu [ 30.240000] ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 41.830000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready Welcome to Goke Linux goke login: