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.

Linux/AM5718: Ethernet MAC Address in SEEPROM Header

Part Number: AM5718

Tool/software: Linux

Hi,

    We have read "SEEPROM Header" given in Table 3. SEEPROM Header of AM571x Industrial Development Kit (IDK)
Evaluation Module (EVM) Hardware User's Guide (link: "www.ti.com/.../sprui97b.pdf") using i2_c.

The value obtained in Ethernet MAC Address #0 and Ethernet MAC Address #5 are different from the values seen when we give "ifconfig" in kernel prompt. Is there any relation between these two?

Values obtained in ifconfig:

eth0 Link encap:Ethernet HWaddr 44:EA:D8:17:4C:CE
eth1 Link encap:Ethernet HWaddr 44:EA:D8:17:4C:CF
eth2 Link encap:Ethernet HWaddr 1E:4F:99:8A:B5:80
eth3 Link encap:Ethernet HWaddr 36:84:22:1C:1D:B0

Value read from EEPROM through i2c:
****** Printing first 32 bytes******
aa 55 33 ee 41 4d 35 37 31 49 44 4b 31 2e 33 42 32 31 31 38 34 50 35 32 30 33 34 34 ff ff ff ff


****** Printing next 28 bytes ******
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff


****** Printing next 12 bytes******
70 ff 76 1c 28 53 70 ff 76 1c 28 58

Regards,

Anjali

  • Hi,
    I will have to research with a board. I agree that what you have posted does seem odd, the first two look correct, but the next 2 do not, they appear to be random. U-Boot code passes the MAC addresses to the kernel during boot. U-Boot maybe assigning random MAC IDs since it may have detected an issue with eeprom. The highlighted portions from the eeprom do not look sequential either.

    I will post next week what I see on my board.

    Best Regards,
    Schuyler
  • Hi,

    It looks like you have two similar threads going, from the other thread you are using the latest SDK. I will double check again tomorrow with the latest SDK, I had used an earlier SDK for output below.

    Here is the abbreviated ifconfig -a output from my board:

    eth0 Link encap:Ethernet HWaddr 5C:F8:21:14:83:E6

    eth1 Link encap:Ethernet HWaddr 5C:F8:21:14:83:E7

    eth2 Link encap:Ethernet HWaddr 70:FF:76:1C:0B:13

    eth3 Link encap:Ethernet HWaddr 70:FF:76:1C:0B:14

    eth4 Link encap:Ethernet HWaddr 70:FF:76:1C:0B:15

    eth5 Link encap:Ethernet HWaddr 70:FF:76:1C:0B:16

    As I was mentioning in the previous post the first two MAC IDs are from efuse values from the AM57x part, the next four consecutive IDs are from the eeprom on the board. Your eeprom looks correct but for some reason the MAC IDs are not being picked up by the kernel.


    Best Regards,
    Schuyler
  • Hi,
    I got the MAC IDS
    eth0 Link encap:Ethernet HWaddr 44:EA:D8:14:14:02
    eth1 Link encap:Ethernet HWaddr 44:EA:D8:14:14:03
    eth2 Link encap:Ethernet HWaddr 70:FF:76:1C:27:8D
    eth3 Link encap:Ethernet HWaddr 70:FF:76:1C:27:8E
    But I am getting these 4 IP addressess only when removing the shunt from header J51,not able to enable 6-port Ethernet mode.should I have anything else to do for enabling 6 ports?

    Thanks& Regards,
    Anjali
  • Hi,

    Unless you have an LCD attached you not be able to boot with the J51 jumper in place, U-Boot will halt and print out an error message about not seeing the LCD panel attached.

    With the J51 jumper removed all 6 ports should be visible with an ifconfig -a command. Which version of board do you have? Please attach a picture of your board.

    Best Regards,
    Schuyler
  • Hi,

          We are using TI AM5718 EVM  REV 1.3B with ti-processor-sdk-linux-am57xx-evm-05.03.00.07.

    Picture of the board is attached.

  • Hi,
    Thanks for the picture. Your board is newer than mine, you have a 1.3B board, I have a 1.3A board so theoretically this should work.

    It looks like there have been extensive modifications to the IDK board which more or less puts the issue you are experiencing in a state where TI won't be able to support further debug.

    The only recommendation I can make is to look at page 20 where J51 is defined and follow all the places that 6PORT_LCDn gets used. If the jumper for J51 is in place though the boot should halt in u-boot. Perhaps there is a software modification that has been done locally that allows the boot to continue. The jumper is attached is attached to a GPIO that is read to indicate to look for the LCD panel, if the jumper is detected then U-Boot looks for the LCD panel, if it finds it the boot continues, if it doesn't the boot stops there and a message is printed on the console.

    Best Regards,
    Schuyler
  • Hi,

        I tried in another AM5718 EVM and freshly loaded MLO, u-boot and kernel. Removed the jumper J51 and now I'm able to get the MAC-IDs given in the SEEPROM header for all four PRUs.

     Thank you for your support

    Regards,

    Anjali