Go to previous topic
Go to next topic
Last Post 26 Jun 2012 01:28 PM by  glennj@logicpd.com
Article: L138 -- Restoring MAC Address on SPI Flash
 0 Replies
Author Messages
glennj@logicpd.com
New Member
New Member
Posts:


--
26 Jun 2012 01:28 PM
    Q: How is the MAC restored to the SPI Flash at address 0x7F0000?

    A:
    Modify the DDR content at address 0xC0000000. The MAC address is printed on a sticker
    pasted on the SOM Module. The MAC format is: 00:08:EE:xx:yy:zz where the last three “xx” pairs will be replaced by the final numbers on the sticker.

    *************
    1) Boot the OMAP-L138 kit to the U-Boot prompt. Enter the following commands. Enter the numbers that follow the “?”.
    U-Boot> mm.b c0000000
    c0000000: fb ? 00
    c0000001: ef ? 08
    c0000002: fd ? ee
    c0000003: df ? xx
    c0000004: ff ? yy
    c0000005: ff ? zz
    c0000006: bf ? q

    2) Double check the values placed into memory.
    U-Boot> md.b c0000000
    c0000000: 00 08 ee xx yy zz bf ff f3 fd fb ff fe fd bf ef

    3) Initialize the SPI Flash from u-boot.
    U-Boot> sf probe 0

    4) Write the MAC address from DDR to SPI Flash/
    U-Boot> sf write c0000000 7f0000 6

    5) Reset the OMAP-L138 kit. The U-Boot and Linux kernel will read the MAC address written to flash.

    PRODUCTS Included:
    OMAP-L138, AM1808, C6748


    ---