Hi Yunfan,

Some debugging suggestions below:

> On Feb 8, 2024, at 12:50 PM, Yunfan Zhang <yunfan.zha...@duke.edu> wrote:
> 
> Dear CASPER Team,
>  
> I am a student who is trying to create the CASPER environment for our RFSoC 
> 4*2 board.
>  
> The problem I have currently encountered that, I cannot actually connect the 
> board using ethernet.
> I have successfully installed all the stuff on Ubuntu OS virtual machine and 
> could generate the compiled .fpg file for the board and also, I have 
> installed the image into the board which is from your website. 
> When I monitor the start up process of the board, it already shows “Warning: 
> ethernet@ff0c0000 using MAC address form ROM”. So it already have MAC address 
> for the RFSoC 4*2 board. (I still try to do the Misc. Configuration and but 
> could not modify, I think there is might a difference between RFSoC 2*2).
>  

Yes, the 4x2 MAC address is unique to the board and is different from 2x2 or 
other RFSoC platforms. You do not need to assign a MAC address.


> The MAC on board is “fc:c2:3d:5a:90:f3” and IP address I got is 
> “169.254.24.253” from the board. The attachment “Network.png” picture shows 
> the ifconfig in my Ubuntu system. I can successfully ping this IP on Ubuntu 
> VM, but the SSH could not established, as I have done “ssh 
> casper@169.254.24.253 <mailto:casper@169.254.24.253>” and typed “casper” as 
> the password but still show ‘Permission Denied’. I have tried using public 
> key method to connect but still not worked. The first I think it is some 
> issue for the ssh config, but I have tried every troubleshooting method on 
> website and still do not work. Is this the problem coming from Virtual 
> Machine or I have used an ethernet adapter which transfer ethernet to USB?
>  

>From your Network.png screenshot, it looks like you are showing the IP 
>information for the interfaces of your ubuntu machine. Not on the RFSoC 4x2? I 
>am determining this because the interface you name you show, ` 
>enx00e04c68029d`, is certainly not the expected on the 4x2. This would be more 
>typical of a USB 1G adapter. For the RFSoC4x2 the interface is expected to be 
>`eth0`.

By default, the RFSoC image uses DHCP to get an IP address. Meaning, that you 
will need a DHCP server running on your Ubuntu machine, if it is not already 
configured this way. To get the IP address for the board you would either 
monitor the DHPC leases issued from your running DHCP server. Or, you can 
connect over serial to the board and login and use ifconfig to see the IP 
address that was assigned to the 4x2.

> Then I followed the instruction which is shown in the document: fpga = 
> casperfpga.CasperFpga(“169.254.24.253”), it gets the problem shows in the 
> attachment “Connect.png”. It shows: “UnknownTransportError: Possible that 
> host does not follow one of the defined casperfpga transport protocols.” I 
> think this is not the real reason as I think might be the connection problem 
> as the reason is from “katcp.core.KatcpClientError: Failed to connect to 
> ('169.254.24.253', 7147)”.

The reason here, again I suspect, is because this IP address is a self-assigned 
IP address for an interface on your local host machine. Not actually an IP 
address that is attached to the 4x2.

>  
> Sorry for asking the ethernet and board connection problem, I am not familiar 
> with the network issue. By the way, is there any ways to transfer the 
> complied file using UART/USB connection?
> I would be very appreciated if you can help me with this.
>  
> Best regards,
> Yunfan Zhang
>  
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "casper@lists.berkeley.edu <mailto:casper@lists.berkeley.edu>" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to casper+unsubscr...@lists.berkeley.edu 
> <mailto:casper+unsubscr...@lists.berkeley.edu>.
> To view this discussion on the web visit 
> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/DM6PR05MB4057FA3B7085C7B675FCADA0D3442%40DM6PR05MB4057.namprd05.prod.outlook.com
>  
> <https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/DM6PR05MB4057FA3B7085C7B675FCADA0D3442%40DM6PR05MB4057.namprd05.prod.outlook.com?utm_medium=email&utm_source=footer>.
> <Connect.png><Network.png>

-- 
You received this message because you are subscribed to the Google Groups 
"casper@lists.berkeley.edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to casper+unsubscr...@lists.berkeley.edu.
To view this discussion on the web visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/0C0AE5A0-D002-4C0F-A4FD-58C5DB988B46%40gmail.com.

Reply via email to