[prev in list] [next in list] [prev in thread] [next in thread] 

List:       usrp-users
Subject:    Re: [USRP-users] Make File for E310 xilinx project
From:       Martin Braun via USRP-users <usrp-users () lists ! ettus ! com>
Date:       2015-02-26 8:13:52
Message-ID: CAFOi1A4dnvzLNkragP1-Gdb7xZ5D7Osi=wWJyanMSfEBa2JXww () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


If you're moving from Windows to Linux with your Xilinx tools, there's a
couple of caveats (which are probably not what you were seeing, but I like
to point them out as often as possible:

- Xilinx doesn't follow any standards for their shell scripts; usually, a
bash will work but they she-bang it with #!/bin/sh. On Ubuntu, for example,
this will cause the usage of a lightweight shell called 'dash', and that
won't work (dpkg-reconfigure dash will fix this at some system performance
loss)
- LC_NUMERIC must be either US or C. Most European settings will cause some
tools (e.g. impact) to fail due to non-portable shell usage

Cheers,
M

On Sun, Feb 22, 2015 at 4:58 PM, Larry Van Der Jagt via USRP-users <
usrp-users@lists.ettus.com> wrote:

> Hello Again:
>
> Just as an FYI for anyone looking at this in the future, the "make"
> completed on the Ubuntu 14.04 VM with ISE 14.7 installed.
>
> Upon completing this I copied the E300 and X300 folders that were
> generated over to a the same location in the source tree on a Windows
> machine that has 14.7 installed and was able to bring up the development
> environment using the .xise file generated on the Ubuntu machine.
>
> I was also able to import into PlanAhead, but needed to delete and
> reattach the IP for catacodec_mmcm and axi_datamover_v3_00_a using the .xco
> files that had been generated in order to get the design flow to run.  The
> design flow did run to completion although I have no tested the resulting
> .bit file for operation.
>
> Of course, your results may vary ....
>
> LVDJ
>
>
>
> On Fri, Feb 20, 2015 at 3:00 PM, Larry Van Der Jagt <vandel@gmail.com>
> wrote:
>
>> Well ... perhaps this one is easier to fix than most ... since the error
>> indicated an issue with gmake, I did a "which gmake" and found none.
>>
>> I added a symbolic link to the /usr/bin folder with sudo ln -s
>> /usr/bin/make /usr/bin/gmake and things seem to be progressing further.
>>
>> LVDJ
>>
>> On Fri, Feb 20, 2015 at 1:55 PM, Larry Van Der Jagt <vandel@gmail.com>
>> wrote:
>>
>>> Thanks for the response,
>>>
>>> Based on the input I went ahead and installed ISE14.7 on Ubuntu 14.04
>>> with what appears to be relatively little pain ... I would still prefer to
>>> work on the WIndows version of ISE, but "you can't always get what you
>>> want" ....
>>>
>>> At any rate, my first cut through on running make on the Linux
>>> implementation got much further but still fails, now the process proceeds
>>> with various informational DRC messages from EDK until it reaches a point
>>> where it says:
>>>
>>> Checking platform address map ...
>>> No changes to be saved in XMP file
>>> Saved Make file
>>> Xilinx Port:: Process Exec Failed:2
>>> ERROR:EDK -
>>>     Error while running "gmake -f e300_ps.make netlist".
>>> make[1]: ***
>>> [/home/vandel/Ettus_e310_sdk/UHD/fpga-src/usrp3/top/e300/build-E310/zynq-ps/hdl/e300_ps_stub.v
>>> ] Error 1
>>> make[1] Leaving directory
>>> '/home/vandel/Ettus_e310_sdk/UHD/fpga-src/usrp3/top/e300'
>>> make: *** [E310] Error 2
>>>
>>> I will now start digging on this but as always, any insight is welcomed.
>>>
>>> LVDJ
>>>
>>>
>>
>>
>
>
> _______________________________________________
> USRP-users mailing list
> USRP-users@lists.ettus.com
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>
>

[Attachment #5 (text/html)]

<div dir="ltr"><div><div><div><div>If you&#39;re moving from Windows to Linux with \
your Xilinx tools, there&#39;s a couple of caveats (which are probably not what you \
were seeing, but I like to point them out as often as possible:<br><br></div>- Xilinx \
doesn&#39;t follow any standards for their shell scripts; usually, a bash will work \
but they she-bang it with #!/bin/sh. On Ubuntu, for example, this will cause the \
usage of a lightweight shell called &#39;dash&#39;, and that won&#39;t work \
(dpkg-reconfigure dash will fix this at some system performance loss)<br></div>- \
LC_NUMERIC must be either US or C. Most European settings will cause some tools (e.g. \
impact) to fail due to non-portable shell \
usage<br><br></div>Cheers,<br></div>M<br></div><div class="gmail_extra"><br><div \
class="gmail_quote">On Sun, Feb 22, 2015 at 4:58 PM, Larry Van Der Jagt via \
USRP-users <span dir="ltr">&lt;<a href="mailto:usrp-users@lists.ettus.com" \
target="_blank">usrp-users@lists.ettus.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Hello Again:<div><br></div><div>Just as an FYI \
for anyone looking at this in the future, the &quot;make&quot; completed on the \
Ubuntu 14.04 VM with ISE 14.7 installed.</div><div><br></div><div>Upon completing \
this I copied the E300 and X300 folders that were generated over to a the same \
location in the source tree on a Windows machine that has 14.7 installed and was able \
to bring up the development environment using the .xise file generated on the Ubuntu \
machine.</div><div><br></div><div>I was also able to import into PlanAhead, but \
needed to delete and reattach the IP for catacodec_mmcm and axi_datamover_v3_00_a \
using the .xco files that had been generated in order to get the design flow to run.  \
The design flow did run to completion although I have no tested the resulting .bit \
file for operation.</div><div><br></div><div>Of course, your results may vary \
....</div><span class="HOEnZb"><font \
color="#888888"><div><br></div><div>LVDJ</div></font></span><div><div \
class="h5"><div><br></div><div><br></div><div class="gmail_extra"><br><div \
class="gmail_quote">On Fri, Feb 20, 2015 at 3:00 PM, Larry Van Der Jagt <span \
dir="ltr">&lt;<a href="mailto:vandel@gmail.com" \
target="_blank">vandel@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Well ... perhaps this one is easier to fix \
than most ... since the error indicated an issue with gmake, I did a &quot;which \
gmake&quot; and found none.<div><br></div><div>I added a symbolic link to the \
/usr/bin folder with sudo ln -s /usr/bin/make /usr/bin/gmake and things seem to be \
progressing further.</div><span><font \
color="#888888"><div><br></div><div>LVDJ</div></font></span><div><div><div \
class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 20, 2015 at 1:55 PM, \
Larry Van Der Jagt <span dir="ltr">&lt;<a href="mailto:vandel@gmail.com" \
target="_blank">vandel@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div \
class="gmail_quote">Thanks for the response,</div><div \
class="gmail_quote"><br></div><div class="gmail_quote">Based on the input I went \
ahead and installed ISE14.7 on Ubuntu 14.04 with what appears to be relatively little \
pain ... I would still prefer to work on the WIndows version of ISE, but &quot;you \
can&#39;t always get what you want&quot; ....</div><div \
class="gmail_quote"><br></div><div class="gmail_quote">At any rate, my first cut \
through on running make on the Linux implementation got much further but still fails, \
now the process proceeds with various informational DRC  messages from EDK until it \
reaches a point where it says:</div><div class="gmail_quote"><br></div><div \
class="gmail_quote">Checking platform address map ...</div><div \
class="gmail_quote">No changes to be saved in XMP file</div><div \
class="gmail_quote">Saved Make file</div><div class="gmail_quote">Xilinx Port:: \
Process Exec Failed:2</div><div class="gmail_quote">ERROR:EDK -</div><div \
class="gmail_quote">      Error while running &quot;gmake -f e300_ps.make \
netlist&quot;.</div><div class="gmail_quote">make[1]: *** \
[/home/vandel/Ettus_e310_sdk/UHD/fpga-src/usrp3/top/e300/build-E310/zynq-ps/hdl/e300_ps_stub.v \
] Error 1</div><div class="gmail_quote">make[1] Leaving directory \
&#39;/home/vandel/Ettus_e310_sdk/UHD/fpga-src/usrp3/top/e300&#39;</div><span><div \
class="gmail_quote">make: *** [E310] Error 2</div><div \
class="gmail_quote"><br></div></span><div class="gmail_quote">I will now start \
digging on this but as always, any insight is welcomed.</div><span><font \
color="#888888"><div class="gmail_quote"><br></div><div \
class="gmail_quote">LVDJ</div><div class="gmail_quote"><br></div> \
</font></span></div></div> </blockquote></div><br><br>
</div></div></div></div>
</blockquote></div><br><br>
</div></div></div></div>
<br>_______________________________________________<br>
USRP-users mailing list<br>
<a href="mailto:USRP-users@lists.ettus.com">USRP-users@lists.ettus.com</a><br>
<a href="http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com" \
target="_blank">http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com</a><br>
 <br></blockquote></div><br></div>



_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic