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=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 1B587C433EF for ; Thu, 16 Sep 2021 07:12:40 +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 787AE60F4A for ; Thu, 16 Sep 2021 07:12:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 787AE60F4A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org 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 7445B82ECC; Thu, 16 Sep 2021 09:12:37 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="e78934hk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 96C6882ECD; Thu, 16 Sep 2021 09:12:34 +0200 (CEST) Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id E705882E04 for ; Thu, 16 Sep 2021 09:12:28 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=takahiro.akashi@linaro.org Received: by mail-pj1-x1033.google.com with SMTP id i19so3883213pjv.4 for ; Thu, 16 Sep 2021 00:12:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=clU4JWZbYIF0fbhyKUFQZDS2aGioFQ0sQWh9psybr0Q=; b=e78934hkKl2W8Og6bE0O1WNVvTqtPpxphvvOaJTORKw1v4ipGK0ipzpFRPdqSEaoRL 9i4scwnSHcn5BMm3wGFE026R4ROs+FQ74otRfl0tf8FdjJZVg1c2b9S6Rmy3ZZHRzsyj +24lqjuLzI06uk+xyufOGV2pzVNCkTQsmQNjeJ6P/3jgPLyWUbhEBXS+oYZgpFeSQzvr n8TCRO7ItfnG6LxVD6c4m4oPDvsLZT/+hot4546uaKSzeJAFosZ9xsRk6sZCkfrofzWt 5l1HppHdtis4HjD+nCKjrV14RIAoPCeCTWOtfJy+sKk99FsMNv28uha/GD/XLpEJt+pg HOkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=clU4JWZbYIF0fbhyKUFQZDS2aGioFQ0sQWh9psybr0Q=; b=nv9E7C5Sm0uT3Wj7HWh0Po6qsZyFx//eJGUWJeiIV7bSy+m3UJMbrT/tFs0mNutZWZ qZvndtWuOg+mFS0TxeNPKLdToxErzVIPirf5IHluQVDsMeRIiuV+PMYOpaDo0PBtRf+B tClIIlq/aCU2IiB3lWyVJHLIeBefNYE+X51KhgMb6yt7O/1jMko/f+91/dSEFxUFJzR0 iIXhTe+ZknMh4QJHV+O8fPVKSJHxad+l1yKd9Ct5q6q1Iz+o7ok4XIZQOGoLuGN9kdfF SIbKfXL7bQb/UV9hA/Q2sryZu2eKR/RbXVa3vw9SgtDs/6WQ4ZBqKwJeMbsfhk2He5aH gdsw== X-Gm-Message-State: AOAM530GCpxlHbofwo4Qk+pXrmnhuVi/ssrdKOslyIJh2Uhsft/X/9Ys 77vLKoMeMk1/QR9FyA4UNaH08w== X-Google-Smtp-Source: ABdhPJw7bG1Ed80uFSlnW5+j7CYyDmkfyvMswFlgZorQuRp80952biFhMF1KNvOpcGhjsRXE5rRkQQ== X-Received: by 2002:a17:90b:4c4d:: with SMTP id np13mr13230318pjb.166.1631776347008; Thu, 16 Sep 2021 00:12:27 -0700 (PDT) Received: from laputa (p6e421539.tkyea130.ap.so-net.ne.jp. [110.66.21.57]) by smtp.gmail.com with ESMTPSA id f15sm1843458pfn.186.2021.09.16.00.12.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Sep 2021 00:12:26 -0700 (PDT) Date: Thu, 16 Sep 2021 16:12:23 +0900 From: AKASHI Takahiro To: Michael Lawnick Cc: u-boot@lists.denx.de Subject: Re: RFC: exclude partitions from efi_selftest Message-ID: <20210916071223.GB59501@laputa> Mail-Followup-To: AKASHI Takahiro , Michael Lawnick , 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <76c02922-0be9-d80d-d853-aeefe3ea124c@gmx.de> 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 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 selftest'. > > > > > > > > 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 configuration. -Takahiro Akashi > -- > KR > Michael