CPSW 9G driver for DRA829v with io-sock in QNX 7.1

Hi all,

I want to get CPSW9g ports in A72 core of DRA829v ,for that i don’t have CPSW driver.

Is there any way to write it or port it from somewhere.

I mean native Ethernet driver

Yes, you can write an Ethernet driver. I’ve done this in the past for QNX 6.5. You need some support libraries and probably some sample code, but I think it should be available for QNX 7 without asking. If you have some LInux code as a starting poine it should help. I will say that I’ve been writing drivers for QNX since version 2. Writing a QNX 7 Ethernet driver is not for the faint hearted. If there’s an option for an alternative supported NIC I’d look into it. There is some support for USB Network devices in case that will help.

Yes,I have USB,PCIe drivers available from QNX.

I am now running with USB to Ethernet.

I am unable to detect enumeration of PCIe,it is detecting randomly.So my option is to go for CPSW9G for 5 more ethernet ports in my board.

Please guide me writing driver for it like Sample Code.

The network driver kit will have sample code. If enumeration of a PCIe NIC is flaky, you may have a hardware problem. I don’t know what CPSW9G is.