[Freedom-misc] have you modified the ethernet mac address in a libreboot rom?

kdd at clovermail.net kdd at clovermail.net
Sun Mar 29 16:25:12 CEST 2020


I installed libreboot.rom externally on a thinkpad t400 having the
generic ethernet mac address. Now I want to internally flash
the actual ethernet mac address of the computer on
the flashrom.

https://libreboot.org/docs/gnulinux/grub_cbfs.html#changeMAC
Move t400_8mb_usqwerty_vesafb.rom to folder
/libreboot_r20160907_util/ich9deblob/x86_64. Cd to
/libreboot_r20160907_util/ich9deblob/x86_64
Run ./ich9gen --macaddress XX:XX:XX:XX:XX:XX entering the actual ethernet mac  
address. Should it
be sudo ./ich9gen? Run
dd if=ich9fdgbe_8m.bin of=t400_8mb_usqwerty_vesafb.rom bs=1 count=12k  
conv=notrunc. It
returns 12288+0 records in
12288+0 records out
12288 bytes (12 kB, 12 KiB) copied, 0.0423558 s, 290 kB/s
Should it be sudo dd if=ich9fdgbe_8m.bin of=t400_8mb_usqwerty_vesafb.rom bs=1  
count=12k conv=notrunc?

On the libreboot computer I edited computer -> etc -> default -> grub
to GRUB_CMDLINE_LINUX_DEFAULT="iomem=relaxed quiet"

Then run
sudo flashrom -p internal --ifd -i bios -c MX25L6405D -w  
t400_8mb_usqwerty_vesafb.rom -V -N It
returns Chip content is identical to the requested image. Erase/write done.  
And the
ethernet mac address has not changed.
How do I know if the t400_8mb_usqwerty_vesafb.rom's ethernet
mac address got changed? Or if it is sudo flashrom -p internal --ifd -i bios  
-c MX25L6405D -w t400_8mb_usqwerty_vesafb.rom -V -N that
does not work. Thanks.



More information about the Freedom-misc mailing list