# INTRODUCTION sun7i (Allwinner A20) linux-sunxi-3.4 stage (3.4.61+) kernel I use on Cubieboard2. sun7i (Allwinner A20) linux-sunxi-3.4 stage (3.4.61+) noyau que j'utilise sur ma Cubieboard2 sun7i (Allwinner A20) linux-sunxi-3.4 stage (3.4.61+) 內核和模組把我的Cubieboard2用的。 git of the sources (not sure, but I believe, that was 0d37ac88a0 commit... to be verified) : https://github.com/linux-sunxi/linux-sunxi/tree/stage/sunxi-3.4 Compiled using GCC 4.8.1 (so, managing some cortex-a7 opitmizations) from with an (x)ubuntu 3.10 beta installation. It works fine with HDMI->DVI adapter on my two DVI screens with following uBoot settings from focus(_it) : setenv bootargs console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=EDID:1280x720p60 root=/dev/sda1 rootwait panic=10 setenv machid 0x000010bb ext2load mmc 0 0x43000000 boot/script.bin ext2load mmc 0 0x48000000 boot/uImage bootm 0x48000000 See, for more informations : http://www.gplsquared.com/eoma_boot/eoma_boot.html Didn't managed to use/modify NAND with this and linaro/ubuntu system, if someone know to do, please add it on linux-sunxi wiki or/and say me how to do (on #cubieboard channel for example) Configuration can be found on /proc/config.gz after boot or here : http://popolon.org/cubieboard/binary_kernel/kernel_and_modules.3.4-stage.20131005.config.gz # What work and not Works: * HDMI->DVI converter on the two screen I tested * every USB devices I tested (mouse, keyboard, wacom tablet, Nikon DSLR camera) * SATA and microSD * ethernet, sound (not too good, lot of crack) * Accelerated OpenGL, using Mali binary closed driver from Allwinner + open source fbturbo (ex sunxifb) from ssvb. System tested/used for tests : * Linaro 13.09 using Ubuntu 13.04 and upgraded to 13.10 from 13.04 * Ubuntu Core 13.10 => https://wiki.ubuntu.com/Core Didn't managed or tried enough to make them work : * cb2 NAND flash * Device mode with mass storage * OTG # DOWNLOAD Please use the metalink (there is ff plugin, and lot of compatible softwares (aria2c, kget, curl, uGet ...) : http://popolon.org/cubieboard/binary_kernel/kernel_and_modules.3.4-stage.20131005.tar.xz.metalink For China/Asia, this should be faster: 在中国亚洲的网址: http://yun.baidu.com/pcloud/album/file?album_id=4753706154738892151&uk=909922373&fsid=101555204# # INSTALLATION First, backup your /boot/uImage /lib/modules and /lib/firmware, ------------------------------------------------- #!/bin/bash date=`date -f /boot/uImage +%Y%m%d` oldversion=`file /boot/uImage | awk '{print $5}'` old=${oldversion}.${date} mv /boot/{uImage,uImage.${old}.back} mv /lib/{modules,modules.${odlv}.back} mv /lib/{firmware,firmware.${oldv}.back} ------------------------------------------------- Unarchive the file: tar xf kernel_and_modules.3.4-stage.20131005.tar.xz If this doesn't worl (on some old systems, with tar without xz): xzcat kernel_and_modules.3.4-stage.20131005.tar.xz | tar xf - install it like this fro the untared directory: ------------------------------------------------- cd kernel_and_modules.3.4-stage.20131005 cp -a uImage /boot/ cp -a lib/{modules,firmware} /lib/ -------------------------------------------------