Part Number: AM6422
Hi there!
I'm trying to use cut-thru with AM64X. Linux 6.1.69 yocto-ampliphy-am64x-pd23.2.1.
The dreaded message is: icssg-prueth icssg0-eth: Cut-Thru not supported in MAC mode
If I understand correctly, I need to load the 'sw' version of the firmware. If so, how do I do it?
Say I have reach a state similar to what I could do with:
echo "ti-pruss/am65x-sr2-pru0-prusw-fw.elf" > /sys/class/remoteproc/remoteproc4/firmware
.... (6 times with the right remote CPUs)
I blacklisted the module at boot and then I did load it. I see in the driver code that the driver hardcoded paths.
root@base-513b:~# modprobe icssg_prueth
[ 944.710291] icssg-prueth icssg0-eth: port 1: using random MAC addr: aa:28:1e:b3:3f:35
[ 944.719448] icssg-prueth icssg0-eth: port 2: using random MAC addr: 2a:2f:86:e2:9e:3b
[ 944.737757] TI DP83867 30032400.mdio:01: attached PHY driver (mii_bus:phy_addr=30032400.mdio:01, irq=POLL)
[ 944.760208] TI DP83867 30032400.mdio:02: attached PHY driver (mii_bus:phy_addr=30032400.mdio:02, irq=POLL)
[ 944.771865] icssg-prueth icssg0-eth: TI PRU ethernet driver initialized: dual EMAC mode
root@base-513b:~# [ 944.834919] remoteproc remoteproc4: powering up 30034000.pru
[ 944.849822] remoteproc remoteproc4: Booting fw image ti-pruss/am65x-sr2-pru0-prueth-fw.elf, size 40936
.... So, loading prueth-fw by default.
How can I load the sw firmware?
Regards.