We're no longer updating This wiki!!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:c2_building_u-boot [2016/11/17 10:52]
odroid [U-boot]
en:c2_building_u-boot [2017/07/25 15:15] (current)
joy.cho [Installation to blank card]
Line 5: Line 5:
 ===== 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_release_ubuntu.tar.gz|Download - Ubuntu ​(update ​Feb 27, 2017)]] 
-  * [[http://​dn.odroid.com/​S905/​BootLoader/​ODROID-C2/​c2_boot_android_release.tar.gz|Download - Android ​5.1.1 release v2.3 update ​Oct 11 2016]]+  * [[http://​dn.odroid.com/​S905/​BootLoader/​ODROID-C2/​c2_boot_release_android.tar.gz|Download - Android ​(update ​Jun 06, 2017)]]
  
 <​code>​ <​code>​
Line 228: Line 228:
  
 ===== How to check U-Boot version on User Space ===== ===== How to check U-Boot version on User Space =====
-Currently, you can check the U-Boot version using **dd** command as following.+You can check the U-Boot version using **dd** command as following.
  
 +=== Ubuntu ===
 <​code>​ <​code>​
 root@odroid64:/​home/​odroid#​ vi getUbootVer.sh root@odroid64:/​home/​odroid#​ vi getUbootVer.sh
Line 242: Line 243:
 root@odroid64:/​home/​odroid#​ ./​getUbootVer.sh root@odroid64:/​home/​odroid#​ ./​getUbootVer.sh
     U-Boot 2015.01-00167-g095fdbe-dirty (Nov 12 2016 - 16:35:32)     U-Boot 2015.01-00167-g095fdbe-dirty (Nov 12 2016 - 16:35:32)
 +</​code>​
 +
 +=== Android ===
 +<​code>​
 +shell@odroidc2:/​ $ su
 +root@odroidc2:/​ # mount -o rw,remount /
 +root@odroidc2:/​ # vi getUbootVer.sh
 +
 +#!/bin/sh
 +dd if=/​dev/​block/​mmcblk0 of=/​temp.bin bs=512 skip=97 count=1334
 +grep -a -r -E -o "​.{0,​0}U-Boot 2015.01.{0,​50}"​ /temp.bin | grep -a "​("​
 +rm /temp.bin
 +
 +root@odroidc2:/​ # chmod 755 /​getUbootVer.sh
 +
 +root@odroidc2:/​ # /​getUbootVer.sh ​                                             ​
 +1334+0 records in
 +1334+0 records out
 +683008 bytes transferred in 0.014 secs (48786285 bytes/sec)
 +/​temp.bin:​U-Boot 2015.01-dirty (Jul 06 2017 - 07:47:27)
 </​code>​ </​code>​
  
en/c2_building_u-boot.1479349360.txt.gz · Last modified: 2016/11/17 10:52 by odroid
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0