arch_coreboot.txt 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. sudo pacman -S base-devel curl git gcc-ada ncurses zlib nasm sharutils unzip flashrom
  2. git clone https://review.coreboot.org/coreboot
  3. git submodule update --init --checkout
  4. cd coreboot/util/ifdtool && make
  5. ./ifdtool -x original.rom
  6. make crossgcc-i386 CPUS=4
  7. for ChromeOS (T440p)
  8. cd coreboot
  9. make -C util/cbfstool
  10. cd util/chromeos
  11. ./crosfirmware.sh peppy
  12. ../cbfstool/cbfstool coreboot-*.bin extract -f mrc.bin -n mrc.bin -r RO_SECTION
  13. Extract VGA BIOS - UEFITool
  14. git clone https://github.com/LongSoft/UEFITool.git
  15. cd ./UEFITool
  16. Build UEFITool
  17. /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /uefitool.pro
  18. make release
  19. Launch UEFITool
  20. Open the bios file (original_bios.bin) - File -> Open image file…
  21. Search for text "VGA Compatible BIOS" (uncheck unicode) - File -> Search
  22. Double click search the search result. This will highlight the raw section.
  23. Right click highlighted raw section and select Extract Body.... Save the extracted file. This is your extracted vga bios - 'vga_bios.img'.
  24. Desabilitar Intel_ME
  25. me_cleaner
  26. python me_cleaner.py -S -O modified_image.bin original_dump.bin