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::229; helo=mail-it0-x229.google.com; envelope-from=samah.mansour1@gmail.com; receiver=edk2-devel@lists.01.org Received: from mail-it0-x229.google.com (mail-it0-x229.google.com [IPv6:2607:f8b0:4001:c0b::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 B226921130704 for ; Wed, 19 Sep 2018 07:27:02 -0700 (PDT) Received: by mail-it0-x229.google.com with SMTP id h1-v6so7960205itj.4 for ; Wed, 19 Sep 2018 07:27:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=ewmOAX/L+XhcZHwQUaCuK93m7vxtrwEeUmW2AXkc7ns=; b=GRP/byIiFDPaqTUDFw0MvoGnPxaj8HUr6qpLQO2uD8e6KVl9StXqZjUL7+5k8q+DJ5 H39jDIc4Z/B4Ud9FYFz6IbDbsFd5irxmU7d67wsmda4PeSOedE9idyaPrxpuYvBVUbQW 5c5fcBGLH3cfTL/0bzAmGI8CK+dcJdpOSfhu2yx+sFb4HquRd3YaZ2iTIubxP+TwweiA GQe/gFafG2WiOLBQg0V3N6mTexTa+ojOw+ZelBsS3AJxtM3b0nesgKw5G9vx/v+dIYjW xIxJvtIlevoanEBiMj1AIQf0gnjAF4jIqpTHTzY7V3Ke+JLZLpOQIzw7X58x6x5vbDXD FLnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ewmOAX/L+XhcZHwQUaCuK93m7vxtrwEeUmW2AXkc7ns=; b=LxhrdRcWmvIw6NGxKs0p9wTqe2ot6cBItkPz3ZkZUyrU7AvHVS4OXUdVfvtez+2fbt KsjBvalydTImJpTIRjONBhms/zTfErsrjinzwb5TrSkaGlP8tsxvQHvP6XLTzlAgGsGJ 5biI7dNYEbdLiCOfZbxabXQBY6PNxaWJYVe6/cIBzSi/lSyJMBXQBleqB0UsiUFPDxBb ml3+7nE8Uhos74W5UIRVVRYmkFpb7OCTNbCyzBiW2i9TNqCvWQfROhBVEPnlpJUVCIUj It8eWl2Z1e8mteRv4zZu1V1FwUocXfEHpB9ClMTMoodSb/rjAhWDb5HAWXb1+hzrQ2fh H4Lw== X-Gm-Message-State: APzg51AeyvqSrLLyoJ/LIAUI2nimx8oa7sOrxHZWbCQO2botl8lxNyPL cz8m5jA1VlSl907nLMiXTuJfoanIXyAFhzkAduoBmwy2 X-Google-Smtp-Source: ANB0VdZEKR+PMuwx6di+yP59BIrgF//70CRiMLso7E0iWaOSg96LZtuEqVDN7i4Je7A8T75oQ5Ihv7z3+bWITehST8w= X-Received: by 2002:a24:9:: with SMTP id 9-v6mr20197290ita.35.1537367221231; Wed, 19 Sep 2018 07:27:01 -0700 (PDT) MIME-Version: 1.0 From: Samah Mansour Date: Wed, 19 Sep 2018 10:26:50 -0400 Message-ID: To: edk2-devel@lists.01.org X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: SPI Flash Corruption X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Sep 2018 14:27:02 -0000 Content-Type: text/plain; charset="UTF-8" Hello, Our product uses a Baytrail with Minnowboard Max bios firmware ( version 0.93). Every now and then we see SPI flash corruption due to power cuts while the unit is booting which causes the unit not to boot anymore. After investigation we noticed that the VPD area is all FFs (address 44000->47DFF0). We have noticed that the Bios while booting writes to the flash from several places in the code, which is if interrupted most probably is causing the corruption. Why is the bios writing all these configurations to flash while booting, is it to optimize boot time? is it ok if we disable the bios writing to flash completely to protect ourselves from corruption? Samah