Skip to content

Update T480s-maximized.md#218

Closed
bor3dguy wants to merge 4 commits into
linuxboot:masterfrom
bor3dguy:patch-1
Closed

Update T480s-maximized.md#218
bor3dguy wants to merge 4 commits into
linuxboot:masterfrom
bor3dguy:patch-1

Conversation

@bor3dguy

Copy link
Copy Markdown

Using flashrom only to keep all the steps consistent.

Using flashrom only to keep all the steps consistent.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the T480s “maximized” flashing guide to use flashrom consistently (instead of mixing flashprog/flashrom) and refreshes the example commands/output accordingly.

Changes:

  • Switches the guide’s example workflow to flashrom and updates sample command lines and outputs.
  • Adds explicit “read twice + compare + verify” steps for both BIOS and Thunderbolt dumps.
  • Updates the recommended example programmer context and simplifies some narrative text.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Installing-and-Configuring/Flashing-Guides/T480s-maximized.md
Comment thread Installing-and-Configuring/Flashing-Guides/T480s-maximized.md Outdated
Comment thread Installing-and-Configuring/Flashing-Guides/T480s-maximized.md
Comment thread Installing-and-Configuring/Flashing-Guides/T480s-maximized.md Outdated
Comment thread Installing-and-Configuring/Flashing-Guides/T480s-maximized.md
Comment thread Installing-and-Configuring/Flashing-Guides/T480s-maximized.md
Comment thread Installing-and-Configuring/Flashing-Guides/T480s-maximized.md Outdated
Comment thread Installing-and-Configuring/Flashing-Guides/T480s-maximized.md
Comment thread Installing-and-Configuring/Flashing-Guides/T480s-maximized.md
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 9 comments.

Comment thread Installing-and-Configuring/Flashing-Guides/T480s-maximized.md Outdated
Comment thread Installing-and-Configuring/Flashing-Guides/T480s-maximized.md
Comment thread Installing-and-Configuring/Flashing-Guides/T480s-maximized.md
Comment thread Installing-and-Configuring/Flashing-Guides/T480s-maximized.md
Comment thread Installing-and-Configuring/Flashing-Guides/T480s-maximized.md
Comment thread Installing-and-Configuring/Flashing-Guides/T480s-maximized.md Outdated
Comment thread Installing-and-Configuring/Flashing-Guides/T480s-maximized.md
Comment thread Installing-and-Configuring/Flashing-Guides/T480s-maximized.md
Comment thread Installing-and-Configuring/Flashing-Guides/T480s-maximized.md
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 6 comments.

- Optional: A plastic guitar pick or an old credit card to help detach the bottom case from the clips holding it in place. Otherwise, it can be difficult to remove, increasing the risk of breaking the tabs or the top part of the bottom case above the battery connector.

There is still debate over which programmer and software should be used (flashprog vs. flashrom). Before following this guide, make sure you read [README.md](https://github.com/linuxboot/heads/tree/master/blobs/xx80/README.md) and the related information.
There is still debate over which programmer and software should be used (flashprog vs. flashrom), however we will use flashrom to keep all the steps consistent.

First output can be seen here.

It will then dump our original BIOS prior to flashing HEADS to:
Comment thread Installing-and-Configuring/Flashing-Guides/T480s-maximized.md Outdated
And do it once again just to make sure (notice a different file name is used below):
```shell
sudo flashprog -r ~/t480s_original_bios_1.bin --programmer serprog:dev=/dev/ttyACM0:spispeed=16M -c YYY
sudo flashrom --programmer [progarmmer] --read ~/t480s_original_bios_1.bin --chip YYY

Or, bit-by-bit with `diff`
```shell
diff <(hexdump -C t480_original_tb.bin) <(hexdump -C t480_original_tb_1.bin)

```shell
sudo flashprog -p serprog:dev=/dev/ttyACM0:spispeed=16M -c YYY -w ~/heads/build/x86/t480s-hotp-maximized/heads-t480s-hotp-maximized.rom
sudo flashrom --programmer [programmer] --chip W25Q128.V --write heads-EOL_t480s-maximized-202607091420-v0.2.1-3090-g8d0064f.rom
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI added a commit that referenced this pull request Jul 14, 2026
- Fix grammar: comma-splice 'however' → '; however,' on line 25
- Fix casing: 'CH341a' → 'CH341A' (correct hardware name)
- Fix casing: 'HEADS' → 'Heads' (consistent project name)
- Fix typo: '[progarmmer]' → '[programmer]' (two occurrences)
- Fix hostname: '[user@h4ckb0x ~]$' → '[user@flashing ~]$' (generic placeholder)
- Fix write command: replace hard-coded chip/filename with YYY/t480s-maximized.rom
- Fix diff command: 't480_original_tb' → 't480s_original_tb'
- Fix tb.bin mismatch: align description with write command (t480s_tb.bin)
@tlaurion

Copy link
Copy Markdown
Collaborator

All fixes above suggested by copilot under #220 but no attribution to you for your changes. You ok for the merge there? I don't have much more time for this pr.

@tlaurion

Copy link
Copy Markdown
Collaborator

@tlaurion tlaurion closed this Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants