VGABIOS

From 15h.org
Revision as of 01:55, 29 April 2025 by Mrothfuss (talk | contribs) (Created page with "Notes on dumping a VGABIOS from linux <nowiki> ### find device ROMs $ find /sys/devices -name rom /sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/rom /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/rom ### identify the matches $ lspci | grep 02:00.0 02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 22) $ lspci | grep 01:00.0 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV530/M56-P...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Notes on dumping a VGABIOS from linux

### find device ROMs
$ find /sys/devices -name rom
/sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/rom
/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/rom
### identify the matches
$ lspci | grep 02:00.0
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 22)
$ lspci | grep 01:00.0
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV530/M56-P [Mobility Radeon X1600]
### enable ROM dumping
$ echo 1 > /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/rom
### dump ROM
$ sudo cat /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/rom > vbios.rom

Taken from https://unix.stackexchange.com/questions/613910/dump-vga-bios-from-linux