Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:c2_building_u-boot [2016/10/16 12:06] joy.cho [Installation to blank card] |
en:c2_building_u-boot [2016/12/16 10:42] joy.cho [Installation to blank card] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== U-boot ====== | ====== U-boot ====== | ||
- | U-boot must be cross-compiled on an x86 box | + | U-boot must be cross-compiled on an x86 Linux PC. |
===== Toolchain ===== | ===== Toolchain ===== | ||
Click one of the site to download toolchain to build U-boot. | Click one of the site to download toolchain to build U-boot. | ||
- | * [[https://releases.linaro.org/14.09/components/toolchain/binaries/gcc-linaro-aarch64-none-elf-4.9-2014.09_linux.tar.xz|Download #1]] | + | * [[https://releases.linaro.org/archive/14.09/components/toolchain/binaries/gcc-linaro-aarch64-none-elf-4.9-2014.09_linux.tar.xz|Download #1]] |
* [[http://dn.odroid.com/toolchains/gcc-linaro-aarch64-none-elf-4.9-2014.09_linux.tar.xz|Download #2]] | * [[http://dn.odroid.com/toolchains/gcc-linaro-aarch64-none-elf-4.9-2014.09_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 69: | Line 69: | ||
Click the following site to download the boot loader of final release version | Click the following site to download the boot loader of final release version | ||
- | * [[http://dn.odroid.com/S905/BootLoader/ODROID-C2/c2_boot_ubuntu_release.tar.gz|Download - Ubuntu 16.04 release v2.1 update Oct 11 2016]] | + | * [[http://dn.odroid.com/S905/BootLoader/ODROID-C2/c2_boot_ubuntu_release.tar.gz|Download - Ubuntu 16.04 release v2.1 update Oct 18, 2016]] |
- | * [[http://dn.odroid.com/S905/BootLoader/ODROID-C2/c2_boot_android_release.tar.gz|Download - Android 5.1.1 release v2.2]] | + | * [[http://dn.odroid.com/S905/BootLoader/ODROID-C2/c2_boot_android_release.tar.gz|Download - Android 5.1.1 release v2.7 Dec 14, 2016]] |
<code> | <code> | ||
Line 225: | Line 225: | ||
$ make odroidc2_config | $ make odroidc2_config | ||
$ make | $ make | ||
+ | </code> | ||
+ | |||
+ | ===== How to check U-Boot version on User Space ===== | ||
+ | Currently, you can check the U-Boot version using **dd** command as following. | ||
+ | |||
+ | <code> | ||
+ | root@odroid64:/home/odroid# vi getUbootVer.sh | ||
+ | |||
+ | #!/bin/sh | ||
+ | dd if=/dev/mmcblk0 of=/tmp/temp.bin bs=512 skip=97 count=1334 status=none | ||
+ | grep -a -r -E -o ".{0,0}U-Boot 2015.01.{0,50}" /tmp/temp.bin | grep -a "(" | ||
+ | rm /tmp/temp.bin | ||
+ | |||
+ | root@odroid64:/home/odroid# chmod a+x getUbootVer.sh | ||
+ | |||
+ | root@odroid64:/home/odroid# ./getUbootVer.sh | ||
+ | U-Boot 2015.01-00167-g095fdbe-dirty (Nov 12 2016 - 16:35:32) | ||
</code> | </code> | ||