Hello,
I try to use Petalinux on core 0 (xapp1078) for mass-storage support and file system support.
the main application is running on core 1 with my bare metal app using lwip. This application is working fine as standalone bare-metal. it connects to a host via tcp as client and sends data with 80MB/s in a stream.
In combination with petalinux, i dont get any connection. i start the "tcp_connect()" funktion but i dont receive its "connected_callback()". in whireshark i only see the ARP communication between host (192.168.202.86) and zynq (192.168.202.10). after this there should be a tcp communication, but this doesnt works and the fpga trys to connect again...
i tryed to configure petalinix' ethernet as "manual" as well as "ps7_ethernet" with static ip (192.168.202.10) and mac.
it seams that maybe the hardware driver of lwip hasnt access to the hardware, maybe because of linux, maybe because the standalone OS has been modified for the xapp1078?
I compared the console output with debug options for bare-metal (left) and with xapp1078 (right). in the pictures you can see the difference between both:
<html><head><title>Jive SBS</title></head>
<body><font face="arial,helvetica,sans-serif">
<b>Error</b><br><font size="-1">
An general error occurred while processing your request.
</font></font></body></html>
<html><head><title>Jive SBS</title></head>
<body><font face="arial,helvetica,sans-serif">
<b>Error</b><br><font size="-1">
An general error occurred while processing your request.
</font></font></body></html>
only with xapp1078 there is the line:
netif->output()tcp_connect
standalone calls "netif->output()" a little bit later withyout "tcp_connect"
in whireshark, i can see that only the ARP protocol will be sent. after that there should follow the tcp SYN, then SYN+ACK and ACK....
does someone knows what could be wrong?
thank you,
Julian