diff options
| -rw-r--r-- | Documentation/x86/early-microcode.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Documentation/x86/early-microcode.txt b/Documentation/x86/early-microcode.txt index d62bea6796da..c956d99cf1de 100644 --- a/Documentation/x86/early-microcode.txt +++ b/Documentation/x86/early-microcode.txt | |||
| @@ -40,3 +40,28 @@ cp ../microcode.bin kernel/x86/microcode/GenuineIntel.bin (or AuthenticAMD.bin) | |||
| 40 | find . | cpio -o -H newc >../ucode.cpio | 40 | find . | cpio -o -H newc >../ucode.cpio |
| 41 | cd .. | 41 | cd .. |
| 42 | cat ucode.cpio /boot/initrd-3.5.0.img >/boot/initrd-3.5.0.ucode.img | 42 | cat ucode.cpio /boot/initrd-3.5.0.img >/boot/initrd-3.5.0.ucode.img |
| 43 | |||
| 44 | Builtin microcode | ||
| 45 | ================= | ||
| 46 | |||
| 47 | We can also load builtin microcode supplied through the regular firmware | ||
| 48 | builtin method CONFIG_FIRMWARE_IN_KERNEL. Here's an example: | ||
| 49 | |||
| 50 | CONFIG_FIRMWARE_IN_KERNEL=y | ||
| 51 | CONFIG_EXTRA_FIRMWARE="intel-ucode/06-3a-09 amd-ucode/microcode_amd_fam15h.bin" | ||
| 52 | CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware" | ||
| 53 | |||
| 54 | This basically means, you have the following tree structure locally: | ||
| 55 | |||
| 56 | /lib/firmware/ | ||
| 57 | |-- amd-ucode | ||
| 58 | ... | ||
| 59 | | |-- microcode_amd_fam15h.bin | ||
| 60 | ... | ||
| 61 | |-- intel-ucode | ||
| 62 | ... | ||
| 63 | | |-- 06-3a-09 | ||
| 64 | ... | ||
| 65 | |||
| 66 | so that the build system can find those files and integrate them into | ||
| 67 | the final kernel image. The early loader finds them and applies them. | ||
