From 06e9816191d310435ca11f6403a3cd1f555af6df Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Wed, 6 Jun 2018 21:40:35 -0600 Subject: Documentation: Rename file with space in filename MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I10203de578c4dd0b8915dad4b0d456531049328f Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/26937 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki Reviewed-by: Paul Menzel Reviewed-by: Patrick Georgi --- Documentation/Binary Extraction.md | 68 -------------------------------------- Documentation/Binary_Extraction.md | 68 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+), 68 deletions(-) delete mode 100644 Documentation/Binary Extraction.md create mode 100644 Documentation/Binary_Extraction.md (limited to 'Documentation') diff --git a/Documentation/Binary Extraction.md b/Documentation/Binary Extraction.md deleted file mode 100644 index fe8c25ca4e..0000000000 --- a/Documentation/Binary Extraction.md +++ /dev/null @@ -1,68 +0,0 @@ -# Intel IFD Binary Extraction Tutorial - -## Part 1: Extracting Binaries - -To begin extracting the binaries, first create a directory labeled "binaries" -in the coreboot directory (i.e. /path/to/coreboot/binaries/). - -Now, execute the following commands to extract the binaries from a ROM image. -**Note:** Make sure you are in the root coreboot directory. - - cd /path/to/coreboot/util/ifdtool - ./ifdtool COREBOOT_IMAGE - ./ifdtool -d COREBOOT_IMAGE - ./ifdtool -x COREBOOT_IMAGE - -In the above steps, COREBOOT_IMAGE is the name of the ROM image to extract the -binaries from, including the file path (ex. /build/coreboot.rom). - -Copy the extracted .bin files to the binaries directory you created previously. -**Note:** You may want to rename your various .bin files to more clearly -indicate what they are and their purpose. - -To extract the mrc.bin, move to the /coreboot/build directory and run the -following command: - - cd /path/to/coreboot/build/ - ./cbfstool COREBOOT_IMAGE extract -n mrc.bin -f /path/to/destination/filename - -where COREBOOT_IMAGE is the filepath to the ROM image (same image as above), -/path/to/destination is the filepath to the destination directory and filename -is the output filename. An example command is given below: - - ./cbfstool coreboot.rom extract -n mrc.bin -f /path/to/coreboot/binaries/mrc.bin - -## Part 2: Using extract_blobs.sh - -To simplify some of the steps above, there is a script in the -/path/to/coreboot/util/chromeos/ directory called extract_blobs.sh what will -extract the flashdescriptor.bin and intel_me.bin files. - -To run this script, switch to the /path/to/coreboot/util/chromeos/ directory -and execute the script providing a coreboot image as an argument. - - cd /path/to/coreboot/util/chromeos/ - ./extract_blobs.sh COREBOOT_IMAGE - -Executing those commands will result in two binary blobs to appear in the -/path/to/coreboot/util/chromeos/ directory under the names -'flashdescriptor.bin' and 'me.bin'. - -## Part 3: Changing the coreboot configuration settings - -To begin using the binaries extracted above, enable the use of binary -repositories in the menuconfig. From the main coreboot directory, run -'make menuconfig'. Select "General Setup", then select "Allow use of -binary-only repository", then exit to the main menu. - -To configure the ROM image for a specific board, select "Mainboard". Select -"Mainboard vendor" and scroll to the correct vendor. Then select "Mainboard -model" and select the name of the board model. Exit back to the main menu. - -To add the binaries you extracted, select "Chipset". Scroll and select "Add a -System Agent Binary" and set the filepath to your mrc.bin file's filepath. -Scroll and select "Add Intel descriptor.bin file" and type the filepath for -your descriptor.bin file. Scroll down and select "Add Intel ME/TXE firmware -file" and type the filepath for your ME file. Exit to the main menu. - -Select "Exit", and select "Yes" when prompted to save your configuration. \ No newline at end of file diff --git a/Documentation/Binary_Extraction.md b/Documentation/Binary_Extraction.md new file mode 100644 index 0000000000..fe8c25ca4e --- /dev/null +++ b/Documentation/Binary_Extraction.md @@ -0,0 +1,68 @@ +# Intel IFD Binary Extraction Tutorial + +## Part 1: Extracting Binaries + +To begin extracting the binaries, first create a directory labeled "binaries" +in the coreboot directory (i.e. /path/to/coreboot/binaries/). + +Now, execute the following commands to extract the binaries from a ROM image. +**Note:** Make sure you are in the root coreboot directory. + + cd /path/to/coreboot/util/ifdtool + ./ifdtool COREBOOT_IMAGE + ./ifdtool -d COREBOOT_IMAGE + ./ifdtool -x COREBOOT_IMAGE + +In the above steps, COREBOOT_IMAGE is the name of the ROM image to extract the +binaries from, including the file path (ex. /build/coreboot.rom). + +Copy the extracted .bin files to the binaries directory you created previously. +**Note:** You may want to rename your various .bin files to more clearly +indicate what they are and their purpose. + +To extract the mrc.bin, move to the /coreboot/build directory and run the +following command: + + cd /path/to/coreboot/build/ + ./cbfstool COREBOOT_IMAGE extract -n mrc.bin -f /path/to/destination/filename + +where COREBOOT_IMAGE is the filepath to the ROM image (same image as above), +/path/to/destination is the filepath to the destination directory and filename +is the output filename. An example command is given below: + + ./cbfstool coreboot.rom extract -n mrc.bin -f /path/to/coreboot/binaries/mrc.bin + +## Part 2: Using extract_blobs.sh + +To simplify some of the steps above, there is a script in the +/path/to/coreboot/util/chromeos/ directory called extract_blobs.sh what will +extract the flashdescriptor.bin and intel_me.bin files. + +To run this script, switch to the /path/to/coreboot/util/chromeos/ directory +and execute the script providing a coreboot image as an argument. + + cd /path/to/coreboot/util/chromeos/ + ./extract_blobs.sh COREBOOT_IMAGE + +Executing those commands will result in two binary blobs to appear in the +/path/to/coreboot/util/chromeos/ directory under the names +'flashdescriptor.bin' and 'me.bin'. + +## Part 3: Changing the coreboot configuration settings + +To begin using the binaries extracted above, enable the use of binary +repositories in the menuconfig. From the main coreboot directory, run +'make menuconfig'. Select "General Setup", then select "Allow use of +binary-only repository", then exit to the main menu. + +To configure the ROM image for a specific board, select "Mainboard". Select +"Mainboard vendor" and scroll to the correct vendor. Then select "Mainboard +model" and select the name of the board model. Exit back to the main menu. + +To add the binaries you extracted, select "Chipset". Scroll and select "Add a +System Agent Binary" and set the filepath to your mrc.bin file's filepath. +Scroll and select "Add Intel descriptor.bin file" and type the filepath for +your descriptor.bin file. Scroll down and select "Add Intel ME/TXE firmware +file" and type the filepath for your ME file. Exit to the main menu. + +Select "Exit", and select "Yes" when prompted to save your configuration. \ No newline at end of file -- cgit v1.2.3