AM625: AM62x CPSW ethernet driver not loding when using PSDK with QNX BSP

Part Number: AM625
Other Parts Discussed in Thread: SK-AM62B-P1

Hi,

We are working with the SK-AM62B-P1 and the QNX SDK.

We have also integrated the PSDK to the BSP and built the IFS and the TI Filessystem

We are able to boot the board successfully but on loding the cpsw driver, we see error on the log.

`devs-smsc.so: loaded
Jan 01 00:18:25.430                io_sock.1040403          main_buffer     28  devs-cpsw-am62x.so: loading module with ""
Jan 01 00:18:25.436             io_sock.1040403..0               stderr*     0  unknown symbol: miibus_devclass referenced from devs-cpsw-am62x.so
Jan 01 00:18:25.436             io_sock.1040403..0               stderr      0  unknown symbol: etherswitch_devclass referenced from devs-cpsw-am62x.so
Jan 01 00:18:25.437                io_sock.1040403          main_buffer     28  link_elf_load_file: devs-cpsw-am62x.so load fail cause:Unresolved symbol
Jan 01 00:18:25.446                io_sock.1040403          main_buffer     28  devs-cpsw-am62x.so: module not loaded, error 8
Jan 01 00:18:25.446                io_sock.1040403          main_buffer     28  devs-cpsw-am62x.so: scheduled for removal
Jan 01 00:18:25.446                io_sock.1040403          main_buffer     28  devs-cpsw-am62x.so: failed to mount (8) Exec format error
Jan 01 00:18:25.446                io_sock.1040403          main_buffer     28  devs-cpsw-am62x.so: module removed

The command sequence to load the driver is:

sh -c "isend -n/dev/i2c1 -a0x23 0x0e > /dev/null 2>&1"

sh -c "isendrecv -n /dev/i2c1 -a0x23 -l1 > /dev/null 2>&1"

sh -c "isend -n/dev/i2c1 -a0x23 0x0e 0xf3 > /dev/null 2>&1"

sh -c "isend -n/dev/i2c1 -a0x23 0x0e > /dev/null 2>&1"

sh -c "isendrecv -n /dev/i2c1 -a0x23 -l1 > /dev/null 2>&1"

sh -c "isend -n/dev/i2c1 -a0x23 0x06 > /dev/null 2>&1"

sh -c "isendrecv -n /dev/i2c1 -a0x23 -l1 > /dev/null 2>&1"

sh -c "isend -n/dev/i2c1 -a0x23 0x06 0xff > /dev/null 2>&1"

sh -c "isend -n/dev/i2c1 -a0x23 0x06 > /dev/null 2>&1"

sh -c "isendrecv -n /dev/i2c1 -a0x23 -l1 > /dev/null 2>&1"

io-sock -m phy -m usb -d axe -d axge -d cdce -d smsc -mfdt -dcpsw-am62x

Let us know how to enable the ethernet on the starterkit and connect to the host via qconn.

Regards,

Surendrakumar