User Tools

Site Tools


u-boot_for_arm

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
Last revision Both sides next revision
u-boot_for_arm [2019/04/07 10:59]
rpjday [Fedora 30 package gcc-arm-linux-gnu]
u-boot_for_arm [2019/04/07 11:18]
rpjday [Linaro gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf.tar.xz]
Line 1: Line 1:
 ===== Overview ===== ===== Overview =====
  
-Setting up ARM toolchain for U-Boot.+Setting up ARM toolchain for U-Boot ​-- for validation, see if it compiles Zedboard: 
 + 
 +<​code>​ 
 +$ make zynq_zed_defconfig 
 +</​code>​
  
 ===== The possibilities ===== ===== The possibilities =====
Line 42: Line 46:
 arm-linux-gnu-gcc is /​usr/​bin/​arm-linux-gnu-gcc arm-linux-gnu-gcc is /​usr/​bin/​arm-linux-gnu-gcc
 $ $
 +</​code>​
 +
 +For Zedboard:
 +
 +<​code>​
 +$ export CROSS_COMPILE=arm-linux-gnu-
 +</​code>​
 +
 +Seems to work.
 +
 +==== Xilinx SDK ====
 +
 +<​code>​
 +$ PATH=$PATH:​~/​xilinx/​tools/​SDK/​2018.3/​gnu/​aarch32/​lin/​gcc-arm-linux-gnueabi/​bin
 +</​code>​
 +
 +<​code>​
 +$ export CROSS_COMPILE=arm-linux-gnueabihf-
 +</​code>​
 +
 +Compiles.
 +
 +==== Linaro gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf.tar.xz ====
 +
 +<​code>​
 +$ PATH=~/​tc/​gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/​bin:​$PATH
 +</​code>​
 +
 +<​code>​
 +$ type arm-linux-gnueabihf-gcc
 +arm-linux-gnueabihf-gcc is /​home/​rpjday/​tc/​gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/​bin/​arm-linux-gnueabihf-gcc
 +</​code>​
 +
 +<​code>​
 +$ export CROSS_COMPILE=arm-linux-gnueabihf-
 </​code>​ </​code>​
u-boot_for_arm.txt · Last modified: 2019/04/07 11:20 by rpjday