Cubietruck

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

  • Please refer to soc.allwinner.sunxi regarding the Allwinner A20 SOC.
  • Booting from SD
  • Ethernet working
  • Wireless not working (needs kmod-brcmfmac with SDIO support)

Model Additional Ports
Cubietruck Bluetooth, SATA, UEXT, VGA, HDMI, TOSlink, audio, IR

Wireless/Bluetooth = Broadcom BCM4329/BCM40181

For installation see soc.allwinner.sunxi.

You can use your usual serial levelshifter. Pinout is:

[ USB ]  GND    RX TX          [ WIFI ] [VGA]
          o  o  o  o 

U-Boot 2013.10-rc2 (Feb 01 2014 - 13:07:47) Allwinner Technology CPU: Allwinner A20 (SUN7I) Board: Cubietruck I2C: ready DRAM: 2 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 115 ms (19.1 MiB/s) reading dtb 14308 bytes read in 5 ms (2.7 MiB/s) ## Booting kernel from Legacy Image at 46000000 ... Image Name: ARM OpenWrt Linux-3.12.5 Created: 2014-02-01 14:07:55 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 490067e3 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 Feb 1 15:07:15 CET 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: Allwinner A1X (Device Tree), model: Cubietech Cubietruck [ 0.000000] Memory policy: ECC disabled, Data cache writealloc [ 0.000000] PERCPU: Embedded 7 pages/cpu @c1504000 s7104 r8192 d13376 u32768 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 522768 [ 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: 2074764K/2097152K available (3199K kernel code, 151K rwdata, 912K rodata, 166K init, 600K bss, 22388K reserved, 1318912K 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=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 178956ms [ 0.000000] sched_clock: 32 bits at 160MHz, resolution 6ns, wraps every 26843ms [ 0.000000] Console: colour dummy device 80x30 [ 0.000202] Calibrating delay loop... 1915.28 BogoMIPS (lpj=9576448) [ 0.059916] pid_max: default: 32768 minimum: 301 [ 0.060103] Mount-cache hash table entries: 512 [ 0.060942] CPU: Testing write buffer coherency: ok [ 0.061273] /cpus/cpu@0 missing clock-frequency property [ 0.061292] /cpus/cpu@1 missing clock-frequency property [ 0.061305] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.061341] Setting up static identity map for 0xc0011510 - 0xc0011544 [ 0.120172] CPU1: failed to boot: -38 [ 0.120198] Brought up 1 CPUs [ 0.120205] SMP: Total of 1 processors activated. [ 0.120212] CPU: All CPU(s) started in SVC mode. [ 0.124741] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4 [ 0.125044] pinctrl core: initialized pinctrl subsystem [ 0.125408] regulator-dummy: no parameters [ 0.125719] NET: Registered protocol family 16 [ 0.126018] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.131760] bio: create slab <bio-0> at 0 [ 0.132283] reg-fixed-voltage ahci-5v.3: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/ahci_pwr_pin@0, deferring probe [ 0.132309] platform ahci-5v.3: Driver reg-fixed-voltage requests probe deferral [ 0.132337] reg-fixed-voltage usb1-vbus.4: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe [ 0.132352] platform usb1-vbus.4: Driver reg-fixed-voltage requests probe deferral [ 0.132373] reg-fixed-voltage usb2-vbus.5: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe [ 0.132387] platform usb2-vbus.5: Driver reg-fixed-voltage requests probe deferral [ 0.132764] SCSI subsystem initialized [ 0.133207] usbcore: registered new interface driver usbfs [ 0.133275] usbcore: registered new interface driver hub [ 0.133402] usbcore: registered new device driver usb [ 0.134249] Switched to clocksource hstimer [ 0.139652] NET: Registered protocol family 2 [ 0.140585] TCP established hash table entries: 8192 (order: 4, 65536 bytes) [ 0.140721] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 0.140843] TCP: Hash tables configured (established 8192 bind 8192) [ 0.140924] TCP: reno registered [ 0.140943] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.141003] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.141350] NET: Registered protocol family 1 [ 0.142523] audit: initializing netlink socket (disabled) [ 0.142576] type=2000 audit(0.130:1): initialized [ 0.143382] bounce pool size: 64 pages [ 0.149689] VFS: Disk quotas dquot_6.5.2 [ 0.149944] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.151530] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.151565] msgmni has been set to 1476 [ 0.152389] io scheduler noop registered [ 0.152403] io scheduler deadline registered [ 0.152438] io scheduler cfq registered (default) [ 0.154772] sunxi-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver [ 0.188379] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 0.210392] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 33, base_baud = 1500000) is a U6_16550A [ 0.702382] console [ttyS0] enabled [ 0.706557] sun4i-mdio 1c0b080.mdio: no regulator found [ 0.711869] libphy: sun4i_mii_bus: probed [ 0.754899] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.761465] ehci-platform: EHCI generic platform driver [ 0.766841] sunxi-ehci: Allwinner sunXi EHCI driver [ 0.771827] platform 1c14000.ehci0: Driver sunxi-ehci requests probe deferral [ 0.779078] platform 1c1c000.ehci1: Driver sunxi-ehci requests probe deferral [ 0.786355] usbcore: registered new interface driver usb-storage [ 0.792546] mousedev: PS/2 mouse device common for all mice [ 0.799343] sunxi-mci 1c0f000.sdc: base:0xf0098000 irq:64 [ 0.806005] TCP: cubic registered [ 0.809325] Initializing XFRM netlink socket [ 0.813618] NET: Registered protocol family 17 [ 0.818229] 8021q: 802.1Q VLAN Support v1.8 [ 0.822529] Registering SWP/SWPB emulation handler [ 0.827870] registered taskstats version 1 [ 0.832581] ahci-5v: 5000 mV [ 0.835993] usb1-vbus: 5000 mV [ 0.839422] usb2-vbus: 5000 mV [ 0.842827] sunxi-ehci 1c14000.ehci0: EHCI Host Controller [ 0.848440] sunxi-ehci 1c14000.ehci0: new USB bus registered, assigned bus number 1 [ 0.856321] sunxi-ehci 1c14000.ehci0: irq 71, io mem 0x01c14000 [ 0.874266] sunxi-ehci 1c14000.ehci0: USB 2.0 started, EHCI 1.00 [ 0.880539] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 0.887370] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.894600] usb usb1: Product: EHCI Host Controller [ 0.899474] usb usb1: Manufacturer: Linux 3.12.5 ehci_hcd [ 0.904905] usb usb1: SerialNumber: 1c14000.ehci0 [ 0.910161] hub 1-0:1.0: USB hub found [ 0.913992] hub 1-0:1.0: 1 port detected [ 0.918567] sunxi-ehci 1c1c000.ehci1: EHCI Host Controller [ 0.924074] sunxi-ehci 1c1c000.ehci1: new USB bus registered, assigned bus number 2 [ 0.931923] sunxi-ehci 1c1c000.ehci1: irq 72, io mem 0x01c1c000 [ 0.954276] sunxi-ehci 1c1c000.ehci1: USB 2.0 started, EHCI 1.00 [ 0.960528] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [ 0.968358] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.976619] usb usb2: Product: EHCI Host Controller [ 0.981494] usb usb2: Manufacturer: Linux 3.12.5 ehci_hcd [ 0.986905] usb usb2: SerialNumber: 1c1c000.ehci1 [ 0.992104] hub 2-0:1.0: USB hub found [ 0.995917] hub 2-0:1.0: 1 port detected [ 1.000229] drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [ 1.007376] Waiting for root device /dev/mmcblk0p2... [ 1.362837] mmc0: new SD card at address 8f42 [ 1.367710] mmcblk0: mmc0:8f42 SU02G 1.84 GiB [ 1.373791] mmcblk0: p1 p2 [ 1.445348] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities [ 1.454369] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities [ 1.466616] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null) [ 1.474523] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [ 1.481521] 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.036539] ahci sunxi-ahci: controller can't do PMP, turning off CAP_PMP [ 2.043337] ahci sunxi-ahci: forcing PORTS_IMPL to 0x1 [ 2.048594] ahci sunxi-ahci: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode [ 2.056902] ahci sunxi-ahci: flags: ncq sntf pm led clo only pio slum part ccc [ 2.065264] scsi0 : ahci_platform [ 2.069056] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 88 [ 2.424265] ata1: SATA link down (SStatus 0 SControl 300) [ 2.446486] sdhci: Secure Digital Host Controller Interface driver [ 2.452669] sdhci: Copyright(c) Pierre Ossman [ 2.457814] sdhci-pltfm: SDHCI platform and OF driver helper mount_root[ 4.988492] EXT4-fs (mmcblk0p2): warning: mounting unchecked fs, running e2fsck is recommended : mounting /dev/root [ 5.001490] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) procd: - early - procd: - ubus - procd: - init - Please press Enter to activate this console. [ 8.616338] NET: Registered protocol family 10 [ 8.626573] device-mapper: ioctl: 4.26.0-ioctl (2013-08-15) initialised: dm-devel@redhat.com [ 8.646229] tun: Universal TUN/TAP device driver, 1.6 [ 8.651289] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> [ 8.676432] nf_conntrack version 0.5.0 (16384 buckets, 65536 max) [ 8.691228] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 8.734998] sunxi-rtc 1c20d00.rtc: rtc core: registered rtc-sunxi as rtc0 [ 8.741796] sunxi-rtc 1c20d00.rtc: RTC enabled [ 8.769429] u32 classifier [ 8.772147] input device check on [ 8.778855] Actions configured [ 8.783723] Mirror/redirect action on [ 8.804800] Loading modules backported from Linux version master-2014-01-23-0-g62c147d [ 8.812720] Backport generated by backports.git backports-20140124-0-g1256d3e [ 8.822215] ip_tables: (C) 2000-2006 Netfilter Core Team [ 8.889169] sun4i-emac 1c0b000.ethernet: using random MAC address de:de:06:01:cc:6f [ 8.900369] sun4i-emac 1c0b000.ethernet: eth0: at f0238000, IRQ 87 MAC: de:de:06:01:cc:6f [ 8.960509] xt_time: kernel timezone is -0000 [ 8.973345] cfg80211: Calling CRDA to update world regulatory domain [ 8.986026] cfg80211: World regulatory domain updated: [ 8.991184] cfg80211: DFS Master region: unset [ 9.023251] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 9.031753] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 9.039546] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 9.047317] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 9.055078] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (300 mBi, 2000 mBm) [ 9.062811] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (300 mBi, 2000 mBm) [ 9.070606] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm) [ 9.082837] PPP generic driver version 2.4.2 [ 9.088788] NET: Registered protocol family 24 [ 9.099451] usbcore: registered new interface driver rt73usb [ 9.107405] usbcore: registered new interface driver rtl8187 [ 9.121200] usbcore: registered new interface driver rt2500usb [ 9.131837] usbcore: registered new interface driver rt2800usb [ 9.141696] usbcore: registered new interface driver rtl8192cu [ 11.644644] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready BusyBox v1.19.4 (2014-02-01 13:12:56 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, r39440) ----------------------------------------------------- * 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:/#


This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2024/02/12 08:58
  • by 127.0.0.1