| 1 | <!-- DO NOT EDIT - AUTOGENERATED FILE --> |
| 2 | <!-- RUN 'util/util_readme/util_readme.sh' to regenerate --> |
| 3 | |
| 4 | # Utilities |
| 5 | |
| 6 | ## List of utils |
| 7 | |
| 8 | _Scripts and programs found in the coreboot `./util` directory_ |
| 9 | |
| 10 | * __abuild__ - coreboot autobuild script builds coreboot images for all |
| 11 | available targets. `bash` |
| 12 | * __acpi__ - Walk through all ACPI tables with their addresses. `bash` |
| 13 | * __amdfwtool__ - Create AMD Firmware combination `C` |
| 14 | * __amdtools__ Various tools for AMD processors |
| 15 | * _update_efs_spi_speed_ - Change SPI speed in binary. `Bash` |
| 16 | * Tools to compare extended K8 memory settings. |
| 17 | * _k8-compare-pci-space.pl_ - Shows differences between values |
| 18 | in PCI space and the default value. `Perl` |
| 19 | * _k8-interpret-extended-memory-settings.pl_ - Shows |
| 20 | differences between memory controller values and the default value. |
| 21 | `Perl` |
| 22 | * _k8-read-mem-settings.sh_ - Makes data files understood by |
| 23 | the k8-interpret-extended-memory-settings script. `Bash` |
| 24 | * _parse-bkdg.pl_ - Make bkdg.data file used by above scripts. |
| 25 | `Perl` |
| 26 | * _example_input_ - Sample input for the above scripts. `Text` |
| 27 | * __apcb__ - AMD PSP Control Block tools |
| 28 | * _apcb_edit.py_ - This tool allows patching an existing APCB |
| 29 | binary with specific SPDs and GPIO selection pins. `Python3` |
| 30 | * _apcb_v3_edit.py_ - This tool allows patching an existing |
| 31 | APCB v3 binary with up to 16 specific SPDs. `Python3` |
| 32 | * __archive__ - Concatenate files and create an archive `C` |
| 33 | * __autoport__ - Automated porting coreboot to Sandy Bridge/Ivy |
| 34 | Bridge/Haswell platforms `Go` |
| 35 | * __bincfg__ - Compiler/Decompiler for data blobs with specs `Lex` |
| 36 | `Yacc` |
| 37 | * __board_status__ - Tools to collect logs and upload them to the board |
| 38 | status repository `Bash` `Go` |
| 39 | * __bucts__ - A tool to manipulate the BUC.TS bit on Intel targets. `C` |
| 40 | * __cavium__ - Devicetree_convert Tool to convert a DTB to a static C |
| 41 | file `Python` |
| 42 | * __cbfstool__ |
| 43 | * _cbfstool_ - For manipulating CBFS file `C` |
| 44 | * _fmaptool_ - Converts plaintext fmd files into fmap blobs `C` |
| 45 | * _rmodtool_ - Creates rmodules `C` |
| 46 | * _ifwitool_ - For manipulating IFWI `C` |
| 47 | * __cbmem__ - CBMEM parser to read e.g. timestamps and console log `C` |
| 48 | * __chromeos__ - These scripts can be used to access ChromeOS |
| 49 | resources, for example to extract System Agent reference code and other |
| 50 | blobs (e.g. mrc.bin, refcode, VGA option roms) from a ChromeOS recovery |
| 51 | image. `C` |
| 52 | * __crossgcc__ - A cross toolchain builder for -elf toolchains (ie. no |
| 53 | libc support) `Bash` |
| 54 | * __docker__ - Dockerfiles for _coreboot-sdk_, _coreboot-jenkins-node_, |
| 55 | _coreboot.org-status_ and _docs.coreboot.org_ `Make` |
| 56 | * __dtd_parser__ - DTD structure parser `Python2` |
| 57 | * __ectool__ - Dumps the RAM of a laptop's Embedded/Environmental |
| 58 | Controller (EC). `C` |
| 59 | * __exynos__ - Computes and fills Exynos ROM checksum (for BL1 or BL2). |
| 60 | `Python3` |
| 61 | * __find_usbdebug__ - Help find USB debug ports `Bash` |
| 62 | * __futility__ - Firmware utility for signing ChromeOS images `Make` |
| 63 | * __fuzz-tests__ - Create test cases that crash the jpeg code. `C` |
| 64 | * __genbuild_h__ - Generate build system definitions `Shell` |
| 65 | * __gitconfig__ - Initialize git repository submodules install git |
| 66 | hooks `Bash` |
| 67 | * __hda-decoder__ - Dumps decoded HDA default configuration registers |
| 68 | into a format which can be used in coreboot's verb table `Go` |
| 69 | * __ifdtool__ - Extract and dump Intel Firmware Descriptor information |
| 70 | `C` |
| 71 | * __intelmetool__ - Dump interesting things about Management Engine |
| 72 | even if hidden `C` |
| 73 | * __intelp2m__ - Convert the inteltool register dump to gpio.h with |
| 74 | GPIO configuration for porting coreboot to your motherboard. `Go` |
| 75 | * __inteltool__ - Provides information about the Intel CPU/chipset |
| 76 | hardware configuration (register contents, MSRs, etc). `C` |
| 77 | * __intelvbttool__ - Parse VBT from VGA BIOS `C` |
| 78 | * __kbc1126__ - Tools used to dump the two blobs from the factory |
| 79 | firmware of many HP laptops with 8051-based SMSC KBC1098/KBC1126 |
| 80 | embedded controller and insert them to the firmware image. `C` |
| 81 | * __kconfig__ - Build system `Make` |
| 82 | * __lint__ - Source linter and linting rules `Shell` |
| 83 | * __nixos__ - A script and NixOS configuration files to create an ISO |
| 84 | image for testing purposes and for working on firmware. `Bash` |
| 85 | * __mainboard__ - mainboard specific scripts |
| 86 | * _google_ - Directory for google mainboard specific scripts |
| 87 | * __marvell__ - Add U-Boot boot loader for Marvell ARMADA38X `C` |
| 88 | * __[me_cleaner](https://github.com/corna/me_cleaner)__ - Tool for |
| 89 | partial deblobbing of Intel ME/TXE firmware images `Python` |
| 90 | * __mediatek__ |
| 91 | * check-pi-img.py - Check `PI_IMG` firmware. `Python3` |
| 92 | * gen-bl-img.py - Generate MediaTek bootloader header. |
| 93 | `Python3` |
| 94 | * __mma__ - Memory Margin Analysis automation tests `Bash` |
| 95 | * __msrtool__ - Dumps chipset-specific MSR registers. `C` |
| 96 | * __nvidia__ - nvidia blob parsers |
| 97 | * __nvramtool__ - Reads and writes coreboot parameters and displaying |
| 98 | information from the coreboot table in CMOS/NVRAM. `C` |
| 99 | * __pmh7tool__ - Dumps, reads and writes PMH7 registers on Lenovo |
| 100 | ThinkPads. PMH7 is used for switching on and off the power of some |
| 101 | devices on the board such as dGPU. `C` |
| 102 | * __post__ - Userspace utility that can be used to test POST cards. `C` |
| 103 | * __qemu__ - Makefile & comprehensive default config for QEMU Q35 |
| 104 | emulation `Make` |
| 105 | * __qualcomm__ - __cmm__ |
| 106 | * CMM script to debug Qualcomm coreboot environments. `CMM` |
| 107 | __ipqheader__ |
| 108 | * _createxbl.py_ - Concatenates XBL segments into one ELF image |
| 109 | `Python` |
| 110 | * _ipqheader.py_ - Returns a packed MBN header image with the |
| 111 | specified base and size `Python` |
| 112 | * _mbncat.py_ - Generate ipq8064 uber SBL `Python` |
| 113 | * *mbn_tools.py* - Contains all MBN Utilities for image |
| 114 | generation `Python` |
| 115 | * __release__ - Generate coreboot release `Bash` |
| 116 | * __riscv__ |
| 117 | * _make-spike-elf.sh_ - Converts a flat file into an ELF, that |
| 118 | can be passed to SPIKE, the RISC-V reference emulator.`Bash` |
| 119 | * _sifive-gpt.py_ - Wraps the bootblock in a GPT partition for |
| 120 | SiFive's bootrom. `Python3` |
| 121 | * __rockchip__ - Generate Rockchip idblock bootloader. `Python3` |
| 122 | * __sconfig__ - coreboot device tree compiler `Lex` `Yacc` |
| 123 | * __scripts__ |
| 124 | * capture_commands.sh - Write all commands from the build to a |
| 125 | file. `Shell` |
| 126 | * _config_ - Manipulate options in a .config file from the |
| 127 | command line `Bash` |
| 128 | * _cross-repo-cherrypick_ - Pull in patches from another tree |
| 129 | from a gerrit repository. `Shell` |
| 130 | * _decode_spd.sh_ - Decodes Serial Presence Detect (SPD) files |
| 131 | into various human readable formats. `Bash` |
| 132 | * _dts-to-fmd.sh_ -Converts a depthcharge fmap.dts into an |
| 133 | fmaptool compatible .fmd format `Bash` |
| 134 | * _find_new_user_commits.sh_ - Finds new gerrit committers |
| 135 | `Bash` |
| 136 | * _find-unused-kconfig-symbols.sh_ - Points out Kconfig |
| 137 | variables that may be unused. There are some false positives, but it |
| 138 | serves as a starting point `Shell` |
| 139 | * _gerrit-rebase_ - Applies all commits that from-branch has |
| 140 | over to-branch, based on a common ancestor and gerrit meta-data `Bash` |
| 141 | * _get_maintainer.pl_ - Print selected MAINTAINERS information |
| 142 | for the files modified in a patch or for a file `Perl` |
| 143 | * _maintainers.go_ - Build subsystem Maintainers `Go` |
| 144 | * _no-fsf-addresses.sh_ - Removes various FSF addresses from |
| 145 | license headers `Shell` |
| 146 | * _parse-maintainers.pl_ - Script to alphabetize MAINTAINERS |
| 147 | file `Perl` |
| 148 | * _rm_unused_code_ - Remove all code not used for a platform |
| 149 | from the local git repository for auditing or release `Bash` |
| 150 | * _show_platforms.sh_ - Makes a list of platforms in the tree. |
| 151 | Does not show variants. `Shell` |
| 152 | * _ucode_h_to_bin.sh_ - Microcode conversion tool `Bash` |
| 153 | * _update_submodules_ - Check all submodules for updates `Bash` |
| 154 | * __smmstoretool__ - Offline SMMSTORE variable modification tool `C` |
| 155 | * __spdtool__ - Dumps SPD ROMs from a given blob to separate files |
| 156 | using known patterns and reserved bits. Useful for analysing firmware |
| 157 | that holds SPDs on boards that have soldered down DRAM. `python` |
| 158 | * __spkmodem_recv__ - Decode spkmodem signals `C` |
| 159 | * __superiotool__ - A user-space utility to detect Super I/O of a |
| 160 | mainboard and provide detailed information about the register contents |
| 161 | of the Super I/O. `C` |
| 162 | * __supermicro__ - Tools for supermicro platforms |
| 163 | * _smcbiosinfo_ - Generates SMC biosinfo for BMC BIOS updates |
| 164 | `C` |
| 165 | * __testing__ - coreboot test targets `Make` |
| 166 | * __uio_usbdebug__ - Debug coreboot's usbdebug driver inside a running |
| 167 | operating system (only Linux at this time). `C` |
| 168 | * __util_readme__ - Creates README.md of description files in `./util` |
| 169 | subdirectories `Bash` |
| 170 | * __vboot_list__ - Tools to generate a list of vboot enabled devices to |
| 171 | the documentation `Bash` |
| 172 | * __vgabios__ - emulated vga driver for qemu `C` |
| 173 | * __x86__ - Generates 32-bit PAE page tables based on a CSV input file. |
| 174 | `Go` |
| 175 | * __xcompile__ - Cross compile setup `Bash` |
| 176 | ## In depth documentation |
| 177 | |
| 178 | ```{toctree} |
| 179 | :maxdepth: 1 |
| 180 | |
| 181 | abuild <util/abuild/index.md> |
| 182 | cbfstool <util/cbfstool/index.md> |
| 183 | ifdtool <util/ifdtool/index.md> |
| 184 | intelp2m <util/intelp2m/index.md> |
| 185 | smmstoretool <util/smmstoretool/index.md> |
| 186 | ``` |
| 187 | |
| 188 | ## Generated documentation |
| 189 | |
| 190 | **Please do not edit the markdown file in the documentation directory |
| 191 | *directly.** |
| 192 | |
| 193 | This file was generated by running util_readme.sh. Please make sure it |
| 194 | is rerun when new tools are added or when documentation is updated. |
| 195 | |
| 196 | To update, edit the markdown files in the util directory, then |
| 197 | re-generate this file by running `util/util_readme/util_readme.sh` |