From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c09::22b; helo=mail-wm0-x22b.google.com; envelope-from=guyraviv8@gmail.com; receiver=edk2-devel@lists.01.org Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 334262112DAE6 for ; Sat, 9 Jun 2018 23:59:17 -0700 (PDT) Received: by mail-wm0-x22b.google.com with SMTP id e16-v6so9438998wmd.0 for ; Sat, 09 Jun 2018 23:59:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=n4NhlD0ovXhEWo84qQ7n//n/ZuNGAb0+bSa01bxY1sE=; b=qF3LoLn+ZNkUyybgmIfobMngUObon9z3qN7miiO7QyaqYSpqLOS0iYCFPAIBo6Zl6p ba+5AeNWPi5CcV3EDgvceuuiqygdQBbKoNEHp2jo+qQnocTMr60ns2m5WXrA1Ws5kgAk C2rpD37NMnGWaLiqarQu3jp43XopMlnvZVXQsGZYY4ThL7x0mlKK9TU6GWZiMAYIN2J6 7IAjnOnasPYiFr9iZ56Rmh9Gr3YBeEDoUyzo6AzacJdCpXSe1uriWK1z35ZF4sDJTb8B Om4lwzAzVjqInZIVhY1HuSDmXt6Ce5Re5lieYWRyvi7fcg/PQTEnD8fuQZwlonI+iq4k lpPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=n4NhlD0ovXhEWo84qQ7n//n/ZuNGAb0+bSa01bxY1sE=; b=P2yY3XnscaIrreGwKt5tFgRtEbI+5dG2oBxCEiRdNPacEh2SBMPPU/fUSWkQp8sIEw PSE3x4koyNudByDEr+zeXA723O1yx1MWtbZBgGHaeN9Fkq2YC1LkmWN8GyddSB+i3UlL EugMXCtSqoVD8PY2HXpJALmfKASToJlhvhgZdAae1AKQ+d2g0qDKMPGPcMGWEUlo6cM4 BTaFbXcZMZ4Q6mmxx8wMom0Ox9jSweph/KE3VwWA5A0W5tFSDM+xUioZBI9GeBDoYorP +2BaMChGZLnkm3FZVm7Ych8w6C/LQ7r4G3xVZ+8DqD8C+MW64+MWs6ogViiYqtrFRgZf 1U+A== X-Gm-Message-State: APt69E18PZH96He90KynkV35uqMTANHemIcAip3errQNccJOpkhAN/zx KrOKXvk5yWlh/G5Kh3wdfd9wj6TerKXJSIW3vC8= X-Google-Smtp-Source: ADUXVKJUSK8EcnuTXZPgdPt7utFQ8DvzN//lWkBDhpIr8EWJYgdG89sGIE0AkGGcBHW83bc8ruQM3Pe/iEIFSshuD3Y= X-Received: by 2002:a1c:4a9d:: with SMTP id n29-v6mr4897291wmi.46.1528613955563; Sat, 09 Jun 2018 23:59:15 -0700 (PDT) MIME-Version: 1.0 References: <4A89E2EF3DFEDB4C8BFDE51014F606A14E2939F2@SHSMSX104.ccr.corp.intel.com> In-Reply-To: From: Guy Raviv Date: Sun, 10 Jun 2018 09:59:27 +0300 Message-ID: To: "Gao, Liming" Cc: edk2-devel@lists.01.org X-Content-Filtered-By: Mailman/MimeDel 2.1.26 Subject: Re: Crc32 Calculation Miss X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2018 06:59:17 -0000 Content-Type: text/plain; charset="UTF-8" Update - it seems that only in the Pei modules a code change doesn't change the crc. Does it make sense? if so, is there any interface to calculate the flash data itself in the Dxe phase? Thanks! Guy On Thu, Jun 7, 2018 at 9:34 AM Guy Raviv wrote: > Hi Gao, > > I used the EFI_CALCULATE_CRC32 function from > edkCompatibilityPkg\Foundation. > > Thanks, > > Guy > > On Wed, Jun 6, 2018 at 6:00 PM, Gao, Liming wrote: > >> Do you use CalculateCrc32() in BaseLib to calculate CRC32 value for the >> different buffer? >> >> > -----Original Message----- >> > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of >> Guy Raviv >> > Sent: Wednesday, June 6, 2018 10:18 PM >> > To: edk2-devel@lists.01.org >> > Subject: [edk2] Crc32 Calculation Miss >> > >> > Hi Everyone, >> > >> > I have an odd problem. >> > In a specific module in my code (MRC training), code modification >> doesn't >> > change the BIOS Crc calculation. >> > 1. i checked in my project's fdf file if the FV base address and region >> > size defined are the same as the parameters i'm putting in the >> calculation. >> > 2. i also compared two different binaries and found they are exactly the >> > same. >> > >> > does anyone have any idea what can be wrong here or where should i >> check? >> > >> > Thanks, >> > Guy >> > _______________________________________________ >> > edk2-devel mailing list >> > edk2-devel@lists.01.org >> > https://lists.01.org/mailman/listinfo/edk2-devel >> > >