Cubieboard2
where to buy
official files
toolchain
-
(for u-boot)
-
(for kernel)
-
sources
-
- cubieboard2_android_SDK_v1.03/lichee/linux-3.3
-
cubieboard2_defconfig (from v1.04 kernel)
binaries
-
sunxi-spl.bin (for sd boot)
-
u-boot-spl.bin (for fel/usb boot)
-
u-boot.bin
- v1.04 script.bin script.fex (v1.02 script.bin script.fex, v1.01 script.bin script.fex)
-
uImage
how to boot
something else
- "setenv machid 0xf35; saveenv"
output from serial console
U-Boot SPL 2013.07-07794-gc0f3b94 (Aug 15 2013 - 18:01:02)
Board: Cubieboard2_FEL
DRAM: 1024 MiB
CPU: 960000000Hz, AXI/AHB/APB: 3/2/2
U-Boot 2013.07-07794-gc0f3b94 (Aug 15 2013 - 18:01:45) Allwinner Technology
CPU: Allwinner A20 (SUN7I)
Board: Cubieboard2
I2C: ready
DRAM: 1 GiB
MMC: SUNXI SD/MMC: 0
MMC init failed
Using default environment
In: serial
Out: serial
Err: serial
Net: emac
Hit any key to stop autoboot: 3 0
sun7i#setenv machid f35
sun7i#run setargs
sun7i#bootm 0x44000000
## Booting kernel from Legacy Image at 44000000 ...
Image Name: Linux-3.3.0
Created: 2013-08-15 9:00:08 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4637360 Bytes = 4.4 MiB
Load Address: 40008000
Entry Point: 40008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
Using machid 0xf35 from environment
Starting kernel ...
[ 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 (fun@ubuntu) (gcc version 4.7.3 20130328 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.04-20130415 - Linaro GCC 2013.04) ) #1 SMP PREEMPT Thu Aug 15 17:59:47 JST 2013
[ 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, 0x00020000
[ 0.000000] Memory policy: ECC disabled, Data cache writealloc
[ 0.000000] On node 0 totalpages: 216064
[ 0.000000] free_area_init_node: node 0, pgdat c09f7280, 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: 81810 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 s5504 r8192 d14976 u32768
[ 0.000000] pcpu-alloc: s5504 r8192 d14976 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: 213760
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait loglevel=8 panic=10
[ 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 780MB = 844MB total
[ 0.000000] Memory: 842416k/842416k available, 206160k 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 - 0xc093b000 (9420 kB)
[ 0.000000] .init : 0xc093b000 - 0xc0974580 ( 230 kB)
[ 0.000000] .data : 0xc0976000 - 0xc09f8340 ( 521 kB)
[ 0.000000] .bss : 0xc09f8364 - 0xc0b44b30 (1330 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.000497] Calibrating delay loop... 1915.28 BogoMIPS (lpj=9576448)
[ 0.059954] pid_max: default: 32768 minimum: 301
[ 0.060334] Mount-cache hash table entries: 512
[ 0.061077] CPU: Testing write buffer coherency: ok
[ 0.061398] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.061496] Setting up static identity map for 0x406236d8 - 0x40623730
[ 0.174258] CPU1: Booted secondary processor
[ 0.231690] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.231789] Brought up 2 CPUs
[ 0.231801] SMP: Total of 2 processors activated (3830.57 BogoMIPS).
[ 0.232827] devtmpfs: initialized
[ 0.238676] script_init enter!
[ 0.239583] script_init exit!
[ 0.240349] kworker/u:0 used greatest stack depth: 6336 bytes left
[ 0.241621] print_constraints: dummy:
[ 0.242461] NET: Registered protocol family 16
[ 0.242776] sunxi_dump_init success
[ 0.243689] kworker/u:0 used greatest stack depth: 6120 bytes left
[ 0.244866] sun7i_init: enter
[ 0.245595] [ccu-inf] aw clock manager init
[ 0.245606] [ccu-inf] aw_ccu_init
[ 0.245818] [ccu-inf] script config pll3 to 297MHz
[ 0.245834] [ccu-inf] script config pll4 to 300MHz
[ 0.245848] [ccu-inf] script config pll6 to 600MHz
[ 0.245862] [ccu-inf] script config pll7 to 297MHz
[ 0.245875] [ccu-inf] script config pll8 to 336MHz
[ 0.246574] axp config [pmu_para] [pmu_used] : 1
[ 0.246587] axp config [pmu_para] [pmu_twi_id] : 0
[ 0.246598] axp config [pmu_para] [pmu_irq_id] : 32
[ 0.246609] axp config [pmu_para] [pmu_twi_addr] : 52
[ 0.246620] axp config [pmu_para] [pmu_battery_rdc] : 100
[ 0.246631] axp config [pmu_para] [pmu_battery_cap] : 3200
[ 0.246643] axp config [pmu_para] [pmu_init_chgcur] : 300
[ 0.246655] axp config [pmu_para] [pmu_suspend_chgcur] : 1000
[ 0.246667] axp config [pmu_para] [pmu_resume_chgcur] : 300
[ 0.246679] axp config [pmu_para] [pmu_shutdown_chgcur] : 1000
[ 0.246691] axp config [pmu_para] [pmu_init_chgvol] : 4200
[ 0.246703] axp config [pmu_para] [pmu_init_chgend_rate] : 15
[ 0.246714] axp config [pmu_para] [pmu_init_chg_enabled] : 1
[ 0.246726] axp config [pmu_para] [pmu_init_adc_freq] : 100
[ 0.246738] axp config [pmu_para] [pmu_init_adc_freqc] : 100
[ 0.246750] axp config [pmu_para] [pmu_init_chg_pretime] : 50
[ 0.246762] axp config [pmu_para] [pmu_init_chg_csttime] : 720
[ 0.246774] axp config [pmu_para] [pmu_bat_para1] : 0
[ 0.246785] axp config [pmu_para] [pmu_bat_para2] : 0
[ 0.246796] axp config [pmu_para] [pmu_bat_para3] : 0
[ 0.246807] axp config [pmu_para] [pmu_bat_para4] : 0
[ 0.246818] axp config [pmu_para] [pmu_bat_para5] : 5
[ 0.246829] axp config [pmu_para] [pmu_bat_para6] : 8
[ 0.246840] axp config [pmu_para] [pmu_bat_para7] : 11
[ 0.246852] axp config [pmu_para] [pmu_bat_para8] : 22
[ 0.246863] axp config [pmu_para] [pmu_bat_para9] : 33
[ 0.246875] axp config [pmu_para] [pmu_bat_para10] : 43
[ 0.246887] axp config [pmu_para] [pmu_bat_para11] : 50
[ 0.246898] axp config [pmu_para] [pmu_bat_para12] : 59
[ 0.246910] axp config [pmu_para] [pmu_bat_para13] : 71
[ 0.246921] axp config [pmu_para] [pmu_bat_para14] : 83
[ 0.246933] axp config [pmu_para] [pmu_bat_para15] : 92
[ 0.246944] axp config [pmu_para] [pmu_bat_para16] : 100
[ 0.246956] axp config [pmu_para] [pmu_usbvol_limit] : 1
[ 0.246967] axp config [pmu_para] [pmu_usbvol] : 4000
[ 0.246979] axp config [pmu_para] [pmu_usbcur_limit] : 0
[ 0.246990] axp config [pmu_para] [pmu_usbcur] : 0
[ 0.247001] axp config [pmu_para] [pmu_pwroff_vol] : 3300
[ 0.247015] axp config [pmu_para] [pmu_pwron_vol] : 2900
[ 0.247026] axp config [target] [dcdc2_vol] : 1400
[ 0.247037] axp config [target] [dcdc3_vol] : 1250
[ 0.247048] axp config [target] [ldo2_vol] : 3000
[ 0.247058] axp config [target] [ldo3_vol] : 2800
[ 0.247068] axp config [target] [ldo4_vol] : 2800
[ 0.247079] axp config [pmu_para] [pmu_pekoff_time] : 6000
[ 0.247091] axp config [pmu_para] [pmu_pekoff_en] : 1
[ 0.247103] axp config [pmu_para] [pmu_peklong_time] : 1500
[ 0.247114] axp config [pmu_para] [pmu_pwrok_time] : 64
[ 0.247126] axp config [pmu_para] [pmu_pwrnoe_time] : 2000
[ 0.247138] axp config [pmu_para] [pmu_intotp_en] : 1
[ 0.247149] axp config [pmu_para] [pmu_pekon_time] : 1000
[ 0.247646] [gpio-inf] aw gpio init start
[ 0.247677] [gpio-inf] gpio_clk_init: apb pio clk enable success
[ 0.247922] gpiochip_add: registered GPIOs 0 to 17 on device: GPA
[ 0.248137] gpiochip_add: registered GPIOs 24 to 47 on device: GPB
[ 0.248361] gpiochip_add: registered GPIOs 54 to 78 on device: GPC
[ 0.248594] gpiochip_add: registered GPIOs 85 to 112 on device: GPD
[ 0.248848] gpiochip_add: registered GPIOs 119 to 130 on device: GPE
[ 0.249079] gpiochip_add: registered GPIOs 137 to 142 on device: GPF
[ 0.249293] gpiochip_add: registered GPIOs 149 to 160 on device: GPG
[ 0.249506] gpiochip_add: registered GPIOs 167 to 194 on device: GPH
[ 0.249759] gpiochip_add: registered GPIOs 201 to 222 on device: GPI
[ 0.250266] [gpio-inf] aw gpio init done
[ 0.332123] kworker/u:0 used greatest stack depth: 6104 bytes left
[ 0.347879] bio: create slab at 0
[ 0.350417] SCSI subsystem initialized
[ 0.350995] libata version 3.00 loaded.
[ 0.354454] usbcore: registered new interface driver usbfs
[ 0.355070] usbcore: registered new interface driver hub
[ 0.355440] usbcore: registered new device driver usb
[ 0.358146] -------------------------------------------
[ 0.358162] axp_mfd_probe:axp20_mfd pmu probed !
[ 0.358170] -------------------------------------------
[ 0.360531] axp_mfd 0-0034: AXP (CHIP ID: 0x41) detected
[ 0.361219] -------------------------------------------
[ 0.361230] axp_mfd_probe:axp20_mfd pmu request_irq ok !
[ 0.361238] -------------------------------------------
[ 0.363505] I2C: i2c-0: sun7i I2C adapter
[ 0.363517] **********start************
[ 0.363525] 0x40
[ 0.363532] 0xf8
[ 0.363538] 0x58
[ 0.363544] 0x0
[ 0.363550] 0x0
[ 0.363556] **********end************
[ 0.363982] I2C: i2c-1: sun7i I2C adapter
[ 0.363992] **********start************
[ 0.364001] 0x40
[ 0.364007] 0xf8
[ 0.364014] 0x58
[ 0.364020] 0x0
[ 0.364026] 0x0
[ 0.364032] **********end************
[ 0.364416] I2C: i2c-2: sun7i I2C adapter
[ 0.364426] **********start************
[ 0.364434] 0x40
[ 0.364440] 0xf8
[ 0.364446] 0x28
[ 0.364452] 0x0
[ 0.364459] 0x0
[ 0.364465] **********end************
[ 0.364855] I2C: i2c-3: sun7i I2C adapter
[ 0.364866] **********start************
[ 0.364874] 0x40
[ 0.364880] 0xf8
[ 0.364887] 0x58
[ 0.364893] 0x0
[ 0.364899] 0x0
[ 0.364905] **********end************
[ 0.365300] I2C: i2c-4: sun7i I2C adapter
[ 0.365310] **********start************
[ 0.365318] 0x40
[ 0.365324] 0xf8
[ 0.365331] 0x58
[ 0.365337] 0x0
[ 0.365343] 0x0
[ 0.365349] **********end************
[ 0.366037] print_constraints: axp20_ldo1: 1300 mV
[ 0.367878] print_constraints: axp20_ldo2: 1800 3300 mV at 3000 mV
[ 0.369655] print_constraints: axp20_ldo3: 700 3500 mV at 2800 mV
[ 0.371675] print_constraints: axp20_ldo4: 1250 3300 mV at 2800 mV
[ 0.373447] print_constraints: axp20_buck2: 700 2275 mV at 1400 mV
[ 0.375227] print_constraints: axp20_buck3: 700 3500 mV at 1250 mV
[ 0.376290] print_constraints: axp20_ldoio0: 1800 3300 mV at 2800 mV
[ 0.377184] gpiochip_add: registered GPIOs 229 to 233 on device: axp_pin
[ 0.378667] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.379993] Bluetooth: Core ver 2.16
[ 0.380228] NET: Registered protocol family 31
[ 0.380241] Bluetooth: HCI device and connection manager initialized
[ 0.380258] Bluetooth: HCI socket layer initialized
[ 0.380269] Bluetooth: L2CAP socket layer initialized
[ 0.380335] Bluetooth: SCO socket layer initialized
[ 0.381768] Switching to clocksource arch_sys_counter
[ 0.382481] FS-Cache: Loaded
[ 0.383160] CacheFiles: Loaded
[ 0.391889] cfg80211: Calling CRDA to update world regulatory domain
[ 0.408220] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.408487] Line:1148:ohci_hcd_mod_init
[ 0.408497] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.408722] line = 483,usb_manager_init
[ 0.408732] [usb_manager]: CONFIG_USB_SW_SUN7I_USB0_OTG
[ 0.408755] WRN:L164(drivers/usb/sun7i_usb/manager/usb_manager.c):ERR: get usbc(0) usb_restrict_flag failed
[ 0.408772] WRN:L173(drivers/usb/sun7i_usb/manager/usb_manager.c):ERR: get usbc(0) voltage failed
[ 0.408789] WRN:L182(drivers/usb/sun7i_usb/manager/usb_manager.c):ERR: get usbc(0)voltage failed
[ 0.408811] WRN:L244(drivers/usb/sun7i_usb/manager/usb_manager.c):ERR: get usbc(0) ac_enable failed
[ 0.408827] WRN:L252(drivers/usb/sun7i_usb/manager/usb_manager.c):ERR: get usbc0(usb_restrict) failed
[ 0.409472] [sw_hcd0]: usb host driver initialize........
[ 0.409591] [sw_hcd0]: open_usb_clock
[ 0.429573] [sw_hcd0]: host_init_state = 0
[ 0.429585] [sw_hcd0]: platform is usb host
[ 0.429634] WRN:L1420(drivers/usb/sun7i_usb/hcd/hcd0/sw_hcd0.c):ERR: request_irq 70 failed!
[ 0.429651] WRN:L1473(drivers/usb/sun7i_usb/hcd/hcd0/sw_hcd0.c):ERR: sw_hcd_init_controller failed with status -19
[ 0.429673] WRN:L1679(drivers/usb/sun7i_usb/hcd/hcd0/sw_hcd0.c):ERR: sw_hcd_init_controller failed
[ 0.430242] [sw_udc]: udc_init: version 20080411
[ 0.431352] NET: Registered protocol family 2
[ 0.431989] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.435059] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.439189] TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
[ 0.440247] TCP: Hash tables configured (established 131072 bind 65536)
[ 0.440261] TCP reno registered
[ 0.440311] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.440382] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.440908] NET: Registered protocol family 1
[ 0.441703] RPC: Registered named UNIX socket transport module.
[ 0.441717] RPC: Registered udp transport module.
[ 0.441727] RPC: Registered tcp transport module.
[ 0.441736] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.442123] sunxi_reg_init enter
[ 0.443304] [pm]aw_pm_init!
[ 0.443321] dram config [dram_para] [dram_baseaddr] : 1073741824
[ 0.443334] dram config [dram_para] [dram_clk] : 432
[ 0.443346] dram config [dram_para] [dram_type] : 3
[ 0.443357] dram config [dram_para] [dram_rank_num] : -1
[ 0.443368] dram config [dram_para] [dram_chip_density] : -1
[ 0.443378] dram config [dram_para] [dram_io_width] : -1
[ 0.443389] dram config [dram_para] [dram_bus_width] : -1
[ 0.443400] dram config [dram_para] [dram_cas] : 9
[ 0.443410] dram config [dram_para] [dram_zq] : 127
[ 0.443421] dram config [dram_para] [dram_odt_en] : 0
[ 0.443431] dram config [dram_para] [dram_size] : -1
[ 0.443441] dram config [dram_para] [dram_tpr0] : 1121491383
[ 0.443453] dram config [dram_para] [dram_tpr1] : 41104
[ 0.443463] dram config [dram_para] [dram_tpr2] : 141824
[ 0.443476] dram config [dram_para] [dram_tpr3] : 0
[ 0.443487] dram config [dram_para] [dram_tpr4] : 1
[ 0.443497] dram config [dram_para] [dram_tpr5] : 0
[ 0.443508] dram config [dram_para] [dram_emr1] : 4
[ 0.443518] dram config [dram_para] [dram_emr2] : 16
[ 0.443528] dram config [dram_para] [dram_emr3] : 0
[ 0.443539] standby_mode = 1.
[ 0.443549] cpu0_en = 0.
[ 0.443557] dram_selfresh_en = 1.
[ 0.443566] wakeup src cnt is : 0.
[ 0.443649] DRAM_STANDBY_PGD_ADDR:d201c000
[ 0.443674] [wifi]: select wifi: rtl8188eu !!
[ 0.444076] [rtl8188eu]: exec rtl8188eu_wifi_gpio_init
[ 0.444094] [rtl8188eu]: module power name
[ 0.444104] [rtl8188eu]: rtl8188eu module power set by axp.
[ 0.444118] [rtl8188eu]: get power regulator failed.
[ 0.444150] [wifi_pm]: wifi gpio init is OK !!
[ 0.444368] [powernow inf] module init
[ 0.444624] [powernow inf] create class sw_powernow done
[ 0.446695] highmem bounce pool size: 64 pages
[ 0.451616] NTFS driver 2.1.30 [Flags: R/W].
[ 0.452448] fuse init (API version 7.18)
[ 0.453892] msgmni has been set to 1117
[ 0.455652] io scheduler noop registered
[ 0.455667] io scheduler deadline registered (default)
[ 0.466575] [uart]: driver initializied
[ 0.467389] sw_serial.0: ttyS0 at MMIO 0x1c28000 (irq = 33) is a SW
[ 0.467417] [uart]: console setup baud 115200 parity n bits 8, flow n
[ 0.467446] [uart]: uart0 LCR & BAUD changed, reset controller...
[ 2.068322] console [ttyS0] enabled
[ 2.073075] sw_serial.2: ttyS2 at MMIO 0x1c28800 (irq = 35) is a SW
[ 2.081790] G2D: drv_g2d_init
[ 2.085679] G2D: Module initialized.major:252
[ 2.091425] sunmm_probe, line 269
[ 2.102819] loop: module loaded
[ 2.108405] sw_ahci sw_ahci.0: controller can't do PMP, turning off CAP_PMP
[ 2.116361] sw_ahci sw_ahci.0: forcing PORTS_IMPL to 0x1
[ 2.122635] sw_ahci sw_ahci.0: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[ 2.132076] sw_ahci sw_ahci.0: flags: ncq sntf pm led clo only pio slum part ccc
[ 2.140821] dma_alloc_coherent mem = 0xffde0000, size = 0x16500, mem_dma=0x4fc00000
[ 2.150711] scsi0 : sw_ahci_platform
[ 2.155759] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 88
[ 2.167382] tun: Universal TUN/TAP device driver, 1.6
[ 2.173047] tun: (C) 1999-2004 Max Krasnyansky
[ 2.180397] [sunxi_emac]: Init wemac Ethernet Driver, V3.00
[ 2.188492] PPP generic driver version 2.4.2
[ 2.194080] PPP BSD Compression module registered
[ 2.199331] PPP Deflate Compression module registered
[ 2.205890] PPP MPPE Compression module registered
[ 2.211244] NET: Registered protocol family 24
[ 2.216412] PPTP driver version 0.8.5
[ 2.222127] usbcore: registered new interface driver rtl8150
[ 2.228688] usbcore: registered new interface driver asix
[ 2.235159] usbcore: registered new interface driver qf9700
[ 2.241626] usbcore: registered new interface driver cdc_ether
[ 2.248482] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[ 2.256856] [sw_hci_sun4i_init 1254]
[ 2.260854] WRN:L163(drivers/usb/host/sw_hci_sun7i.c):ERR: sw-ehci1(restrict_gpio) is invalid
[ 2.270502] WRN:L163(drivers/usb/host/sw_hci_sun7i.c):ERR: sw-ohci1(restrict_gpio) is invalid
[ 2.280107] WRN:L163(drivers/usb/host/sw_hci_sun7i.c):ERR: sw-ehci2(restrict_gpio) is invalid
[ 2.289658] WRN:L163(drivers/usb/host/sw_hci_sun7i.c):ERR: sw-ohci2(restrict_gpio) is invalid
[ 2.299603] [sw-ehci1]: probe, pdev->name: sw-ehci, pdev->id: 1, sw_ehci: 0xc0a38158
[ 2.308343] [sw-ehci1]: open clock
[ 2.332017] [sw-ehci1]: open clock, 0x60(0x202c143), 0xcc(0x103)
[ 2.338721] [sw-ehci1]: Set USB Power ON
[ 2.343117] sw-ehci sw-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.351494] sw-ehci sw-ehci.1: new USB bus registered, assigned bus number 1
[ 2.359490] sw-ehci sw-ehci.1: irq 71, io mem 0xf1c14000
[ 2.365432] [ehci_run 736]
[ 2.381851] sw-ehci sw-ehci.1: USB 0.0 started, EHCI 1.00
[ 2.388983] hub 1-0:1.0: USB hub found
[ 2.393236] hub 1-0:1.0: 1 port detected
[ 2.398480] [sw-ohci1]: probe, pdev->name: sw-ohci, pdev->id: 1, sw_ohci: 0xc0a3826c
[ 2.407192] [sw-ohci1]: open clock
[ 2.430849] [sw-ohci1]: open clock, 0x60(0x202c147), 0xcc(0x163)
[ 2.437655] [sw_ohci_hcd_probe 360]:reg(0xf1c20060) = 202c147
[ 2.444082] sw-ohci sw-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver
[ 2.452078] sw-ohci sw-ohci.1: new USB bus registered, assigned bus number 2
[ 2.459982] sw-ohci sw-ohci.1: irq 96, io mem 0xf1c14400
[ 2.511868] ata1: SATA link down (SStatus 0 SControl 300)
[ 2.526905] hub 2-0:1.0: USB hub found
[ 2.531115] hub 2-0:1.0: 1 port detected
[ 2.536396] [sw-ehci2]: probe, pdev->name: sw-ehci, pdev->id: 2, sw_ehci: 0xc0a38380
[ 2.545139] [sw-ehci2]: open clock
[ 2.568793] [sw-ehci2]: open clock, 0x60(0x202c14f), 0xcc(0x167)
[ 2.575505] [sw-ehci2]: Set USB Power ON
[ 2.579884] sw-ehci sw-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.588329] sw-ehci sw-ehci.2: new USB bus registered, assigned bus number 3
[ 2.596342] sw-ehci sw-ehci.2: irq 72, io mem 0xf1c1c000
[ 2.602283] [ehci_run 736]
[ 2.621861] sw-ehci sw-ehci.2: USB 0.0 started, EHCI 1.00
[ 2.628972] hub 3-0:1.0: USB hub found
[ 2.633279] hub 3-0:1.0: 1 port detected
[ 2.638487] [sw-ohci2]: probe, pdev->name: sw-ohci, pdev->id: 2, sw_ohci: 0xc0a38494
[ 2.647202] [sw-ohci2]: open clock
[ 2.670858] [sw-ohci2]: open clock, 0x60(0x202c15f), 0xcc(0x1e7)
[ 2.677580] [sw_ohci_hcd_probe 360]:reg(0xf1c20060) = 202c15f
[ 2.684004] sw-ohci sw-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver
[ 2.692035] sw-ohci sw-ohci.2: new USB bus registered, assigned bus number 4
[ 2.699939] sw-ohci sw-ohci.2: irq 97, io mem 0xf1c1c400
[ 2.766881] hub 4-0:1.0: USB hub found
[ 2.771084] hub 4-0:1.0: 1 port detected
[ 2.776430] usbcore: registered new interface driver cdc_acm
[ 2.782814] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 2.791742] Initializing USB Mass Storage driver...
[ 2.797571] usbcore: registered new interface driver usb-storage
[ 2.804331] USB Mass Storage support registered.
[ 2.809974] usbcore: registered new interface driver usbserial
[ 2.816543] usbserial: USB Serial Driver core
[ 2.821612] USB Serial support registered for GSM modem (1-port)
[ 2.828819] usbcore: registered new interface driver option
[ 2.835101] option: v0.7.2:USB Driver for GSM modems
[ 2.841198] [sw_udc]: [sw_usb_udc]: binding gadget driver 'android_usb'
[ 2.848644] [sw_udc]: alloc request: ep(0xc09a1f00, ep0, 64), req(0xef244ec0)
[ 2.856686] WRN:L2583(drivers/usb/sun7i_usb/udc/sw_udc.c):ERR: usb device is not active
[ 2.865704] [sw_udc]: sw_udc_pullup, is_on = 0
[ 2.870671] WRN:L2618(drivers/usb/sun7i_usb/udc/sw_udc.c):ERR: usb device is not active
[ 2.883634] android_usb gadget: Mass Storage Function, version: 2009/09/11
[ 2.891314] android_usb gadget: Number of LUNs=3
[ 2.896494] lun0: LUN: removable file: (no medium)
[ 2.902009] lun1: LUN: removable file: (no medium)
[ 2.907453] lun2: LUN: removable file: (no medium)
[ 2.913658] WRN:L2583(drivers/usb/sun7i_usb/udc/sw_udc.c):ERR: usb device is not active
[ 2.922689] android_usb gadget: android_usb ready
[ 2.928826] mousedev: PS/2 mouse device common for all mice
[ 2.935669] input: sw-keyboard as /devices/virtual/input/input0
[ 2.943283] input: sun7i-ir as /devices/virtual/input/input1
[ 2.950278] uinput result 0 , vmouse_init
[ 2.955341] input: vmouse as /devices/virtual/input/input2
[ 2.962959] =====ctp_fetch_sysconfig_para=====.
[ 2.968118] ctp_fetch_sysconfig_para: ctp_unused.
[ 2.973527] ctp_init: ctp_fetch_sysconfig_para err.
[ 2.979618] sunxi_rtc_init: enter
[ 2.983711] rtc_hw_init(400): start
[ 2.987704] rtc_hw_init(416) err: set clksrc to external losc failed! rtc time will be wrong
[ 2.997213] rtc_hw_init(431): end
[ 3.000992] sunxi_rtc_gettime(34): err, losc_err_flag is 1
[ 3.007908] using rtc device, rtc, for alarms
[ 3.012659] sunxi-rtc sunxi-rtc: rtc core: registered rtc as rtc0
[ 3.019929] i2c /dev entries driver
[ 3.026239] lirc_dev: IR Remote Control driver registered, major 249
[ 3.033526] IR NEC protocol handler initialized
[ 3.038579] IR RC5(x) protocol handler initialized
[ 3.043935] IR RC6 protocol handler initialized
[ 3.048985] IR JVC protocol handler initialized
[ 3.054090] IR Sony protocol handler initialized
[ 3.059239] IR RC5 (streamzap) protocol handler initialized
[ 3.065465] IR SANYO protocol handler initialized
[ 3.070709] IR MCE Keyboard/mouse protocol handler initialized
[ 3.077340] IR LIRC bridge handler initialized
[ 3.082315] Linux video capture interface: v2.00
[ 3.087924] i2c-core: driver [tuner] using legacy suspend method
[ 3.094684] i2c-core: driver [tuner] using legacy resume method
[ 3.101970] i2c-core: driver [msp3400] using legacy suspend method
[ 3.108867] i2c-core: driver [msp3400] using legacy resume method
[ 3.116883] usbcore: registered new interface driver em28xx
[ 3.123171] Em28xx: Initialized (Em28xx Audio Extension) extension
[ 3.130331] usbcore: registered new interface driver cx231xx
[ 3.136705] cx231xx: Cx231xx Audio Extension initialized
[ 3.142923] usbcore: registered new interface driver usbvision
[ 3.149429] USBVision USB Video Device Driver for Linux : 0.9.11
[ 3.156841] usbcore: registered new interface driver pvrusb2
[ 3.163219] pvrusb2: V4L in-tree version:Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner
[ 3.171967] pvrusb2: Debug mask is 31 (0x1f)
[ 3.176729] cpia2: V4L-Driver for Vision CPiA2 based cameras v3.0.1
[ 3.184019] usbcore: registered new interface driver cpia2
[ 3.190433] usbcore: registered new interface driver tm6000
[ 3.197099] usbcore: registered new interface driver zr364xx
[ 3.203786] usbcore: registered new interface driver stkwebcam
[ 3.210553] usbcore: registered new interface driver sn9c102
[ 3.217185] usbcore: registered new interface driver et61x251
[ 3.223934] usbcore: registered new interface driver Philips webcam
[ 3.230924] gspca_main: v2.14.0 registered
[ 3.235892] usbcore: registered new interface driver hdpvr
[ 3.242337] usbcore: registered new interface driver s2255
[ 3.249178] usbcore: registered new interface driver uvcvideo
[ 3.255655] USB Video Class driver (v1.1.0)
[ 3.260555] [hx-cedar dev]: install start!!!
[ 3.266676] [cedar dev]: install end!!!
[ 3.271753] usbcore: registered new interface driver dsbr100
[ 3.278561] usbcore: registered new interface driver radio-si470x
[ 3.285728] usbcore: registered new interface driver radio-mr800
[ 3.292730] radio_tea5764: 0.0.2: A driver for the TEA5764 radio chip for EZX Phones.
[ 3.303135] input: axp20-supplyer as /devices/platform/sun7i-i2c.0/i2c-0/0-0034/axp20-supplyer.28/input/input3
[ 3.325572] pmu_pekoff_time = 6000
[ 3.329369] pmu_pekoff_en = 1
[ 3.332807] pmu_peklong_time = 1500
[ 3.336699] pmu_pekon_time = 1000
[ 3.340393] pmu_pwrok_time = 64
[ 3.344009] pmu_pwrnoe_time = 2000
[ 3.347802] pmu_intotp_en = 1
[ 3.351735] [AXP]POWER20_OFF_CTL:2070-->0x42
[ 3.357130] POWER20_PEK_SET:2087-->0x9d
[ 3.362015] POWER20_PEK_SET:2098-->0x9d
[ 3.366897] POWER20_PEK_SET:2107-->0x9d
[ 3.371777] POWER20_PEK_SET:2118-->0x9d
[ 3.376697] POWER20_PEK_SET:2130-->0x9d
[ 3.381577] POWER20_HOTOVER_CTL:2139-->0xad
[ 3.390874] [AXP]last_rest_vol = 0, now_rest_vol = 100
[ 3.398660] [AXP]Cur_CoulombCounter = 0
[ 3.402950] [AXP]charger->rest_vol = 100
[ 3.412793] create_regulator: axp20_ldo2: Failed to create debugfs directory
[ 3.420665] regulator_virtual_consumer_probe:get regulator:axp20_analog/fm ok
[ 3.429085] regulator_virtual_consumer_probe:get regulator:axp20_pll ok
[ 3.436973] regulator_virtual_consumer_probe:get regulator:axp20_hdmi ok
[ 3.444860] create_regulator: axp20_buck2: Failed to create debugfs directory
[ 3.452884] regulator_virtual_consumer_probe:get regulator:axp20_core ok
[ 3.460748] regulator_virtual_consumer_probe:get regulator:axp20_ddr ok
[ 3.468782] regulator_virtual_consumer_probe:get regulator:axp20_mic ok
[ 3.477511] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised:
[ 3.487514] device-mapper: multipath: version 1.3.0 loaded
[ 3.493747] device-mapper: multipath round-robin: version 1.0.0 loaded
[ 3.501030] device-mapper: multipath queue-length: version 0.1.0 loaded
[ 3.508448] device-mapper: multipath service-time: version 0.2.0 loaded
[ 3.516354] Bluetooth: HCI UART driver ver 2.2
[ 3.521314] Bluetooth: HCI H4 protocol initialized
[ 3.526679] Bluetooth: MSM Sleep Mode Driver Ver 1.1
[ 3.532953] [+++BLUESLEEP+++]bluesleep_probe: bluesleep_probe line 639
[ 3.532960]
[ 3.542026] [gpio-err] __pio_to_irq: invalid pio to irq
[ 3.548829] [fantasy] err get cpu normal frequency from sysconfig failed
[ 3.556603] [mmc-msg] sw_mci_init
[ 3.560327] [mmc-msg] MMC host used card: 0x1, boot card: 0x0, io_card 0
[ 3.569073] [mmc-msg] sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[ 3.580287] [mmc-msg] sdc0 Probe: base:0xf0098000 irq:64 sg_cpu:ffdf7000(4fc20000) ret 0.
[ 3.589632] sunxi_leds driver init
[ 3.593484] request gpio188, ret=0
[ 3.597273] trigger_name:heartbeat
[ 3.601794] Registered led device: blue:ph21:led2
[ 3.611176] usbcore: registered new interface driver usbhid
[ 3.617477] usbhid: USB HID core driver
[ 3.623148] ashmem: initialized
[ 3.626976] logger: created 256K log 'log_main'
[ 3.632392] logger: created 256K log 'log_events'
[ 3.637978] logger: created 256K log 'log_radio'
[ 3.643464] logger: created 256K log 'log_system'
[ 3.658839] no UART detected at 0x1
[ 3.664403] MTVAP IRQ 7 busy
[ 3.667653] snd_mtpav: probe of snd_mtpav failed with error -16
[ 3.675443] specify port
[ 3.678275] snd_mpu401: probe of snd_mpu401.0 failed with error -22
[ 3.686161] usbcore: registered new interface driver snd-usb-audio
[ 3.693421] usbcore: registered new interface driver snd-ua101
[ 3.700195] usbcore: registered new interface driver snd-usb-caiaq
[ 3.707909] usbcore: registered new interface driver snd-usb-6fire
[ 3.733704] value is 1
[ 3.736836] enter sun7i Audio codec!!!
[ 3.745698] sun7i audio support initialized
[ 3.750594] sun7i Audio codec successfully loaded..
[ 3.759567] asoc: sndhdmi sun7i-hdmiaudio.0 mapping ok
[ 3.769374] [SPDIF]sun7i-spdif cannot find any using configuration for controllers, return directly!
[ 3.781028] [SPDIF]sun7i_sndspdif cannot find any using configuration for controllers, return directly!
[ 3.792728] [I2S] i2s_select type err!
[ 3.796902] [I2S]sun7i-i2s cannot find any using configuration for controllers, return directly!
[ 3.807702] [I2S]sndi2s cannot find any using configuration for controllers, return directly!
[ 3.817269] [I2S] i2s_master type err!
[ 3.821437] [I2S] audio_format type err!
[ 3.826168] [I2S] signal_inversion type err!
[ 3.830922] [I2S]sun7i_sndi2s cannot find any using configuration for controllers, return directly!
[ 3.841013] func:sun7i_pcm_init(line:953)sun7i-pcm.c
[ 3.846547] [PCM] type err!
[ 3.849649] [PCM] i2s_select type err!
[ 3.853828] func:sun7i_pcm_init(line:964)sun7i-pcm.c,pcm_used:-284983416
[ 3.861278] get pcm_para gpio list failed
[ 3.865847] func:sun7i_soc_platform_i2s_init(line:803)sun7i-pcmdma.c
[ 3.873748] func:sndpcm_codec_init(line:181)sndpcm.c
[ 3.879280] [PCM] type err!
[ 3.882448] func:sndpcm_codec_init(line:187)sndpcm.c,pcm_used:-284983424
[ 3.890621] pcm_used type err
[ 3.894051] [PCM] pcm_master type err!
[ 3.898216] [PCM] audio_format type err!
[ 3.902668] [PCM] signal_inversion type err!
[ 3.907416] func:sun7i_sndpcm_init(line:209)sun7i-sndpcm.c,pcm_used:0
[ 3.914601] [I2S]sun7i_sndi2s cannot find any using configuration for controllers, return directly!
[ 3.924670] ALSA device list:
[ 3.927967] #0: Loopback 1
[ 3.931167] #1: sun7i-CODEC Audio Codec
[ 3.935730] #2: sndhdmi
[ 3.938962] Netfilter messages via NETLINK v0.30.
[ 3.944388] nf_conntrack version 0.5.0 (13162 buckets, 52648 max)
[ 3.951995] ctnetlink v0.93: registering with nfnetlink.
[ 3.957916] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
[ 3.965677] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
[ 3.973536] xt_time: kernel timezone is -0000
[ 3.978431] IPv4 over IPv4 tunneling driver
[ 3.984433] GRE over IPv4 demultiplexor driver
[ 3.989187] GRE over IPv4 tunneling driver
[ 3.995509] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 4.001645] TCP cubic registered
[ 4.005346] Initializing XFRM netlink socket
[ 4.010941] NET: Registered protocol family 10
[ 4.017634] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 4.024066] IPv6 over IPv4 tunneling driver
[ 4.031449] NET: Registered protocol family 17
[ 4.036529] NET: Registered protocol family 15
[ 4.041664] Bluetooth: RFCOMM TTY layer initialized
[ 4.047136] Bluetooth: RFCOMM socket layer initialized
[ 4.052865] Bluetooth: RFCOMM ver 1.11
[ 4.057033] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 4.063063] Bluetooth: BNEP filters: protocol multicast
[ 4.068879] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 4.075859] L2TP core driver, V2.0
[ 4.079676] PPPoL2TP kernel driver, V2.0
[ 4.084116] L2TP IP encapsulation support (L2TPv3)
[ 4.089655] L2TP netlink interface
[ 4.093493] L2TP ethernet pseudowire support (L2TPv3)
[ 4.099111] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4
[ 4.107777] ThumbEE CPU extension supported.
[ 4.112554] [rfkill]: init no bt used in configuration
[ 4.120322] regulator_init_complete: axp20_buck3: incomplete constraints, leaving on
[ 4.129515] regulator_init_complete: axp20_buck2: incomplete constraints, leaving on
[ 4.138494] regulator_init_complete: axp20_ldo4: incomplete constraints, leaving on
[ 4.147364] regulator_init_complete: axp20_ldo3: incomplete constraints, leaving on
[ 4.156232] regulator_init_complete: axp20_ldo2: incomplete constraints, leaving on
[ 4.165102] regulator_init_complete: axp20_ldo1: incomplete constraints, leaving on
[ 4.174074] sunxi_rtc_gettime(34): err, losc_err_flag is 1
[ 4.180183] sunxi-rtc sunxi-rtc: hctosys: unable to read the hardware clock
[ 4.188610] Waiting for root device /dev/mmcblk0p2...