From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4003:c0f::229; helo=mail-ot0-x229.google.com; envelope-from=sigmaepsilon92@gmail.com; receiver=edk2-devel@lists.01.org Received: from mail-ot0-x229.google.com (mail-ot0-x229.google.com [IPv6:2607:f8b0:4003:c0f::229]) (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 245E020352AA2 for ; Sun, 10 Dec 2017 14:13:47 -0800 (PST) Received: by mail-ot0-x229.google.com with SMTP id h9so13288424oti.0 for ; Sun, 10 Dec 2017 14:18:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=rYEI2sfklG0PeUULrYR0D7AsyXoTONr8xLeCA98MFwU=; b=cj8sPU7z8qwZyUB9rSZVPIawiUAR90fdt8Un4lfjdMzV+VFi6wlxiS2git9Yqel56c 2DYBDjvj9BAjuyO+OZRNJ5A3mjafNZIX3Cck3SigoZMQzIGcvpz7QwGmlZGEYr1BScP4 LERetodvI15an/lFTMOfXuxHjtAn/f9aymur7WRPvx+nrV2vpIZwKZrFQzcuTrmAgf7Q PuClwHfx46k95br9lABE6I5S7UiwtuWrccRSr+8RhPz2OdRkg0YZKKx3sH64NzTrU87Y eSQuw0W5ncQWdLfKojVOMhIemr6OsuiD/ObHbWRnOPvy1pNuKsLlkTitITAPV3OnQpvY nKZA== 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=rYEI2sfklG0PeUULrYR0D7AsyXoTONr8xLeCA98MFwU=; b=qu4SVPxVzLWPKQx5r/O9A9QI0o2NfDvkip4QlKoQI9+MJHYHEpmgoyxuZIh+4U0qna TJ5/ZdWia/0KV4eMzkyi6JGuNAjLNmOwKiDiW48gEO1FzzAzaH5cQMHqEXxyQJUYjGQk Zg3rPHmgknZ6s90drprkN8X7OP2tdxEiIeih0hmyPHTouvTdy8Ja0YF5KOWxSHzstHCg 5B+H+81D0VRQKC9Wxsu+gT+zXubhCsmybWyl9z9Ppo9RTcOool3BkUeBX0JYT+pDXeKS 3mm61tRW3o6sKAOcbkF37KyEgRUImbAAWrGN5JIFvZEuXgvRifRhwGocOezIobncGOhz y2kg== X-Gm-Message-State: AJaThX5TWQTiUrF3w0569jqVj+Ngn1tyx+oHxzXGfdojSEtvRK+WMIQD uVtBavs3JIrjwAIM3zTG3tqq98tcBwGcb+QMXm0= X-Google-Smtp-Source: AGs4zMaBHH2I+XAiAV19slJI9bnuoJKEyYvDMJG7Gd/PJVWV4lTUm4Bs1xrJ5tv52PqwlwhUHhhJVaQi/PD++I2lUsI= X-Received: by 10.157.47.247 with SMTP id b52mr35888306otd.311.1512944304299; Sun, 10 Dec 2017 14:18:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.1.204 with HTTP; Sun, 10 Dec 2017 14:18:23 -0800 (PST) Received: by 10.157.1.204 with HTTP; Sun, 10 Dec 2017 14:18:23 -0800 (PST) In-Reply-To: References: From: Michael Zimmermann Date: Sun, 10 Dec 2017 23:18:23 +0100 Message-ID: To: Ard Biesheuvel Cc: "Gao, Liming" , Yonghong Zhu , edk2-devel-01 , Leif Lindholm X-Content-Filtered-By: Mailman/MimeDel 2.1.22 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 22:13:48 -0000 Content-Type: text/plain; charset="UTF-8" Exactly. If I shift the pointer by 4 bytes from within PrePiLib the device boots just fine. I'm not sure if the size is the root cause but right now it only happens when adding a ~15mb binary efi to the end of fvmain. On Dec 10, 2017 11:13 PM, "Ard Biesheuvel" wrote: On 10 December 2017 at 21:58, Michael Zimmermann wrote: > VolInfo doesn't seem to complain about FVMAIN_COMPACT.Fv: > https://pastebin.com/ueUnepXF > > Does VolInfo support Fs's as well? because it fails on mine(even on a > working one). > You mean to dissect the FFS that contains the FV? Not sure. So the _FVH signature is there but shifted by 4 bytes, right? Does that only happen with large FVs?