Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id B98BBE6688A for ; Sun, 24 Nov 2024 05:16:15 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 609E4894D5; Sun, 24 Nov 2024 06:16:07 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com 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; unprotected) header.d=ti.com header.i=@ti.com header.b="sh7dV3qs"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A1F02894D9; Sun, 24 Nov 2024 06:16:06 +0100 (CET) Received: from lelvem-ot05.ext.ti.com (lelvem-ot05.ext.ti.com [198.47.23.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 15CE6894CE for ; Sun, 24 Nov 2024 06:16:03 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=s-vadapalli@ti.com Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelvem-ot05.ext.ti.com (8.15.2/8.15.2) with ESMTPS id 4AO5FpA0439075 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 23 Nov 2024 23:15:51 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1732425351; bh=Z2aQ5eZFJWKV9wEfl1krZa+e0Z6mZSjnVpIH+U0NXqk=; h=From:To:CC:Subject:Date; b=sh7dV3qsYc6fhDTevik9d7SPzf0JDs/jqQLGWub/eaJJnQ+1TbdNUOQBZY28mmyHI iqklvGSfzbSF9B2NC4wa3qdEEmn6FJDDsTrBQzprVZG1gcLnNGaWJOxiUSDJqesyFu YfHoj2uN6b/S4dLSLidcQUJMQMR58ND11Dc3jl/w= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTP id 4AO5FptX099999; Sat, 23 Nov 2024 23:15:51 -0600 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Sat, 23 Nov 2024 23:15:50 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Sat, 23 Nov 2024 23:15:51 -0600 Received: from uda0492258.dhcp.ti.com (uda0492258.dhcp.ti.com [10.24.72.81]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 4AO5FkDn129179; Sat, 23 Nov 2024 23:15:46 -0600 From: Siddharth Vadapalli To: , , , , , , , , , , , , CC: , , Subject: [PATCH 0/5] EFI Capsule "dfu_alt_info" fixes for TI Boards Date: Sun, 24 Nov 2024 10:45:29 +0530 Message-ID: <20241124051545.382397-1-s-vadapalli@ti.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean Hello, This series fixes the commits which introduced EFI Capsule support. The blamed commits unconditionally updated "dfu_alt_info" with the "dfu_string" corresponding to SPI Flash and therefore its associated partitions. While this addresses use-cases where the interface is indeed SPI Flash ("sf"), it breaks use-cases such as USB DFU Boot where the interface is RAM ("ram"). As of commit 52c0e5f8a3 Merge branch '2024-11-22-assorted-fixes' of the master branch of U-Boot, USB DFU Boot on AM625-SK is non-functional. Logs: https://gist.github.com/Siddharth-Vadapalli-at-TI/726854b49eb199f4acf79028212fabdc In order to fix this, update "dfu_alt_info" only if the interface is "sf". The patch for AM62x in this series has been tested and it fixes USB DFU Boot on AM625-SK. Logs: https://gist.github.com/Siddharth-Vadapalli-at-TI/feaed5b0a30aff752306d370531a4e10 Series is based on commit 52c0e5f8a3 Merge branch '2024-11-22-assorted-fixes' of the master branch of U-Boot. Regards, Siddharth. Siddharth Vadapalli (5): board: ti: am64x: evm: Set "dfu_alt_info" only if interface is SPI Flash board: ti: j721e: evm: Set "dfu_alt_info" only if interface is SPI Flash board: ti: am62x: evm: Set "dfu_alt_info" only if interface is SPI Flash board: ti: am62px: evm: Set "dfu_alt_info" only if interface is SPI Flash board: ti: j784s4: evm: Set "dfu_alt_info" only if interface is SPI Flash board/ti/am62px/evm.c | 8 +++++++- board/ti/am62x/evm.c | 8 +++++++- board/ti/am64x/evm.c | 8 +++++++- board/ti/j721e/evm.c | 8 +++++++- board/ti/j784s4/evm.c | 8 +++++++- 5 files changed, 35 insertions(+), 5 deletions(-) -- 2.43.0