From patchwork Sat Aug 7 17:20:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Matwey V. Kornilov" X-Patchwork-Id: 1514693 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=uQxpHw/J; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Ghpzb29J5z9sRf for ; Sun, 8 Aug 2021 03:21:29 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0D3C182003; Sat, 7 Aug 2021 19:21:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com 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=gmail.com header.i=@gmail.com header.b="uQxpHw/J"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 03B75828EB; Sat, 7 Aug 2021 19:21:15 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) (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 0A51B81E3D for ; Sat, 7 Aug 2021 19:21:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=matwey.kornilov@gmail.com Received: by mail-lj1-x22e.google.com with SMTP id a7so16864068ljq.11 for ; Sat, 07 Aug 2021 10:21:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=WW9z0gd2hPHvKf6omXBAfYKe/TXo/eMVMfEHybCZ4S4=; b=uQxpHw/J1GGh6rGIzbliM/XFqy95mp0p/hP6BNjUrEC7ROL+VGKnPK+4r2bRIaY5Fh wNBZonIMU/cWTKpOYdCQLyX33SjaKbBFunUu1kbX5Pah6qzxUnbIrTJ3DzJwslyrEgOa xC8ry+hIFya64nyHOoO1OqYlmnERL/irs+AYfgf4mTWgJofypuOR92Hf2dwVXzRVOGQn 9iMnMuzSG3IoNc+G/wyL8CB0+nv2ShC/4jAuZS0zRqfIsUdXV6v88aDhA9mfBcOuhXMO CkrEdqNWat2KPxbMPnTmXfix94WyKtDsxkG3dKm5dLb6MEM1a+rAMdx4/BDHaT70VCO5 WIDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=WW9z0gd2hPHvKf6omXBAfYKe/TXo/eMVMfEHybCZ4S4=; b=Xpfr4pLp1wm8aBuGJOnrzZUIpT6EGGCc6Ls7iQlsjXH/Bx0Dls1oNI4e/JoaUZlqC1 gNAeRrjNUXSHJRXTldl1VLkv5dpUf1RFGU96Dl4sZ1RrZ+pSE2Xh3z8Z5oUZ+B8QBG2M fGsf5v0drbs2ZpY6c+CEYhPksmmrB0aprZgl1bYdraDzxdhW206Bv1jOmGO3UuKdxFde 2dD7qrGT21KeM16kLunMuHhKu0Gtz2unyrDiCcpqBWvncZd4GNuv4dNv7eCHU61FSLnT o2BCnJPCZIMfJy0NYqBSPreJitpuZDKGEpwqGTR/tR3Xze6IHGpRBDFNk8b/paccA6Gv 8hsw== X-Gm-Message-State: AOAM531ejBkonh7tPvs/rDb2XG0htufuoGt4keZCisoW9RXfTDH4b2wU dEJZ4nivNRV3M85skH7soAo= X-Google-Smtp-Source: ABdhPJxH56GGLHJ2GvyNy/K59CpQ0Y1fYxOiKiCyR7RQWz7+nPKNTcBnyxTH2KDomMmJrn0dAKXXNw== X-Received: by 2002:a2e:944a:: with SMTP id o10mr10068056ljh.119.1628356866235; Sat, 07 Aug 2021 10:21:06 -0700 (PDT) Received: from oak.local ([2001:470:28:561:645e:ed75:98bd:879]) by smtp.gmail.com with ESMTPSA id l15sm1014663ljq.111.2021.08.07.10.21.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Aug 2021 10:21:05 -0700 (PDT) From: "Matwey V. Kornilov" To: sjg@chromium.org, paul.barker@sancloud.com, dariobin@libero.it, lokeshvutla@ti.com, vigneshr@ti.com Cc: u-boot@lists.denx.de, "Matwey V. Kornilov" Subject: [PATCH] am335x_evm_defconfig: Disable CMD_BOOTEFI_BOOTMGR Date: Sat, 7 Aug 2021 20:20:54 +0300 Message-Id: <20210807172054.2243-1-matwey.kornilov@gmail.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 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 Previously, it was reported [1] that commit f3866909e350 ("distro_bootcmd: call EFI bootmgr even without having /EFI/boot") introduced a regression for am335x_evm_defconfig (BeagleBone Black board). Namely, an attempt to execute EFI binary from USB mass storage device has been ending up with the following issue: data abort pc : [<9ce0b6d0>] lr : [<9ffab7c7>] reloc pc : [<7d69d6d0>] lr : [<8083d7c7>] sp : 9df44e28 ip : 9ffdfe90 fp : 00000003 r10: 9ffe3300 r9 : 00000000 r8 : 9df6fe88 r7 : 00000000 r6 : 9ce5da08 r5 : 9ce571f8 r4 : 9ce2c040 r3 : 00000000 r2 : 00000001 r1 : 9ce56598 r0 : 00000000 Flags: NzCv IRQs off FIQs on Mode SVC_32 Code: e3500000 0a000015 e590000c eb00f96e (e5d03000) UEFI image [0x9ce46000:0x9cf28fff] '/efi\boot\bootarm.efi' Resetting CPU ... This issue is always reproduced when U-boot is stored on MMC, loaded via UART, or USB RNDIS. An attempt to fix this issue revealed a design issue in EFI subsystem [2], so unlikely the satisfactory fix will be proposed quickly. In this patch we disable CMD_BOOTEFI_BOOTMGR which is enabled by default and never worked correctly for this board as a temporarly workaround for the issue. Reference: https://lists.denx.de/pipermail/u-boot/2021-June/451486.html Reference: https://lists.denx.de/pipermail/u-boot/2021-June/452297.html Signed-off-by: Matwey V. Kornilov --- configs/am335x_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig index ef8de5999e..c229b6acd6 100644 --- a/configs/am335x_evm_defconfig +++ b/configs/am335x_evm_defconfig @@ -91,3 +91,4 @@ CONFIG_WDT=y CONFIG_DYNAMIC_CRC_TABLE=y CONFIG_RSA=y CONFIG_LZO=y +# CONFIG_CMD_BOOTEFI_BOOTMGR is not set