User Tools

Site Tools


toh:cubietech:cubieboard

Cubieboard

For further Allwinner-based boards, please refer to soc.allwinner.sunxi

Status

Hardware highlights

Model Ports
Cubietruck 4GB NAND, μSD, 2x USB2, 1x 10/100 Mbps ethernet, SATA, UEXT, HDMI, audio

Serial

You can use your usual serial levelshifter. Pinout is:

[ μSD ] [ HDMI ]

[ USB ]   TX  RX  GND
          o  o  o  o



[ ethernet ]

Installation process

Please refer to soc.allwinner.sunxi.

Bootlogs

OpenWrt bootlog

U-Boot SPL 2013.10-rc2 (Jan 18 2014 - 20:13:45) Board: Cubieboard DRAM: 1024 MiB CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2 spl: not an uImage at 1600 U-Boot 2013.10-rc2 (Jan 18 2014 - 20:13:45) Allwinner Technology CPU: Allwinner A10 (SUN4I) Board: Cubieboard 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: 0 reading uEnv.txt 240 bytes read in 3 ms (78.1 KiB/s) Loaded environment from uEnv.txt Running uenvcmd ... reading uImage 2307464 bytes read in 104 ms (21.2 MiB/s) reading dtb 13327 bytes read in 4 ms (3.2 MiB/s) ## Booting kernel from Legacy Image at 46000000 ... Image Name: ARM OpenWrt Linux-3.12.5 Created: 2014-01-18 19:39:45 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2307400 Bytes = 2.2 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 4900640e Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 3.12.5 (zalan@zlaptop) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r39315) ) #1 SMP PREEMPT Sat Jan 18 20:39:17 CET 2014 [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: Allwinner A1X (Device Tree), model: Cubietech Cubieboard [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] PERCPU: Embedded 7 pages/cpu @c0cff000 s7104 r8192 d13376 u32768 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260624 [ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 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: 1034432K/1048576K available (3199K kernel code, 151K rwdata, 912K rodata, 166K init, 600K bss, 14144K 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 - 0xc040bf2c (4112 kB) [ 0.000000] .init : 0xc040c000 - 0xc0435bc0 ( 167 kB) [ 0.000000] .data : 0xc0436000 - 0xc045bfb8 ( 152 kB) [ 0.000000] .bss : 0xc045bfb8 - 0xc04f21f4 ( 601 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms [ 0.000000] Console: colour dummy device 80x30 [ 0.000208] Calibrating delay loop... 669.28 BogoMIPS (lpj=3346432) [ 0.050063] pid_max: default: 32768 minimum: 301 [ 0.050185] Mount-cache hash table entries: 512 [ 0.050766] CPU: Testing write buffer coherency: ok [ 0.051010] CPU0: thread -1, cpu 0, socket -1, mpidr 0 [ 0.051058] Setting up static identity map for 0xc0011510 - 0xc0011544 [ 0.090218] Brought up 1 CPUs [ 0.090232] SMP: Total of 1 processors activated. [ 0.090239] CPU: All CPU(s) started in SVC mode. [ 0.090908] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 0.091082] pinctrl core: initialized pinctrl subsystem [ 0.091375] regulator-dummy: no parameters [ 0.091618] NET: Registered protocol family 16 [ 0.092041] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.097299] bio: create slab <bio-0> at 0 [ 0.097738] reg-fixed-voltage usb1-vbus.3: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe [ 0.097761] platform usb1-vbus.3: Driver reg-fixed-voltage requests probe deferral [ 0.097785] reg-fixed-voltage usb2-vbus.4: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe [ 0.097800] platform usb2-vbus.4: Driver reg-fixed-voltage requests probe deferral [ 0.097822] reg-fixed-voltage ahci-5v.5: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/ahci_pwr_pin@0, deferring probe [ 0.097836] platform ahci-5v.5: Driver reg-fixed-voltage requests probe deferral [ 0.098150] SCSI subsystem initialized [ 0.098515] usbcore: registered new interface driver usbfs [ 0.098565] usbcore: registered new interface driver hub [ 0.098672] usbcore: registered new device driver usb [ 0.099398] Switched to clocksource timer [ 0.104329] NET: Registered protocol family 2 [ 0.104970] TCP established hash table entries: 8192 (order: 4, 65536 bytes) [ 0.105093] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 0.105204] TCP: Hash tables configured (established 8192 bind 8192) [ 0.105290] TCP: reno registered [ 0.105304] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.105333] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.105532] NET: Registered protocol family 1 [ 0.106447] audit: initializing netlink socket (disabled) [ 0.106488] type=2000 audit(0.090:1): initialized [ 0.107130] bounce pool size: 64 pages [ 0.112835] VFS: Disk quotas dquot_6.5.2 [ 0.113045] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.114423] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.114455] msgmni has been set to 1492 [ 0.115232] io scheduler noop registered [ 0.115243] io scheduler deadline registered [ 0.115275] io scheduler cfq registered (default) [ 0.117219] sunxi-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver [ 0.147822] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 0.169764] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 22, base_baud = 1500000) is a U6_16550A [ 0.643752] console [ttyS0] enabled [ 0.647805] sun4i-mdio 1c0b080.mdio: no regulator found [ 0.653143] libphy: sun4i_mii_bus: probed [ 0.689970] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.696524] ehci-platform: EHCI generic platform driver [ 0.701883] sunxi-ehci: Allwinner sunXi EHCI driver [ 0.706855] platform 1c14000.ehci0: Driver sunxi-ehci requests probe deferral [ 0.714091] platform 1c1c000.ehci1: Driver sunxi-ehci requests probe deferral [ 0.721353] usbcore: registered new interface driver usb-storage [ 0.727535] mousedev: PS/2 mouse device common for all mice [ 0.734483] sunxi-mci 1c0f000.sdc: base:0xf0098000 irq:18 [ 0.740742] TCP: cubic registered [ 0.744058] Initializing XFRM netlink socket [ 0.748339] NET: Registered protocol family 17 [ 0.752922] 8021q: 802.1Q VLAN Support v1.8 [ 0.757209] Registering SWP/SWPB emulation handler [ 0.762432] registered taskstats version 1 [ 0.767044] usb1-vbus: 5000 mV [ 0.770559] usb2-vbus: 5000 mV [ 0.773932] ahci-5v: 5000 mV [ 0.777140] sunxi-ehci 1c14000.ehci0: EHCI Host Controller [ 0.782707] sunxi-ehci 1c14000.ehci0: new USB bus registered, assigned bus number 1 [ 0.790545] sunxi-ehci 1c14000.ehci0: irq 25, io mem 0x01c14000 [ 0.809431] sunxi-ehci 1c14000.ehci0: USB 2.0 started, EHCI 1.00 [ 0.815686] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 0.822511] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.829741] usb usb1: Product: EHCI Host Controller [ 0.834615] usb usb1: Manufacturer: Linux 3.12.5 ehci_hcd [ 0.840043] usb usb1: SerialNumber: 1c14000.ehci0 [ 0.845212] hub 1-0:1.0: USB hub found [ 0.849026] hub 1-0:1.0: 1 port detected [ 0.853509] sunxi-ehci 1c1c000.ehci1: EHCI Host Controller [ 0.859011] sunxi-ehci 1c1c000.ehci1: new USB bus registered, assigned bus number 2 [ 0.866851] sunxi-ehci 1c1c000.ehci1: irq 26, io mem 0x01c1c000 [ 0.889421] sunxi-ehci 1c1c000.ehci1: USB 2.0 started, EHCI 1.00 [ 0.895632] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [ 0.903452] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.911710] usb usb2: Product: EHCI Host Controller [ 0.916585] usb usb2: Manufacturer: Linux 3.12.5 ehci_hcd [ 0.921994] usb usb2: SerialNumber: 1c1c000.ehci1 [ 0.927136] hub 2-0:1.0: USB hub found [ 0.930941] hub 2-0:1.0: 1 port detected [ 0.935206] drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [ 0.942287] Waiting for root device /dev/mmcblk0p2... [ 1.200033] mmc0: Skipping voltage switch [ 1.544487] mmc0: new high speed SDHC card at address aaaa [ 1.550404] mmcblk0: mmc0:aaaa SU08G 7.40 GiB [ 1.556421] mmcblk0: p1 p2 [ 1.607063] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities [ 1.616065] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities [ 1.627494] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null) [ 1.635352] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [ 1.642400] Freeing unused kernel memory: 164K (c040c000 - c0435000) procd: Console is alive procd: - preinit - probing /dev/mmcblk0 for uboot env data Detected generic sunxi // generic sunxi 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.098150] ahci sunxi-ahci: controller can't do PMP, turning off CAP_PMP [ 2.104970] ahci sunxi-ahci: forcing PORTS_IMPL to 0x1 [ 2.110174] ahci sunxi-ahci: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode [ 2.118433] ahci sunxi-ahci: flags: ncq sntf pm led clo only pio slum part ccc [ 2.126767] scsi0 : ahci_platform [ 2.130553] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 19 [ 2.479418] ata1: SATA link down (SStatus 0 SControl 300) [ 2.501612] sdhci: Secure Digital Host Controller Interface driver [ 2.507793] sdhci: Copyright(c) Pierre Ossman [ 2.512806] sdhci-pltfm: SDHCI platform and OF driver helper mount_root[ 5.086568] EXT4-fs (mmcblk0p2): warning: mounting unchecked fs, running e2fsck is recommended : mounting /dev/root [ 5.097647] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) procd: - early - procd: - ubus - procd: - init - Please press Enter to activate this console. [ 6.810604] NET: Registered protocol family 10 [ 6.822937] device-mapper: ioctl: 4.26.0-ioctl (2013-08-15) initialised: dm-devel@redhat.com [ 6.858012] tun: Universal TUN/TAP device driver, 1.6 [ 6.869582] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> [ 6.902149] nf_conntrack version 0.5.0 (16165 buckets, 64660 max) [ 6.921798] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 6.963959] sunxi-rtc 1c20d00.rtc: rtc core: registered rtc-sunxi as rtc0 [ 6.979766] sunxi-rtc 1c20d00.rtc: RTC enabled [ 6.998398] u32 classifier [ 7.018376] input device check on [ 7.029570] Actions configured [ 7.034321] Mirror/redirect action on [ 7.066447] Loading modules backported from Linux version master-2013-11-05-0-gafa3093 [ 7.083115] Backport generated by backports.git backports-20130802-0-gdb67a3f [ 7.118764] ip_tables: (C) 2000-2006 Netfilter Core Team [ 7.184765] sun4i-emac 1c0b000.ethernet: using random MAC address 5a:d1:8a:ca:55:2a [ 7.218583] sun4i-emac 1c0b000.ethernet: eth0: at f0238000, IRQ 17 MAC: 5a:d1:8a:ca:55:2a [ 7.316083] xt_time: kernel timezone is -0000 [ 7.339224] cfg80211: Calling CRDA to update world regulatory domain [ 7.351726] cfg80211: World regulatory domain updated: [ 7.372855] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 7.398727] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 7.415271] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 7.429521] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 7.437265] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (300 mBi, 2000 mBm) [ 7.459524] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (300 mBi, 2000 mBm) [ 7.467271] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm) [ 7.499566] PPP generic driver version 2.4.2 [ 7.505270] NET: Registered protocol family 24 [ 7.525589] usbcore: registered new interface driver rt73usb [ 7.541623] usbcore: registered new interface driver rtl8187 [ 7.565000] usbcore: registered new interface driver rt2500usb [ 7.586099] usbcore: registered new interface driver rt2800usb [ 7.605023] usbcore: registered new interface driver rtl8192cu [ 9.629829] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready procd: - init complete - BusyBox v1.19.4 (2014-01-18 20:33:54 CET) 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, r39315) ----------------------------------------------------- * 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:/#


Tags

toh/cubietech/cubieboard.txt · Last modified: 2016/03/11 14:33 by tmomas