Wind River Support Network

HomeDefectsLIN4-5420
Fixed

LIN4-5420 : wrlinux-4.2 / P4080ds : missing a layer between wrlinux and fman register: Eth MAC address change is not impacted on the fman register.

Created: Nov 3, 2011    Updated: May 18, 2015
Resolved Date: Nov 8, 2011
Found In Version: 4.2
Fix Version: 4.2
Severity: Severe
Applicable for: Wind River Linux 4
Component/s: BSP

Description

see attached screenshot

The register fm1dtsec2.maccfg1 remains unchanged.

Steps to Reproduce

1) boot the board with wrl 4.2 :
2) attach the probe with workbench (select the p4080_ds.reg board file)
3) -> go in bkm (suspend the board)
4) playback the registerfile attached
5) cf GRP  FMAN2_DTSEC2 enabled
6) resume the board again (back into run mode)
7) open register view / then force a resync of the registers by doing (view menu / OCD operations -> resync register tree)
8) on the Target console :
     root@localhost:/root> ifconfig eth1 128.224.199.250 up
     root@localhost:/root> ifconfig | grep HWadd
    eth0      Link encap:Ethernet  HWaddr 00:04:9F:02:01:FD
    eth1      Link encap:Ethernet  HWaddr 00:04:9F:02:05:FD

9) select all the FMAN registers, copy all the register content, copy to a file mac.txt.
     adietsch@szg-adietsch-l3:~$ cat mac.txt  | grep mac | grep
fm2dtsec1_macstnaddr1
     fm2dtsec1_macstnaddr1    0xFD05029F    0x00000000

-> see the value of Eth1 : fm2dtsec1_macstnaddr1    0xFD05029F    
0x00000000

10) on target console :
root@localhost:/root> ifconfig eth1 down root@localhost:/root> ifconfig eth1 hw ether 00:04:9f:ef:03:01 root@localhost:/root> ifconfig eth1 up root@localhost:/root> ifconfig | grep HWadd
eth0      Link encap:Ethernet  HWaddr 00:04:9F:02:01:FD
eth1      Link encap:Ethernet  HWaddr 00:04:9F:EF:03:01
root@localhost:/root>

-> see that ifconfig changes the macaddr

11) now back to the dpaa register : (after refresh / resync of the register tree on wb OCD) :
adietsch@szg-adietsch-l3:~$ cat mac.txt  | grep mac | grep
fm2dtsec1_macstnaddr1
     fm2dtsec1_macstnaddr1    0xFD05029F    0x00000000

-> stays same (unchanged)

Other Downloads


Live chat
Online