Difference between revisions of "U-Boot"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
 (layout tip)  | 
				|||
| Line 3: | Line 3: | ||
= Compiling Uboot =  | = Compiling Uboot =  | ||
 git clone https://github.com/crust-firmware/arm-trusted-firmware/  | |||
 cd arm-trusted-firmware  | |||
cd arm-trusted-firmware  |  CROSS_COMPILE=aarch64-linux-gnu-  | ||
 export CROSS_COMPILE  | |||
CROSS_COMPILE=aarch64-linux-gnu-  |  export ARCH=arm64  | ||
 make PLAT=sun50i_a64 bl31  | |||
export CROSS_COMPILE  |  cp build/sun50i_a64/release/bl31.bin ../u-boot/  | ||
 cd ..  | |||
export ARCH=arm64  | |||
make PLAT=sun50i_a64 bl31  | |||
cp build/sun50i_a64/release/bl31.bin ../u-boot/  | |||
cd ..  | |||
= Uboot installation =  | = Uboot installation =  | ||
Revision as of 20:39, 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 ..