Compiling u-boot for mini PC MK802

MK802 use AllWinner A10 SoC (aka sun4i) and is an arm Cortex-A8.

Download toolchain (I’ll build another from Crosstool-NG, later):
wget http://www.codesourcery.com/sgpp/lite/arm/portal/package7851/public/arm-none-linux-gnueabi/arm-2010.09-50-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
untar arm-2010.09-50-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 and export PATH

Get u-boot for A10:
git clone https://github.com/hno/uboot-allwinner.git
cd uboot-allwinner
make sun4i CROSS_COMPILE=arm-none-linux-gnueabi- -j4

Result:
The file we needed is u-boot.bin and spl/sun4i-spl.bin in uboot-allwinner directory.

Linaro Crosstool-NG toolchian:
wget -c https://launchpad.net/linaro-toolchain-binaries/trunk/2012.07/+download/gcc-linaro-arm-linux-gnueabihf-2012.07-20120720_linux.tar.bz2

Update by 2012/07/25

Advertisements

About xlcwu

Self-employed (One-man Company), Developer/Chief Designer/Consultant, Embedded Linux/NAS/Storage/Platform/Devices, Xcode/Cocos2D/Cocoa/Objective-C, at Joe’s Lab – Newland ESP (TM).
This entry was posted in Embedded, Linux and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s