[coreboot] #135: Flashrom deletes MAC addresses on Tyan Tomcat n3400B (S2925-E)

coreboot svn at coreboot.org
Fri May 15 17:11:26 CEST 2009

#135: Flashrom deletes MAC addresses on Tyan Tomcat n3400B (S2925-E)
   Reporter:  Jan@…              |          Owner:     
       Type:  defect             |         Status:  new
   Priority:  major              |      Milestone:     
  Component:  toolchain          |        Version:  v2 
   Keywords:                     |   Dependencies:     
Patchstatus:  there is no patch  |  
Changes (by rminnich):

  * owner:  somebody =>
  * component:  flashrom => toolchain


 This is a problem with any BIOS that stores MAC in the FLASH. What is
 needed is a tool that, given a BIOS image and a mac address sets the MAC
 address into the FLASH image.

 Call it setmac.

 The sequence would be something like this:

 make a coreboot.rom

 mac1=`cat /sys/class/net/eth1/address`

 mac0=`cat /sys/class/net/eth0/address`

 setmac coreboot.rom mac0 mac1

 flashrom -w coreboot.rom

 Scripting is easy given a setmac tool. It will differ for each mainboard.

 The location of the MAC address will likely interact with cbfs and other
 coreboot image properties in unforeseen ways.

 This is not really a flashrom issue.

Ticket URL: <http://tracker.coreboot.org/trac/coreboot/ticket/135#comment:3>
coreboot <http://www.coreboot.org/>

More information about the coreboot mailing list