User Tools

Site Tools


Building Fedora 20 Nand Image

About this Article


A simple way to build Fedora 20 Minimal Nand Image.

Prepare Your Build Environment

We have to build the nand image on Ubuntu 12.04(x86_64), because of the proprietary binary blobs of pack tools from Allwinner.

$sudo apt-get update
$sudo apt-get upgrade
$sudo apt-get install build-essential u-boot-tools uboot-mkimage
$sudo apt-get install gcc-arm-linux-gnueabihf gcc-arm-linux-gnueabi
$sudo apt-get install libusb-1.0-0 libusb-1.0-0-dev git wget fakeroot kernel-package zlib1g-dev
$sudo apt-get install libncurses5-dev

Getting Source Code

$mkdir /work/my-linux-sdk
$cd /work/my-linux-sdk
$git clone products
$git clone tools
$git clone binaries
$git clone linux-sunxi
$cd linux-sunxi
$git checkout -b cb2-sunxi-3.4 origin/cb2/sunxi-3.4
$cd -
$cd binaries
$gunzip fedora-20-minimal.ext4.gz


$source tools/scripts/
select cb2-f20-minimal

If success, we can get a image file named livesuit_cubieboard2.img at build/cb2-f20-minimal/pack/

See Also

tutorials/cb2/development/building_fedora_20_nand_image.txt · Last modified: 2014/05/14 16:36 by benn