User Tools

Site Tools


toh:cubietech:cubieboard2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Previous revision
toh:cubietech:cubieboard2 [2014/02/28 09:08]
toh:cubietech:cubieboard2 [2015/10/16 22:35] (current)
tmomas Link changed from external to internal
Line 1: Line 1:
 +===== Cubieboard2 =====
  
 +For further Allwinner-based boards, please refer to [[/​doc/​hardware/​soc/​soc.allwinner.sunxi|soc.allwinner.sunxi]]
 +
 +==== Hardware highlights ====
 +
 +^ Model ^ Ports ^
 +| [[wp>​Cubieboard#​Cubieboard2|Cubieboard2]] | 4GB NAND, μSD, 2x USB2, 1x 10/100 Mbps ethernet, SATA, UEXT, HDMI, audio |
 +
 +==== Serial ====
 +
 +You can use your usual serial levelshifter. Pinout is:
 +
 +<​code>​
 +[ μSD ] [ HDMI ]
 +
 +[ USB ]   ​TX ​ RX  GND
 +          o  o  o  o
 +
 +
 +
 +[ ethernet ]
 +</​code>​
 +
 +==== Status ====
 +
 +   * Please refer to [[:​doc:​hardware:​soc:​soc.allwinner.sunxi#​status|soc.allwinner.sunxi]] regarding the Allwinner A20 SOC.
 +   * Booting from SD
 +
 +==== Installation process ====
 +
 +Please refer to [[:​doc:​hardware:​soc:​soc.allwinner.sunxi#​installation.process|soc.allwinner.sunxi]].
 +
 +==== dmesg ====
 +<​code>​
 +U-Boot SPL 2013.10-rc2 (Feb 27 2014 - 22:16:14)
 +Board: Cubieboard2
 +DRAM: 1024 MiB
 +CPU: 960000000Hz,​ AXI/​AHB/​APB:​ 3/2/2
 +spl: not an uImage at 1600
 +
 +
 +U-Boot 2013.10-rc2 (Feb 27 2014 - 22:16:14) Allwinner Technology
 +
 +CPU:   ​Allwinner A20 (SUN7I)
 +Board: Cubieboard2
 +I2C:   ready
 +DRAM:  1 GiB
 +MMC:   SUNXI SD/MMC: 0
 +*** Warning - bad CRC, using default environment
 +
 +In:    serial
 +Out:   ​serial
 +Err:   ​serial
 +Net:   emac
 +Hit any key to stop autoboot: ​ 3  2  1  0 
 +reading uEnv.txt
 +240 bytes read in 2 ms (117.2 KiB/s)
 +Loaded environment from uEnv.txt
 +Running uenvcmd ...
 +reading uImage
 +2371480 bytes read in 191 ms (11.8 MiB/s)
 +reading dtb
 +16105 bytes read in 3 ms (5.1 MiB/s)
 +## Booting kernel from Legacy Image at 46000000 ...
 +   Image Name:   ARM OpenWrt Linux-3.13.2
 +   ​Created: ​     2014-02-27 ​ 14:18:25 UTC
 +   Image Type:   ARM Linux Kernel Image (uncompressed)
 +   Data Size:    2371416 Bytes = 2.3 MiB
 +   Load Address: 40008000
 +   Entry Point: ​ 40008000
 +   ​Verifying Checksum ... OK
 +## Flattened Device Tree blob at 49000000
 +   ​Booting using the fdt blob at 0x49000000
 +   ​Loading Kernel Image ... OK
 +   Using Device Tree in place at 49000000, end 49006ee8
 +
 +Starting kernel ...
 +
 +[    0.000000] Booting Linux on physical CPU 0x0
 +[    0.000000] Linux version 3.13.2 (yousong@debian) (gcc version 4.6.4 (OpenWrt/​Linaro GCC 4.6-2013.05 r39135) ) #2 SMP PREEMPT Thu Feb 27 22:18:09 CST 2014
 +[    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 model: Cubietech Cubieboard2
 +[    0.000000] Memory policy: Data cache writealloc
 +[    0.000000] PERCPU: Embedded 7 pages/cpu @c0d1f000 s7040 r8192 d13440 u32768
 +[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260624
 +[    0.000000] Kernel command line: console=ttyS0,​115200 earlyprintk rootwait root=/​dev/​mmcblk0p2
 +[    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: 1034272K/​1048576K available (3287K kernel code, 152K rwdata, 932K rodata, 178K init, 604K bss, 14304K 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 - 0xc0426f2c ​  (4220 kB)
 +[    0.000000] ​      .init : 0xc0427000 - 0xc0453b80 ​  ( 179 kB)
 +[    0.000000] ​      .data : 0xc0454000 - 0xc047a2f8 ​  ( 153 kB)
 +[    0.000000] ​       .bss : 0xc047a2f8 - 0xc051159c ​  ( 605 kB)
 +[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0,​ CPUs=2, Nodes=1
 +[    0.000000] Preemptible hierarchical RCU implementation.
 +[    0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
 +[    0.000000] NR_IRQS:16 nr_irqs:16 16
 +[    0.000000] sched_clock:​ 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns
 +[    0.000000] sched_clock:​ 32 bits at 160MHz, resolution 6ns, wraps every 26843545593ns
 +[    0.000000] Console: colour dummy device 80x30
 +[    0.000196] Calibrating delay loop... 1915.28 BogoMIPS (lpj=9576448)
 +[    0.059908] pid_max: default: 32768 minimum: 301
 +[    0.060088] Mount-cache hash table entries: 512
 +[    0.060872] CPU: Testing write buffer coherency: ok
 +[    0.061183] /cpus/cpu@0 missing clock-frequency property
 +[    0.061201] /cpus/cpu@1 missing clock-frequency property
 +[    0.061214] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
 +[    0.061247] Setting up static identity map for 0x40011718 - 0x4001174c
 +[    0.120358] CPU1: failed to boot: -38
 +[    0.120383] Brought up 1 CPUs
 +[    0.120390] SMP: Total of 1 processors activated.
 +[    0.120396] CPU: All CPU(s) started in SVC mode.
 +[    0.125075] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4
 +[    0.125337] pinctrl core: initialized pinctrl subsystem
 +[    0.125698] regulator-dummy:​ no parameters
 +[    0.126003] NET: Registered protocol family 16
 +[    0.126303] DMA: preallocated 256 KiB pool for atomic coherent allocations
 +[    0.132565] bio: create slab <​bio-0>​ at 0
 +[    0.133075] reg-fixed-voltage ahci-5v.4: could not find pctldev for node /​soc@01c00000/​pinctrl@01c20800/​ahci_pwr_pin@0,​ deferring probe
 +[    0.133103] platform ahci-5v.4: Driver reg-fixed-voltage requests probe deferral
 +[    0.133130] reg-fixed-voltage usb1-vbus.5:​ could not find pctldev for node /​soc@01c00000/​pinctrl@01c20800/​usb1_vbus_pin@0,​ deferring probe
 +[    0.133144] platform usb1-vbus.5:​ Driver reg-fixed-voltage requests probe deferral
 +[    0.133168] reg-fixed-voltage usb2-vbus.6:​ could not find pctldev for node /​soc@01c00000/​pinctrl@01c20800/​usb2_vbus_pin@0,​ deferring probe
 +[    0.133181] platform usb2-vbus.6:​ Driver reg-fixed-voltage requests probe deferral
 +[    0.133555] SCSI subsystem initialized
 +[    0.133984] usbcore: registered new interface driver usbfs
 +[    0.134034] usbcore: registered new interface driver hub
 +[    0.134148] usbcore: registered new device driver usb
 +[    0.134273] pps_core: LinuxPPS API ver. 1 registered
 +[    0.134281] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <​giometti@linux.it>​
 +[    0.134307] PTP clock support registered
 +[    0.135049] Switched to clocksource timer
 +[    0.140170] Clockevents:​ could not switch to one-shot mode: dummy_timer is not functional.
 +[    0.140193] Could not switch to high resolution mode on CPU 0
 +[    0.140456] NET: Registered protocol family 2
 +[    0.141209] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
 +[    0.141291] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
 +[    0.141412] TCP: Hash tables configured (established 8192 bind 8192)
 +[    0.141495] TCP: reno registered
 +[    0.141510] UDP hash table entries: 512 (order: 2, 16384 bytes)
 +[    0.141568] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
 +[    0.141907] NET: Registered protocol family 1
 +[    0.143081] audit: initializing netlink socket (disabled)
 +[    0.143127] type=2000 audit(0.130:​1):​ initialized
 +[    0.143806] bounce pool size: 64 pages
 +[    0.149894] VFS: Disk quotas dquot_6.5.2
 +[    0.150265] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
 +[    0.151830] squashfs: version 4.0 (2009/​01/​31) Phillip Lougher
 +[    0.151860] msgmni has been set to 1492
 +[    0.153294] io scheduler noop registered
 +[    0.153308] io scheduler deadline registered
 +[    0.153344] io scheduler cfq registered (default)
 +[    0.155523] sunxi-pinctrl 1c20800.pinctrl:​ initialized sunXi PIO driver
 +[    0.188217] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
 +[    0.210210] 1c28000.serial:​ ttyS0 at MMIO 0x1c28000 (irq = 33, base_baud = 1500000) is a U6_16550A
 +[    0.731380] console [ttyS0] enabled
 +[    0.735855] ​ Ring mode enabled
 +[    0.738917] ​ No HW DMA feature register supported
 +[    0.743481] ​ Normal descriptors
 +[    0.746804] ​ Wake-Up On Lan supported
 +[    0.754164] libphy: stmmac: probed
 +[    0.757575] eth0: PHY ID 00008201 at 1 IRQ 0 (stmmac-0:​01) active
 +[    0.763857] ehci_hcd: USB 2.0 '​Enhanced'​ Host Controller (EHCI) Driver
 +[    0.770421] sunxi-ehci: Allwinner sunXi EHCI driver
 +[    0.775448] platform 1c14000.ehci0:​ Driver sunxi-ehci requests probe deferral
 +[    0.782676] platform 1c1c000.ehci1:​ Driver sunxi-ehci requests probe deferral
 +[    0.789905] usbcore: registered new interface driver usb-storage
 +[    0.796140] mousedev: PS/2 mouse device common for all mice
 +[    0.802540] sunxi-wdt 1c20c90.watchdog:​ Watchdog enabled (timeout=16 sec, nowayout=0)
 +[    0.811139] sunxi-mci 1c0f000.mmc:​ base:​0xf00b2000 irq:64
 +[    0.817333] TCP: cubic registered
 +[    0.820735] Initializing XFRM netlink socket
 +[    0.825026] NET: Registered protocol family 17
 +[    0.829559] 8021q: 802.1Q VLAN Support v1.8
 +[    0.834045] Registering SWP/SWPB emulation handler
 +[    0.839181] registered taskstats version 1
 +[    0.843893] ahci-5v: 5000 mV 
 +[    0.847174] usb1-vbus: 5000 mV 
 +[    0.850687] usb2-vbus: 5000 mV 
 +[    0.854091] sunxi-ehci 1c14000.ehci0:​ EHCI Host Controller
 +[    0.859596] sunxi-ehci 1c14000.ehci0:​ new USB bus registered, assigned bus number 1
 +[    0.867393] sunxi-ehci 1c14000.ehci0:​ irq 71, io mem 0x01c14000
 +[    0.890154] sunxi-ehci 1c14000.ehci0:​ USB 2.0 started, EHCI 1.00
 +[    0.896372] usb usb1: New USB device found, idVendor=1d6b,​ idProduct=0002
 +[    0.903200] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
 +[    0.910428] usb usb1: Product: EHCI Host Controller
 +[    0.915302] usb usb1: Manufacturer:​ Linux 3.13.2 ehci_hcd
 +[    0.920726] usb usb1: SerialNumber:​ 1c14000.ehci0
 +[    0.925895] hub 1-0:1.0: USB hub found
 +[    0.929725] hub 1-0:1.0: 1 port detected
 +[    0.934181] sunxi-ehci 1c1c000.ehci1:​ EHCI Host Controller
 +[    0.939684] sunxi-ehci 1c1c000.ehci1:​ new USB bus registered, assigned bus number 2
 +[    0.947475] sunxi-ehci 1c1c000.ehci1:​ irq 72, io mem 0x01c1c000
 +[    0.970150] sunxi-ehci 1c1c000.ehci1:​ USB 2.0 started, EHCI 1.00
 +[    0.976310] usb usb2: New USB device found, idVendor=1d6b,​ idProduct=0002
 +[    0.983109] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
 +[    0.991356] usb usb2: Product: EHCI Host Controller
 +[    0.997260] usb usb2: Manufacturer:​ Linux 3.13.2 ehci_hcd
 +[    1.002668] usb usb2: SerialNumber:​ 1c1c000.ehci1
 +[    1.007795] hub 2-0:1.0: USB hub found
 +[    1.011603] hub 2-0:1.0: 1 port detected
 +[    1.015844] drivers/​rtc/​hctosys.c:​ unable to open rtc device (rtc0)
 +[    1.022932] Waiting for root device /​dev/​mmcblk0p2...
 +[    1.061974] sunxi-mci 1c0f000.mmc:​ smc 0 err, cmd 8, RTO !!
 +[    1.211954] sunxi-mci 1c0f000.mmc:​ smc 0 err, cmd 8, RTO !!
 +[    1.235781] mmc0: SD Status: Invalid Allocation Unit size.
 +[    1.450146] mmc0: new high speed SD card at address b368
 +[    1.455856] isa bounce pool size: 16 pages
 +[    1.460086] mmcblk0: mmc0:b368 SD256 244 MiB 
 +[    1.465741] ​ mmcblk0: p1 p2
 +[    1.571049] EXT4-fs (mmcblk0p2):​ couldn'​t mount as ext3 due to feature incompatibilities
 +[    1.579767] EXT4-fs (mmcblk0p2):​ couldn'​t mount as ext2 due to feature incompatibilities
 +[    1.593724] EXT4-fs (mmcblk0p2):​ mounted filesystem with ordered data mode. Opts: (null)
 +[    1.601966] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
 +[    1.608971] Freeing unused kernel memory: 176K (c0427000 - c0453000)
 +procd: Console is alive
 +procd: - watchdog -
 +procd: - preinit -
 +probing /​dev/​mmcblk0 for uboot env data
 +[    1.892334] sunxi-ahci 1c18000.ahci:​ controller can't do PMP, turning off CAP_PMP
 +[    1.903236] sunxi-ahci 1c18000.ahci:​ forcing PORTS_IMPL to 0x1
 +[    1.909092] sunxi-ahci 1c18000.ahci:​ AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl sunxi mode
 +Detected generic sunxi // generic sunxi[ ​   1.939684] sunxi-ahci 1c18000.ahci:​ flags: ncq sntf pm led clo only pio slum part ccc 
 +
 +[    1.957231] scsi0 : sunxi_ahci
 +[    1.963574] random: mktemp urandom read with 19 bits of entropy available
 +[    1.971066] ata1: SATA max UDMA/133 irq 88
 +Press the [f] key and hit [enter] to enter failsafe mode
 +Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
 +[    2.320165] ata1: SATA link down (SStatus 0 SControl 300)
 +mount_root: mounting /dev/root
 +[    5.099990] EXT4-fs (mmcblk0p2):​ re-mounted. Opts: (null)
 +procd: - early -
 +procd: - watchdog -
 +procd: - ubus -
 +procd: - init -
 +Please press Enter to activate this console.
 +[    7.109435] NET: Registered protocol family 10
 +[    7.130439] nf_conntrack version 0.5.0 (16163 buckets, 64652 max)
 +[    7.160431] ip6_tables: (C) 2000-2006 Netfilter Core Team
 +[    7.202011] sunxi-rtc 1c20d00.rtc:​ rtc core: registered rtc-sunxi as rtc0
 +[    7.208806] sunxi-rtc 1c20d00.rtc:​ RTC enabled
 +[    7.232073] ip_tables: (C) 2000-2006 Netfilter Core Team
 +[    7.372898] xt_time: kernel timezone is -0000
 +[    7.383574] PPP generic driver version 2.4.2
 +[    7.399322] NET: Registered protocol family 24
 +[    8.584265] random: nonblocking pool is initialized
 +procd: - init complete -
 +
 +
 +
 +BusyBox v1.19.4 (2014-02-27 21:24:43 CST) built-in shell (ash)
 +Enter '​help'​ for a list of built-in commands.
 +
 +  _______ ​                    ​________ ​       __
 + ​| ​      ​|.-----.-----.-----.| ​ |  |  |.----.| ​ |_
 + ​| ​  ​- ​  ​|| ​ _  |  -__|     ​|| ​ |  |  ||   ​_|| ​  _|
 + ​|_______|| ​  ​__|_____|__|__||________||__| ​ |____|
 +          |__| W I R E L E S S   F R E E D O M
 + ​-----------------------------------------------------
 + ​BARRIER BREAKER (Bleeding Edge, r39756)
 + ​-----------------------------------------------------
 +  * 1/2 oz Galliano ​        Pour all ingredients into
 +  * 4 oz cold Coffee ​       an irish coffee mug filled
 +  * 1 1/2 oz Dark Rum       with crushed ice. Stir.
 +  * 2 tsp. Creme de Cacao
 + ​-----------------------------------------------------
 +root@OpenWrt:/# ​
 +</​code>​
 +
 +===== Tags =====
 +----
 +{{tag>​FastEthernet no_switch 0NIC 1NIC 0WNIC 1WNIC Serial ARM devboard Cortex-A8 ARMv7 sunxi}}