====== Building Fedora 20 Nand Image ====== //__About this Article__// * **Author**: benn --- benn@cubietech.com --- 2014/05/14 15:23 * **Copyrights**: [[http://creativecommons.org/licenses/by-sa/3.0/|CC Attribution-Share Alike 3.0 Unported]] * **Contributors**: [[http://cubieboard.org/|Cubieboard Community]] : ... ===== Abstract ===== 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 https://github.com/cubieboard/linux-sdk-products.git products $git clone https://github.com/cubieboard/linux-sdk-tools.git tools $git clone https://github.com/cubieboard/linux-sdk-binaries.git binaries $git clone https://github.com/cubieboard/linux-sunxi.git linux-sunxi $cd linux-sunxi $git checkout -b cb2-sunxi-3.4 origin/cb2/sunxi-3.4 $cd - $cd binaries $wget http://dl.cubieboard.org/software/common/linux-sdk-binaries/fedora-20-minimal.ext4.gz $gunzip fedora-20-minimal.ext4.gz ===== Compiling ===== $source tools/scripts/envsetup.sh select cb2-f20-minimal $cb_build_nand_image If success, we can get a image file named livesuit_cubieboard2.img at build/cb2-f20-minimal/pack/ === See Also === {{tag>Cubieboard Cubietruck}}