From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DBF64C433EF for ; Thu, 16 Sep 2021 07:15:33 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 37F2060F4A for ; Thu, 16 Sep 2021 07:15:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 37F2060F4A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3761482DB1; Thu, 16 Sep 2021 09:15:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=gmx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.b="CBjjluQd"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AAF0C829FC; Thu, 16 Sep 2021 09:15:28 +0200 (CEST) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id A894B82E03 for ; Thu, 16 Sep 2021 09:15:24 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ml.lawnick@gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1631776524; bh=g/JLYCw+8dV+0qMp3TsqVNuSvTExZqqhAKxcXiu+UnQ=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=CBjjluQdhpjxBQaMCsBm5icDMcFLdsJU6e3VbFR6awlde3THOkVTFGnR/pyIx+GmM rOtnQdpr8Dy1VFCLw9HK3SflmysmEWNIZFOBYWKJ/b83pY0jk18QLPt53OmTIw4YSY MEstVVwQ+leO43g3nkSB68B4c9//Gz+C+o+OfTTo= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [172.30.9.7] ([131.228.32.167]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MPGW7-1mH4rO3AHl-00Pe5i; Thu, 16 Sep 2021 09:15:23 +0200 Subject: Re: RFC: exclude partitions from efi_selftest To: AKASHI Takahiro , u-boot@lists.denx.de References: <26bcd1d1-7d39-91a4-a0d4-942efd0826a9@gmx.de> <65886be5-884e-afb7-947a-b93e5904b1f7@gmx.de> <3f6af126-2373-2a8c-5d55-7309bdec0bf6@gmx.de> <139AD9F4-1D9D-46A6-944D-CDAE82F8D56A@gmx.de> <08bac57f-e970-1ddf-3e3d-1f9c0415e74d@gmx.de> <76c02922-0be9-d80d-d853-aeefe3ea124c@gmx.de> <20210916071223.GB59501@laputa> From: Michael Lawnick Message-ID: <20db317b-a368-3dc0-8233-c702264e9ccf@gmx.de> Date: Thu, 16 Sep 2021 09:15:22 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20210916071223.GB59501@laputa> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:ebNV5TLkczHuw0KnCzp6yOJznM1XhdJeAQcJZS5G+XeyV8dA3Hx rkPNbEJFS6NxadMvx8bH6PfglIbXNjawIkHxiB9JtbrKok8vlqHfqeJ088TRKwgUCuvKcdl derHZaqWbT3gy7aEBF6pu7qlXas2cA4DZTq0r/mYPiXQ7uLT+EhuDt0jy3phQGHwGdJ7puX KLFcpzz0V4jmUEeZB+z3g== X-UI-Out-Filterresults: notjunk:1;V03:K0:75y3L/UO0aE=:bWtOvP1A1vxoq5m6strrsn ppaj1sqtavVQsfeX0CV+LWBiPCkaDtZcCYqsKt+hwD5ClEpOUBjw2qLJVmnmoZDLNdVk6OHIl grQX5d8U3CLkkUXgrCinWmdKreYFmW7hYSSSdAJ0bcP3J0doX0WllhMWMPHy3C8hLLV7W6lqJ TW1iewtZKl3MyG2LHsmAxA0x3gfafKA/0UGA600wTMzcffa99YfpBLEQHvoHhfbf54hxhJjIi 68IvlmLc4o8zdH4KEoxMMKNpeojJJtTryEwLJEWm3Ih8LUuooRd2R+7X69yRjzPcmmgR82YR7 6VmpsMg4V4BsYCRWbfgd+33atNB0VQV3A9W3YdZ7BwytjTF2Fd0jI+R4cTCw0MnHuFcRj0t7X WCFXlsgALDp7Oi4bx4MWkMQBKlH+32vX7hyqEMroagh0YZPVi7I8v5bZzneR1SQ2ZRu6G2xrj yHJ1pC5ItNyA9NHXNXPhidvHxDu0/+ro5dJwKywWJeP9hL58lnfDL0OqKVf2jjs5CCGYFx/Gv BA+MN6C6qdgLzkldSbxEMOnTRCxHUL6hx1e4jQqKJJJKW3WgtNjCuxknl0n+IfF+nM21KU6Z9 a0B4lWjBYGrocWP8Az/fqWmqnt5WQ3skwZRTz+F9XouhxwPNn1x9eUrZbzoS96AUyNrNenOUi tOL4Ne27diuLSwE1KJjqmmU2RBtzGjQdit5w1fF4uUSnrubIDRCLTLrnyHx7VetxW9/klfXFK U30JzVi6SByrqrfsdO2/8YaDH1zwP9F2FSFnKJu4KpwNuYTvydJBMRywApc5rDXJ+Eq7Ze6Or ReZsfJOXZDW8U5GzDp4JltlGzk/kypZNI1s9tPI+2J3zJA9uI5Vzu4n/3rGulOMe054QJcJjm Sf/As5A6ksK3Kn4RAn8EQ9O+2c1dZOfSShuBtqlSTcL+TmvgzOJoR95dNz8Dt0wun5LekEaHZ QCK1KIzOybMaKsSwikBlVVwlW4n9lJCyCMiJQguGOs8nzKh/mIQlnDB9vvC7wgnXYHh8xTk2R vJNBRg1/2awOEWk5eAfvbEB3IjJ0Lf9fceT5aTmqN9u3/+P/AkxE1oBihtl71gHElEDtKB1M5 9n/pN6EGaG9px0= X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Am 16.09.2021 um 09:12 schrieb AKASHI Takahiro: > On Wed, Sep 15, 2021 at 05:06:09PM +0200, Michael Lawnick wrote: >> Am 15.09.2021 um 13:36 schrieb Michael Lawnick: >>> Am 15.09.2021 um 13:22 schrieb Heinrich Schuchardt: >>>> >>>> >>>> Am 15. September 2021 12:54:06 MESZ schrieb Michael Lawnick : >>>>> Am 15.09.2021 um 12:42 schrieb Heinrich Schuchardt: >>>>> >>>>>> Could you, please send the complete output starting with 'bootefi s= elftest'. >>>>> >>>>> ASIM-CN10KAS> setenv efi_selftest block device >>>>> ASIM-CN10KAS> bootefi selftest >>>>> >>>>> Testing EFI API implementation >>>>> >>>>> Selected test: 'block device' >>>>> >>>>> Setting up 'block device' >>>>> Setting up 'block device' succeeded >>>>> >>>>> Executing 'block device' >>>>> ** Unrecognized filesystem type ** >>>> >>>> Is the FAT file system enabled in the configuration? >>> >>> No >>> >>>> >>>>> lib/efi_selftest/efi_selftest_block_device.c(362): >>>>> ERROR: Failed to open simple file system protocol >>>>> lib/efi_selftest/efi_selftest.c(111): >>>>> ERROR: Executing 'block device' failed >>>>> >>>>> Tearing down 'block device' >>>>> Tearing down 'block device' succeeded >>>>> >>>>> Boot services terminated >>>>> >>>>> Summary: 1 failures >>> >>> Sorry Heinrich, I managed to send below part to only you, so I repeat >>> for the group: >>> What might be worth to be noted: >>> We are working on U-Boot provided by Marvell for upcoming SoC based on >>> ThunderX. It is rather up to main branch but not the latest version. >>> Latest change from main: >>> Author: Patrick Wildt >>> Date: Wed Oct 7 11:04:33 2020 +0200 >>> efi_loader: fix use after free in receive path >>> Signed-off-by: Heinrich Schuchardt >>> >>> If you can give a list of relevant modules I can make comparison, but >>> just updating everything to latest or comparing full source tree won't >>> be possible. >>> >> >> We have 8 partitions of which no. 5 isn't initialized. >> I have put a bunch of printf to the code and see that the execute() is >> done exactly on the partition which is unknown, no other gets touched != ? > > Just in case, > "block device" selftest doesn't touch you disk at all. > Instead, it sets up some memory region as a pseudo block device > (i.e. block_io_protocol) with fat filesystem, and utilizes it > for the test execution. > > Please, as Heinrich suggested, add CONFIG_FS_FAT, in your U-Boot configu= ration. > Hmm, I didn't understand that as a suggestion, but as a question for his understanding. Of course I'll give it a try. KR Michael