Hello
ThreadX/NetX Community,
I’m hoping someone can help me out by directing me to an example implementation of NETX using multiple ethernet
interfaces, besides the nx_ram_network_driver. Not looking for
multihome, I would like each interface to have its own IP Address. Target is a Cortex R5 on AM243x/AM64x platform, however any recent implementation interfacing to TI drivers would be helpful. I’m successfully able to use each of
the CPSW RGMII interfaces individually, but I’m not sure how to get them going simultaneously.
Steps taken so far:
- Updated
sysconfig to enable both RGMII 1 and 2, and enable both MAC Ports 1 and 2
- Rebuilt with #define NX_MAX_PHYSICAL_INTERFACES 2 in
the nx_port.h file.
- Added a second call to
nx_ip_create() in the netx_init() call from
tx_application_define.c, currently passing the same driver function for mapping the NETX networking interface to the TI driver.
Area in Question:
- I’m unsure how to update our driver function that gets
passed to nx_ip_create(), which we use to bridge/translate between NETX calls and the TI driver, to handle the second physical interface. The
nx_ram_network_driver is a little too far removed from interfacing to real hardware for me to understand based on that example at this point. Here is where I could use an example of how this layer should handle connecting to multiple
interfaces through the TI driver.
Thanks,
Ryan
This transmission is intended solely for the addressee and contains confidential information.
If you are not the intended recipient, please immediately inform the sender and delete the message and any attachments from your system.
Furthermore, please do not copy the message or disclose the contents to anyone unless agreed otherwise. To the extent permitted by law we shall in no way be liable for any damages, whatever their nature, arising out of transmission failures, viruses, external
influence, delays and the like.
|