forked from unilock/makerom-linux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
66 lines (31 loc) · 1.59 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
MAKEROM.SH FOR LINUX
-- COMPATIBILITY --
GPUs: Radeon HD 7950
HD 7970
R9 280X
LINUX amd64: Any distribution should work, as long as you know what you're doing.
(I probably should've compiled TianoCore for i386...)
OTHER OS / ARCH: You'll need to recompile TianoCompress. See ./Docs/TianoCompress.txt.
-- PREREQUISITES --
You'll need to install both Java (any version) and Python 3.
E.g. for Debian-based distros (Ubuntu should have these already):
$ sudo apt install default-jre python3
Dump the VBIOS from your GPU using e.g. `amdvbflash`. ( https://www.techpowerup.com/download/ati-atiflash/ )
Give it a useful name, e.g. "MSI-HD7950.rom".
Keep a copy of your VBIOS dump somewhere safe!
Find your GPU's 4 digit device ID using `lspci -nn`.
For example, if it's "1002:679a", you'll want only "679a".
-- USAGE --
./makerom.sh --rom=<VBIOS DUMP> --deviceid=<DEVICE ID>
It's pretty self-explanatory from there.
-- WARNING --
If you have a GOP (EFI code) in your VBIOS already (i.e. if it's larger than 64kb), then it will be overwritten with the new Mac EFI code, and your GPU will no longer function with UEFI Windows.
-- MISC --
If you recompile TianoCore + port this to PowerShell, this may even run on Windows!?
-- THANKS --
netkas: Created the original makerom.sh (bundle.tar.bz2)
jwilliams1967 (MacRumors): Provided the HD 7970 + R9 280X EFI code + headers (bundle2.zip)
ema1972 (MacRumors): Provided a valid VBIOS to test EfiCompress.macosx vs. TianoCompress
unilock (me): Ported makerom.sh to Linux & fixrom.py to Python 3
With love,
unilock <3