<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.28.3">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#ffffff">
Sorry, i attached the patch file.<BR>
<BR>
Reading the coreboot_ram file in the build direcory gives you the check if the checksum of the table you build has a correct checksum. i added this functionally about 6 months ago, but found a problem when searching a file image for the $PIR prefix.<BR>
<BR>
Marc<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
<B>From</B>: Stefan Reinauer <<A HREF="mailto:Stefan%20Reinauer%20%3cstepan@openbios.org%3e">stepan@openbios.org</A>><BR>
<B>To</B>: <A HREF="mailto:coreboot@coreboot.org">coreboot@coreboot.org</A><BR>
<B>Subject</B>: Re: [coreboot] Patch for getpir when using input image file<BR>
<B>Date</B>: Tue, 28 Dec 2010 10:38:21 +0100<BR>
<BR>
On 12/27/10 7:45 PM, Marc Bertens wrote: <BR>
<BLOCKQUOTE TYPE=CITE>
    Signed-off: Marc Bertens <<A HREF="mailto:mbertens@xs4all.nl">mbertens@xs4all.nl</A>><BR>
    <BR>
    There was a problem when using the getpir utility with the coreboot_ram file, basically removed the loop around the search function, in the coreboot_ram image the start $PIR is not on a 16 byte boundary. due to the search already was matching 6 bytes of the start of the table (including the version of the table), this was not necessary any more.  <BR>
</BLOCKQUOTE>
There was no patch attached<BR>
<BR>
The copy in the coreboot_ram image is not the one the tool should find, usually it should even be compressed and thus not found at all. Instead coreboot_ram will copy a PIR table to ram and that copy is the one the tool is/should be looking for.<BR>
<BR>
Stefan
<PRE>
-- 
coreboot mailing list: <A HREF="mailto:coreboot@coreboot.org">coreboot@coreboot.org</A>
<A HREF="http://www.coreboot.org/mailman/listinfo/coreboot">http://www.coreboot.org/mailman/listinfo/coreboot</A>
</PRE>
<BR>
</BODY>
</HTML>