[arch-releng] [RFC] [PATCH] [configs/releng] Make and use amd_ucode.bin for initrd.

Eli Schwartz eschwartz at archlinux.org
Wed Aug 22 14:59:53 UTC 2018


On 8/22/18 5:24 AM, Christian Hesse wrote:
> Gerardo Exequiel Pozzi via arch-releng <arch-releng at archlinux.org> on Sat,
> 2018/08/18 23:29:
>> +# Prepare amd_ucode
>> +make_amd_ucode_img() {
>> +    mkdir -p ${work_dir}/amd-ucode/kernel/x86/microcode
>> +    cat
>> ${work_dir}/x86_64/airootfs/lib/firmware/amd-ucode/microcode_amd*.bin >
>> ${work_dir}/amd-ucode/kernel/x86/microcode/AuthenticAMD.bin
>> +    pushd ${work_dir}/amd-ucode > /dev/null
>> +    echo kernel/x86/microcode/AuthenticAMD.bin | bsdcpio -o -H newc -R 0:0
>>> amd-ucode.img
>> +    popd > /dev/null
>> +    cp ${work_dir}/amd-ucode/amd-ucode.img
>> ${work_dir}/x86_64/airootfs/boot/amd-ucode.img +}
> 
> Wondering if we should put this into a package... Could be a split package of
> linux-firmware. Any opinion on this?

We have an AUR package already for it, seemingly:
https://aur.archlinux.org/packages/amd-ucode-early/

Looks like there are definitely people who want it.


-- 
Eli Schwartz
Bug Wrangler and Trusted User

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-releng/attachments/20180822/d8013cc8/attachment.asc>


More information about the arch-releng mailing list