Download
Install Ubuntu on cubieborad.pdf
Setup
http://linux-sunxi.org/Building_on_Ubuntu