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=-2.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 E3073C47096 for ; Sun, 6 Jun 2021 14:38:13 +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 C0275613AD for ; Sun, 6 Jun 2021 14:38:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C0275613AD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EF1A9814A4; Sun, 6 Jun 2021 16:38:09 +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="V+dHN0Ow"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 89D8A81664; Sun, 6 Jun 2021 16:38:08 +0200 (CEST) Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) (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 D384680412 for ; Sun, 6 Jun 2021 16:38:05 +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-qt1-x82f.google.com with SMTP id u20so2513640qtx.1 for ; Sun, 06 Jun 2021 07:38:05 -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:cc; bh=cVGx2W40FA1gCJux0bOXnzikXWa3rUiRUkz6CBm68BI=; b=V+dHN0Ow6lsFWAXKJNCJ+mHbi8G0rQNsvlONei2BW9fCNxDFXf7JdHozP3GyBvXfsz ZuZOZozXqspACmTtY4J6qp5ambIQNOLtYS9r8gymgcYCQfiRuLwoPkwLtaaCD/l1QFfk rGGbqZo2CwgxoreZ6urQefG3G8srC+sy4LkfdyiZDqeG2rOYvrUSXjG4lN5oMpfwsBzT xjt1+mlCMLIv/0pT4JrNSUtFtcl0njfZhA2nfeoDDW/xkh4Pc/xO7GHHRjKt4f3GjrIB eQSK67MZ9D3jXu7EpevTnLRXf5sS0aD1V+dNpQ+izWOLIDcH3U3eHBXbnsls/NRzkil2 WYwA== 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:cc; bh=cVGx2W40FA1gCJux0bOXnzikXWa3rUiRUkz6CBm68BI=; b=r5KQy+I/2WWm6xcPoXruzUTo00Wq1o8jMUXvjtAYg6nrwoQsqIjS1vRySj7ZZeiG6a Rcerw13KR22im/HLVPcNlfODvuIje91bJVCaAcxyMwdmU19//1oGZrwiu8waye+HFB2J wHa7WDIsUEWWl4RbK33tE+m4nPK1i3OHGRvALwNKRruwQowXAfaHlq24dYDuzghu7dBe ET+BDZN8xRls3ptCJeMHgnYyIu3QJfAaHOd/21VtTrbl0fW80WFXDQWuCLbOF8cC6H+1 uxZWzsRZK4/rEyddupwmyHV5+6MOKINosMDyDOYELidQsClNv0pyvKLROgJ84++QRfYJ cG6w== X-Gm-Message-State: AOAM533lMTH9RiRFzUp3FpRpSzsY5kdYJ908QmyxmUUlo00I5xcuUEAE JiNur7HVu8zG6EwRzqlEPocGt/gPYOrVWtz6abfDiz1ACZ6bKK8y X-Google-Smtp-Source: ABdhPJxJLdRsiERXTBH+4bMchlHDrkh+om1OyTwr5Z7SovWXOgACPYm15TKHSycqqQsZa9qRSdSaHGpIgo3mBBy7mrc= X-Received: by 2002:ac8:6885:: with SMTP id m5mr12941280qtq.268.1622990284181; Sun, 06 Jun 2021 07:38:04 -0700 (PDT) MIME-Version: 1.0 From: "Matwey V. Kornilov" Date: Sun, 6 Jun 2021 17:37:21 +0300 Message-ID: Subject: BISECTED f3866909e350 ("distro_bootcmd: call EFI bootmgr even without having /EFI/boot") To: U-Boot Mailing List Cc: michael@walle.cc, Heinrich Schuchardt Content-Type: text/plain; charset="UTF-8" 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.102.4 at phobos.denx.de X-Virus-Status: Clean Hi, I've found that f3866909e350 ("distro_bootcmd: call EFI bootmgr even without having /EFI/boot") breaks running EFI application from USB device on BeagleBone Black (am335x) device. With this patch I see the following: Booting /efi\boot\bootarm.efi Welcome to GRUB! 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 ... while without the patch, GRUB works as usual. Could you please help me to figure out what is going wrong here? -- With best regards, Matwey V. Kornilov