Difference between revisions of "U-Boot"

From PINE64
Jump to navigation Jump to search
(Created page with "{{hint|This page is incomplete, you're welcome to improve it.}} = Compiling Uboot = <nowiki> git clone https://github.com/crust-firmware/arm-trusted-firmware/ cd arm-truste...")
 
Line 4: Line 4:


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


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


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


export CROSS_COMPILE
          CROSS_COMPILE=aarch64-linux-gnu-


export ARCH=arm64
          export CROSS_COMPILE


make PLAT=sun50i_a64 bl31
          export ARCH=arm64


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


cd ..
          cp build/sun50i_a64/release/bl31.bin ../u-boot/
 
          cd ..


</nowiki>
</nowiki>


= Uboot installation =
= Uboot installation =

Revision as of 20:16, 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