Skip to content

Commit 8a218df

Browse files
committed
dont use ifdtool to perserve mac adress
Signed-off-by: nestire <hannes@nitrokey.com>
1 parent 155dd62 commit 8a218df

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

Installing-and-Configuring/Flashing-Guides/T480-maximized.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,21 +101,18 @@ diff <(hexdump -C t480_original_bios.bin) <(hexdump -C t480_original_bios_1.bin)
101101
If the files differ or the chip content does not match the dump, try reconnecting your programmer to the SPI flash chip and make sure your flashrom/flashprog software is up-to-date.
102102

103103

104-
If they are the same, you can then write `T480-hotp-maximized.rom` to the SPI flash chip:
104+
If they are the same, you can then write `T480-hotp-maximized.rom` to the SPI flash chip.
105105

106106
```shell
107107
sudo flashrom -p ch341a_spi -c YYY -w ~/heads/build/x86/T480-hotp-maximized/T480-hotp-maximized.rom
108108
```
109109

110-
If you want to perserve the orignal ethernet mac adress you would need to extract GbE from the original firmware and insert that into the heads firmware. Otherwise the ethernet will have the general mac: 00:DE:AD:C0:FF:EE. The orignal mac adress is a identifier of you laptop which can be used to track you in local network, otherwise in networks with other heads devices with the same mac you will have connectivty problems. You need the [ifdtool](https://doc.coreboot.org/util/ifdtool/binary_extraction.html) from coreboot for that.
111-
To extract and insert the GbE into heads run:
110+
On boards with Intel-based Ethernet, such as the T480, this will also overwrite the GbE region in the BIOS, which stores the MAC address of the chip, with a forged one (MAC: 00:DE:AD:C0:FF:EE). This has the privacy benefit that the chip uses this shared MAC so it can't be used as a personal identifier for this exact board. The downside is that this can create connectivity problems on local networks if other heads boards with the same MAC address are present. To preserve the original MAC address of the board, use:
112111

113112
```shell
114-
ifdtool -x t480_original_bios.bin
115-
ifdtool -i GbE:flashregion_3_gbe.bin ~/heads/build/x86/T480-hotp-maximized/T480-hotp-maximized.rom
113+
sudo flashrom -p ch341a_spi -c YYY --ifd -i bios -i me -i fd -w ~/heads/build/x86/T480-hotp-maximized/T480-hotp-maximized.rom
116114
```
117115

118-
this will create `T480-hotp-maximized.rom.new` which you then can write directly to the SPI flash chip (see above).
119116

120117
Here is a successful attempt. Be patient, it may take a while.
121118
![erase/write done]({{ site.baseurl }}/images/T480/9_flash.jpg)

0 commit comments

Comments
 (0)