ethernet is not working...

1,176 views
Skip to first unread message

Puneet B

unread,
Jan 6, 2014, 12:34:25 AM1/6/14
to linux...@googlegroups.com
Hi

i am using A20 eval board.

i need to know what are configuration need to done for Ethernet in script as well as in android file system,

so that i will make it work.

what about MAC address?

Kindly tell me.

Regards
Punith

Puneet B

unread,
Jan 6, 2014, 5:33:30 AM1/6/14
to linux...@googlegroups.com
Hi ,

As i select

config NET_VENDOR_SUN7I
config SUN7I_EMAC 

drivers in menuconfig and enabled the emac_used in script.

So i set ip, dns ,gw manually in console.

but my Ethernet is not yet working.

i am getting function call in console

8738] Resetting device
<3>[  134.054867] wemac wemac.0: tx time out.
<4>[  134.058741] Resetting device
<3>[  144.054868] wemac wemac.0: tx time out.
<4>[  144.058741] Resetting device

Did i need to select any more drivers.

and  also i am not seen any led blinking while connect lan.

Puneet B

unread,
Jan 6, 2014, 5:47:22 AM1/6/14
to linux...@googlegroups.com
and also,

when i connect ethernet through GUI i got fallowing error in console.

[ 1587.960812] ----------------------EMAC---------------------
[ 1587.960826]
[ 1587.968114] ERROR: emac request gpio failed!
[ 1587.972411] script_dump_mainkey: dump emac_para
[ 1587.976988] =========================================================
[ 1587.984469]     name:      emac_para
[ 1587.988816]     sub_key:   name           type      value
[ 1587.994440]                emac_rxd3      gpio      (gpio:   0, mul: 2, pull -1, drv -1, data -1)
[ 1588.003452]                emac_rxd2      gpio      (gpio:   1, mul: 2, pull -1, drv -1, data -1)
[ 1588.012681]                emac_rxd1      gpio      (gpio:   2, mul: 2, pull -1, drv -1, data -1)
[ 1588.023032]                emac_rxd0      gpio      (gpio:   3, mul: 2, pull -1, drv -1, data -1)
[ 1588.033028]                emac_txd3      gpio      (gpio:   4, mul: 2, pull -1, drv -1, data -1)
[ 1588.042774]                emac_txd2      gpio      (gpio:   5, mul: 2, pull -1, drv -1, data -1)
[ 1588.052089]                emac_txd1      gpio      (gpio:   6, mul: 2, pull -1, drv -1, data -1)
[ 1588.061322]                emac_txd0      gpio      (gpio:   7, mul: 2, pull -1, drv -1, data -1)
[ 1588.070605]                emac_rxclk     gpio      (gpio:   8, mul: 2, pull -1, drv -1, data -1)
[ 1588.080089]                emac_rxerr     gpio      (gpio:   9, mul: 2, pull -1, drv -1, data -1)
[ 1588.089203]                emac_rxdV      gpio      (gpio:  10, mul: 2, pull -1, drv -1, data -1)
[ 1588.098153]                emac_mdc       gpio      (gpio:  11, mul: 2, pull -1, drv -1, data -1)
[ 1588.107735]                emac_mdio      gpio      (gpio:  12, mul: 2, pull -1, drv -1, data -1)
[ 1588.116934]                emac_txen      gpio      (gpio:  13, mul: 2, pull -1, drv -1, data -1)
[ 1588.125908]                emac_txclk     gpio      (gpio:  14, mul: 2, pull -1, drv -1, data -1)
[ 1588.135048]                emac_crs       gpio      (gpio:  15, mul: 2, pull -1, drv -1, data -1)
[ 1588.143945]                emac_col       gpio      (gpio:  16, mul: 2, pull -1, drv -1, data -1)
[ 1588.152911]                emac_reset     gpio      (gpio:  17, mul: 1, pull -1, drv -1, data -1)
[ 1588.161804]                emac_used      int       1
[ 1588.166871] =========================================================
[ 1588.173309] ---------------------EMAC---------------------
[ 1588.173316]
[ 1588.180309] [gpio-err] sw_gpio_setall_range: pcfg is NULL
[ 1588.185720] ERROR: emac  set gpio list failed!!
[ 1588.244791] Reset the phy is timeout!!
[ 1588.248731] wemac wemac.0: eth0: link up, 100Mbps, full-duplex, lpa 0xFFFF
[ 1590.194814] Reset the phy is timeout!!

Is it because of mismatch configuration of Ethernet pins or not?

Regards
Punith

Puneet B

unread,
Jan 9, 2014, 6:16:50 AM1/9/14
to linux...@googlegroups.com
i am getting repeated execution of these statement.

Can you explain for what it is?.

[ 9501.003002] sunxi_emac sunxi_emac.0: tx time out, resetting emac
<3>sunxi_emac sunxi_emac.0: tx time out, resetting emac
[ 9511.003140] sunxi_emac sunxi_emac.0: tx time out, resetting emac
<3>sunxi_emac sunxi_emac.0: tx time out, resetting emac
[ 9521.002999] sunxi_emac sunxi_emac.0: tx time out, resetting emac

Regards
Punith

Arokux X

unread,
Jan 9, 2014, 11:01:04 AM1/9/14
to linux-sunxi
Which kernel are you booting? Without this info how can someone help you?

Puneet B

unread,
Jan 10, 2014, 1:36:12 AM1/10/14
to linux...@googlegroups.com
Hi,

I am using linux sunxi 3.4 kernel.

form linux-sunxi git


On Thu, Jan 9, 2014 at 9:31 PM, Arokux X <aro...@gmail.com> wrote:
Which kernel are you booting? Without this info how can someone help you?

--
You received this message because you are subscribed to a topic in the Google Groups "linux-sunxi" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/linux-sunxi/EkQmr6IBDO4/unsubscribe.
To unsubscribe from this group and all of its topics, send an email to linux-sunxi...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

nils...@gmail.com

unread,
Jan 10, 2014, 12:00:03 PM1/10/14
to linux...@googlegroups.com
пятница, 10 января 2014 г., 10:36:12 UTC+4 пользователь Puneet B написал:
Try to add this to script.bin :

[dynamic]
MAC = "926786f392ef"

nils...@gmail.com

unread,
Jan 10, 2014, 12:03:20 PM1/10/14
to linux...@googlegroups.com
пятница, 10 января 2014 г., 10:36:12 UTC+4 пользователь Puneet B написал:
... and to [emac_para] section :
emac_power = port:PH15<1><default><default><0>

Dmitriy B.

unread,
Jan 10, 2014, 10:35:26 PM1/10/14
to linux...@googlegroups.com
 
... and to [emac_para] section :
emac_power = port:PH15<1><default><default><0>

We do not know the schematics of Puneet's board, this can be plain wrong. Please, try not to guess the solution if you do not know all the details about the target device. 

Best Regards,
Dmitriy Beykun

Puneet B

unread,
Jan 11, 2014, 12:33:03 AM1/11/14
to linux...@googlegroups.com, nils...@gmail.com
Hi ,

I changed as you said.

but no change happen.

Here i am attaching complete log of debian .

Kindly point me the issue.

and also there is no blinking of ethernet leds and i dont have schematics.

LOg:

 
Starting kernel ...

