Problems building downloaded software on Ubuntu 14.04

Applications, development tools, FPGA, C, WEB
Post Reply
Steve M
Posts: 2
Joined: Sat Jun 27, 2015 10:05 am

Problems building downloaded software on Ubuntu 14.04

Post by Steve M » Sat Jun 27, 2015 10:41 am

Hi all, New to Xilinx SoCs. Considering buying Red Pitaya to use as an instrument and also as a dev board for the SoC.
Started by trying to build just the FPGA from the sources from git but running into a few problems. Using XISE rather than Vivado running on Ubuntu 14.04 64 bit.

Firstly, the wiki needs updating. Stated version is 14.6 but build actually needs 14.7
Build fails because it tries to run 'gmake'. I sym linked gmake to make and got past this problem.

From the readme.txt file in /RedPitaya/FPGA/release1/fpga
"make FPGA_TOOL=ahead clean"
runs ok and so does
"make FPGA_TOOL=ahead fpga"

"make FPGA_TOOL=ahead xsdk"
make: *** No rule to make target `xsdk'. Stop.

"make FPGA_TOOL=ahead image"
cp ../ahead/red_pitaya.runs/impl_1/red_pitaya_top.bit out/fpga.bit
cp: cannot create regular file ‘out/fpga.bit’: No such file or directory

The source path in the copy seems wrong "./ahead/red_pitaya.runs/impl_1/red_pitaya_top.bit"
exists from the fpga build.

Not sure what's going wrong here. Any help much appreciated.

Arnold
Posts: 54
Joined: Wed Mar 11, 2015 3:07 pm

Re: Problems building downloaded software on Ubuntu 14.04

Post by Arnold » Sat Jun 27, 2015 12:39 pm

i recommend to use pavels project, it builds the rp ecosystem:
https://github.com/pavel-demin/red-pitaya-notes

development machine:
http://pavel-demin.github.io/red-pitaya ... t-machine/

build the rp ecosystem with:

Code: Select all

Setting up the Vivado environment:
source /opt/Xilinx/Vivado/2015.1/settings64.sh
source /opt/Xilinx/SDK/2015.1/settings64.sh

Cloning the source code repository:
git clone https://github.com/pavel-demin/red-pitaya-notes
cd red-pitaya-notes

Building boot.bin, devicetree.dtb, uImage and red_pitaya_0_92.bit:
make NAME=red_pitaya_0_92 all

Building a bootable SD card image:
sudo sh scripts/image.sh scripts/ubuntu.sh rp.img 1024

Nils Roos
Posts: 1441
Joined: Sat Jun 07, 2014 12:49 pm
Location: Königswinter

Re: Problems building downloaded software on Ubuntu 14.04

Post by Nils Roos » Sun Jun 28, 2015 11:23 am

Steve M wrote:The source path in the copy seems wrong "./ahead/red_pitaya.runs/impl_1/red_pitaya_top.bit"
exists from the fpga build.

Not sure what's going wrong here. Any help much appreciated.
The readme is out-of-date, it seems. The target for fsbl and u-boot is "sw_package" instead of "xsdk". The "image" target fails because you have no folder "out" in the "image" subdirectory. You could create it and try how far this gets you.

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 44 guests