Project

General

Profile

Actions

Feature #672

open
GT

Add internal flash support for ATI SB200 / ASUS P4R8L

Feature #672: Add internal flash support for ATI SB200 / ASUS P4R8L

Added by Gianluigi Tiesi 5 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Programmer
Target version:
Start date:
11/06/2026
Due date:
% Done:

0%

Estimated time:
Affected versions:
Needs backport to:
Affected hardware:
ASUS Pundit-R (P4R8L)
Affected OS:
Linux

Description

On an ASUS Pundit-R (P4R8L, AMI BIOS 1006.004), flashrom 1.8.0 detects
the SST49LF004B but reports "No chipset found". Reads work; writes fail
at erase verification and leave the chip unchanged.

Hardware: ATI SB200 LPC 1002:434c and SMBus 1002:4353, both with subsystem
1043:8108; SST49LF004B, 512 KiB FWH. Tested on OpenWrt x86/generic,
Linux 6.18.60 (i686).

The attached patches follow this board's BIOS flash-enable routines:

  • Enable I/O port 0xc6f bit 6 for SB200.
  • Set SMBus PCI register 0xa9 bit 4 for P4R8L, matched by PCI IDs and DMI.

Both register values are restored at shutdown. No public SB200 register
manual was available; the register operations were identified in the BIOS.

With both patches, full 512 KiB images were written in both directions:
new iPXE BIOS to the original backup, then back to the new iPXE BIOS.
Both runs used -p internal, with no force option or restricted layout.
The logs show actual erases/writes (19 and 18 sectors), followed by
VERIFIED. Separate full-chip readbacks match each image byte for byte.

Attachments: the two patches and logs.

OpenAI Codex assisted with diagnosis, code, remote tests and this draft.


Files

1008-chipset-enable-ati-sb200.patch (2.05 KB) 1008-chipset-enable-ati-sb200.patch Gianluigi Tiesi, 11/06/2026 09:16 PM
1009-board-enable-asus-p4r8l.patch (2.4 KB) 1009-board-enable-asus-p4r8l.patch Gianluigi Tiesi, 11/06/2026 09:16 PM
flash-before-patch.txt (790 Bytes) flash-before-patch.txt Gianluigi Tiesi, 11/06/2026 09:20 PM
flash-after-patch.txt (6.73 KB) flash-after-patch.txt Gianluigi Tiesi, 11/06/2026 09:20 PM

No data to display

Actions

Also available in: PDF Atom