Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
en:c1_building_u-boot [2015/03/01 09:29] tobetter [Toolchain] |
en:c1_building_u-boot [2017/03/07 18:22] joy.cho [Checkout & compile] |
||
---|---|---|---|
Line 2: | Line 2: | ||
===== Toolchain ===== | ===== Toolchain ===== | ||
Click one of the site to download toolchain to build U-boot. Please note that this toolchain is for U-boot, there is another toolchain to build Linux kernel. | Click one of the site to download toolchain to build U-boot. Please note that this toolchain is for U-boot, there is another toolchain to build Linux kernel. | ||
- | * [[http://releases.linaro.org/14.04/components/toolchain/binaries/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz|Download #1]] | + | * [[http://releases.linaro.org/archive/14.04/components/toolchain/binaries/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz|Download #1]] |
* [[http://dn.odroid.com/toolchains/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz|Download #2]] | * [[http://dn.odroid.com/toolchains/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz|Download #2]] | ||
Once the download is done, extract the tarball to **/opt/toolchains/**. | Once the download is done, extract the tarball to **/opt/toolchains/**. | ||
Line 34: | Line 34: | ||
$ git clone https://github.com/hardkernel/u-boot.git -b odroidc-v2011.03 | $ git clone https://github.com/hardkernel/u-boot.git -b odroidc-v2011.03 | ||
</code> | </code> | ||
- | Before you compile **U-boot**, you must configure for **ODROID-C1** with following command. | + | Before you compile **U-boot**, you must configure for **ODROID-C1** with following command,\\ |
+ | and then compile.\\ | ||
+ | |||
+ | For Ubuntu and Android, the different config option is used.\\ | ||
+ | === Ubuntu === | ||
<code> | <code> | ||
$ cd u-boot | $ cd u-boot | ||
$ make odroidc_config | $ make odroidc_config | ||
+ | $ make | ||
</code> | </code> | ||
- | And finally you can compile **U-boot**. | + | |
+ | ===Android 5.1.1 and 4.4.4 === | ||
<code> | <code> | ||
+ | $ cd u-boot | ||
+ | $ make odroidc_rev2_config | ||
+ | $ make | ||
+ | </code> | ||
+ | |||
+ | ===Android 4.4.2 === | ||
+ | <code> | ||
+ | $ cd u-boot | ||
+ | $ make odroidc_rev2_config | ||
$ make | $ make | ||
</code> | </code> | ||
+ | |||
===== Installation ===== | ===== Installation ===== | ||
The bootloader for **ODROID-C1** is consisted with two part, **1st stage bootloader** + **U-boot**. You can find **u-boot.bin** once you compile **U-boot**, as well as **bl1.bin.hardkernel** in the directory **sd_fuse/**. Both binaries must be installed in a card (eMMC or MicroSD). | The bootloader for **ODROID-C1** is consisted with two part, **1st stage bootloader** + **U-boot**. You can find **u-boot.bin** once you compile **U-boot**, as well as **bl1.bin.hardkernel** in the directory **sd_fuse/**. Both binaries must be installed in a card (eMMC or MicroSD). |