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: 493398 Delivered-To: patch@linaro.org Received: by 2002:a05:6638:396:0:0:0:0 with SMTP id y22csp1393301jap; Sat, 7 Aug 2021 10:21:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJoJw6S3w8q0fWtEoST3WHM+QK4ckMlx4YSj5W3/yOyzXqBMVNlt5dqg6vkKzQyBAD+UxH X-Received: by 2002:aa7:c50a:: with SMTP id o10mr19606523edq.118.1628356880973; Sat, 07 Aug 2021 10:21:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628356880; cv=none; d=google.com; s=arc-20160816; b=bShnaJN3uEZZA6lhSh04u8z3M72OLMwg+3+mn+/TzGf1lNsqz5nKm/fwEIsgzLsMym d99H04zf41p/Da6GbxLy5KH7MIXuUF57VU/MeikG4fB6B5DyeAKZoalrTcnL1zmCpF2z OoM78TpXIhvrt2B8vYl1zEBNTnaDVGGHwdYMyNQotm965BhoAWolnNWN2eqigvgf7fhV Yw7GmQFnjhwHENZr7L1Ru4shq3BktdaieI5H/brxFafnNI9CbaOWRbYJCzW+Iq7ed482 LH0pK5H7yr79Hv5cvXJHb21XN2RZ/WDV0HMRkRwLFbqo29BVTJOR58OGO3fbSif7FZHv 1kzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=WW9z0gd2hPHvKf6omXBAfYKe/TXo/eMVMfEHybCZ4S4=; b=Q4lUGCNVZylQZOhm32Pmjco8+hnF0jx8cAECff+XeWGp4xdu/01rchHA9cfQUodDUI oWtYbAJjkjVh8uWgr34W77PapRkKFUFypNxgvclexdRj2Xet1xei6iKOHmT+Xpy4mZbs vc1wH8D0wxvIy80qNjX4/RDjL0Y3UE1m2IohvOMBHjI9udV8XVxmtQY8QV220wzt6XUU 5q/qFFTmbvUYPe3dzcUH7FEJ5mvKXkGrxTBIPhyEplsH6Vdf/2hIBrPbS187slch6vlE Tic1vbhvdwxJFwN7kq/3WrEZOXLoBNT4mjbLAduFhq0DTqFWYTETHzTjPohnRZkA/jZg UzYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="uQxpHw/J"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id nd33si7937754ejc.139.2021.08.07.10.21.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Aug 2021 10:21:20 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="uQxpHw/J"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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-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(+) -- 2.31.1 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