lkml.org 
[lkml]   [2012]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH v2 01/10] Documentation/x86: Early load microcode
Date
> -----Original Message-----
> From: H. Peter Anvin [mailto:hpa@zytor.com]
> Sent: Friday, November 30, 2012 11:46 AM
> To: Yu, Fenghua
> Cc: Ingo Molnar; Thomas Gleixner; Mallick, Asit K; Tigran Aivazian;
> Andreas Herrmann; Borislav Petkov; linux-kernel; x86
> Subject: Re: [PATCH v2 01/10] Documentation/x86: Early load microcode
>
> On 11/29/2012 05:47 PM, Fenghua Yu wrote:
> > +
> > +mkdir initrd
> > +cd initrd
> > +cp ../microcode.hex kernel/x86/microcode/GenuineIntel/microcode.hex
> > +find .|cpio -oc >../ucode.cpio
> > +cd ..
> > +cat ucode.cpio /boot/initrd-3.5.0.img >/boot/initrd-3.5.0.ucode.img
> > +
> > +The generated /boot/initrd-3.5.0.ucode.img can be used as initrd
> file to load
> > +microcode during early boot time.
> >
>
> This is wrong; first of all, this refers to microcode.hex whereas the
> patch refers to microcode.bin, and

Will fix this sentence.

> it misses the mandatory -H newc
> option to cpio.

I think there is no problem here. "-c" is "-H newc".

Quote from man cpio:
'-c' Identical to -H newc, use the new (SVR4) portable format. If you wish the old
portable (ASCII) archive format, use -H odc instead.

>
> Could you update this bit, please?
>
> -hpa



\
 
 \ /
  Last update: 2012-11-30 22:21    [W:0.328 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site