aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/README.md
blob: 1a9e81fc8223711cd1a6287473bfd7f99e5428ba (plain)
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
# Usefull custom scripts to ease working with edk2

- Create UEFI modules with templates:

[createNewApp.sh](createNewApp.sh) - create new UEFI_APPLICATION by name

[createNewShellApp.sh](createNewShellApp.sh) - create new UEFI_APPLICATION with shell entry point by name

[createNewDriver.sh](createNewDriver.sh) - create new UEFI_DRIVER by name

[createNewHIIEfivarstoreDriver.sh](createNewHIIEfivarstoreDriver.sh) - create new UEFI_DRIVER with Form and EFI storage by name

[createNewHIIVarstoreDriver.sh](createNewHIIVarstoreDriver.sh) - create new UEFI_DRIVER with Form and Buffer storage by name

- Replace GUIDs in log file:

[replace_guids.py](replace_guids.py) - script that translates GUIDs in 'debug.log' file to readable strings

[Guid_extra.xref](Guid_extra.xref) - extra GUIDs for 'replace_guids.py' script

- GDB:

[efi.py](efi.py) - script by Artem Nefedov that helps to load debug symbols in GDB (https://github.com/artem-nefedov/uefi-gdb/blob/master/efi.py)

[run_gdb.sh](run_gdb.sh) - script that launches tmux session ready for UEFI shell apllication/driver debug

[run_gdb_ovmf.sh](run_gdb_ovmf.sh) - script that launches tmux session ready for OVMF debug

- Font:

[create_font_data.html](create_font_data.html) - HTML with javascript code to transform font file to UEFI Glyph array

- PCD:

[genToken.sh](genToken.sh) - script to generate random 4-byte token for PCD

- GUID:

[guidgen.sh](guidgen.sh) - script to generate new GUID in both standard and C-style formats