jwolfm98
jwolfm98
https://github.com/Xilinx/embeddedsw/blob/be4f96f3f73b0e47036eeb77949c1cc638b7648c/XilinxProcessorIPLib/drivers/spips/src/xspips_hw.h#L97 After many hours of diagnosing the problem, we found that the XSpi driver for SPI interfaces sets the reset state of the driver to NOT have any Chip Select...
https://github.com/Xilinx/embeddedsw/blob/0f463342b5c42ff17690d396fb74381fb13168ab/ThirdParty/sw_services/lwip220/src/lwip-2.2.0/contrib/ports/xilinx/netif/xaxiemacif_physpeed.c#L234
https://github.com/Xilinx/embeddedsw/blob/0f463342b5c42ff17690d396fb74381fb13168ab/ThirdParty/sw_services/lwip220/src/lwip-2.2.0/contrib/ports/xilinx/netif/xadapter.c#L500 The issue is that on boot, the user is usually setting up these NICs sequentially, so the phy_addr (being global) is in step. Once the link detect thread starts...
https://github.com/Xilinx/embeddedsw/blob/0f463342b5c42ff17690d396fb74381fb13168ab/ThirdParty/sw_services/lwip220/src/lwip-2.2.0/contrib/ports/xilinx/netif/xemacpsif_hw.c#L86
https://github.com/Xilinx/embeddedsw/blob/0f463342b5c42ff17690d396fb74381fb13168ab/ThirdParty/sw_services/lwip220/src/lwip-2.2.0/contrib/ports/xilinx/netif/xemacpsif_physpeed.c#L866
https://github.com/Xilinx/embeddedsw/blob/0f463342b5c42ff17690d396fb74381fb13168ab/ThirdParty/sw_services/lwip220/src/lwip-2.2.0/contrib/ports/xilinx/netif/xadapter.c#L198 Given the lack of usage of this macro, I just changed it to !NO_SYS, now it works. Also.... Consider that the priority setting here basically means it never executes....
https://github.com/Xilinx/embeddedsw/blob/0f463342b5c42ff17690d396fb74381fb13168ab/ThirdParty/sw_services/lwip220/src/lwip-2.2.0/contrib/ports/xilinx/netif/xaxiemacif_physpeed.c#L513
https://github.com/Xilinx/embeddedsw/blob/0f463342b5c42ff17690d396fb74381fb13168ab/ThirdParty/sw_services/lwip220/src/lwip-2.2.0/contrib/ports/xilinx/netif/xaxiemacif_physpeed.c#L502
https://github.com/Xilinx/embeddedsw/blob/0f463342b5c42ff17690d396fb74381fb13168ab/ThirdParty/sw_services/lwip220/src/lwip-2.2.0/contrib/ports/xilinx/netif/xaxiemacif_physpeed.c#L434
https://github.com/Xilinx/embeddedsw/blob/0f463342b5c42ff17690d396fb74381fb13168ab/ThirdParty/sw_services/lwip220/src/lwip-2.2.0/contrib/ports/xilinx/netif/xaxiemacif_physpeed.c#L298