Right, sorry, I forgot about that.
At that time, librp.so was not open source and had to be added separately. The librp.so of 0.95 will most likely not work, because it is compiled for a different architecture. I'll have to search a bit regarding where to get the binary from.
Basic compling with Ubuntu and Vivado
-
- Posts: 1441
- Joined: Sat Jun 07, 2014 12:49 pm
- Location: Königswinter
-
- Posts: 18
- Joined: Fri May 20, 2016 3:55 pm
Re: Basic compling with Ubuntu and Vivado
Don't worry,Nils Roos wrote:Right, sorry, I forgot about that.
At that time, librp.so was not open source and had to be added separately. The librp.so of 0.95 will most likely not work, because it is compiled for a different architecture. I'll have to search a bit regarding where to get the binary from.
if someone has the librp.so compatible with ecosystem 0.92, please upload it
I must create a folder "lib" and put file in it, right?
-
- Posts: 1441
- Joined: Sat Jun 07, 2014 12:49 pm
- Location: Königswinter
Re: Basic compling with Ubuntu and Vivado
Try the one here.
Folder /lib/ or /usr/lib/ should do fine, if not, try prefixing the call with "LD_LIBRARY_PATH=... ".
Folder /lib/ or /usr/lib/ should do fine, if not, try prefixing the call with "LD_LIBRARY_PATH=... ".
-
- Posts: 800
- Joined: Sat May 23, 2015 5:22 pm
Re: Basic compling with Ubuntu and Vivado
You can find it in this tar file. It's in opt/lib/librp.so.Amraam wrote:compatible with ecosystem 0.92, please upload it
-
- Posts: 18
- Joined: Fri May 20, 2016 3:55 pm
Re: Basic compling with Ubuntu and Vivado
Nils Roos wrote:Try the one here.
Folder /lib/ or /usr/lib/ should do fine, if not, try prefixing the call with "LD_LIBRARY_PATH=... ".
Thank you guys,pavel wrote: You can find it in this tar file. It's in opt/lib/librp.so.
I'm now able to start the server and command the LEDs, I'm so happy
-
- Posts: 14
- Joined: Mon Oct 17, 2016 1:36 pm
Re: Basic compling with Ubuntu and Vivado
Hello,
I have followed the exact steps that Nils describes in #5363, using the same OS (0.95) image and 0.92 zip files that Amraan used. I carefully treated the sd card throughout the process.
If I write the image file and plug the sd card to the red pitaya, the system boots and the Red LED is blinking. However, as soon as I delete the small partition and add the 0.92 ecosystem in, then the red led does not bling upon boot (green and blue LEDs are on, yellow LED is dim). If I try to ssh then I get a ''connection refused''.
Anyone knows why is this happening? Note that the hardware is OK, I ve got 0.94 in another sd card and it runs just fine.
Cheers
I have followed the exact steps that Nils describes in #5363, using the same OS (0.95) image and 0.92 zip files that Amraan used. I carefully treated the sd card throughout the process.
If I write the image file and plug the sd card to the red pitaya, the system boots and the Red LED is blinking. However, as soon as I delete the small partition and add the 0.92 ecosystem in, then the red led does not bling upon boot (green and blue LEDs are on, yellow LED is dim). If I try to ssh then I get a ''connection refused''.
Anyone knows why is this happening? Note that the hardware is OK, I ve got 0.94 in another sd card and it runs just fine.
Cheers
-
- Posts: 1441
- Joined: Sat Jun 07, 2014 12:49 pm
- Location: Königswinter
Re: Basic compling with Ubuntu and Vivado
Hi,
that's ok, the 0.92 version didn't have the sd-card access (yellow) and cpu-heartbeat (red) indicators.add the 0.92 ecosystem in, then the red led does not bling upon boot
If you can, connect the RP's usb console to your computer (instructions in the faq section, ->Software->How access your Red Pitaya over USB serial console port) and look at the network configuration that the RP uses. With the 0.92 ecosystem, the configuration is stored in the fat32 partition under /etc/network .If I try to ssh then I get a ''connection refused''.
-
- Posts: 14
- Joined: Mon Oct 17, 2016 1:36 pm
Re: Basic compling with Ubuntu and Vivado
Thanks for your reply,
Originally it was dhcp but for our network I need to have a static IP address. Hence, on the 124MB partition I have changed /etc/network/config as follows
and, on the same folder I have modified the files interfaces and intefaces.ap to this
Also, on the 3.5GB volume, I have modified etc/dhcp/dhclient.conf so that the fixed address matches the one I have put above, and on etc/network/intefaces.d/eth0 I have put
This works perfectly fine for the 0.94 OS.
Originally it was dhcp but for our network I need to have a static IP address. Hence, on the 124MB partition I have changed /etc/network/config as follows
Code: Select all
# Red Pitaya network configuration
NETWORK=static
# Static network configuration parameters (active if NETWORK=static)
IP=148.79.231.130
NETMASK=255.255.255.0
GATEWAY=148.79.1.1
and, on the same folder I have modified the files interfaces and intefaces.ap to this
Code: Select all
######################################
# eth0: Wired Ethernet - 1000Base-T #
######################################
#
# Uncomment only one: dynamic or static configuration.
#
# Dynamic (DHCP) IP address
#auto eth0
#iface eth0 inet dhcp
# udhcpc_opts -t7 -T3
# Static IP address
# Don't forget to set the static DNS IP in sd:/etc/init.d/rcS too.
auto eth0
iface eth0 inet static
address 148.79.231.130
netmask 255.255.255.0
gateway 148.79.1.1
Code: Select all
iface eth0 inet static
address 148.79.231.130
netmask 255.255.0.0
gateway 148.79.1.1
-
- Posts: 1441
- Joined: Sat Jun 07, 2014 12:49 pm
- Location: Königswinter
Re: Basic compling with Ubuntu and Vivado
I don't exactly know if it matters, but the netmask that you put into /etc/network/config , /etc/network/interfaces , /etc/network/interfaces.ap is not correct. These files are not used in 0.94 .
-
- Posts: 14
- Joined: Mon Oct 17, 2016 1:36 pm
Re: Basic compling with Ubuntu and Vivado
Ok, I ll tweak the 0.94 version and confirm that. Nevertheless, on the other sd card, I still can't get a connection using the steps you describe and Amraam implements above. I ll keep looking for a solution but if you ve got any suggestions please do so.
Cheers
Cheers
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 12 guests