Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
u-boot_for_arm [2019/04/07 10:58] – created rpjdayu-boot_for_arm [2019/04/07 11:20] (current) – [Linaro gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf.tar.xz] rpjday
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 37: Line 41:
 $ $
 </code> </code>
 +
 +<code>
 +$ type 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>
 +$ make zynq_zed_defconfig
 +$ make
 +</code>
 +
 +Seems to work.
  • u-boot_for_arm.1554634729.txt.gz
  • Last modified: 2019/04/07 10:58
  • by rpjday