Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 09 Apr 2013 09:29 AM by
Article: OMAP-L138 / AM1808 Reprogramming the MAC Address
 0 Replies
You are not authorized to post a reply.
Author Messages
Basic Member
Basic Member

09 Apr 2013 09:29 AM
    The following guide comes from AM1808/OMAP-L138 SOM-M1 SPI Flash Recovery Application Note 556 [1]


    NOTE: Some of our guides instruct you to erase and reprogram the SPI flash without reprogramming the MAC address. We are updating these documents with the appropriate instructions. In the meantime use the instructions in this guide.

    The Ethernet MAC address of your SOM-M1 can be found on the white sticker attached to the
    module with the format 00:08:EE:XX:XX:XX. Erasing the SPI flash with the Flash Loading Utility
    as described in this document will also erase this MAC address in the SOM-M1. This section will
    provide the steps to restore the MAC address.

    1. Boot the development kit to the U-Boot prompt and enter the commands below. NOTE: The
    example MAC address 00:08:EE:03:5B:40 is used below. Be sure to replace this address
    with values appropriate for your system.

    U-Boot > mm.b c0000000
    c0000000: 00 ? 00
    c0000001: 10 ? 08
    c0000002: 08 ? EE
    c0000003: 01 ? 03
    c0000004: 40 ? 5B
    c0000005: 21 ? 40
    c0000006: 0c ? q
    U-Boot > md.b c0000000
    c0000000: 00 08 EE 03 5B 40 …
    U-Boot > sf probe 0
    8192 KiB M25P64 at 0:0 is now current device
    U-Boot> sf write c0000000 7f0000 6

    The original MAC address should now be restored to the SOM-M1.

    2. Reboot the system and enter the command below to verify ethaddr is set correctly.
    U-Boot > printenv

    bootargs=mem=32M console=ttyS2,115200n8 root=/dev/ram0 rw
    initrd=0xc1180000,4M ip=off
    bootcmd=sf probe 0;sf read 0xc0700000 0x80000 0x200000;sf read
    0xc1180000 0x280000 0x300000;bootm 0xc0700000
    ver=U-Boot 2009.01 (Sep 17 2009 - 17:41:56)

    3. Test that the Ethernet works as expected by pinging another system on the network.
      a. Connect an Ethernet cable between your development kit and the network.
      b. Set the development kit IP address.

    For static IP addresses:
    U-Boot > set ipaddr <static ip address>
    You are not authorized to post a reply.