Difference between revisions of "U-Boot"

From PINE64
Jump to navigation Jump to search
Line 2: Line 2:


= Compiling Uboot =
= Compiling Uboot =
First, You need to compile ATF
<pre>
<pre>
  git clone https://github.com/crust-firmware/arm-trusted-firmware/
  git clone https://github.com/crust-firmware/arm-trusted-firmware/
Line 12: Line 14:
  cd ..
  cd ..
</pre>
</pre>
= Uboot installation =
= Uboot installation =

Revision as of 20:57, 15 October 2020

This page is incomplete, you're welcome to improve it.

Compiling Uboot

First, You need to compile ATF

 git clone https://github.com/crust-firmware/arm-trusted-firmware/
 cd arm-trusted-firmware
 CROSS_COMPILE=aarch64-linux-gnu-
 export CROSS_COMPILE
 export ARCH=arm64
 make PLAT=sun50i_a64 bl31
 cp build/sun50i_a64/release/bl31.bin ../u-boot/
 cd ..

Uboot installation