UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor akhilchandra
Visitor
7,665 Views
Registered: ‎10-05-2015

U-Boot Cross Compile

[s_me0131 @ it002017 ~ / submarine Digilent-Dev] $ make CROSS_COMPILE = arm-linux-Xilinx gnueabi-
make: arm-Xilinx linux-gcc-gnueabi: command not found
/ bin / sh: arm-Xilinx linux-gcc-gnueabi: command not found.
dirname: missing operand
"Dirname --help" gives further information.
Generating include / autoconf.mk
/ bin / sh: line 2: arm-Xilinx linux-gcc-gnueabi: command not found.
Generating include / autoconf.mk.dep
/ bin / sh: line 2: arm-Xilinx linux-gcc-gnueabi: command not found.
/ bin / sh: arm-Xilinx linux-gcc-gnueabi: command not found.
/ bin / sh: arm-linux-Xilinx gnueabi-ld: command not found.
Generating include / spl-autoconf.mk
/ bin / sh: line 2: arm-Xilinx linux-gcc-gnueabi: command not found.
Generating include / tpl-autoconf.mk
/ bin / sh: line 2: arm-Xilinx linux-gcc-gnueabi: command not found.
Arm Xilinx linux-gcc-gnueabi -DDO_DEPS_ONLY \
-g -Os -ffunction-sections -fdata-sections -fno-common -ffixed-R9 -fno-strict-aliasing -mno-unaligned access -mfpu = neon -D__KERNEL__ -I / usrf02 / home / AGME / stu / s_me0131 / submarine Digilent Dev / include -I / usrf02 / home / AGME / stu / s_me0131 / submarine Digilent Dev / arch / arm / include -fno-builtin -ffreestanding -nostdinc -isystem -pipe -DCONFIG_ARM -D__ARM__ -march = ARMv5 -Wall -Wstrict-prototypes \
-o lib / asm-offsets.s lib / asm-offsets.c -c -S
make: arm-Xilinx linux-gcc-gnueabi: command not found
make: *** [lib / asm-offsets.s] Error 127

0 Kudos
1 Reply
Teacher muzaffer
Teacher
7,637 Views
Registered: ‎03-31-2012

Re: U-Boot Cross Compile

did you source the proper settingsxx.sh script (ie /opt/Xilinx/Vivado/2015.3/settings64.sh).

Also in your CROSS_COMPILE variable there is a space after Xilinx. Is that space really there in your Makefile?

BTW, for my system the cross_compile variable is "arm-xilinx-linux-gnueabi-".

- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
0 Kudos