[arch-releng] Changes for early microcode

Gerardo Exequiel Pozzi vmlinuz386 at gmail.com
Wed Oct 29 14:28:14 UTC 2014


On 10/29/2014 09:57 AM, Christian Hesse wrote:
> Gerardo Exequiel Pozzi <vmlinuz386 at gmail.com> on Wed, 2014/10/29 09:41:
>> On 10/29/2014 09:35 AM, Gerardo Exequiel Pozzi wrote:
>>> On 10/29/2014 08:31 AM, Christian Hesse wrote:
>>>> Hello everybody,
>>>>
>>>> the official ISO file includes intel-ucode, which requires changes to the
>>>> bootloader for early microcode. Will we see changes before November
>>>> release?
>>>>
>>>
>>> I see al least two options:
>>>
>>> (1) Write two syslinux/gummiboot entries per each current entry,
>>> something like "start archlinux for Intel machine (except virtualized
>>> enviroment)", "start archlinux for non-Intel machine".
>>>
>>> (2) Always load intel-ucode.img for all enviroments, should be ignored
>>> in cases where does not care.
>>
>> In case (2), for keep it simple, we can unpack then intel-ucode.img and
>> just always add the .bin inside archiso.img
>>
>> I guess, should work. Please confirm, I do not have Intel CPU.
> 
> That does not work. Not sure why the microcode is ignored, but I could not
> updated this way.

Should work. Are you sure that you are doing the right thing?

This file must exist on initramfs: /kernel/x86/microcode/GenuineIntel.bin

> 
> What works is concatenating the initramfs images. Something like
> 
> # cat intel-ucode.img initramfs-linux.img > archiso.img
> 
> works perfectly. This is the method described upstream [0].
> 
> [0] https://www.kernel.org/doc/Documentation/x86/early-microcode.txt
> 

Or generate a initcpio hook with:

add_file /path/to/GenuineIntel.bin /kernel/x86/microcode/GenuineIntel.bin

Concat archive the same effect, weird if this does not works...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-releng/attachments/20141029/30dcb0ff/attachment-0001.bin>


More information about the arch-releng mailing list