Skip to content

Fix T480s-maximized.md: apply PR #218 content with review-identified corrections#220

Closed
tlaurion with Copilot wants to merge 3 commits into
masterfrom
copilot/fix-comments-in-review-thread
Closed

Fix T480s-maximized.md: apply PR #218 content with review-identified corrections#220
tlaurion with Copilot wants to merge 3 commits into
masterfrom
copilot/fix-comments-in-review-thread

Conversation

Copilot AI commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Incorporates the PR #218 rewrite (flashprog → flashrom commands) and addresses all issues flagged in the associated review thread.

Fixes applied

  • Grammar: comma-splice before "however" → ; however, + reworded clause
  • Hardware name: CH341aCH341A
  • Project name: HEADSHeads (two occurrences, consistent with rest of docs)
  • Typo: [progarmmer][programmer] (two occurrences in shell commands — would break copy/paste)
  • Hostname in example output: [user@h4ckb0x ~]$[user@flashing ~]$ (generic placeholder)
  • Write command: hard-coded chip model (W25Q128.V) and timestamped ROM filename replaced with YYY and t480s-maximized.rom to match surrounding instructions and stay version-agnostic
  • Thunderbolt diff command: t480_original_tb*.bint480s_original_tb*.bin (matches actual dump filenames created earlier in the guide)
  • Thunderbolt write description: tb.bint480s_tb.bin to match the --write ~/t480s_tb.bin command immediately below

- 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)
Copilot AI changed the title [WIP] Fix code based on review comments Fix T480s-maximized.md: apply PR #218 content with review-identified corrections Jul 14, 2026
Copilot AI requested a review from tlaurion July 14, 2026 20:13
@tlaurion
tlaurion marked this pull request as ready for review July 14, 2026 20:21
Copilot AI review requested due to automatic review settings July 14, 2026 20:21

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 standardize on flashrom (instead of mixing flashprog/flashrom) and to incorporate review-driven corrections so the instructions are more consistent and copy/paste-friendly.

Changes:

  • Rewrites the BIOS and Thunderbolt flashing command examples to use flashrom and updates the sample output blocks accordingly.
  • Fixes several documentation issues identified in the prior review (naming, grammar, placeholders, and filename consistency).
  • Clarifies/adjusts verification steps for BIOS and Thunderbolt dumps.
Comments suppressed due to low confidence (1)

Installing-and-Configuring/Flashing-Guides/T480s-maximized.md:128

  • These checksum commands omit the ~/ prefix even though the preceding flashrom reads explicitly write the dumps into ~. If the reader isn’t currently in their home directory, copy/paste will fail with “No such file”.
sha256sum t480s_original_bios.bin
sha256sum t480s_original_bios_1.bin

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

Comment thread Installing-and-Configuring/Flashing-Guides/T480s-maximized.md Outdated
Comment thread Installing-and-Configuring/Flashing-Guides/T480s-maximized.md Outdated
Comment thread Installing-and-Configuring/Flashing-Guides/T480s-maximized.md Outdated
Comment thread Installing-and-Configuring/Flashing-Guides/T480s-maximized.md Outdated
Comment thread Installing-and-Configuring/Flashing-Guides/T480s-maximized.md Outdated
Comment thread Installing-and-Configuring/Flashing-Guides/T480s-maximized.md Outdated
Comment thread Installing-and-Configuring/Flashing-Guides/T480s-maximized.md Outdated

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 3 comments.

```

Flash the padded Thunderbolt firmware. The firmware file tb.bin is located in the blobs folder after you build the Heads locally, or in the CircleCI artifacts.
Flash the padded Thunderbolt firmware. The firmware file t480s_tb.bin is located in the blobs folder after you build the Heads locally, or in the CircleCI artifacts.
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 software is up-to-date.


If they are the same, then write `t480s-maximized.rom` to the SPI flash chip:

```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 YYY --write t480s-maximized.rom
@tlaurion tlaurion closed this Jul 16, 2026
@tlaurion

Copy link
Copy Markdown
Collaborator

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