From 4ff5a94eb974a783081ee358966b2022aaf1fb20 Mon Sep 17 00:00:00 2001
From: Francis Rowe
+ It is no longer necessary to use ich9deblob to generate + a deblobbed descriptor+gme image for the X200. ich9gen is a small utility within + ich9deblob that can generate them from scratch, without a factory.bin dump. +
+ +
+ Run:
+ $ ./ich9gen
+
+ Two new files will be created: +
+
+ ich9gen executables can be found under ./ich9gen/ statically compiled in
+ libreboot_bin. If you are using src or git, build ich9gen from source with:
+ $ ./builddeps-ich9deblob
+ The executable will appear under resources/utilities/ich9deblob/
+
+ Assuming that your X200 libreboot image is named libreboot.rom, copy
+ the file to where libreboot.rom is located
+ and then run, for instance:
+ $ dd if=ich9fdgbe_8m.bin of=libreboot.rom bs=1 count=12k conv=notrunc
+ or:
+ $ dd if=ich9fdgbe_4m.bin of=libreboot.rom bs=1 count=12k conv=notrunc
+
+ Your X200 libreboot.rom image is now ready to be flashed on the machine. +
++ The utility will also generate 4 additional files: +
++ These are C source files that can re-generate the very same Gbe and Descriptor structs + (from ich9deblob/ich9gen). To use these, place them in src/ich9gen/ in ich9deblob, then re-build. + The newly built ich9gen executable will be able to re-create the very same 12KiB file from scratch, + based on the C structs, this time without the need for a factory.rom dump! +
+You should now have a libreboot.rom image containing the correct 4K descriptor and 8K gbe regions, which will then be safe to flash. Refer back to ../install/index.html#flashrom_x200 -- cgit v1.2.3-70-g09d2