From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4001:c0b::22b; helo=mail-it0-x22b.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-it0-x22b.google.com (mail-it0-x22b.google.com [IPv6:2607:f8b0:4001:c0b::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 98B8E2214E324 for ; Sun, 10 Dec 2017 13:28:30 -0800 (PST) Received: by mail-it0-x22b.google.com with SMTP id r6so11499338itr.3 for ; Sun, 10 Dec 2017 13:33:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=NggLX+EhGPLPH60gCISU27Ub74uSUPMuTIDxwWGoUx8=; b=Hd22EJQp7kGLrDX/G9wsvk6rZykBEriFsg4IUOUsYbp+1cY5mFK9WB+U5qnn4I7BiM QpsClgWb5ggPLp68XkZ7pM+rr3gc+BmeeSdYArdGcfRWPPJeRX/OteZmxXrTQARfKp08 6kdBjp7hGDIXdsdRccWx+kehR85fnOpXd+XQc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=NggLX+EhGPLPH60gCISU27Ub74uSUPMuTIDxwWGoUx8=; b=K3y8p6FYeOCF6xoFa5Df+fQrFpHnP1SWMmIDWGVUCtr8CA/VxaGDqdUS70L9R8d2Kn Oc6W4vAxirBinB4iR6qsGdtnqFg3MKy6sphxdGZYgsDIvtnn8zWBqP7POixCxtdUU+cx Ie7hdvkb6xd0w6wrqTef450NX2NLBnpyr6qR0c4OsyqamlzwRdXLEMNm0+WBwIz9O1q5 LDeaW6bpMHjeyA3YD/VW20fhLfgplbhQ65rtGAITKODbCpWYvLaUeuq9QpO9FMjCcUr/ 7q0vWFI6FB/l4N9VUyjKU7G7Rb/bX/uOByS8scpsFdkLu9Y7pou9Kq12TGB+jPcZgc7A sWlg== X-Gm-Message-State: AKGB3mI4XjeJHs0iq3HuEPwOW9RYJhcYB3DC6KBivtWdvZGGFq8dQaXm gdTef1dTweIOhY+PKp9W9l+931dr4Tx2TD1yPVbt4A== X-Google-Smtp-Source: AGs4zMYnH2o2JnPQzSduHNGlpCtEAO7sy9bJOKk59jIQTCZwVZrIillpBKZT8cCIpMWYf3k6swpYFd24DxMdzrqeUeE= X-Received: by 10.36.55.138 with SMTP id r132mr14747877itr.34.1512941586781; Sun, 10 Dec 2017 13:33:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.104.16 with HTTP; Sun, 10 Dec 2017 13:33:06 -0800 (PST) In-Reply-To: References: From: Ard Biesheuvel Date: Sun, 10 Dec 2017 21:33:06 +0000 Message-ID: To: Michael Zimmermann , "Gao, Liming" , "Zhu, Yonghong" Cc: edk2-devel-01 , Leif Lindholm Subject: Re: PrePiLib's FwVol.c can't handle padding before volume header X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Dec 2017 21:28:30 -0000 Content-Type: text/plain; charset="UTF-8" On 10 December 2017 at 21:22, Ard Biesheuvel wrote: > cc BaseTools maintainers > > On 10 December 2017 at 20:58, Michael Zimmermann > wrote: >> 'uefitool' shows me that there are 4 bytes of padding right before >> FVMAIN when adding large(20MB) uncompressed FV's. >> >> FwVol fails detecting that and complains about the signature not being correct. >> I missed the 'PrePiLib' in the subject, apologies. So could you elaborate please? What is the layout of the FV, and when/how does PrePiLib complain about it?