I’ve received another cool board this week with the Cubieboard development board. As a quick reminder, the Cubieboard is the only proper low cost AllWinner A10 development board available, and comes with 512MB/1GB RAM, 4GB NAND Flash, 10/100 MBit Ethernet, HDMI output, 2x USB Host port, 1x USB OTG port, a microSD socket, a SATA interface, an IR sensor and 2 headers to access extra pins such as GPIOs, I2C, SPI,VGA pins, CVBS pins etc…
CubieTech had a successful Indiegogo campaign where the 1GB board was available for $59 including worldwide shipping (and as low as $19 for early birds), and you can now buy it from resellers. [Update: It’s now available with several cables, USB to TTL debug board, and an enclosure for $80 on dx.com]
Cubieboard Unboxing
The board comes with a SATA cable and a USB cable for power. There’s no power supply so you’ll need you own, either using the USB cable provided, or a standard USB power supply connected to the USB OTG port.
Most of the components are at the top of the board.
But the 2 expansion headers are soldered on the back, as well as the line-in connector, the Ethernet PHY and the 4G NAND flash.
The board is slightly bigger than the Raspberry Pi, but provides much more features, and the 4 mounting holes may also be convenient if you intend to use a casing. The features of the Cubieboard are very similar to the Mele A1000, and it just lacks the casing, remote control and the Wi-Fi module. Composite, VGA & SPDIF outputs are also missing, but those can also be added via the expansion header.
If you prefer unboxing videos, watch haritot video (8 minutes). His kit also includes a transparent casing.
Getting Started with the Cubieboard
First Boot
First, connect USB keyboard & mouse, an Ethernet cable, an HDMI cable and finally the power supply to boot the board. I used the USB power supply that came with my Raspberry Pi. My board NAND flash came pre-loaded with CyanogenMod with Android 4.0.4 and Kernel 3.0.42+, so after a few seconds it booted in Android. You then just need to go to Settings->Ethernet to enable Ethernet and get an IP address assuming your LAN has a DHCP server. At this point, you are good to go and do whatever you want with the board in Android.
Installing Linux
However, I assume most people actually plan to run Linux on this board. Maxnet’s BerryBoot makes this very easy, and there are 2 methods.
- Within Android – If you have Android running in your Cubieboard, install the APK from http://get.berryboot.com/, and follow the instructions in BerryBoot Android to install Linux in a microSD card.
- From a Windows or Linux PC – See instructions below.
I mainly followed the instructions provided on Cubieboard.org to install Linaro Ubuntu ALIP 12.08 on a microSD card.
- Insert a microSD card to your computer (preferrably 4GB or higher).
- Download “Berryboot-cubieboard-beta1.zip” from http://www.berryterminal.com/doku.php/berryboot_a10 and extract it.
- “Burn” the image in the microSD card
- In Windows
- Download “win32diskimager-binary.zip” from https://launchpad.net/win32-image-writer/+download
- Run Win32DiskImager.exe
- Select “Berryboot-cubieboard-beta1.ddimg” file
- Verify that correct disk drive is selected. This is very important. On my system, Win32DiskImager.exe selects my external USB hard drive by default…
- Write the file to the microSD card
- In Linux
- Open a terminal window, and type:
1sudo dd if=Berryboot-cubieboard-beta1.ddimg of=/dev/sdX
where /dev/sdX corresponds to your SD card. - You’re done.
- Open a terminal window, and type:
- In Windows
- Insert the microSD card into the Cubieboard, and power on the board.
- Follow the instructions provided in BerryBoot user interface.
- Select the media device where to install the Linux distribution. In my case, I had 2 choices: mmcblk0 or networked storage (iSCSI SAN).
I’m not sure what the second choice does(NAS Boot, See Max’s comment), and selected the microSD card. (mmcblk0) -
At this stage, it may tell you a new version is available, and ask you to download it. I did just that, but nothing changed after reboot, and asked me again to download the latest version. So you can safely say “No”.
- Select a Linux distribution from the list.
- Linaro Ubuntu ALIP 2012.08 (268 MB)
- Debian Wheezy Raspbian 2012.09 (430 MB)
- OpenELEC r11791 (71 MB)
- Puppy Linux Alpha (123 MB)
- RaspRazor (624 MB) – Distribution with Qt/Razor 0.4.9 desktop
- Sugar OS (473 MB) – Education OS as used in OLPC Laptop
- LTSP Thinclient Berry Terminal (22 MB) – Thin client OS to connect to LTSP/Edubuntu server
- BerryWebServer (5MB) – Distribution with Lightppd, php 5.3 & SQLite
- Memtester (<1MB) – Program to test the memory
- After selection (I chose Linao ALIP), BerryBoot will download the image, and install it in your chosen storage device.
- Once the installation is complete, exit the BerryBoot installer to reboot the board, and start your newly installed Linux operating system.
More Information and Technical Support
If you want to use/test the latest kernel and bootloader, you can get the Cubieboard hardware pack from the “nightly” builds at http://dl.linux-sunxi.org/amery/sunxi-3.0/latest/. You need to use sunxi-media-create.sh, and the instructions are the same as for a1x-media-create.sh. If you want to keep your existing rootfs, and just update the U-Boot, the kernel, kernel modules and binary libraries, simply run something like:
1 |
./sunxi-media-create.sh /dev/sdX cubieboard_hwpack.tar.xz norootfs |
Alternatively, you may also want to build your own kernel (and u-boot) for the Cubieboard, which you can do by following the first steps instructions on sunxi-linux.org.
You can get hardware and software support on Cubieboard Google Group or on #cubieboard IRC channel. However, if you are “playing” around with the kernel or u-boot source code or find bugs, you may prefer to contact sunxi-linux mailing-list which is more geared towards development (most patches go through this list before behind merged).
Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011.
Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress
Too slow too late too bad … Million user super supported Pi for far less or for me hard kernel odroid U samsung quad core A9 for a few bucks more blows this single Core A8 back to where it came from .. Freescale imx6 quad core what have you to offer as well 😉
@Magio It all depends what you want to do. Depending on your requirements, the Raspberry Pi is not always the cheapest option. The ODROID-U is very powerful and low cost ($99 inc. shipping), but lacks I/O headers. The Cubieboard is in between in terms of performance and price, it has a small, but active, community behind it, and 2 expansion headers which allow to do everything the Pi does and more. The cheapest devboard for Freescale i.MX6 is the Sabrelite i.MX6 (Elements14) at $179. HI-802 dongle ($89) could also be an option, and although it’s not a devboard, the debug… Read more »
>or networked storage (iSCSI SAN). I’m not sure what the second choice does
The second option is experimental support for storing the files on a NAS device such as those made by Synology and QNAP.
Need to create an iSCSI LUN (“virtual disk”) first on your NAS device, and then connect to it.
It will be presented in Linux as a normal /dev/sda disk.
http://forum.synology.com/wiki/index.php/How_to_use_the_iSCSI_Target_Service_on_the_Synology_DiskStation
@Jean-Luc Aufranc (CNXSoft) As someone that uses a mele A1000 24/7 running as a debian headless media server i have experienced just how weak the linux support (and SOC support) for A10 is and just how small the “community” is .. the pi may be slower but has immense support, right from the SOC maker and addons (the really neat Olimex pi board and uext addons) and you know its going to be around for a considerable time I would say in moving my setup from a hacked iconnect to the mele the biggest difference has been the impact of… Read more »
@mac me
armhf should only speeds up your system if your application uses floating-point operations, but for a server I doubt it provides much performance improvements, unless it does some multimedia files transcoding. However, it’s still possible other improvements have been made in the armhf rootfs (but not related to armhf).
@Jean-Luc Aufranc (CNXSoft)
MEDIA server .. the squeezebox media scan (big library) is around 3x faster, now the jgeg resizing element of it i know (from when i tried disabling it on the plug on its own makes a huge diff) quite a few of the plugins use some form of transcoding as well .. so all in all well worth the move to armhf 🙂
I will have to give my mele to my nephew i think, just cant resist the U2 for the price 🙂
Tried on Mele 2000 and it seems to work. Yet to test the full install. What’s disappointing is still the lack of using nand memory on-board the motherboard. The serious short coming of all A10 development so far for Linux.
@e8hffff
I think NAND Flash support works, as Pendpod tablets can run Linux from flash, but there may not be an easy to use method yet.
why I can’t reboot from miniSD’s Ubuntu Linux OS after shutdown Ubuntu(12.08) that download from Ardroid Berryboot.
i’d like to see a revision B to the cubieboard with the allwinner A20 processor. It’s a dual core processor with the same pinouts so I assume you could just put on the same board with little or no changes. Let’s see what people come up with in the next couple of months.
Of course even better would be to have the cortex a7 Allwinner A31 quad core processor, but that would be a new board.
Hello, I read your guide very interestingly.
May I use your guide on linux-sunxi.org? It’s linked to here and I want to translate into korean users.
(I will copy and paste into new page of wiki after translating)
Thank you.
Happy new year!
@hyojae Kim
If you want to translate it into Korean please go ahead. A link back to the source is always appreciated.
Hello
First thanks for your usefull guide. I’m a newbie
I just recived a cubieboard with android, and I want to install the raspbian.
But I would like to make a backup of the NAND memory or this memory it’s not affected ?
@Pablo Aliaga
By the way, I would like to make a couple of things with the cubieboard, as computer vision (opencv) and connection with arduinos (http://arduino.cc/) or IOIO (http://ytai-mer.blogspot.com.es/2011/04/meet-ioio-io-for-android.html).
I would like to make a blog with every step, and I ask also permision to translate to spanish your page, and give reference to this page.
(althoug I want to make the blog in both languages )
@Pablo Aliaga
With Berryboot A10, Linux is installed in the microSD card, so it won’t affect the Android firmware loaded in your NAND flash. The Android image should also be available for download somewhere on cubieboard.org or sunxi-linux.org.
Yes, anybody who wants to translate this page go ahead. Please just link back to this page if you do so.
@Jean-Luc Aufranc (CNXSoft)
Hi, again.
I started to make a blog to put all I’m learning about cubieboard on it, I put a couple of links to your page.
This is the url http://cubieboard.blogspot.com.es/
If you have any comment, don’t hesitate to let me know.
Thanks
@Pablo Aliaga
I can’t read Spanish, but there seems to be a lot of interesting info.
You may want to add a link to your blog to http://linux-sunxi.org/Cubieboard/es. I’m sure this would help others.
Newbie to restrictions analysis of Linux distros, but anyone tried a Chromium OS build on the Cubieboard yet? If so, what method worked?
I haven’t tried. Since it boots and runs on the Raspberry Pi (http://blog.hexxeh.net/), it should be possible to run on the Cubieboard. However, Chromium OS needs proper GPU accel to be usable, which is currently not the case on the Raspberry Pi, and probably not yet the case for AllWinner A10 devices either.
@oliverzhang
I have this same problem. Can someone direct me to a solution?
I don’t have win 32 bit to image a disk to the sd. I used the android berryboot to install the images. The images run fine, I was able to access both ubunto and debian. However, as soon as I shut down, I can’t boot up from the SD card. I have to boot into android using the mini usb power from my computer. I can’t use the provided usb to 5v adapter. Thanks.
@Troels Tornmark
I have run chromium under ubuntu after initial image flash. After I shutdown. I can’t boot up to any os except for android through mini usb with the sd card ejected. If I keep the card it, android doesn’t even load.
@cocopuff
Do you have access to the serial console (via a TTL to USB debug board)?
Hi, I tried your steps, but when I select Linaro Ubuntu, it only download up to 13%. I kept on trying, but still the download would not complete.
Do you know what could be the problem? Are there other ways to install Ubuntu on Cubieboard?
I appreaciate any of your help/recommendations.
Thanks!
Congrats, @Jean-Luc Aufranc (CNXSoft) ! I like the Cubie board very much for it’s SATA connector, and indeed, and in regards to @magio , the cubieboard is for advanced hardware hackers that feel to limited on the Pi and can’t make much from the ODROID or don’t need the latters power. However I agree with @Philip – the A20 would be a major improvement, permitting a smooth use of a full blown desktop like KDE – at least by pure calculation and comparision to my 1GHz AMD netbook I think it should be usable. For those dedicated to design cases… Read more »
I have installed this image: cb-sdcard-1.1-linaro-quantal-alip-20130227-290.img on a micro SD Card…
It boots with no issues… When I attempt to set up the Wireless Adapter, it asks for a password.
I’ve been looking for days.. where do I find the elusive Administrator’s password????
@wao
Linaro rootfs normally boot with user linaro (password: linaro).
@Magio
And than you want to use SATA drive…
lol
@wao
le password est cubie
I had written berryboot-cubieboard-beta6.zip and inserted the microSD card into my Cubieboard A20, and power on the board. However it just unable to boot up.
My A20 boot up to Android only when I had removed the microSD.
Please advice why my A20 unable to boot up from my microSD.
@Alvin
Hi I have the same problem.
Do you have a solution in the meanwhile?
Regards
Frank
There’s now a book to get started with Cubieboard: https://www.packtpub.com/hardware-and-creative/getting-started-cubieboard?utm_source=p_reviewer.com&utm_medium=link&utm_campaign=Getting%20started%20with%20cubieboard