aw_clkevt_init: sun7i_timer0_clockevent mult 6442450, max_delta_ns 170000, min_delta_ns 1000, cpumask 0xc04eaa84, irq 54
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.3.0 (embdes@embdes-desktop) (gcc version 4.4.1 (Sourcery G++ Lite 2010q1-202) ) #10 SMP PREEMPT Sat Jan 11 10:324
[    0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: sun7i
[    0.000000] [sun7i_fixup]: From boot, get meminfo:
[    0.000000]  Start:  0x40000000
[    0.000000]  Size:   1024MB
[    0.000000] memory reserved(in bytes):
[    0.000000]  : 0x43000000, 0x00010000
[    0.000000]  : 0x52000000, 0x00010000
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] On node 0 totalpages: 212992
[    0.000000] free_area_init_node: node 0, pgdat c0758500, node_mem_map d0000000
[    0.000000]   DMA zone: 576 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 64960 pages, LIFO batch:15
[    0.000000]   Normal zone: 1134 pages used for memmap
[    0.000000]   Normal zone: 78738 pages, LIFO batch:15
[    0.000000]   HighMem zone: 594 pages used for memmap
[    0.000000]   HighMem zone: 66990 pages, LIFO batch:15
[    0.000000] [scu_get_core_count] cores=1800001
[    0.000000] sun7i_init_early: enter
[    0.000000] PERCPU: Embedded 7 pages/cpu @d0908000 s5760 r8192 d14720 u32768
[    0.000000] pcpu-alloc: s5760 r8192 d14720 u32768 alloc=8*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 210688
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 loglevel=8 panic=10 rootfstype=ext4 rootwait
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 64MB 768MB = 832MB total
[    0.000000] Memory: 832868k/832868k available, 215708k reserved, 270336K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc06e2670   (7018 kB)
[    0.000000]       .init : 0xc06e3000 - 0xc070f680   ( 178 kB)
[    0.000000]       .data : 0xc0710000 - 0xc0759420   ( 294 kB)
[    0.000000]        .bss : 0xc0759444 - 0xc08a7bc8   (1338 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:160
[    0.000000] aw_clkevt_init: timer base 0xf000cc00
[    0.000000] [aw_delay]: It is use use_time_delay function!
[    0.000000] aw_clksrc_init(96)
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] aw_clksrc_init(120)
[    0.000000] Architected local timer running at 24.00MHz.
[    0.000000] Console: colour dummy device 80x30
[    0.000473] Calibrating delay loop... 1915.28 BogoMIPS (lpj=9576448)
[    0.059956] pid_max: default: 32768 minimum: 301
[    0.060341] Mount-cache hash table entries: 512
[    0.061081] CPU: Testing write buffer coherency: ok
[    0.061415] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.061513] Setting up static identity map for 0x404e7f30 - 0x404e7f88
[    0.174392] CPU1: Booted secondary processor
[    0.231716] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.231812] Brought up 2 CPUs
[    0.231831] SMP: Total of 2 processors activated (3830.57 BogoMIPS).
[    0.232742] devtmpfs: initialized
[    0.237051] script_init enter!
[    0.237952] script_init exit!
[    0.238650] kworker/u:0 used greatest stack depth: 6624 bytes left
[    0.239720] print_constraints: dummy:
[    0.240411] NET: Registered protocol family 16
[    0.240707] sunxi_dump_init success
[    0.242267] kworker/u:0 used greatest stack depth: 6448 bytes left
[    0.242678] sun7i_init: enter
[    0.243276] [ccu-inf] aw clock manager init
[    0.243289] [ccu-inf] aw_ccu_init
[    0.243497] [ccu-inf] script config pll3 to 297MHz
[    0.243515] [ccu-inf] script config pll4 to 300MHz
[    0.243528] [ccu-inf] script config pll6 to 600MHz
[    0.243542] [ccu-inf] script config pll7 to 297MHz
[    0.243555] [ccu-inf] script config pll8 to 336MHz
[    0.244177] axp config [pmu_para] [pmu_used] : 1
[    0.244194] axp config [pmu_para] [pmu_twi_id] : 0
[    0.244205] axp config [pmu_para] [pmu_irq_id] : 32
[    0.244217] axp config [pmu_para] [pmu_twi_addr] : 52
[    0.244229] axp config [pmu_para] [pmu_battery_rdc] : 171
[    0.244241] axp config [pmu_para] [pmu_battery_cap] : 2700
[    0.244253] axp config [pmu_para] [pmu_init_chgcur] : 300
[    0.244266] axp config [pmu_para] [pmu_suspend_chgcur] : 1000
[    0.244278] axp config [pmu_para] [pmu_resume_chgcur] : 300
[    0.244291] axp config [pmu_para] [pmu_shutdown_chgcur] : 1000
[    0.244304] axp config [pmu_para] [pmu_init_chgvol] : 4200
[    0.244318] axp config [pmu_para] [pmu_init_chgend_rate] : 15
[    0.244330] axp config [pmu_para] [pmu_init_chg_enabled] : 1
[    0.244343] axp config [pmu_para] [pmu_init_adc_freq] : 100
[    0.244355] axp config [pmu_para] [pmu_init_adc_freqc] : 100
[    0.244368] axp config [pmu_para] [pmu_init_chg_pretime] : 50
[    0.244380] axp config [pmu_para] [pmu_init_chg_csttime] : 720
[    0.244392] axp config [pmu_para] [pmu_bat_para1] : 0
[    0.244404] axp config [pmu_para] [pmu_bat_para2] : 0
[    0.244416] axp config [pmu_para] [pmu_bat_para3] : 0
[    0.244428] axp config [pmu_para] [pmu_bat_para4] : 0
[    0.244440] axp config [pmu_para] [pmu_bat_para5] : 5
[    0.244452] axp config [pmu_para] [pmu_bat_para6] : 11
[    0.244464] axp config [pmu_para] [pmu_bat_para7] : 13
[    0.244476] axp config [pmu_para] [pmu_bat_para8] : 15
[    0.244488] axp config [pmu_para] [pmu_bat_para9] : 19
[    0.244500] axp config [pmu_para] [pmu_bat_para10] : 32
[    0.244512] axp config [pmu_para] [pmu_bat_para11] : 50
[    0.244524] axp config [pmu_para] [pmu_bat_para12] : 58
[    0.244536] axp config [pmu_para] [pmu_bat_para13] : 71
[    0.244548] axp config [pmu_para] [pmu_bat_para14] : 81
[    0.244560] axp config [pmu_para] [pmu_bat_para15] : 89
[    0.244572] axp config [pmu_para] [pmu_bat_para16] : 100
[    0.244585] axp config [pmu_para] [pmu_usbvol_limit] : 1
[    0.244598] axp config [pmu_para] [pmu_usbvol] : 4000
[    0.244610] axp config [pmu_para] [pmu_usbcur_limit] : 0
[    0.244622] axp config [pmu_para] [pmu_usbcur] : 0
[    0.244634] axp config [pmu_para] [pmu_pwroff_vol] : 3300
[    0.244647] axp config [pmu_para] [pmu_pwron_vol] : 2900
[    0.244659] axp config [target] [dcdc2_vol] : 1400
[    0.244670] axp config [target] [dcdc3_vol] : 1250
[    0.244681] axp config [target] [ldo2_vol] : 3000
[    0.244692] axp config [target] [ldo3_vol] : 2800
[    0.244703] axp config [target] [ldo4_vol] : 2800
[    0.244715] axp config [pmu_para] [pmu_pekoff_time] : 6000
[    0.244728] axp config [pmu_para] [pmu_pekoff_en] : 1
[    0.244740] axp config [pmu_para] [pmu_peklong_time] : 1500
[    0.244752] axp config [pmu_para] [pmu_pwrok_time] : 64
[    0.244764] axp config [pmu_para] [pmu_pwrnoe_time] : 2000
[    0.244777] axp config [pmu_para] [pmu_intotp_en] : 1
[    0.244788] axp config [pmu_para] [pmu_pekon_time] : 1000
[    0.245219] [gpio-inf] aw gpio init start
[    0.245254] [gpio-inf] gpio_clk_init: apb pio clk enable success
[    0.245496] gpiochip_add: registered GPIOs 0 to 17 on device: GPA
[    0.245692] gpiochip_add: registered GPIOs 24 to 47 on device: GPB
[    0.245876] gpiochip_add: registered GPIOs 54 to 78 on device: GPC
[    0.246069] gpiochip_add: registered GPIOs 85 to 112 on device: GPD
[    0.246243] gpiochip_add: registered GPIOs 119 to 130 on device: GPE
[    0.246475] gpiochip_add: registered GPIOs 137 to 142 on device: GPF
[    0.246710] gpiochip_add: registered GPIOs 149 to 160 on device: GPG
[    0.246899] gpiochip_add: registered GPIOs 167 to 194 on device: GPH
[    0.247086] gpiochip_add: registered GPIOs 201 to 222 on device: GPI
[    0.247471] [gpio-inf] aw gpio init done
[    0.286399] bio: create slab <bio-0> at 0
[    0.288424] SCSI subsystem initialized
[    0.289337] usbcore: registered new interface driver usbfs
[    0.289682] usbcore: registered new interface driver hub
[    0.289967] usbcore: registered new device driver usb
[    0.292052] -------------------------------------------
[    0.292071] axp_mfd_probe:axp20_mfd pmu probed !
[    0.292080] -------------------------------------------
[    0.294419] axp_mfd 0-0034: AXP (CHIP ID: 0x41) detected
[    0.295102] -------------------------------------------
[    0.295113] axp_mfd_probe:axp20_mfd pmu request_irq ok !
[    0.295122] -------------------------------------------
[    0.297007] I2C: i2c-0: sun7i I2C adapter
[    0.297020] **********start************
[    0.297029] 0x40
[    0.297037] 0xf8
[    0.297044] 0x58
[    0.297050] 0x0
[    0.297057] 0x0
[    0.297064] **********end************
[    0.297425] I2C: i2c-1: sun7i I2C adapter
[    0.297436] **********start************
[    0.297445] 0x40
[    0.297452] 0xf8
[    0.297459] 0x58
[    0.297466] 0x0
[    0.297473] 0x0
[    0.297481] **********end************
[    0.297819] I2C: i2c-2: sun7i I2C adapter
[    0.297831] **********start************
[    0.297839] 0x40
[    0.297847] 0xf8
[    0.297854] 0x28
[    0.297860] 0x0
[    0.297867] 0x0
[    0.297874] **********end************
[    0.298468] print_constraints: axp20_ldo1: 1300 mV
[    0.300169] print_constraints: axp20_ldo2: 1800 <--> 3300 mV at 3000 mV
[    0.301865] print_constraints: axp20_ldo3: 700 <--> 3500 mV at 2800 mV
[    0.303796] print_constraints: axp20_ldo4: 1250 <--> 3300 mV at 2800 mV
[    0.305489] print_constraints: axp20_buck2: 700 <--> 2275 mV at 1400 mV
[    0.307138] print_constraints: axp20_buck3: 700 <--> 3500 mV at 1250 mV
[    0.308172] print_constraints: axp20_ldoio0: 1800 <--> 3300 mV at 2800 mV
[    0.308990] gpiochip_add: registered GPIOs 229 to 233 on device: axp_pin
[    0.310254] Advanced Linux Sound Architecture Driver Version 1.0.24.
[    0.313793] Switching to clocksource arch_sys_counter
[    0.313881] cfg80211: Calling CRDA to update world regulatory domain
[    0.314367] FS-Cache: Loaded
[    0.314809] CacheFiles: Loaded
[    0.335909] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.336135] Line:1148:ohci_hcd_mod_init
[    0.336148] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.336335] line = 483,usb_manager_init
[    0.336346] [usb_manager]: CONFIG_USB_SW_SUN7I_USB0_OTG
[    0.336382] WRN:L252(drivers/usb/sun7i_usb/manager/usb_manager.c):ERR: get usbc0(usb_restrict) failed
[    0.336882] WRN:L770(drivers/usb/sun7i_usb/manager/usb_hw_scan.c):ERR: ac_enable gpio_request failed
[    0.336995] [sw_hcd0]: usb host driver initialize........
[    0.337095] [sw_hcd0]: open_usb_clock
[    0.356991] [sw_hcd0]: host_init_state = 0
[    0.357005] [sw_hcd0]: platform is usb host
[    0.357109] [sw_hcd0]: sw_hcd_init_controller: sw_hcd_host0: USB Host mode controller at f1c13000 using PIO, IRQ 70
[    0.357139] sw_hcd_host0 sw_hcd_host0: sw_hcd host driver
[    0.357158] sw_hcd_host0 sw_hcd_host0: new USB bus registered, assigned bus number 1
[    0.358261] hub 1-0:1.0: USB hub found
[    0.358291] hub 1-0:1.0: 1 port detected
[    0.358322] wrn: hcd is not enable, need not start hcd
[    0.358799] [sw_hcd0]: sw_usb_host0_disable start
[    0.358818] -------sw_hcd0_soft_disconnect---------
[    0.358832] [sw_hcd_host0]: Set USB Power OFF
[    0.358845] wrn: hcd is not enable, need not stop hcd
[    0.358880] [sw_hcd0]: close_usb_clock
[    0.358898] [sw_hcd0]: sw_usb_host0_disable end
[    0.359074] [sw_udc]: udc_init: version 20080411
[    0.359876] NET: Registered protocol family 2
[    0.360349] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.362860] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.367092] TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
[    0.368293] TCP: Hash tables configured (established 131072 bind 65536)
[    0.368308] TCP reno registered
[    0.368359] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.368433] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.368898] NET: Registered protocol family 1
[    0.369492] RPC: Registered named UNIX socket transport module.
[    0.369508] RPC: Registered udp transport module.
[    0.369517] RPC: Registered tcp transport module.
[    0.369527] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.369828] sunxi_reg_init enter
[    0.370315] [cpu_freq] INF:set ahb apb clock async
[    0.370364] [cpu_freq] INF:sunxi_cpufreq_initcall: clocks pll=960000000,cpu=960000000,axi=320000000,ahp=150000000,apb=75000000
[    0.370458] [cpu_freq] INF:try to get regulator(0xee9feb40) successed.
[    0.370879] [cpu_freq] INF:-------------------V-F Table-------------------
[    0.370895] [cpu_freq] INF:  voltage = 1450mv        frequency = 1008MHz
[    0.370906] [cpu_freq] INF:  voltage = 1400mv        frequency =  912MHz
[    0.370917] [cpu_freq] INF:  voltage = 1300mv        frequency =  864MHz
[    0.370929] [cpu_freq] INF:  voltage = 1200mv        frequency =  720MHz
[    0.370940] [cpu_freq] INF:  voltage = 1100mv        frequency =  528MHz
[    0.370952] [cpu_freq] INF:  voltage = 1000mv        frequency =  312MHz
[    0.370963] [cpu_freq] INF:  voltage = 1000mv        frequency =  144MHz
[    0.370974] [cpu_freq] INF:  voltage = 1000mv        frequency =    0MHz
[    0.370984] [cpu_freq] INF:-----------------------------------------------
[    0.371003] [cpu_freq] INF:sunxi_cpufreq_initcall, get cpu frequency from sysconfig, max freq: 912MHz, min freq: 60MHz
[    0.371025] [cpu_freq] DBG:cur: pll=960000000, cpudiv=1, axidiv=3
[    0.371157] [pm]aw_pm_init!
[    0.371168] standby_mode = 1.
[    0.371178] cpu0_en = 0.
[    0.371187] dram_selfresh_en = 1.
[    0.371197] wakeup src cnt is : 0.
[    0.371215] [wifi]: select wifi: ap6210 !!
[    0.371557] [ap6xxx]: module power name
[    0.371573] [ap6xxx]: ap6xxx module power set by axp.
[    0.371588] [ap6xxx]: get power regulator failed.
[    0.371619] [wifi_pm]: wifi gpio init is OK !!
[    0.373622] highmem bounce pool size: 64 pages
[    0.376836] NTFS driver 2.1.30 [Flags: R/W].
[    0.377093] fuse init (API version 7.18)
[    0.378330] msgmni has been set to 1098
[    0.379812] io scheduler noop registered
[    0.379828] io scheduler deadline registered (default)
[    0.388846] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.391998] ttyS0: autoconf (0x0000, 0xf0032000, 0x1c28000): type=U6_16550A
[    0.392032] serial8250.0: ttyS0 at MMIO 0x1c28000 (irq = 33) is a U6_16550A
[    1.729471] console [ttyS0] enabled
[    1.734937] [uart-inf] sw_serial_init: uart used: 0x5
[    1.740060] [uart-inf] sw_serial_probe: uart0 probe
[    1.745250] [uart-inf] sw_serial_probe: uart0 have been register as console
[    1.752208] [uart-inf] sw_serial_probe: uart0 probe done
[    1.757575] [uart-inf] sw_serial_probe: uart2 probe
[    1.763014] ttyS1: autoconf (0x0000, 0xf0034800, 0x1c28800): type=U6_16550A
[    1.770118] sunxi-uart.2: ttyS1 at MMIO 0x1c28800 (irq = 35) is a U6_16550A
[    1.777590] [uart-inf] sw_serial_probe: uart2 probe done
[    1.784038] G2D: drv_g2d_init
[    1.787014] G2D: g2dmem: g2d_start=49000000, g2d_size=1000000
[    1.793039] G2D: head:f2000000,tail:f3000000
[    1.797616] G2D: Module initialized.major:253
[    1.802778] sunmm_probe, line 269
[    1.812894] loop: module loaded
[    1.816902] [sunxi_emac]: Init wemac Ethernet Driver, V3.00
[    1.824150] PPP generic driver version 2.4.2
[    1.828915] PPP BSD Compression module registered
[    1.833624] PPP Deflate Compression module registered
[    1.839683] PPP MPPE Compression module registered
[    1.844511] NET: Registered protocol family 24
[    1.848993] PPTP driver version 0.8.5
[    1.853898] [sw_hci_sun4i_init 1254]
[    1.857496] WRN:L163(drivers/usb/host/sw_hci_sun7i.c):ERR: sw-ehci1(restrict_gpio) is invalid
[    1.866107] WRN:L163(drivers/usb/host/sw_hci_sun7i.c):ERR: sw-ohci1(restrict_gpio) is invalid
[    1.874735] WRN:L163(drivers/usb/host/sw_hci_sun7i.c):ERR: sw-ehci2(restrict_gpio) is invalid
[    1.883294] WRN:L163(drivers/usb/host/sw_hci_sun7i.c):ERR: sw-ohci2(restrict_gpio) is invalid
[    1.892282] [sw-ehci1]: probe, pdev->name: sw-ehci, pdev->id: 1, sw_ehci: 0xc079cf60
[    1.900095] [sw-ehci1]: open clock
[    1.923360] [sw-ehci1]: open clock, 0x60(0x2c142), 0xcc(0x102)
[    1.929206] [sw-ehci1]: Set USB Power ON
[    1.933135] sw-ehci sw-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.940653] sw-ehci sw-ehci.1: new USB bus registered, assigned bus number 2
[    1.947887] sw-ehci sw-ehci.1: irq 71, io mem 0xf1c14000
[    1.953196] [ehci_run 736]
[    1.973873] sw-ehci sw-ehci.1: USB 0.0 started, EHCI 1.00
[    1.980289] hub 2-0:1.0: USB hub found
[    1.984117] hub 2-0:1.0: 1 port detected
[    1.988778] [sw-ohci1]: probe, pdev->name: sw-ohci, pdev->id: 1, sw_ohci: 0xc079d074
[    1.996582] [sw-ohci1]: open clock
[    2.019846] [sw-ohci1]: open clock, 0x60(0x2c146), 0xcc(0x162)
[    2.025698] [sw_ohci_hcd_probe 359]:reg(0xf1c20060) = 2c146
[    2.031270] sw-ohci sw-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    2.038436] sw-ohci sw-ohci.1: new USB bus registered, assigned bus number 3
[    2.045719] sw-ohci sw-ohci.1: irq 96, io mem 0xf1c14400
[    2.108734] hub 3-0:1.0: USB hub found
[    2.112523] hub 3-0:1.0: 1 port detected
[    2.117191] [sw-ehci2]: probe, pdev->name: sw-ehci, pdev->id: 2, sw_ehci: 0xc079d188
[    2.124998] [sw-ehci2]: open clock
[    2.148259] [sw-ehci2]: open clock, 0x60(0x2c14e), 0xcc(0x166)
[    2.154106] [sw-ehci2]: Set USB Power ON
[    2.158031] sw-ehci sw-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.165539] sw-ehci sw-ehci.2: new USB bus registered, assigned bus number 4
[    2.172702] sw-ehci sw-ehci.2: irq 72, io mem 0xf1c1c000
[    2.178092] [ehci_run 736]
[    2.193873] sw-ehci sw-ehci.2: USB 0.0 started, EHCI 1.00
[    2.200156] hub 4-0:1.0: USB hub found
[    2.203951] hub 4-0:1.0: 1 port detected
[    2.208558] [sw-ohci2]: probe, pdev->name: sw-ohci, pdev->id: 2, sw_ohci: 0xc079d29c
[    2.216415] [sw-ohci2]: open clock
[    2.239679] [sw-ohci2]: open clock, 0x60(0x2c15e), 0xcc(0x1e6)
[    2.245523] [sw_ohci_hcd_probe 359]:reg(0xf1c20060) = 2c15e
[    2.251095] sw-ohci sw-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    2.258258] sw-ohci sw-ohci.2: new USB bus registered, assigned bus number 5
[    2.265412] sw-ohci sw-ohci.2: irq 97, io mem 0xf1c1c400
[    2.328731] hub 5-0:1.0: USB hub found
[    2.332504] hub 5-0:1.0: 1 port detected
[    2.336955] Initializing USB Mass Storage driver...
[    2.342166] usbcore: registered new interface driver usb-storage
[    2.348234] USB Mass Storage support registered.
[    2.353322] usbcore: registered new interface driver usbserial
[    2.359182] usbserial: USB Serial Driver core
[    2.363741] USB Serial support registered for GSM modem (1-port)
[    2.370122] usbcore: registered new interface driver option
[    2.375717] option: v0.7.2:USB Driver for GSM modems
[    2.381212] [sw_udc]: [sw_usb_udc]: binding gadget driver 'android_usb'
[    2.387894] [sw_udc]: alloc request: ep(0xc073b850, ep0, 64), req(0xef170640)
[    2.395156] WRN:L2583(drivers/usb/sun7i_usb/udc/sw_udc.c):ERR: usb device is not active
[    2.403172] [sw_udc]: sw_udc_pullup, is_on = 0
[    2.407646] WRN:L2618(drivers/usb/sun7i_usb/udc/sw_udc.c):ERR: usb device is not active
[    2.419044] android_usb gadget: Mass Storage Function, version: 2009/09/11
[    2.425960] android_usb gadget: Number of LUNs=2
[    2.430578]  lun0: LUN: removable file: (no medium)
[    2.435624]  lun1: LUN: removable file: (no medium)
[    2.441152] WRN:L2583(drivers/usb/sun7i_usb/udc/sw_udc.c):ERR: usb device is not active
[    2.449221] android_usb gadget: android_usb ready
[    2.454736] mousedev: PS/2 mouse device common for all mice
[    2.460677] input: sw-keyboard as /devices/virtual/input/input0
[    2.467092] =====ctp_fetch_sysconfig_para=====.
[    2.472265] sunxi_rtc_init: enter
[    2.475956] rtc_hw_init(351): start
[    2.479547] rtc_hw_init(379): end
[    2.482925] sunxi_rtc_gettime, line 38
[    2.486743] sunxi_rtc_gettime(56): rtc_tm->tm_year:0
[    2.491705] sunxi_rtc_gettime(58): year < 70, so add 100, to check
[    2.497982] sunxi_rtc_gettime(64): read time 2000-1-1 0:4:54
[    2.503644] sunxi_rtc_getalarm(227): year < 70, so add 100, to check
[    2.510027] sunxi_rtc_getalarm(239): get alarm time 2000-1-1 0:0:0
[    2.516853] using rtc device, rtc, for alarms
[    2.521087] sunxi-rtc sunxi-rtc: rtc core: registered rtc as rtc0
[    2.527630] i2c /dev entries driver
[    2.532563] lirc_dev: IR Remote Control driver registered, major 250
[    2.539069] IR NEC protocol handler initialized
[    2.543607] IR RC5(x) protocol handler initialized
[    2.548444] IR RC6 protocol handler initialized
[    2.552973] IR JVC protocol handler initialized
[    2.557516] IR Sony protocol handler initialized
[    2.562130] IR RC5 (streamzap) protocol handler initialized
[    2.567707] IR SANYO protocol handler initialized
[    2.572407] IR MCE Keyboard/mouse protocol handler initialized
[    2.578244] IR LIRC bridge handler initialized
[    2.582686] Linux video capture interface: v2.00
[    2.587825] [hx-cedar dev]: install start!!!
[    2.593243] [cedar dev]: install end!!!
[    2.597605] input: axp20-supplyer as /devices/platform/sun7i-i2c.0/i2c-0/0-0034/axp20-supplyer.28/input/input1
[    2.613748] kworker/u:0 used greatest stack depth: 6360 bytes left
[    2.623642] pmu_pekoff_time = 6000
[    2.627074] pmu_pekoff_en = 1
[    2.630040] pmu_peklong_time = 1500
[    2.633525] pmu_pekon_time = 1000
[    2.636934] pmu_pwrok_time = 64
[    2.640076] pmu_pwrnoe_time = 2000
[    2.643474] pmu_intotp_en = 1
[    2.647066] [AXP]POWER20_OFF_CTL:2044-->0x42
[    2.651932] POWER20_PEK_SET:2061-->0x9d
[    2.656469] POWER20_PEK_SET:2072-->0x9d
[    2.660903] POWER20_PEK_SET:2081-->0x9d
[    2.665357] POWER20_PEK_SET:2092-->0x9d
[    2.669788] POWER20_PEK_SET:2104-->0x9d
[    2.674220] POWER20_HOTOVER_CTL:2113-->0xad
[    2.682958] [AXP]last_rest_vol = 0, now_rest_vol     = 100
[    2.690127] [AXP]Cur_CoulombCounter  = 0
[    2.693975] [AXP]charger->rest_vol = 100
[    2.702840] create_regulator: axp20_ldo2: Failed to create debugfs directory
[    2.709979] regulator_virtual_consumer_probe:get regulator:axp20_analog/fm ok
[    2.717469] regulator_virtual_consumer_probe:get regulator:axp20_pll ok
[    2.724456] regulator_virtual_consumer_probe:get regulator:axp20_hdmi ok
[    2.731434] create_regulator: axp20_buck2: Failed to create debugfs directory
[    2.738622] regulator_virtual_consumer_probe:get regulator:axp20_core ok
[    2.745809] regulator_virtual_consumer_probe:get regulator:axp20_ddr ok
[    2.752722] regulator_virtual_consumer_probe:get regulator:axp20_mic ok
[    2.760246] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-d...@redhat.com
[    2.769102] device-mapper: multipath: version 1.3.0 loaded
[    2.774671] device-mapper: multipath round-robin: version 1.0.0 loaded
[    2.781202] device-mapper: multipath queue-length: version 0.1.0 loaded
[    2.787851] device-mapper: multipath service-time: version 0.2.0 loaded
[    2.794820] [cpu_freq] DBG:target frequency find is 912000000, entry 37
[    2.801435] [cpu_freq] DBG:cur: pll=960000000, cpudiv=1, axidiv=3
[    2.807552] [cpu_freq] DBG:new: pll=912000000, cpudiv=1, axidiv=3
[    2.813647] [cpu_freq] INF:cpu: 960Mhz->912Mhz
[    2.818596] [cpu_freq] DBG:sunxi_cpufreq_settarget: finished
[    2.824778] [mmc-msg] sw_mci_init
[    2.828168] [mmc-msg] MMC host used card: 0xf, boot card: 0x0, io_card 8
[    2.836629] [mmc-msg] sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    2.846793] [mmc-msg] sdc0 Probe: base:0xf003e000 irq:64 sg_cpu:ffdf7000(43c00000) ret 0.
[    2.855564] [mmc-msg] sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    2.865807] [mmc-msg] sdc1 Probe: base:0xf0094000 irq:65 sg_cpu:ffdf6000(43c01000) ret 0.
[    2.874536] [mmc-msg] sdc2 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    2.884611] [mmc-msg] sdc2 Probe: base:0xf0096000 irq:66 sg_cpu:ffdf5000(43c02000) ret 0.
[    2.893332] [mmc-msg] sdc3 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    2.903482] [mmc-msg] sdc3 Probe: base:0xf0098000 irq:67 sg_cpu:ffdf4000(43c03000) ret 0.
[    2.915236] usbcore: registered new interface driver usbhid
[    2.920813] usbhid: USB HID core driver
[    2.925850] ashmem: initialized
[    2.929279] logger: created 256K log 'log_main'
[    2.934160] logger: created 256K log 'log_events'
[    2.939133] logger: created 256K log 'log_radio'
[    2.944084] logger: created 256K log 'log_system'
[    2.950730] value is 0
[    2.955750] asoc: sndhdmi <-> sun7i-hdmiaudio.0 mapping ok
[    2.962545] [SPDIF]sun7i-spdif cannot find any using configuration for controllers, return directly!
[    2.972920] [SPDIF]sun7i_sndspdif cannot find any using configuration for controllers, return directly!
[    2.982515] [I2S]sun7i-i2s cannot find any using configuration for controllers, return directly!
[    2.992491] [I2S]sun7i_sndi2s cannot find any using configuration for controllers, return directly!
[    3.001595] ALSA device list:
[    3.004580]   #0: sndhdmi
[    3.007421] Netfilter messages via NETLINK v0.30.
[    3.012219] nf_conntrack version 0.5.0 (13013 buckets, 52052 max)
[    3.019537] ctnetlink v0.93: registering with nfnetlink.
[    3.025050] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
[    3.032010] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
[    3.039106] xt_time: kernel timezone is -0000
[    3.043519] IPv4 over IPv4 tunneling driver
[    3.048837] GRE over IPv4 demultiplexor driver
[    3.053110] GRE over IPv4 tunneling driver
[    3.058938] ip_tables: (C) 2000-2006 Netfilter Core Team
[    3.064507] TCP cubic registered
[    3.067739] Initializing XFRM netlink socket
[    3.072456] NET: Registered protocol family 10
[    3.078357] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    3.084032] IPv6 over IPv4 tunneling driver
[    3.090753] NET: Registered protocol family 17
[    3.095430] NET: Registered protocol family 15
[    3.099882] L2TP core driver, V2.0
[    3.103296] PPPoL2TP kernel driver, V2.0
[    3.107287] L2TP IP encapsulation support (L2TPv3)
[    3.112222] L2TP netlink interface
[    3.115681] L2TP ethernet pseudowire support (L2TPv3)
[    3.120732] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4
[    3.128426] ThumbEE CPU extension supported.
[    3.134779] regulator_init_complete: axp20_buck3: incomplete constraints, leaving on
[    3.142863] regulator_init_complete: axp20_buck2: incomplete constraints, leaving on
[    3.151012] regulator_init_complete: axp20_ldo4: incomplete constraints, leaving on
[    3.159018] regulator_init_complete: axp20_ldo3: incomplete constraints, leaving on
[    3.167023] regulator_init_complete: axp20_ldo2: incomplete constraints, leaving on
[    3.175024] regulator_init_complete: axp20_ldo1: incomplete constraints, leaving on
[    3.183016] dhd_customer_gpio_wlan_ctrl: call customer specific GPIO to turn on WL_REG_ON
[    3.191253] [dhd_customer_gpio_wlan_ctrl 173]
[    3.195635] [ap6xxx]: succeed to set gpio ap6xxx_wl_regon to 1 !
[    3.300873] [ap6xxx]: sdio wifi power state: on
[    3.305415] [dhd_customer_gpio_wlan_ctrl 175]
[    3.309771] sw_mci_rescan_card
[    3.312871] [mmc-msg] sdc0 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    3.313042] =========== WLAN placed in POWER ON ========
[    3.343883] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    3.426217] [mmc-err] smc 0 err, cmd 52,  RTO
[    3.431398] [mmc-err] smc 0 err, cmd 52,  RTO
[    3.435774] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    3.447571] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    3.459122] [mmc-err] smc 0 err, cmd 5,  RTO
[    3.464211] [mmc-err] smc 0 err, cmd 5,  RTO
[    3.469301] [mmc-err] smc 0 err, cmd 5,  RTO
[    3.474391] [mmc-err] smc 0 err, cmd 5,  RTO
[    3.479311] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    3.488746] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    3.500540] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    3.536765] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[    3.546114] [mmc-msg] sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[    3.610719] [mmc-msg] sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[    3.620246] mmc0: new high speed SDHC card at address 0002
[    3.626449] mmcblk0: mmc0:0002 00000 3.70 GiB
[    3.632911]  mmcblk0: p1 p2
[    5.303900]
[    5.303907] failed to power up wifi chip, retry again (4 left) **
[    5.303914]
[    5.313236] dhd_customer_gpio_wlan_ctrl: call customer specific GPIO to turn off WL_REG_ON
[    5.321581] [ap6xxx]: succeed to set gpio ap6xxx_wl_regon to 0 !
[    5.431094] [ap6xxx]: sdio wifi power state: off
[    5.435728] sw_mci_rescan_card
[    5.438802] =========== WLAN placed in POWER OFF ========
[    5.438871] mmc_sd_detect(mmc0): Unable to re-detect card (-123)
[    5.438933] mmc0: card 0002 removed
[    5.454035] dhd_customer_gpio_wlan_ctrl: call customer specific GPIO to turn on WL_REG_ON
[    5.462230] [dhd_customer_gpio_wlan_ctrl 173]
[    5.466618] [ap6xxx]: succeed to set gpio ap6xxx_wl_regon to 1 !
[    5.474430] [mmc-msg] sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.571858] [ap6xxx]: sdio wifi power state: on
[    5.576404] [dhd_customer_gpio_wlan_ctrl 175]
[    5.580758] sw_mci_rescan_card
[    5.583843] [mmc-msg] sdc0 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.584022] =========== WLAN placed in POWER ON ========
[    5.613882] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.696211] [mmc-err] smc 0 err, cmd 52,  RTO
[    5.701393] [mmc-err] smc 0 err, cmd 52,  RTO
[    5.705770] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.717568] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.729116] [mmc-err] smc 0 err, cmd 5,  RTO
[    5.734205] [mmc-err] smc 0 err, cmd 5,  RTO
[    5.739295] [mmc-err] smc 0 err, cmd 5,  RTO
[    5.744385] [mmc-err] smc 0 err, cmd 5,  RTO
[    5.749310] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.758746] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.770542] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.806754] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[    5.816100] [mmc-msg] sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[    5.880704] [mmc-msg] sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[    5.890232] mmc0: new high speed SDHC card at address 0002
[    5.896373] mmcblk0: mmc0:0002 00000 3.70 GiB
[    5.902774]  mmcblk0: p1 p2
[    7.583896]
[    7.583901] failed to power up wifi chip, retry again (3 left) **
[    7.583908]
[    7.593229] dhd_customer_gpio_wlan_ctrl: call customer specific GPIO to turn off WL_REG_ON
[    7.601570] [ap6xxx]: succeed to set gpio ap6xxx_wl_regon to 0 !
[    7.706831] [ap6xxx]: sdio wifi power state: off
[    7.711447] sw_mci_rescan_card
[    7.714535] =========== WLAN placed in POWER OFF ========
[    7.714604] mmc_sd_detect(mmc0): Unable to re-detect card (-123)
[    7.714665] mmc0: card 0002 removed
[    7.729748] dhd_customer_gpio_wlan_ctrl: call customer specific GPIO to turn on WL_REG_ON
[    7.742911] [mmc-msg] mmc 0 detect change, present 1
[    7.747921] [dhd_customer_gpio_wlan_ctrl 173]
[    7.748745] [mmc-msg] sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    7.749874] [mmc-msg] sdc0 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    7.770276] [ap6xxx]: succeed to set gpio ap6xxx_wl_regon to 1 !
[    7.773968] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    7.846205] [mmc-err] smc 0 err, cmd 52,  RTO
[    7.851388] [mmc-err] smc 0 err, cmd 52,  RTO
[    7.855778] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    7.867584] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    7.879131] [mmc-err] smc 0 err, cmd 5,  RTO
[    7.884221] [mmc-err] smc 0 err, cmd 5,  RTO
[    7.884904] [ap6xxx]: sdio wifi power state: on
[    7.884914] [dhd_customer_gpio_wlan_ctrl 175]
[    7.884922] sw_mci_rescan_card
[    7.885132] =========== WLAN placed in POWER ON ========
[    7.906515] [mmc-err] smc 0 err, cmd 5,  RTO
[    7.911605] [mmc-err] smc 0 err, cmd 5,  RTO
[    7.916528] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    7.925963] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    7.937758] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    7.976754] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[    7.986103] [mmc-msg] sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[    8.050714] [mmc-msg] sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[    8.060378] mmc0: new high speed SDHC card at address 0002
[    8.066579] mmcblk0: mmc0:0002 00000 3.70 GiB
[    8.072889]  mmcblk0: p1 p2
[    9.883899]
[    9.883906] failed to power up wifi chip, retry again (2 left) **
[    9.883913]
[    9.893210] dhd_customer_gpio_wlan_ctrl: call customer specific GPIO to turn off WL_REG_ON
[    9.901543] [ap6xxx]: succeed to set gpio ap6xxx_wl_regon to 0 !
[   10.006798] [ap6xxx]: sdio wifi power state: off
[   10.011414] sw_mci_rescan_card
[   10.014746] =========== WLAN placed in POWER OFF ========
[   10.014817] mmc_sd_detect(mmc0): Unable to re-detect card (-123)
[   10.014883] mmc0: card 0002 removed
[   10.029982] dhd_customer_gpio_wlan_ctrl: call customer specific GPIO to turn on WL_REG_ON
[   10.038209] [dhd_customer_gpio_wlan_ctrl 173]
[   10.042574] [ap6xxx]: succeed to set gpio ap6xxx_wl_regon to 1 !
[   10.049089] [mmc-msg] sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[   10.148825] [mmc-msg] mmc 0 detect change, present 1
[   10.157348] [ap6xxx]: sdio wifi power state: on
[   10.161879] [dhd_customer_gpio_wlan_ctrl 175]
[   10.166250] sw_mci_rescan_card
[   10.169504] =========== WLAN placed in POWER ON ========
[   10.643892] [mmc-msg] sdc0 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[   10.673874] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[   10.756207] [mmc-err] smc 0 err, cmd 52,  RTO
[   10.761389] [mmc-err] smc 0 err, cmd 52,  RTO
[   10.765765] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[   10.777564] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[   10.789119] [mmc-err] smc 0 err, cmd 5,  RTO
[   10.794209] [mmc-err] smc 0 err, cmd 5,  RTO
[   10.799299] [mmc-err] smc 0 err, cmd 5,  RTO
[   10.804389] [mmc-err] smc 0 err, cmd 5,  RTO
[   10.809309] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[   10.818743] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[   10.830536] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[   10.866757] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[   10.876106] [mmc-msg] sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[   10.940714] [mmc-msg] sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[   10.950238] mmc0: new high speed SDHC card at address 0002
[   10.956388] mmcblk0: mmc0:0002 00000 3.70 GiB
[   10.962757]  mmcblk0: p1 p2
[   12.173903]
[   12.173909] failed to power up wifi chip, retry again (1 left) **
[   12.173916]
[   12.183263] dhd_customer_gpio_wlan_ctrl: call customer specific GPIO to turn off WL_REG_ON
[   12.191607] [ap6xxx]: succeed to set gpio ap6xxx_wl_regon to 0 !
[   12.296861] [ap6xxx]: sdio wifi power state: off
[   12.301478] sw_mci_rescan_card
[   12.304569] =========== WLAN placed in POWER OFF ========
[   12.304642] mmc_sd_detect(mmc0): Unable to re-detect card (-123)
[   12.304709] mmc0: card 0002 removed
[   12.319474]
[   12.319480] failed to power up wifi chip, max retry reached, exits **
[   12.319487]
[   12.320501] [mmc-msg] sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[   12.337956] sunxi_rtc_gettime, line 38
[   12.341707] sunxi_rtc_gettime(56): rtc_tm->tm_year:0
[   12.346685] sunxi_rtc_gettime(58): year < 70, so add 100, to check
[   12.352865] sunxi_rtc_gettime(64): read time 2000-1-1 0:5:4
[   12.358488] sunxi-rtc sunxi-rtc: setting system clock to 2000-01-01 00:05:04 UTC (946685104)
[   12.367497] Waiting for root device /dev/mmcblk0p2...
[   12.548825] [mmc-msg] mmc 0 detect change, present 1
[   13.043897] [mmc-msg] sdc0 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[   13.073875] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[   13.156203] [mmc-err] smc 0 err, cmd 52,  RTO
[   13.161388] [mmc-err] smc 0 err, cmd 52,  RTO
[   13.165765] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[   13.177563] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[   13.189113] [mmc-err] smc 0 err, cmd 5,  RTO
[   13.194203] [mmc-err] smc 0 err, cmd 5,  RTO
[   13.199292] [mmc-err] smc 0 err, cmd 5,  RTO
[   13.204383] [mmc-err] smc 0 err, cmd 5,  RTO
[   13.209303] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[   13.218736] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[   13.230535] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[   13.266756] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[   13.276103] [mmc-msg] sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[   13.340706] [mmc-msg] sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[   13.350232] mmc0: new high speed SDHC card at address 0002
[   13.356429] mmcblk0: mmc0:0002 00000 3.70 GiB
[   13.362777]  mmcblk0: p1 p2
[   13.681147] EXT4-fs (mmcblk0p2): recovery complete
[   13.685998] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[   13.694158] VFS: Mounted root (ext4 filesystem) on device 179:2.
[   13.712277] devtmpfs: mounted
[   13.715726] Freeing init memory: 176K
modprobe: FATAL: Could not load /lib/modules/3.3.0/modules.dep: [   13.946271] modprobe used greatest stack depth: 5704 bytes left
No such file or directory

