Skip to content

Commit 155dd62

Browse files
committed
add GbE perserving external flashing to t480 install
Signed-off-by: nestire <hannes@nitrokey.com>
1 parent 3058f49 commit 155dd62

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,22 @@ 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, 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:
112+
113+
```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
116+
```
117+
118+
this will create `T480-hotp-maximized.rom.new` which you then can write directly to the SPI flash chip (see above).
119+
110120
Here is a successful attempt. Be patient, it may take a while.
111121
![erase/write done]({{ site.baseurl }}/images/T480/9_flash.jpg)
112122

0 commit comments

Comments
 (0)