aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/x86/early-microcode.txt25
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)
40find . | cpio -o -H newc >../ucode.cpio 40find . | cpio -o -H newc >../ucode.cpio
41cd .. 41cd ..
42cat ucode.cpio /boot/initrd-3.5.0.img >/boot/initrd-3.5.0.ucode.img 42cat ucode.cpio /boot/initrd-3.5.0.img >/boot/initrd-3.5.0.ucode.img
43
44Builtin microcode
45=================
46
47We can also load builtin microcode supplied through the regular firmware
48builtin method CONFIG_FIRMWARE_IN_KERNEL. Here's an example:
49
50CONFIG_FIRMWARE_IN_KERNEL=y
51CONFIG_EXTRA_FIRMWARE="intel-ucode/06-3a-09 amd-ucode/microcode_amd_fam15h.bin"
52CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
53
54This 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
66so that the build system can find those files and integrate them into
67the final kernel image. The early loader finds them and applies them.