INIT: version 2.88 booting
Using makefile-style concurrent boot in runlevel S.
[   14.212321] mount used greatest stack depth: 5136 bytes left
Starting the hotplug events dispatcher: udevd[   14.511490] udev[813]: starting version 164
.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...done.
Activating swap...done.
[   15.648316] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Checking root file system...fsck from util-linux-ng 2.17.2
[   15.862836] fsck.ext3 used greatest stack depth: 4968 bytes left
/dev/mmcblk0p2: clean, 9873/123904 files, 90064/495360 blocks
done.
[   15.889674] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
Cleaning up ifupdown....
Setting up networking....
Loading kernel modules...done.
Activating lvm and md swap...done.
Checking file systems...fsck from util-linux-ng 2.17.2
done.
Mounting local filesystems...done.
Activating swapfile swap...done.
Cleaning up temporary files....
Configuring network interfaces...Internet Systems Consortium DHCP Client 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

[   17.273880] Reset the phy is timeout!!
[   17.277808] wemac wemac.0: eth0: link up, 100Mbps, full-duplex, lpa 0xFFFF
[   17.311398] dhclient-script used greatest stack depth: 4928 bytes left
Listening on LPF/eth0/16:32:f5:aa:06:14
Sending on   LPF/eth0/16:32:f5:aa:06:14
Sending on   Socket/fallback
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPREQUEST on eth0 to 255.255.255.255 port 67
[   27.553862] eth0: no IPv6 routers present
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4

DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 20
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
No DHCPOFFERS received.
Trying recorded lease 192.168.1.123
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.

--- 192.168.1.1 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms

Trying recorded lease 192.168.1.120
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.

--- 192.168.1.1 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms

Trying recorded lease 192.168.1.108
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.

--- 192.168.1.1 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms

Trying recorded lease 192.168.1.118
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.

--- 192.168.1.1 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms

Trying recorded lease 192.168.1.119
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.

--- 192.168.1.1 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms

No working leases in persistent database - sleeping.
modprobe: FATAL: Could not load /lib/modules/3.3.0/modules.dep: No such file or directory

modprobe: FATAL: Could not load /lib/modules/3.3.0/modules.dep: No such file or directory

Cannot find device "wlan0"
Failed to bring up wlan0.
done.
Cleaning up temporary files....
Setting up ALSA...warning: 'alsactl restore' failed with error message 'No state is present for card sndhdmi
Unknown hardware: "sndhdmi" "" "" "" ""
Hardware is initialized using a guess method
No state is present for card sndhdmi'...done.
Setting kernel variables ...done.
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
[  111.988164] sshd (1490): /proc/1490/oom_adj is deprecated, please use /proc/1490/oom_score_adj instead.
Starting OpenBSD Secure Shell server: sshd.

Debian GNU/Linux 6.0 debian ttyS0

debian login: root
Password:


Regards
Punith

jons...@gmail.com

unread,
Jan 11, 2014, 12:46:03 AM1/11/14
to linux...@googlegroups.com, nils...@gmail.com
Do you get messages is you unplug/plug cable?

[  300.192697] sunxi_emac sunxi_emac.0: eth0: link down
[  302.195548] sunxi_emac sunxi_emac.0: eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1



--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.



--
Jon Smirl
jons...@gmail.com

Puneet B

unread,
Jan 11, 2014, 12:59:39 AM1/11/14
to linux...@googlegroups.com, nils...@gmail.com
Hi Jon,

I did not get any message while plug an unplug.

Regards
Punith

jons...@gmail.com

unread,
Jan 11, 2014, 1:04:34 AM1/11/14
to linux...@googlegroups.com, nils...@gmail.com
On Sat, Jan 11, 2014 at 12:59 AM, Puneet B <puni...@gmail.com> wrote:
Hi Jon,

I did not get any message while plug an unplug.

Check the cable and Ethernet switch on another machine.
 

Regards
Punith

--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Jon Smirl
jons...@gmail.com

Puneet B

unread,
Jan 11, 2014, 1:13:36 AM1/11/14
to linux...@googlegroups.com, nils...@gmail.com
Hi Jon,

Yes it is working with my pc.

Regards
Punith

jons...@gmail.com

unread,
Jan 11, 2014, 1:24:37 AM1/11/14
to linux...@googlegroups.com, nils...@gmail.com
Do you have the right mac turned on in the kernel? My A20 one says:

root@linaro-developer:~# dmesg | grep mac
[    1.419880] sunxi_emac Using mii phy on PortA
[    1.438968] sunxi_emac Using MAC from SID: 02:8f:0b:41:a4:92
[   10.352947] sunxi_emac sunxi_emac.0: eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
root@linaro-developer:~# 


--
You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Jon Smirl
jons...@gmail.com

Puneet B

unread,
Jan 11, 2014, 1:37:34 AM1/11/14
to linux...@googlegroups.com, nils...@gmail.com
 Hi Jon

This will be my output

root@debian:/# dmesg | grep mac
[    1.814896] [sunxi_emac]: Init wemac Ethernet Driver, V3.00
[   17.994954] wemac wemac.0: eth0: link up, 100Mbps, full-duplex, lpa 0xFFFF
[   28.042923] NETDEV WATCHDOG: eth0 (wemac): transmit queue 0 timed out
[   28.184702] wemac wemac.0: tx time out.
[   38.031051] wemac wemac.0: tx time out.
[   48.031066] wemac wemac.0: tx time out.
[   58.031052] wemac wemac.0: tx time out.
[   68.031052] wemac wemac.0: tx time out.

Regards
Punith

Puneet B

unread,
Jan 11, 2014, 7:48:56 AM1/11/14
to linux...@googlegroups.com, nils...@gmail.com
 Hi all,

Actually i am using humming board.

here i am atttaching schematic of humming board also.

my emac config as per schematic is:

;-------------------------------------------------------------------------------
;Ethernet MAC configuration
;-------------------------------------------------------------------------------
[emac_para]
emac_used           = 1
emac_rxd3           = port:PA00<2><default><default><default>
emac_rxd2           = port:PA01<2><default><default><default>
emac_rxd1           = port:PA02<2><default><default><default>
emac_rxd0           = port:PA03<2><default><default><default>
emac_txd3           = port:PA04<2><default><default><default>
emac_txd2           = port:PA05<2><default><default><default>
emac_txd1           = port:PA06<2><default><default><default>
emac_txd0           = port:PA07<2><default><default><default>
emac_rxclk          = port:PA08<2><default><default><default>
emac_rxerr          = port:PA09<2><default><default><default>
emac_rxdV           = port:PA10<2><default><default><default>
emac_mdc            = port:PA11<2><default><default><default>
emac_mdio           = port:PA12<2><default><default><default>
emac_txen           = port:PA13<2><default><default><default>
emac_txclk          = port:PA14<2><default><default><default>
emac_crs            = port:PA15<2><default><default><default>
emac_col            = port:PA16<2><default><default><default>
emac_reset          = port:PA17<1><default><default><default>
emac_power          = port:PH16<1><default><default><0>
;-------------------------------------------------------------------------------

[dynamic]
MAC = "926786f392ef"

 and in kernel i selected fallowing driver:
         
 <*>   Allwinner Ethernet MAC support           
 <*>   Sunxi platform 10/100/1000Mbps Ethernet driver               

But still my ethernet is not yet working.

Here i am attaching my kernel log also.

Kindly tell me what will be the issue. i am sure there is no issue with hardware.

Regards
Punith



A20.pdf
debianlog.txt

Puneet B

unread,
Jan 11, 2014, 8:02:36 AM1/11/14
to linux...@googlegroups.com, nils...@gmail.com
Here i updated kernel to 3.4 .

then also have the same issue.

My log is:

Using machid 0x10bb from environment

Starting kernel ...

