This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM4376: Unable to enable MRP for bridge and if enabled using kernel config it is impacting pru ethernet

Part Number: AM4376

Tool/software:

Hi Team,

Currently we are using  TI AM4376 with Linux RT

SDK - ti-processor-sdk-linux-rt-am437x-evm-08.02.00.24 

Kernel Version - Linux am437x-evm 5.10.100-rt62-g204ec708dc #10 PREEMPT_RT Mon Jun 24 18:24:31 IST 2024 armv7l armv7l armv7l GNU/Linux

In this we are trying to enable the MRP for bridge as below,

Networking Support --> Network Options --> <*> 802.1d Ethernet Bridging 
 [ ] IGMP/MLD snooping 
 [*] MRP protocol

and also 

<*> 802.1Q/802.1ad VLAN Support 

[*]   MVRP (Multiple VLAN Registration Protocol) support to enable MRP=[M]

When we enable this we are getting even mrp.ko kernel object file and we generated image with this and also copied the .ko file to modules but during booting we observed issue wrt pru driver, because of this the pru ethernet is impacted and the ethernet ports are not being detected after the booting.

Please provide your observations and also configurations to be enabled for the MRP with bridge. Below added the log for your reference.

MRP_Error_Log_PRU.txt
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[ 0.000000] Linux version 5.10.100-rt62-g204ec708dc (root@ubuntu-VirtualBox) (arm-none-linux-gnueabihf-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #10 PREEMPT_RT Mon Jun 24 18:24:31 IST 2024
[ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: TI AM437x Industrial Development Kit
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 48 MiB at 0x9d000000
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000080000000-0x000000009fffffff]
[ 0.000000] HighMem empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [msem 0x0000000080000000-0x000000009fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000009fffffff]
[ 0.000000] On node 0 totalpages: 131072
[ 0.000000] Normal zone: 1152 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 131072 pages, LIFO batch:31
[ 0.000000] CPU: All CPU(s) started in SVC mode.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Here eth0, eth1 are not detected