Update T480s-maximized.md#218
Closed
bor3dguy wants to merge 4 commits into
Closed
Conversation
Using flashrom only to keep all the steps consistent.
There was a problem hiding this comment.
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
flashromand 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.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
| - 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: |
| 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)
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Using flashrom only to keep all the steps consistent.