Hello,
I want to setup the Wilink8 Module on my Microzed following http://zedboard.org/sites/default/files/documentations/GSG-AES-PMOD-WILINK8-G-v1_6-1.pdf guide.
As far as I understand I have to execute "./microzed-wilink8-ramdisk.sh" This takes quiet long, however it always fails at u-boot stage.
cd /home/architech/Documents/u-boot-xlnx && arm-poky-linux-gnueabi-ld.bfd -L ~/architech_sdk/architech/microzed/toolchain/sysroots/armv7a-vfp-neon-poky-linux-gnueabi/usr/lib/arm-poky-linux-gnueabi/4.8.1/ -pie -T u-boot.lds --gc-sections -Bstatic -Ttext 0x4000000 arch/arm/cpu/armv7/start.o --start-group arch/arm/cpu/armv7/built-in.o arch/arm/cpu/armv7/zynq/built-in.o arch/arm/cpu/built-in.o arch/arm/lib/built-in.o board/xilinx/zynq/built-in.o common/built-in.o disk/built-in.o drivers/built-in.o drivers/dma/built-in.o drivers/gpio/built-in.o drivers/i2c/built-in.o drivers/input/built-in.o drivers/mmc/built-in.o drivers/mtd/built-in.o drivers/mtd/onenand/built-in.o drivers/mtd/spi/built-in.o drivers/net/built-in.o drivers/net/phy/built-in.o drivers/pci/built-in.o drivers/power/battery/built-in.o drivers/power/built-in.o drivers/power/fuel_gauge/built-in.o drivers/power/mfd/built-in.o drivers/power/pmic/built-in.o drivers/serial/built-in.o drivers/spi/built-in.o drivers/usb/eth/built-in.o drivers/usb/gadget/built-in.o drivers/usb/host/built-in.o drivers/usb/musb-new/built-in.o drivers/usb/musb/built-in.o drivers/usb/phy/built-in.o drivers/usb/ulpi/built-in.o fs/built-in.o lib/built-in.o lib/libfdt/built-in.o net/built-in.o test/built-in.o --end-group /home/architech/Documents/u-boot-xlnx/arch/arm/lib/eabi_compat.o -L . -lgcc -Map u-boot.map -o u-boot
arm-poky-linux-gnueabi-ld.bfd: cannot find -lgcc
make: *** [u-boot] Error 1
The actual script causing this issue.
echo -e "\e[7;32m---------------------- U-Boot begin --------------------------------\e[0m"
cd ~/Documents
echo -e "\e[0;32m---- Get sources from Xilinx ---------------------------------------\e[0m"
git clone https://github.com/Xilinx/u-boot-xlnx.git
### change into the U-Boot source folder and checkout commit
cd u-boot-xlnx
echo -e "\e[0;32m---- Checkout a tested commit --------------------------------------\e[0m"
git checkout xilinx-v2014.2
### set cross-toolchain
source ~/architech_sdk/architech/microzed/toolchain/environment-nofs
export LDFLAGS="-L ~/architech_sdk/architech/microzed/toolchain/sysroots/armv7a-vfp-neon-poky-linux-gnueabi/usr/lib/arm-poky-linux-gnueabi/4.8.1/"
echo -e "\e[0;32m---- Build ---------------------------------------------------------\e[0m"
### clear any stale build configurations
make ARCH=arm distclean
### set the Zed build configuration
make zynq_microzed_config
### Build U-Boot
make all
echo -e "\e[7;32m---------------------- U-Boot end ----------------------------------\e[0m"
echo -e "\e[7;32m---- File generated: -----------------------------------------------\e[0m"
echo -e "\e[7;32m---- ~/Documents/u-boot-xlnx/u-boot --------------------------------\e[0m"
Does anyone know what to do? I got the newest gcc-multilib and I am using the Architech virtual box image. I guess that is supposed to work out of the box anyway?
BR