Just about everything about Red Pitaya
#5368 by Nils Roos
Mon May 23, 2016 5:01 pm
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.
#5369 by Amraam
Mon May 23, 2016 5:07 pm
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.


Don't worry,

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?
#5377 by Amraam
Tue May 24, 2016 6:22 pm
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=... ".


pavel wrote:You can find it in this tar file. It's in opt/lib/librp.so.


Thank you guys,

I'm now able to start the server and command the LEDs, I'm so happy :D
#6618 by tsitsimp
Thu Nov 10, 2016 4:55 pm
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
#6620 by Nils Roos
Thu Nov 10, 2016 5:25 pm
Hi,
add the 0.92 ecosystem in, then the red led does not bling upon boot

that's ok, the 0.92 version didn't have the sd-card access (yellow) and cpu-heartbeat (red) indicators.

If I try to ssh then I get a ''connection refused''.

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 .
#6626 by tsitsimp
Thu Nov 10, 2016 5:59 pm
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

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


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

Code: Select alliface eth0 inet static
    address 148.79.231.130
    netmask 255.255.0.0
    gateway 148.79.1.1


This works perfectly fine for the 0.94 OS.
#6627 by Nils Roos
Thu Nov 10, 2016 6:18 pm
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 .
#6628 by tsitsimp
Thu Nov 10, 2016 6:41 pm
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

Who is online

Users browsing this forum: No registered users and 3 guests