<6>Booting Linux on physical CPU 0
<6>Initializing cgroup subsys cpuset
<6>Initializing cgroup subsys cpu
<5>Linux version 3.4.75-00001-g9cfbbed-dirty (embdes@embdes-desktop) (gcc version 4.6.3 20120201 (prerelease) (crosstool-NG linaro-1.13.1-2012.4
CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d

CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: sun7i
<6>Memory cut off:
<6>     MALI : 0x5c000000 - 0x5fffffff  (  64 MB)
<4>Ignoring unrecognised tag 0x00000000
<6>Memory Reserved:
<6>     SYS  : 0x43000000 - 0x4300ffff  (  64 kB)
<6>     VE   : 0x44000000 - 0x48ffffff  (  80 MB)
<6>     G2D  : 0x49000000 - 0x49ffffff  (  16 MB)
<6>     LCD  : 0x5a000000 - 0x5bffffff  (  32 MB)

Memory policy: ECC disabled, Data cache writealloc
<6>sunxi: Allwinner A20 (AW1651/sun7i) detected.
<7>On node 0 totalpages: 245760
<7>free_area_init_node: node 0, pgdat c091d440, node_mem_map d0000000
<7>  DMA zone: 512 pages used for memmap
<7>  DMA zone: 0 pages reserved
<7>  DMA zone: 65024 pages, LIFO batch:15
<7>  Normal zone: 1008 pages used for memmap
<7>  Normal zone: 111632 pages, LIFO batch:31
<7>  HighMem zone: 528 pages used for memmap
<7>  HighMem zone: 67056 pages, LIFO batch:15
<6>PERCPU: Embedded 7 pages/cpu @d0808000 s7616 r8192 d12864 u32768
<7>pcpu-alloc: s7616 r8192 d12864 u32768 alloc=8*4096<c>
<7>pcpu-alloc: <c>[0] <c>0 <c>[0] <c>1 <c>
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 243712
<5>Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 loglevel=8 panic=10 rootfstype=ext4 rootwait
<6>PID hash table entries: 4096 (order: 2, 16384 bytes)
<6>Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
<6>Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
<6>allocated 2097152 bytes of page_cgroup
<6>please try 'cgroup_disable=memory' option if you don't want memory cgroups
<6>Memory: 448MB 512MB = 960MB total
<5>Memory: 830024k/830024k available, 153016k reserved, 270336K highmem
<5>Virtual kernel memory layout:

    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
    lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc08808bc   (8675 kB)
      .init : 0xc0881000 - 0xc08b5dc0   ( 212 kB)
      .data : 0xc08b6000 - 0xc0929ad0   ( 463 kB)
       .bss : 0xc0929af4 - 0xc0afe120   (1874 kB)
<6>SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
<6>Preemptible hierarchical RCU implementation.
<6>     RCU dyntick-idle grace-period acceleration is enabled.
<6>     Additional per-CPU info printed with stalls.
<6>NR_IRQS:192
<6>Architected local timer running at 24.00MHz.
<6>sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
<2>start_kernel(): bug: interrupts were enabled early
<6>Console: colour dummy device 80x30
<6>Calibrating delay loop... <c>1915.28 BogoMIPS (lpj=9576448)
<6>pid_max: default: 32768 minimum: 301
<6>Mount-cache hash table entries: 512
<6>Initializing cgroup subsys cpuacct
<6>Initializing cgroup subsys memory
<6>Initializing cgroup subsys devices
<6>Initializing cgroup subsys freezer
<6>Initializing cgroup subsys blkio
<6>Initializing cgroup subsys perf_event
<6>CPU: Testing write buffer coherency: ok
<6>CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
<6>hw perfevents: enabled with ARMv7 Cortex-A7 PMU driver, 5 counters available
<6>Setting up static identity map for 0x405ec698 - 0x405ec6f0
CPU1: Booted secondary processor
<6>CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
<6>Brought up 2 CPUs
<6>SMP: Total of 2 processors activated (3830.57 BogoMIPS).
<6>devtmpfs: initialized
<6>dummy:
<6>NET: Registered protocol family 16
<6>hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
<6>hw-breakpoint: maximum watchpoint size is 8 bytes.
<6>[ccu-inf] aw clock manager init
<6>[ccu-inf] aw_ccu_init
<6>[ccu-inf] script config pll3 to 297MHz
<6>[ccu-inf] script config pll4 to 300MHz
<6>[ccu-inf] script config pll6 to 600MHz
<6>[ccu-inf] script config pll7 to 297MHz
<6>[ccu-inf] script config pll8 to 336MHz
<6>Init eGon pin module V2.0
<6>bio: create slab <bio-0> at 0
<5>SCSI subsystem initialized
<7>libata version 3.00 loaded.
<6>usbcore: registered new interface driver usbfs
<6>usbcore: registered new interface driver hub
<6>usbcore: registered new device driver usb
<6>Linux media interface: v0.10
<6>Linux video capture interface: v2.00
<6>Advanced Linux Sound Architecture Driver Version 1.0.25.
<6>cfg80211: Calling CRDA to update world regulatory domain
<6>Switching to clocksource arch_sys_counter
<5>FS-Cache: Loaded
<6>CacheFiles: Loaded
<6>NET: Registered protocol family 2
<6>IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
<6>TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
<6>TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
<6>TCP: Hash tables configured (established 131072 bind 65536)
<6>TCP: reno registered
<6>UDP hash table entries: 512 (order: 2, 16384 bytes)
<6>UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
<6>NET: Registered protocol family 1
<6>RPC: Registered named UNIX socket transport module.
<6>RPC: Registered udp transport module.
<6>RPC: Registered tcp transport module.
<6>RPC: Registered tcp NFSv4.1 backchannel transport module.
<6>audit: initializing netlink socket (disabled)
<5>type=2000 audit(0.470:1): initialized

highmem bounce pool size: 64 pages
<5>VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
<5>NFS: Registering the id_resolver key type
<6>NTFS driver 2.1.30 [Flags: R/W].
<6>fuse init (API version 7.18)
<6>msgmni has been set to 1093
<3>alg: comp: Compression test 1 failed for lzo-generic: output len = 57
<6>alg: No test for stdrng (krng)
<6>Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
<6>io scheduler noop registered
<6>io scheduler deadline registered
<6>io scheduler cfq registered (default)
<6>sunxi disp driver loaded (/dev/disp api 1.0)
<6>Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
<6>[uart]: used uart info.: 0x05
<6>[uart]: serial probe 0 irq 33 mapbase 0x01c28000
<6>sunxi-uart.0: ttyS0 at MMIO 0x1c28000 (irq = 33) is a U6_16550A

[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.4.75-00001-g9cfbbed-dirty (embdes@embdes-desktop) (gcc version 4.6.3 20120201 (prerelease) (crosstool-NG linaro-4
[    0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d

[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: sun7i
[    0.000000] Memory cut off:
[    0.000000]  MALI : 0x5c000000 - 0x5fffffff  (  64 MB)
[    0.000000] Ignoring unrecognised tag 0x00000000
[    0.000000] Memory Reserved:
[    0.000000]  SYS  : 0x43000000 - 0x4300ffff  (  64 kB)
[    0.000000]  VE   : 0x44000000 - 0x48ffffff  (  80 MB)
[    0.000000]  G2D  : 0x49000000 - 0x49ffffff  (  16 MB)
[    0.000000]  LCD  : 0x5a000000 - 0x5bffffff  (  32 MB)

[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] sunxi: Allwinner A20 (AW1651/sun7i) detected.
[    0.000000] On node 0 totalpages: 245760
[    0.000000] free_area_init_node: node 0, pgdat c091d440, node_mem_map d0000000
[    0.000000]   DMA zone: 512 pages used for memmap

[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 65024 pages, LIFO batch:15
[    0.000000]   Normal zone: 1008 pages used for memmap
[    0.000000]   Normal zone: 111632 pages, LIFO batch:31
[    0.000000]   HighMem zone: 528 pages used for memmap
[    0.000000]   HighMem zone: 67056 pages, LIFO batch:15
[    0.000000] PERCPU: Embedded 7 pages/cpu @d0808000 s7616 r8192 d12864 u32768
[    0.000000] pcpu-alloc: s7616 r8192 d12864 u32768 alloc=8*4096

[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 243712

[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 loglevel=8 panic=10 rootfstype=ext4 rootwait
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] allocated 2097152 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Memory: 448MB 512MB = 960MB total
[    0.000000] Memory: 830024k/830024k available, 153016k reserved, 270336K highmem

[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc08808bc   (8675 kB)
[    0.000000]       .init : 0xc0881000 - 0xc08b5dc0   ( 212 kB)
[    0.000000]       .data : 0xc08b6000 - 0xc0929ad0   ( 463 kB)
[    0.000000]        .bss : 0xc0929af4 - 0xc0afe120   (1874 kB)
[    0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1

[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU dyntick-idle grace-period acceleration is enabled.
[    0.000000]  Additional per-CPU info printed with stalls.
[    0.000000] NR_IRQS:192

[    0.000000] Architected local timer running at 24.00MHz.
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] start_kernel(): bug: interrupts were enabled early

[    0.000000] Console: colour dummy device 80x30
[    0.010887] Calibrating delay loop... 1915.28 BogoMIPS (lpj=9576448)
[    0.076019] pid_max: default: 32768 minimum: 301
[    0.079689] Mount-cache hash table entries: 512
[    0.083932] Initializing cgroup subsys cpuacct
[    0.087251] Initializing cgroup subsys memory
[    0.090673] Initializing cgroup subsys devices
[    0.094112] Initializing cgroup subsys freezer
[    0.097337] Initializing cgroup subsys blkio
[    0.101011] Initializing cgroup subsys perf_event
[    0.104585] CPU: Testing write buffer coherency: ok
[    0.109777] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.116883] hw perfevents: enabled with ARMv7 Cortex-A7 PMU driver, 5 counters available
[    0.122418] Setting up static identity map for 0x405ec698 - 0x405ec6f0
[    0.238312] CPU1: Booted secondary processor
[    0.297306] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.299310] Brought up 2 CPUs
[    0.304620] SMP: Total of 2 processors activated (3830.57 BogoMIPS).
[    0.307800] devtmpfs: initialized
[    0.313187] dummy:
[    0.316855] NET: Registered protocol family 16
[    0.324634] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.329424] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.332603] [ccu-inf] aw clock manager init
[    0.334874] [ccu-inf] aw_ccu_init
[    0.338823] [ccu-inf] script config pll3 to 297MHz
[    0.342574] [ccu-inf] script config pll4 to 300MHz
[    0.346340] [ccu-inf] script config pll6 to 600MHz
[    0.350088] [ccu-inf] script config pll7 to 297MHz
[    0.353834] [ccu-inf] script config pll8 to 336MHz
[    0.356588] Init eGon pin module V2.0
[    0.365545] bio: create slab <bio-0> at 0
[    0.368949] SCSI subsystem initialized
[    0.371799] libata version 3.00 loaded.
[    0.376421] usbcore: registered new interface driver usbfs
[    0.380800] usbcore: registered new interface driver hub
[    0.384939] usbcore: registered new device driver usb
[    0.388016] Linux media interface: v0.10
[    0.391645] Linux video capture interface: v2.00
[    0.397196] Advanced Linux Sound Architecture Driver Version 1.0.25.
[    0.403334] cfg80211: Calling CRDA to update world regulatory domain
[    0.407852] Switching to clocksource arch_sys_counter
[    0.409941] FS-Cache: Loaded
[    0.412109] CacheFiles: Loaded
[    0.424500] NET: Registered protocol family 2
[    0.430853] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.437813] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.445400] TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
[    0.451941] TCP: Hash tables configured (established 131072 bind 65536)
[    0.454145] TCP: reno registered
[    0.459022] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.464368] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.467986] NET: Registered protocol family 1
[    0.473308] RPC: Registered named UNIX socket transport module.
[    0.476971] RPC: Registered udp transport module.
[    0.480620] RPC: Registered tcp transport module.
[    0.486045] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.491512] audit: initializing netlink socket (disabled)
[    0.495273] type=2000 audit(0.470:1): initialized
[    0.499541] highmem bounce pool size: 64 pages
[    0.511032] VFS: Disk quotas dquot_6.5.2
[    0.516529] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.523199] NFS: Registering the id_resolver key type
[    0.527733] NTFS driver 2.1.30 [Flags: R/W].
[    0.531080] fuse init (API version 7.18)
[    0.534540] msgmni has been set to 1093
[    0.545671] alg: comp: Compression test 1 failed for lzo-generic: output len = 57
[    0.548866] alg: No test for stdrng (krng)
[    0.555593] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.558482] io scheduler noop registered
[    0.561740] io scheduler deadline registered
[    0.565430] io scheduler cfq registered (default)
[    0.570246] sunxi disp driver loaded (/dev/disp api 1.0)
[    0.575834] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.580243] [uart]: used uart info.: 0x05
[    0.584988] [uart]: serial probe 0 irq 33 mapbase 0x01c28000
[    0.611202] sunxi-uart.0: ttyS0 at MMIO 0x1c28000 (irq = 33) is a U6_16550A
<6>console [ttyS0] enabled
[    1.326702] console [ttyS0] enabled
<6>[uart]: serial probe 2 irq 35 mapbase 0x01c28800
[    1.335049] [uart]: serial probe 2 irq 35 mapbase 0x01c28800
<6>sunxi-uart.2: ttyS1 at MMIO 0x1c28800 (irq = 35) is a U6_16550A
[    1.366870] sunxi-uart.2: ttyS1 at MMIO 0x1c28800 (irq = 35) is a U6_16550A
<7>G2D: drv_g2d_init
[    1.376353] G2D: drv_g2d_init
<6>G2D: g2dmem: g2d_start=49000000, g2d_size=1000000
[    1.384047] G2D: g2dmem: g2d_start=49000000, g2d_size=1000000
<6>G2D: head:c9000000,tail:ca000000
[    1.393018] G2D: head:c9000000,tail:ca000000
<6>G2D: Module initialized.major:250
[    1.400612] G2D: Module initialized.major:250
<6>brd: module loaded
[    1.407935] brd: module loaded
<6>loop: module loaded
[    1.416537] loop: module loaded
<3>gpio count < =0 ,gpio_count is: 0
[    1.423443] gpio count < =0 ,gpio_count is: 0
<6>sw_ahci sw_ahci.0: controller can't do PMP, turning off CAP_PMP
[    1.433706] sw_ahci sw_ahci.0: controller can't do PMP, turning off CAP_PMP
<4>sw_ahci sw_ahci.0: forcing PORTS_IMPL to 0x1
[    1.444956] sw_ahci sw_ahci.0: forcing PORTS_IMPL to 0x1
<6>sw_ahci sw_ahci.0: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[    1.457712] sw_ahci sw_ahci.0: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
<6>sw_ahci sw_ahci.0: flags: ncq sntf pm led clo only pio slum part ccc
[    1.472587] sw_ahci sw_ahci.0: flags: ncq sntf pm led clo only pio slum part ccc
<6>scsi0 : sw_ahci_platform
[    1.483453] scsi0 : sw_ahci_platform
<6>ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 88
[    1.494207] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 88
<6>sunxi_emac Using mii phy on PortA
[    1.505687] sunxi_emac Using mii phy on PortA
<6>sunxi_emac Using MAC from FEX: 92:67:86:f3:92:ef[    1.524827] sunxi_emac Using MAC from FEX: 92:67:86:f3:92:ef<4>emac_init fetch emac usingd

[    1.536763] emac_init fetch emac using configuration failed
<6>gmac driver is disabled
[    1.544988] gmac driver is disabled
<6>PPP generic driver version 2.4.2
[    1.551704] PPP generic driver version 2.4.2
<6>PPP BSD Compression module registered
[    1.559831] PPP BSD Compression module registered
<6>PPP Deflate Compression module registered
[    1.568551] PPP Deflate Compression module registered
<6>PPP MPPE Compression module registered
[    1.578551] PPP MPPE Compression module registered
<6>NET: Registered protocol family 24
[    1.586785] NET: Registered protocol family 24
<6>usbcore: registered new interface driver brcmfmac
[    1.596123] usbcore: registered new interface driver brcmfmac
<6>ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.607640] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
<6>ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.619384] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[sw-ehci1]: open clock
[    1.627983] [sw-ehci1]: open clock

[sw-ehci1]: Set USB Power ON
[    1.654032] [sw-ehci1]: Set USB Power ON
<6>sw-ehci sw-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.664391] sw-ehci sw-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
<6>sw-ehci sw-ehci.1: new USB bus registered, assigned bus number 1
[    1.678086] sw-ehci sw-ehci.1: new USB bus registered, assigned bus number 1
<6>sw-ehci sw-ehci.1: irq 71, io mem 0x01c14000
[    1.689506] sw-ehci sw-ehci.1: irq 71, io mem 0x01c14000
<6>sw-ehci sw-ehci.1: USB 2.0 started, EHCI 1.00
[    1.712276] sw-ehci sw-ehci.1: USB 2.0 started, EHCI 1.00
<6>hub 1-0:1.0: USB hub found
[    1.721038] hub 1-0:1.0: USB hub found
<6>hub 1-0:1.0: 1 port detected
[    1.727673] hub 1-0:1.0: 1 port detected
[sw-ohci1]: open clock
[    1.734160] [sw-ohci1]: open clock
<6>sw-ohci sw-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    1.763654] sw-ohci sw-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver
<6>sw-ohci sw-ohci.1: new USB bus registered, assigned bus number 2
[    1.776984] sw-ohci sw-ohci.1: new USB bus registered, assigned bus number 2
<6>sw-ohci sw-ohci.1: irq 96, io mem 0x01c14400
[    1.788343] sw-ohci sw-ohci.1: irq 96, io mem 0x01c14400
<6>ata1: SATA link down (SStatus 0 SControl 300)
[  <  1.852289] ata1: SATA link down (SStatus 0 SControl 300)
6>hub 2-0:1.0: USB hub found
[ <   1.860371] hub 2-0:1.0: USB hub found
6>hub 2-0:1.0: 1 port detected
[    1.[866973] hub 2-0:1.0: 1 port detected
sw-ehci2]: open clock
[    1.872968] [sw-ehci2]: open clock

[sw-ehci2]: Set USB Power ON
[    1.895657] [sw-ehci2]: Set USB Power ON
<6>sw-ehci sw-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.906029] sw-ehci sw-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
<6>sw-ehci sw-ehci.2: new USB bus registered, assigned bus number 3
[    1.919727] sw-ehci sw-ehci.2: new USB bus registered, assigned bus number 3
<6>sw-ehci sw-ehci.2: irq 72, io mem 0x01c1c000
[    1.931159] sw-ehci sw-ehci.2: irq 72, io mem 0x01c1c000
<6>sw-ehci sw-ehci.2: USB 2.0 started, EHCI 1.00
[    1.952272] sw-ehci sw-ehci.2: USB 2.0 started, EHCI 1.00
<6>hub 3-0:1.0: USB hub found
[    1.960982] hub 3-0:1.0: USB hub found
<6>hub 3-0:1.0: 1 port detected
[    1.967616] hub 3-0:1.0: 1 port detected
[sw-ohci2]: open clock
[    1.974112] [sw-ohci2]: open clock
<6>sw-ohci sw-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    2.003598] sw-ohci sw-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver
<6>sw-ohci sw-ohci.2: new USB bus registered, assigned bus number 4
[    2.016969] sw-ohci sw-ohci.2: new USB bus registered, assigned bus number 4
<6>sw-ohci sw-ohci.2: irq 97, io mem 0x01c1c400
[    2.028335] sw-ohci sw-ohci.2: irq 97, io mem 0x01c1c400
<6>hub 4-0:1.0: USB hub found
[    2.095185] hub 4-0:1.0: USB hub found
<6>hub 4-0:1.0: 1 port detected
[    2.101856] hub 4-0:1.0: 1 port detected
<6>mousedev: PS/2 mouse device common for all mice
[    2.110812] mousedev: PS/2 mouse device common for all mice
===========================hv_keypad_init=====================
[    2.121969] ===========================hv_keypad_init=====================
========HV Inital ===================
[    2.132251] ========HV Inital ===================
<3>tkey_fetch_sysconfig_para: tkey_unused.
[    2.140865] tkey_fetch_sysconfig_para: tkey_unused.
hv_keypad_init: after fetch_sysconfig_para:  normal_i2c: 0x0. normal_i2c[1]: 0x0
[    2.153050] hv_keypad_init: after fetch_sysconfig_para:  normal_i2c: 0x0. normal_i2c[1]: 0x0
<6>sunxi-rtc sunxi-rtc: rtc core: registered rtc as rtc0
[    2.167186] sunxi-rtc sunxi-rtc: rtc core: registered rtc as rtc0
<6>i2c /dev entries driver
[    2.175799] i2c /dev entries driver
config i2c gpio with gpio_config api
[    2.183081] config i2c gpio with gpio_config api
<6>axp_mfd 0-0034: AXP (CHIP ID: 0x41) detected
[    2.193416] axp_mfd 0-0034: AXP (CHIP ID: 0x41) detected
<4>i2c i2c-0: Invalid probe address 0x00
[    2.203275] i2c i2c-0: Invalid probe address 0x00
<6>I2C: i2c-0: AW16XX I2C adapter
[    2.211057] I2C: i2c-0: AW16XX I2C adapter
<4>i2c i2c-1: Invalid probe address 0x00
[    2.219141] i2c i2c-1: Invalid probe address 0x00
<6>I2C: i2c-1: AW16XX I2C adapter
[    2.226914] I2C: i2c-1: AW16XX I2C adapter
<4>i2c i2c-2: Invalid probe address 0x00
[    2.234954] i2c i2c-2: Invalid probe address 0x00
<6>I2C: i2c-2: AW16XX I2C adapter
[    2.242721] I2C: i2c-2: AW16XX I2C adapter
[ace_drv] start!!!
[    2.248591] [ace_drv] start!!!
[ace_drv] init end!!!
[    2.253984] [ace_drv] init end!!!
[pa_drv] start!!!
[    2.258952] [pa_drv] start!!!
[pa_drv] init end!!!
[    2.264144] [pa_drv] init end!!!
<6>axp20_ldo1: 1300 mV
[    2.269678] axp20_ldo1: 1300 mV
<6>axp20_ldo2: 1800 <--> 3300 mV at 3000 mV
[    2.278116] axp20_ldo2: 1800 <--> 3300 mV at 3000 mV
<6>axp20_ldo3: 700 <--> 3500 mV at 2800 mV
[    2.288243] axp20_ldo3: 700 <--> 3500 mV at 2800 mV
<6>axp20_ldo4: 1250 <--> 3300 mV at 2800 mV
[    2.298532] axp20_ldo4: 1250 <--> 3300 mV at 2800 mV
<6>axp20_buck2: 700 <--> 2275 mV at 1400 mV
[    2.308721] axp20_buck2: 700 <--> 2275 mV at 1400 mV
<6>axp20_buck3: 700 <--> 3500 mV at 1250 mV
[    2.318919] axp20_buck3: 700 <--> 3500 mV at 1250 mV
<6>axp20_ldoio0: 1800 <--> 3300 mV at 2800 mV
[    2.328793] axp20_ldoio0: 1800 <--> 3300 mV at 2800 mV
<6>input: axp20-supplyer as /devices/platform/sunxi-i2c.0/i2c-0/0-0034/axp20-supplyer.28/input/input0
[    2.343575] input: axp20-supplyer as /devices/platform/sunxi-i2c.0/i2c-0/0-0034/axp20-supplyer.28/input/input0
<4>axp20_ldo2: Failed to create debugfs directory
[    2.371790] axp20_ldo2: Failed to create debugfs directory
<6>device-mapper: uevent: version 1.0.3
[    2.382191] device-mapper: uevent: version 1.0.3
<6>device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-d...@redhat.com
[    2.394559] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-d...@redhat.com
<6>device-mapper: multipath: version 1.3.0 loaded
[    2.407968] device-mapper: multipath: version 1.3.0 loaded
<6>device-mapper: multipath round-robin: version 1.0.0 loaded
[    2.418955] device-mapper: multipath round-robin: version 1.0.0 loaded
<6>device-mapper: multipath queue-length: version 0.1.0 loaded
[    2.431045] device-mapper: multipath queue-length: version 0.1.0 loaded
<6>device-mapper: multipath service-time: version 0.2.0 loaded
[    2.443220] device-mapper: multipath service-time: version 0.2.0 loaded
<6>cpuidle: using governor ladder
[    2.453245] cpuidle: using governor ladder
<6>cpuidle: using governor menu
[    2.460211] cpuidle: using governor menu
<6>[mmc-msg] sw_mci_init
[    2.466467] [mmc-msg] sw_mci_init
<6>[mmc-msg] MMC host used card: 0xf, boot card: 0x0, io_card 8
[    2.475617] [mmc-msg] MMC host used card: 0xf, boot card: 0x0, io_card 8
<6>[mmc-msg] sdc0 set round clock 400000, src 24000000
[    2.487738] [mmc-msg] sdc0 set round clock 400000, src 24000000
<6>[mmc-msg] sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    2.501967] [mmc-msg] sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
<6>[mmc-msg] sdc0 Probe: base:0xf00e2000 irq:64 sg_cpu:ffdf7000(4fc00000) ret 0.
[    2.519228] [mmc-msg] sdc0 Probe: base:0xf00e2000 irq:64 sg_cpu:ffdf7000(4fc00000) ret 0.
<6>[mmc-msg] sdc1 set round clock 400000, src 24000000
[    2.532390] [mmc-msg] sdc1 set round clock 400000, src 24000000
<6>[mmc-msg] sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    2.546489] [mmc-msg] sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
<6>[mmc-msg] mmc 0 detect change, present 1
[    3.496799] [mmc-msg] mmc 0 detect change, present 1
<3>[mmc-err] update clock timeout, fatal error
[    3.552067] [mmc-err] update clock timeout, fatal error
<6>[mmc-msg] sdc1 Probe: base:0xf00e4000 irq:65 sg_cpu:ffddf000(4fc01000) ret 0.
[    3.565440] [mmc-msg] sdc1 Probe: base:0xf00e4000 irq:65 sg_cpu:ffddf000(4fc01000) ret 0.
<6>[mmc-msg] sdc2 set round clock 400000, src 24000000
[    3.578580] [mmc-msg] sdc2 set round clock 400000, src 24000000
<6>[mmc-msg] sdc2 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    3.592670] [mmc-msg] sdc2 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
<6>[mmc-msg] sdc2 Probe: base:0xf00e6000 irq:66 sg_cpu:ffdde000(4fc02000) ret 0.
[    3.609890] [mmc-msg] sdc2 Probe: base:0xf00e6000 irq:66 sg_cpu:ffdde000(4fc02000) ret 0.
<6>[mmc-msg] sdc3 set round clock 400000, src 24000000
[    3.623024] [mmc-msg] sdc3 set round clock 400000, src 24000000
<6>[mmc-msg] sdc3 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    3.637089] [mmc-msg] sdc3 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
<6>[mmc-msg] sdc3 Probe: base:0xf00e8000 irq:67 sg_cpu:ffddd000(4fc03000) ret 0.
[    3.654304] [mmc-msg] sdc3 Probe: base:0xf00e8000 irq:67 sg_cpu:ffddd000(4fc03000) ret 0.
[mmc_pm]: failed to fetch sdio card configuration!
[    3.667055] [mmc_pm]: failed to fetch sdio card configuration!
<6>ledtrig-cpu: registered to indicate activity on CPUs
[    3.677859] ledtrig-cpu: registered to indicate activity on CPUs
<6>usbcore: registered new interface driver usbhid
[    3.689039] usbcore: registered new interface driver usbhid
<6>usbhid: USB HID core driver
[    3.697417] usbhid: USB HID core driver
<6>ashmem: initialized
[    3.703905] ashmem: initialized
<6>logger: created 256K log 'log_main'
[    3.710634] logger: created 256K log 'log_main'
<6>logger: created 256K log 'log_events'
[    3.718976] logger: created 256K log 'log_events'
<6>logger: created 256K log 'log_radio'
[    3.727371] logger: created 256K log 'log_radio'
<6>logger: created 256K log 'log_system'
[    3.735748] logger: created 256K log 'log_system'
<6>IPv4 over IPv4 tunneling driver
[    3.745969] IPv4 over IPv4 tunneling driver
<6>TCP: bic registered
[    3.752934] TCP: bic registered
<6>TCP: cubic registered
[    3.758344] TCP: cubic registered
<6>TCP: westwood registered
[    3.764214] TCP: westwood registered
<6>TCP: highspeed registered
[    3.770395] TCP: highspeed registered
<6>TCP: hybla registered
[    3.776329] TCP: hybla registered
<6>TCP: htcp registered
[    3.781841] TCP: htcp registered
<6>TCP: vegas registered
[    3.787328] TCP: vegas registered
<6>TCP: veno registered
[    3.792828] TCP: veno registered
<6>TCP: scalable registered
[    3.798574] TCP: scalable registered
<6>TCP: lp registered
[    3.809153] TCP: lp registered
<6>TCP: yeah registered
[    3.814391] TCP: yeah registered
<6>TCP: illinois registered
[    3.820138] TCP: illinois registered
<6>Initializing XFRM netlink socket
[    3.826935] Initializing XFRM netlink socket
<6>NET: Registered protocol family 10
[    3.835235] NET: Registered protocol family 10
<6>NET: Registered protocol family 17
[    3.844173] NET: Registered protocol family 17
<6>NET: Registered protocol family 15
[    3.852080] NET: Registered protocol family 15
<6>lib80211: common routines for IEEE802.11 drivers
[    3.861166] lib80211: common routines for IEEE802.11 drivers
<7>lib80211_crypt: registered algorithm 'NULL'
[    3.871010] lib80211_crypt: registered algorithm 'NULL'
<7>lib80211_crypt: registered algorithm 'WEP'
[    3.880324] lib80211_crypt: registered algorithm 'WEP'
<7>lib80211_crypt: registered algorithm 'CCMP'
[    3.889638] lib80211_crypt: registered algorithm 'CCMP'
<7>lib80211_crypt: registered algorithm 'TKIP'
[    3.899038] lib80211_crypt: registered algorithm 'TKIP'
[mmc_pm]: No sdio card, please check your config !!
[    3.908874] [mmc_pm]: No sdio card, please check your config !!
<5>Registering the dns_resolver key type
[    3.918458] Registering the dns_resolver key type
<6>VFP support v0.3: [    3.925179] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4

implementor 41 architecture 2 part 30 variant 7 rev 4
<5>Registering SWP/SWPB emulation handler
[    3.941395] Registering SWP/SWPB emulation handler
<4>axp20_buck2: Failed to create debugfs directory
[    3.950817] axp20_buck2: Failed to create debugfs directory
<6>[cpu_freq] INF:-------------------V-F Table-------------------
[    3.962565] [cpu_freq] INF:-------------------V-F Table-------------------
<6>[cpu_freq] INF:      voltage = 1450mv        frequency = 1008MHz
[    3.974492] [cpu_freq] INF:  voltage = 1450mv        frequency = 1008MHz
<6>[cpu_freq] INF:      voltage = 1400mv        frequency =  912MHz
[    3.985627] [cpu_freq] INF:  voltage = 1400mv        frequency =  912MHz
<6>[cpu_freq] INF:      voltage = 1300mv        frequency =  864MHz
[    3.996761] [cpu_freq] INF:  voltage = 1300mv        frequency =  864MHz
<6>[mmc-msg] sdc0 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.010793] [mmc-msg] sdc0 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
<6>[cpu_freq] INF:      voltage = 1200mv        frequency =  720MHz
[    4.024803] [cpu_freq] INF:  voltage = 1200mv        frequency =  720MHz
<6>[mmc-msg] sdc0 power on
[    4.033342] [mmc-msg] sdc0 power on
<6>[cpu_freq] INF:      voltage = 1100mv        frequency =  528MHz
[    4.042906] [cpu_freq] INF:  voltage = 1100mv        frequency =  528MHz
<6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.057349] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
<6>[cpu_freq] INF:      voltage = 1000mv        frequency =  312MHz
[    4.071815] [cpu_freq] INF:  voltage = 1000mv        frequency =  312MHz
<6>[cpu_freq] INF:      voltage = 1000mv        frequency =  144MHz
[    4.082955] [cpu_freq] INF:  voltage = 1000mv        frequency =  144MHz
<6>[mmc-msg] sdc0 set round clock 400000, src 24000000
[    4.093944] [mmc-msg] sdc0 set round clock 400000, src 24000000
<6>[cpu_freq] INF:      voltage = 1000mv        frequency =    0MHz
[    4.109902] [cpu_freq] INF:  voltage = 1000mv        frequency =    0MHz
<6>[cpu_freq] INF:-----------------------------------------------
[    4.121865] [cpu_freq] INF:-----------------------------------------------
<6>[cpu_freq] INF:sunxi_cpufreq_initcall, get cpu frequency from sysconfig, max freq: 912MHz, min freq: 60MHz
[    4.138386] [cpu_freq] INF:sunxi_cpufreq_initcall, get cpu frequency from sysconfig, max freq: 912MHz, min freq: 60MHz
<6>registered taskstats version 1
[    4.152834] registered taskstats version 1
<6>I2C: i2c-3: HDMI I2C adapter
[    4.161451] I2C: i2c-3: HDMI I2C adapter
<6>ParseEDID
[    4.189152] ParseEDID
<3>[mmc-err] smc 0 err, cmd 52,  RTO
[    4.195563] [mmc-err] smc 0 err, cmd 52,  RTO
<3>[mmc-err] smc 0 err, cmd 52,  RTO
[    4.204070] [mmc-err] smc 0 err, cmd 52,  RTO
<6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.216785] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
<6>EDID version: 1.3
[    4.233434] EDID version: 1.3
<6>PCLK=148500000 X 1920 2008 2052 2200 Y 1080 1084 1089 1125 fr 60 PP
[    4.242655] PCLK=148500000 X 1920 2008 2052 2200 Y 1080 1084 1089 1125 fr 60 PP
<6>Using above mode as preferred EDID mode
[    4.254807] Using above mode as preferred EDID mode
<6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.269041] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
<3>[mmc-err] smc 0 err, cmd 5,  RTO
[    4.283796] [mmc-err] smc 0 err, cmd 5,  RTO
<4>Unimplemented SVD code 2
[    4.296929] Unimplemented SVD code 2
<3>[mmc-err] smc 0 err, cmd 5,  RTO
[    4.303742] [mmc-err] smc 0 err, cmd 5,  RTO
<4>Unimplemented SVD code 22
[    4.310648] Unimplemented SVD code 22
<3>[mmc-err] smc 0 err, cmd 5,  RTO
[    4.317528] [mmc-err] smc 0 err, cmd 5,  RTO
<4>Unimplemented SVD code 31
[    4.324428] Unimplemented SVD code 31
<3>[mmc-err] smc 0 err, cmd 5,  RTO
[    4.331319] [mmc-err] smc 0 err, cmd 5,  RTO
<4>disp_clk: Could not find a matching pll-freq for 53900000 pclk
[    4.341456] disp_clk: Could not find a matching pll-freq for 53900000 pclk
<4>disp_clk: Could not find a matching pll-freq for 108100000 pclk
[    4.354277] disp_clk: Could not find a matching pll-freq for 108100000 pclk
<6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.369597] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
<4>disp_clk: Could not find a matching pll-freq for 74200000 pclk
[    4.384815] disp_clk: Could not find a matching pll-freq for 74200000 pclk
<6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.400033] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
<4>disp_clk: Could not find a matching pll-freq for 25150000 pclk
[    4.420236] disp_clk: Could not find a matching pll-freq for 25150000 pclk
<4>disp_clk: Could not find a matching pll-freq for 53900000 pclk
[    4.432934] disp_clk: Could not find a matching pll-freq for 53900000 pclk
<4>disp_clk: Could not find a matching pll-freq for 172900000 pclk
[    4.446728] disp_clk: Could not find a matching pll-freq for 172900000 pclk
<6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.463031] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
<4>disp_clk: Could not find a matching pll-freq for 78800000 pclk
[    4.478250] disp_clk: Could not find a matching pll-freq for 78800000 pclk
<4>disp_clk: Could not find a matching pll-freq for 26150000 pclk
[    4.490956] disp_clk: Could not find a matching pll-freq for 26150000 pclk
<6>Parse_VideoData_Block: VIC 16 (native) support
[    4.503294] Parse_VideoData_Block: VIC 16 (native) support
<6>Parse_VideoData_Block: VIC 5 support
[    4.512376] Parse_VideoData_Block: VIC 5 support
<6>Parse_VideoData_Block: VIC 4 support
[    4.520569] Parse_VideoData_Block: VIC 4 support
<6>Parse_VideoData_Block: VIC 3 support
[    4.528774] Parse_VideoData_Block: VIC 3 support
<6>Parse_VideoData_Block: VIC 2 support
[    4.536962] Parse_VideoData_Block: VIC 2 support
<6>Parse_VideoData_Block: VIC 7 support
[    4.545161] Parse_VideoData_Block: VIC 7 support
<6>Parse_VideoData_Block: VIC 22 support
[    4.553459] Parse_VideoData_Block: VIC 22 support
<6>Parse_VideoData_Block: VIC 1 support
[    4.561753] Parse_VideoData_Block: VIC 1 support
<6>Parse_VideoData_Block: VIC 20 support
[    4.570041] Parse_VideoData_Block: VIC 20 support
<6>Parse_VideoData_Block: VIC 31 support
[    4.578424] Parse_VideoData_Block: VIC 31 support
<6>Parse_VideoData_Block: VIC 18 support
[    4.586807] Parse_VideoData_Block: VIC 18 support
<6>Parse_VideoData_Block: VIC 19 support
[    4.595187] Parse_VideoData_Block: VIC 19 support
<6>Parse_AudioData_Block: max channel=2
[    4.603492] Parse_AudioData_Block: max channel=2
<6>Parse_AudioData_Block: SampleRate code=7
[    4.612049] Parse_AudioData_Block: SampleRate code=7
<6>Parse_AudioData_Block: WordLen code=7
[    4.620679] Parse_AudioData_Block: WordLen code=7
<6>Find HDMI Vendor Specific DataBlock
[    4.628891] Find HDMI Vendor Specific DataBlock
<6>PCLK=148500000 X 1920 2008 2052 2200 Y 1080 1084 1089 1125 fr 60 PP
[    4.639708] PCLK=148500000 X 1920 2008 2052 2200 Y 1080 1084 1089 1125 fr 60 PP
<6>PCLK=74250000 X 1920 2008 2052 2200 Y 540 542 547 562 fr 60 PP
[    4.652865] PCLK=74250000 X 1920 2008 2052 2200 Y 540 542 547 562 fr 60 PP
<6>PCLK=74250000 X 1280 1390 1430 1650 Y 720 725 730 750 fr 60 PP
[    4.665592] PCLK=74250000 X 1280 1390 1430 1650 Y 720 725 730 750 fr 60 PP
<6>[mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[    4.680734] [mmc-msg] sdc0 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
<6>PCLK=27000000 X 720 736 798 858 Y 480 489 495 525 fr 59 NN
[    4.695521] PCLK=27000000 X 720 736 798 858 Y 480 489 495 525 fr 59 NN
<6>[mmc-msg] sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
[    4.710476] [mmc-msg] sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing SD-HS(SDR25) dt B
<6>asoc: sndhdmi <-> sunxi-hdmiaudio.0 mapping ok
[    4.730412] asoc: sndhdmi <-> sunxi-hdmiaudio.0 mapping ok
<6>disp clks: lcd 74250000 pre_scale 1 hdmi 74250000 pll 297000000 2x 0
[    4.743145] disp clks: lcd 74250000 pre_scale 1 hdmi 74250000 pll 297000000 2x 0
<6>[mmc-msg] sdc0 set round clock 42857143, src 600000000
[    4.755722] [mmc-msg] sdc0 set round clock 42857143, src 600000000
<6>[mmc-msg] sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
[    4.825456] [mmc-msg] sdc0 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 4 timing SD-HS(SDR25) dt B
<6>mmc0: new high speed SDHC card at address 0002
[    4.839392] mmc0: new high speed SDHC card at address 0002
<6>mmcblk0: mmc0:0002 00000 3.70 GiB
[    4.848831] mmcblk0: mmc0:0002 00000 3.70 GiB
<6> mmcblk0: p1 p2
[    4.857015]  mmcblk0: p1 p2
<6>Console: switching to colour frame buffer device 160x45
[    5.370265] Console: switching to colour frame buffer device 160x45
<4>axp20_buck3: incomplete constraints, leaving on
[    5.398446] axp20_buck3: incomplete constraints, leaving on
<4>axp20_buck2: incomplete constraints, leaving on
[    5.408809] axp20_buck2: incomplete constraints, leaving on
<4>axp20_ldo4: incomplete constraints, leaving on
[    5.419067] axp20_ldo4: incomplete constraints, leaving on
<4>axp20_ldo3: incomplete constraints, leaving on
[    5.429232] axp20_ldo3: incomplete constraints, leaving on
<4>axp20_ldo2: incomplete constraints, leaving on
[    5.439402] axp20_ldo2: incomplete constraints, leaving on
<4>axp20_ldo1: incomplete constraints, leaving on
[    5.449567] axp20_ldo1: incomplete constraints, leaving on
<6>console [netcon0] enabled
[    5.457946] console [netcon0] enabled
<6>netconsole: network logging started
[    5.465140] netconsole: network logging started
wl_android_wifictrl_func_add: platform_driver_register timeout
[    6.473484] wl_android_wifictrl_func_add: platform_driver_register timeout
<6>sunxi-rtc sunxi-rtc: setting system clock to 2000-01-01 03:04:15 UTC (946695855)
[    6.487894] sunxi-rtc sunxi-rtc: setting system clock to 2000-01-01 03:04:15 UTC (946695855)
<6>ALSA device list:
[    6.498377] ALSA device list:
<6>  #0: sunxi-CODEC  Audio Codec
[    6.504408]   #0: sunxi-CODEC  Audio Codec
<6>  #1: sunxi-sndhdmi
[    6.510609]   #1: sunxi-sndhdmi
<6>EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    6.743016] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
<6>VFS: Mounted root (ext4 filesystem) on device 179:2.
[    6.756175] VFS: Mounted root (ext4 filesystem) on device 179:2.
<6>devtmpfs: mounted
[    6.767458] devtmpfs: mounted
<6>Freeing init memory: 208K
[    6.773342] Freeing init memory: 208K
modprobe: FATAL: Could not load /lib/modules/3.4.75-00001-g9cfbbed-dirty/modules.dep: No such file or directory


INIT: version 2.88 booting
Using makefile-style concurrent boot in runlevel S.
Starting the hotplug events dispatcher: udevd<6>udev[101]: starting version 164
[    7.521302] udev[101]: starting version 164

.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...done.
Activating swap...done.
<6>EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    9.538029] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)

Checking root file system...fsck from util-linux-ng 2.17.2
/dev/mmcblk0p2: clean, 9873/123904 files, 90079/495360 blocks
done.
<6>EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
[    9.743836] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro

Cleaning up ifupdown....
Setting up networking....
Loading kernel modules...done.
Activating lvm and md swap...done.
Checking file systems...fsck from util-linux-ng 2.17.2
done.
Mounting local filesystems...done.
Activating swapfile swap...done.
Cleaning up temporary files....
Configuring network interfaces...Internet Systems Consortium DHCP Client 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

<6>sunxi_emac sunxi_emac.0: eth0: link up, 100Mbps, full-duplex, lpa 0xFFFF
[   11.046368] sunxi_emac sunxi_emac.0: eth0: link up, 100Mbps, full-duplex, lpa 0xFFFF
Listening on LPF/eth0/92:67:86:f3:92:ef
Sending on   LPF/eth0/92:67:86:f3:92:ef
Sending on   Socket/fallback

DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
<4>------------[ cut here ]------------
[   21.071503] ------------[ cut here ]------------
<4>WARNING: at net/sched/sch_generic.c:256 dev_watchdog+0x2a4/0x2c8()
[   21.082343] WARNING: at net/sched/sch_generic.c:256 dev_watchdog+0x2a4/0x2c8()
<6>NETDEV WATCHDOG: eth0 (sunxi_emac): transmit queue 0 timed out
[   21.095430] NETDEV WATCHDOG: eth0 (sunxi_emac): transmit queue 0 timed out
<d>Modules linked in:[   21.104176] Modules linked in:

[<c0014e58>] (unwind_backtrace+0x0/0x138) from [<c0035ab8>] (warn_slowpath_common+0x4c/0x64)
[   21.115642] [<c0014e58>] (unwind_backtrace+0x0/0x138) from [<c0035ab8>] (warn_slowpath_common+0x4c/0x64)
[<c0035ab8>] (warn_slowpath_common+0x4c/0x64) from [<c0035b64>] (warn_slowpath_fmt+0x30/0x40)
[   21.133437] [<c0035ab8>] (warn_slowpath_common+0x4c/0x64) from [<c0035b64>] (warn_slowpath_fmt+0x30/0x40)
[<c0035b64>] (warn_slowpath_fmt+0x30/0x40) from [<c04f1980>] (dev_watchdog+0x2a4/0x2c8)
[ [  21.150803] [<c0035b64>] (warn_slowpath_fmt+0x30/0x40) from [<c04f1980>] (dev_watchdog+0x2a4/0x2c8)
<c04f1980>] (dev_watchdog+0x2a4/0x2c8) from [<c00408c4>] (run_timer_softirq+0x10c/0x248)
[ [  21.167740] [<c04f1980>] (dev_watchdog+0x2a4/0x2c8) from [<c00408c4>] (run_timer_softirq+0x10c/0x248)
<c00408c4>] (run_timer_softirq+0x10c/0x248) from [<c003b6f0>] (__do_softirq+0xb8/0x150)
[ [  21.184760] [<c00408c4>] (run_timer_softirq+0x10c/0x248) from [<c003b6f0>] (__do_softirq+0xb8/0x150)
<c003b6f0>] (__do_softirq+0xb8/0x150) from [<c003bbbc>] (irq_exit+0x88/0x90)
[ [  21.200742] [<c003b6f0>] (__do_softirq+0xb8/0x150) from [<c003bbbc>] (irq_exit+0x88/0x90)
<c003bbbc>] (irq_exit+0x88/0x90) from [<c000f29c>] (handle_IRQ+0x50/0xac)
[ [  21.215507] [<c003bbbc>] (irq_exit+0x88/0x90) from [<c000f29c>] (handle_IRQ+0x50/0xac)
<c000f29c>] (handle_IRQ+0x50/0xac) from [<c00084d8>] (gic_handle_irq+0x24/0x58)
[ [  21.230532] [<c000f29c>] (handle_IRQ+0x50/0xac) from [<c00084d8>] (gic_handle_irq+0x24/0x58)
<c00084d8>] (gic_handle_irq+0x24/0x58) from [<c000e600>] (__irq_svc+0x40/0x70)
[ E  21.245991] [<c00084d8>] (gic_handle_irq+0x24/0x58) from [<c000e600>] (__irq_svc+0x40/0x70)
xception stack(0xc08b7f60 to 0xc08b7fa8)
[ 7  21.258069] Exception stack(0xc08b7f60 to 0xc08b7fa8)
f60: ffffffed 00000000 0ff54000 00000000 c08b6000 c0929bc8 c05efb54 c08b6000
[ 7  21.269977] 7f60: ffffffed 00000000 0ff54000 00000000 c08b6000 c0929bc8 c05efb54 c08b6000
f80: c08ccad0 410fc074 c08b6000 00000000 0ff54000 c08b7fa8 c000f580 c000f584
[ 7  21.285011] 7f80: c08ccad0 410fc074 c08b6000 00000000 0ff54000 c08b7fa8 c000f580 c000f584
fa0: 60000013 ffffffff
[ [  21.295356] 7fa0: 60000013 ffffffff
<c000e600>] (__irq_svc+0x40/0x70) from [<c000f584>] (default_idle+0x28/0x30)
[ [  21.305701] [<c000e600>] (__irq_svc+0x40/0x70) from [<c000f584>] (default_idle+0x28/0x30)
<c000f584>] (default_idle+0x28/0x30) from [<c000f8c4>] (cpu_idle+0xd0/0x114)
[ [  21.320735] [<c000f584>] (default_idle+0x28/0x30) from [<c000f8c4>] (cpu_idle+0xd0/0x114)
<c000f8c4>] (cpu_idle+0xd0/0x114) from [<c08817dc>] (start_kernel+0x2dc/0x338)
[ <  21.335943] [<c000f8c4>] (cpu_idle+0xd0/0x114) from [<c08817dc>] (start_kernel+0x2dc/0x338)
4>---[ end trace 772d8eab24a283c1 ]---
[   21.347849] ---[ end trace 772d8eab24a283c1 ]---
<7>eth0: no IPv6 routers present
[   21.364255] eth0: no IPv6 routers present
<3>sunxi_emac sunxi_emac.0: tx time out,sunxi 3.4  resetting emac
[   21.374190] sunxi_emac sunxi_emac.0: tx time out,sunxi 3.4  resetting emac
<3>sunxi_emac sunxi_emac.0: tx time out,sunxi 3.4  resetting emac
[   27.083853] sunxi_emac sunxi_emac.0: tx time out,sunxi 3.4  resetting emac

DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8

<3>sunxi_emac sunxi_emac.0: tx time out,sunxi 3.4  resetting emac
[   37.073856] sunxi_emac sunxi_emac.0: tx time out,sunxi 3.4  resetting emac
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13

<3>sunxi_emac sunxi_emac.0: tx time out,sunxi 3.4  resetting emac
[   47.073854] sunxi_emac sunxi_emac.0: tx time out,sunxi 3.4  resetting emac
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 18
<3>sunxi_emac sunxi_emac.0: tx time out,sunxi 3.4  resetting emac
[   57.073869] sunxi_emac sunxi_emac.0: tx time out,sunxi 3.4  resetting emac
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 2
No DHCPOFFERS received.

Trying recorded lease 192.168.1.119
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.

--- 192.168.1.1 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms

Trying recorded lease 192.168.1.118
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
<3>sunxi_emac sunxi_emac.0: tx time out,sunxi 3.4  resetting emac
[   77.073880] sunxi_emac sunxi_emac.0: tx time out,sunxi 3.4  resetting emac


--- 192.168.1.1 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms

Trying recorded lease 192.168.1.108
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.

--- 192.168.1.1 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms

Trying recorded lease 192.168.1.120
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.

--- 192.168.1.1 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms

No working leases in persistent database - sleeping.
modprobe: FATAL: Could not load /lib/modules/3.4.75-00001-g9cfbbed-dirty/modules.dep: No such file or directory

modprobe: FATAL: Could not load /lib/modules/3.4.75-00001-g9cfbbed-dirty/modules.dep: No such file or directory


Cannot find device "wlan0"
Failed to bring up wlan0.
done.
Cleaning up temporary files....
Setting up ALSA...warning: 'alsactl restore' failed with error message 'No state is present for card sunxisndhdmi
Unknown hardware: "sunxi-sndhdmi" "" "" "" ""

Hardware is initialized using a guess method
No state is present for card sunxisndhdmi'...<3>sunxi_emac sunxi_emac.0: tx time out,sunxi 3.4  resetting emac
[   87.073885] sunxi_emac sunxi_emac.0: tx time out,sunxi 3.4  resetting emac

done.
Setting kernel variables ...done.
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
<4>sshd (842): /proc/842/oom_adj is deprecated, please use /proc/842/oom_score_adj instead.
[   90.896932] sshd (842): /proc/842/oom_adj is deprecated, please use /proc/842/oom_score_adj instead.

Starting OpenBSD Secure Shell server: sshd.

Debian GNU/Linux 6.0 debian ttyS0

debian login: <3>sunxi_emac sunxi_emac.0: tx time out,sunxi 3.4  resetting emac
[   97.073792] sunxi_emac sunxi_emac.0: tx time out,sunxi 3.4  resetting emac
<3>sunxi_emac sunxi_emac.0: tx time out,sunxi 3.4  resetting emac
[  107.073801] sunxi_emac sunxi_emac.0: tx time out,sunxi 3.4  resetting emac
<3>sunxi_emac sunxi_emac.0: tx time out,sunxi 3.4  resetting emac
[  117.074141] sunxi_emac sunxi_emac.0: tx time out,sunxi 3.4  resetting emac
<3>sunxi_emac sunxi_emac.0: tx time out,sunxi 3.4  resetting emac
[  127.074161] sunxi_emac sunxi_emac.0: tx time out,sunxi 3.4  resetting emac
<3>sunxi_emac sunxi_emac.0: tx time out,sunxi 3.4  resetting emac
[  137.074002] sunxi_emac sunxi_emac.0: tx time out,sunxi 3.4  resetting emac


Debian GNU/Linux 6.0 debian ttyS0

debian login: root
Password:
Last login: Sat Jan  1 02:57:52 UTC 2000 on ttyS0
Linux debian 3.4.75-00001-g9cfbbed-dirty #11 SMP PREEMPT Sat Jan 11 18:27:38 IST 2014 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@debian:~#
 CTRL-A Z for help |115200 8N1 | NOR | Minicom 2.6.1  | VT102 | Online 00:07                                                                  

Ma Haijun

unread,
Jan 11, 2014, 8:28:25 AM1/11/14
to linux...@googlegroups.com

Hi,

If you means hummingbird, I have one too, and it’s features a GMAC rather than emac, besides it use a gpio controlled regulator to supply power to the MAC and PHY.

 

And here is the fex file from their source code.

If do not have the source yet, I think you can request it from your vendor.

 

Regards,

Ma

 

sys_config.fex

Puneet B

unread,
Jan 11, 2014, 9:02:01 AM1/11/14
to linux...@googlegroups.com
Hi ma haijun,

From hummingbird people only i got source code.

But in my script i dont have any gmac.

Can you tell me which driver need to enabled for gmac.

and is there need to do any change  in script.

Kindly suggest me.

Regards
Punith

Puneet B

unread,
Jan 13, 2014, 2:42:32 AM1/13/14
to linux...@googlegroups.com
Hi all,

Finally my ethernet is working fine.

Here my update:

i disable emac and enable the gmac in script.

and in gpio parameter i made ph16 pin as high in script.

i selected gmac driver from sun3.4 kernel.

Regards
Punith

Puneet B

unread,
Jan 15, 2014, 6:21:55 AM1/15/14
to linux...@googlegroups.com
Hi ma haijun,

My wifi chip ap6210 is not working.

Here My log regarding wifi:


 wakeup src cnt is : 0.
[    0.373732] [wifi]: select wifi: ap6210 !!
[    0.374115] [ap6xxx]: module power name
[    0.374134] [ap6xxx]: ap6xxx module power set by axp.
[    0.374151] [ap6xxx]: get power regulator failed.
[    0.374182] [wifi_pm]: wifi gpio init is OK !!
[    3.230488] [ap6xxx]: succeed to set gpio ap6xxx_wl_regon to 1 !
[    3.335739] [ap6xxx]: sdio wifi power state: on
[    3.347909] =========== WLAN placed in POWER ON ========
[    5.344407] failed to power up wifi chip puneet , retry again (4 left) **

[    5.362732] [ap6xxx]: succeed to set gpio ap6xxx_wl_regon to 0 !
[    5.472678] [ap6xxx]: sdio wifi power state: off
[    5.477309] sw_mci_rescan_card
[    5.480381] =========== WLAN placed in POWER OFF ========
[    5.508189] [ap6xxx]: succeed to set gpio ap6xxx_wl_regon to 1 !
[    5.514829] [mmc-msg] sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.613428] [ap6xxx]: sdio wifi power state: on
[    5.617975] [dhd_customer_gpio_wlan_ctrl 175]
[    5.622329] sw_mci_rescan_card
[    5.625429] [mmc-msg] sdc0 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.625607] =========== WLAN placed in POWER ON ========
[    7.624396] failed to power up wifi chip puneet , retry again (3 left) **
[    7.755725] =========== WLAN placed in POWER OFF ========

[    7.770976] dhd_customer_gpio_wlan_ctrl: call customer specific GPIO to turn on WL_REG_ON
[    7.779202] [dhd_customer_gpio_wlan_ctrl 173]
[    7.783567] [ap6xxx]: succeed to set gpio ap6xxx_wl_regon to 1 !
[    7.907814] [ap6xxx]: sdio wifi power state: on
[    7.912346] [dhd_customer_gpio_wlan_ctrl 175]
[    7.919968] =========== WLAN placed in POWER ON ========
[    9.924386] failed to power up wifi chip puneet , retry again (2 left) **
[    9.924393]
[    9.934429] dhd_customer_gpio_wlan_ctrl: call customer specific GPIO to turn off WL_REG_ON
[    9.942702] [ap6xxx]: succeed to set gpio ap6xxx_wl_regon to 0 !
[   10.047959] [ap6xxx]: sdio wifi power state: off
[   10.052580] sw_mci_rescan_card
[   10.055683] =========== WLAN placed in POWER OFF ========

[   10.070930] dhd_customer_gpio_wlan_ctrl: call customer specific GPIO to turn on WL_REG_ON
[   10.079160] [dhd_customer_gpio_wlan_ctrl 173]
[   10.083525] [ap6xxx]: succeed to set gpio ap6xxx_wl_regon to 1 !
[   10.090003] [mmc-msg] sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[   10.197856] [ap6xxx]: sdio wifi power state: on
[   10.202394] [dhd_customer_gpio_wlan_ctrl 175]
[   10.206764] sw_mci_rescan_card
[   10.209857] [mmc-msg] sdc0 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[   10.210031] =========== WLAN placed in POWER ON ========
[   12.204443] failed to power up wifi chip puneet , retry again (1 left) **
[   12.204450] [   12.339882] =========== WLAN placed in POWER OFF ========
[   12.354794] failed to power up wifi chip puneet, max retry reached, exits **

I used sane script what you shared, with that script my ethernet is working fine, and i used same source code what hummingbird people shared with me.

Can you share what you are getting on you console regarding wifi.

Regards
Punith 

 

kdub...@gmail.com

unread,
Dec 14, 2014, 4:23:00 AM12/14/14
to linux...@googlegroups.com
Hello,

Can someone tell me how to "enable gmac" in the kernel?


Thanks,

Kevin

Jhon Yi

unread,
Dec 15, 2014, 1:33:30 AM12/15/14
to linux...@googlegroups.com
Maybe the fex file (script file) is the right place to enable gmac.
> --
> You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages