Linaro on Zynq
Is anybody working on (or has already worked on) using Linaro tools & builds on the Zynq SoC from Xilinx? More specifically, is anybody working on using the tools & builds on the microZed board? If so, may I collaborate with you? If not, would folks on this list mind giving me some "getting started" pointers... What toolchain would you recommend? Does it matter that the processor is a Cortex-A9 with NEON™ & Single / Double Precision Floating Point? In the absence of any other guidance, I'm going to proceed down a path of trying the linaro-toolchain-binaries-4.8 on my Ubuntu box to compile the latest U-Boot & Kernel from the Xilinx git repos, attempt to construct a Hardware Pack for the microZed board, and see what happens when I run the Ubuntu Nano build on that. Thanks for any tips or advice you may offer. --wpd ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
How to compile u-boot with linaro-arm-linux-gnueabihf-4.8-2013.09
I have tried this: $ make CROSS_COMPILE=arm-linux-gnueabihf- distclean $ make CROSS_COMPILE=arm-linux-gnueabihf- zynq_zed_config $ make CROSS_COMPILE=arm-linux-gnueabihf- and that failed with: arm-linux-gnueabihf-ld.bfd: error: /opt/gcc-linaro-arm-linux-gnueabihf-4.8-2013.09_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.8.2/libgcc.a(_udivdi3.o) uses VFP register arguments, u-boot does not arm-linux-gnueabihf-ld.bfd: failed to merge target specific data of file /opt/gcc-linaro-arm-linux-gnueabihf-4.8-2013.09_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.8.2/libgcc.a(_udivdi3.o) So I tried this: $ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- distclean $ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zynq_zed_config $ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- and that failed differently: arm-linux-gnueabihf-ld.bfd: error: /opt/gcc-linaro-arm-linux-gnueabihf-4.8-2013.09_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.8.2/libgcc.a(_udivdi3.o) uses VFP register arguments, u-boot does not arm-linux-gnueabihf-ld.bfd: failed to merge target specific data of file /opt/gcc-linaro-arm-linux-gnueabihf-4.8-2013.09_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.8.2/libgcc.a(_udivdi3.o) The README.txt file that came with the toolchain said: "In addition to the default configuration, a basic ARMv4T runtime is included for use when building baremetal projects such as Linux and u-boot for earlier architectures. To use it, pass the following flags to GCC: -marm -march=armv4t -mfloat-abi=soft" So I tried this: $ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- "CFLAGS=-marm -march=armv4t -mfloat-abi=soft" distclean $ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- "CFLAGS=-marm -march=armv4t -mfloat-abi=soft" zynq_zed_config $ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- "CFLAGS=-marm -march=armv4t -mfloat-abi=soft" and that failed in autoconf. Looking more carefully at the Makefile, I think maybe I should set OBJCFLAGS instead of CFLAGS. That gave me the same error as my first attempt. Not surprising, since OBJCFLAGS doesn't seem to be used. FWIW. I'm using the u-boot I cloned from commit f12f87e205d5cd1c75a0d93770de54ffb8b14343 from git:// git.xilinx.com/u-boot-xlnx.git. Any tips where I should start looking for clues? Thanks. --wpd ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev