Messages in this thread | | | From | "Yu, Fenghua" <> | Subject | RE: [PATCH v2 01/10] Documentation/x86: Early load microcode | Date | Fri, 30 Nov 2012 20:40:24 +0000 |
| |
> -----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
| |