Difference between revisions of "U-Boot"

From PINE64
Jump to navigation Jump to search
Line 3: Line 3:
= Compiling Uboot =
= Compiling Uboot =


<code>
<nowiki>git clone https://github.com/crust-firmware/arm-trusted-firmware/


          git clone https://github.com/crust-firmware/arm-trusted-firmware/
cd arm-trusted-firmware


          cd arm-trusted-firmware
CROSS_COMPILE=aarch64-linux-gnu-


          CROSS_COMPILE=aarch64-linux-gnu-
export CROSS_COMPILE


          export CROSS_COMPILE
export ARCH=arm64


          export ARCH=arm64
make PLAT=sun50i_a64 bl31


          make PLAT=sun50i_a64 bl31
cp build/sun50i_a64/release/bl31.bin ../u-boot/


          cp build/sun50i_a64/release/bl31.bin ../u-boot/
cd ..</nowiki>
 
          cd ..
 
</code>


= Uboot installation =
= Uboot installation =

Revision as of 20:21, 15 October 2020

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

Compiling Uboot

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