Opened 9 years ago

Closed 6 years ago

Last modified 4 years ago

#4671 closed defect (fixed)

HW MAC Address not detected on ADM5120 Omnma Embedded Controller boards

Reported by: dean@… Owned by: developers
Priority: high Milestone: Barrier Breaker 14.07
Component: base system Version: Trunk
Keywords: MAC Address detection admboot.c Cc:


The MAC address lookup in admboot.c written by juhosg doesn't detect the magic code correctly when running on ADM5120 Omnima Embedded Controller board.

A new section of code can be added to admboot.c to ensure that the HM MAC address i correctly detect. See the attached admboot.c file and the following new section of code to be added in the for loop of the admboot_get_mac_base function:

Magic MAC lookup 48533031FA0301 for Omnima EMB ADM5120 based boards
if (cfg[i+0]==0x48 && cfg[i+1]==0x53 && cfg[i+2]==0x30 &&

cfg[i+3]==0x31 && cfg[i+4]== 0xfa && cfg[i+5]==0x03 &&
cfg[i+6]==0x01) {

int k;

for (k = 0; k < 6; k++)

mac[k] = cfg[i + 7 + k];

printk("<6>Omnima HW MAC Address: %02x:%02x:%02x:%02x:%02x:%02x\n",

mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);

return 0;



Attachments (1)

admboot.c (1.5 KB) - added by dean@… 9 years ago.

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by dean@…

comment:1 Changed 6 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed
  • Version set to Trunk

Fixed with r31195.

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.