Hello,
our company has designed a custom board with the TI AM335x and two ethernet ports. One is connected to MII1 and the other should use the PRU and ist connected to PR1_MII1. The first port works like expected but the PRU Eth Port is not working.
We did a lot of testing and to me, it seems like a bug in the prueth driver.
After the driver is initialized we get an Error:
[ 15.044651] prueth pruss_eth: TI PRU ethernet (type 0) driver initialized
...
[ 27.001215] Unable to handle kernel NULL pointer dereference at virtual address 000000f0
[ 27.038019] pgd = 4f4314a1
[ 27.040761] [000000f0] *pgd=00000000
[ 27.083212] Internal error: Oops: 805 [#1] PREEMPT ARM
For further information, I attached a log file and the device tree we use.
Additional Info: We are using the ti-processor-sdk-linux-rt-am335x-EVM-06.01.00.08 with a 4.19. Linux RT kernel and the filesystem is tisdk-docker-rootfs-image-am335x-EVM, both provided by the SDK.
Thank you very much in advance for your answer.