From patchwork Tue May 2 09:49:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: thomas.mittelstaedt@bosch.com X-Patchwork-Id: 1775814 X-Patchwork-Delegate: bmeng.cn@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.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: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=bosch.com header.i=@bosch.com header.a=rsa-sha256 header.s=selector2 header.b=rIUBXSgu; 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 ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Q9dRn5S7Lz1ydX for ; Tue, 2 May 2023 21:40:21 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 971B784704; Tue, 2 May 2023 13:39:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=bosch.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=bosch.com header.i=@bosch.com header.b="rIUBXSgu"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 875F5846CF; Tue, 2 May 2023 11:49:47 +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.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE,UPPERCASE_50_75 autolearn=no autolearn_force=no version=3.4.2 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2062a.outbound.protection.outlook.com [IPv6:2a01:111:f400:7d00::62a]) (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 1A376846D9 for ; Tue, 2 May 2023 11:49:44 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=bosch.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=Thomas.Mittelstaedt@de.bosch.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YJ9vgs+pspbjekEaNfI3FKB4vzTWjOlQptNtWfpReHZlkMou51b/E+QDNHCooidvoFrnAXrGRZ9Bhx060RPXimAEUMp0fOqQYBTxRDrOgTcJshZ5MQXLEjVaelCKUXNYOAfHNdNDLe3YqPhK01yf3ByWB5htEtTbAuXnNwyj+5phDqm7iDe1kgTcweKgD1/J9JV9l99TVYG+6ULI29UOM0iRxDZ2DfeskiiHBezLNy0Wa9oSMuBHCqWYRAvEdP3QIOQd3U4es3WVm+CTU45K8GZlRW+sKZ0UtjvTMEFgAVbYTK/lXtdlUERm90507Vu3+VL62dq5eoQjkxHgtKvurA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=SIijHd7EeqMkd/E9GQcgq6tIAbC+eP/6WdclyXTsIP0=; b=T5MsjQv80cL/O76hviqzCSu0oLsf2Oz1jEfft7j8KwRs/DpWh+ecAMOQMIzjtQ2a37eVFB/GKSWBQhkZ+RptIqTgHQ4bv3tgLQ9wDSDYRWpY1rvzHBgEPmYy5D60m2pajQSyCUiFd7DrMnrnzal/WR3EwNv/HgC08GAnvpjtNWihWi6UR2amaxPjK1NnSOUsh6REJn+orh5eQ8YvbwjmPf/yD+COACZWcPgOECzltp3lvSZNN+a3GZJ91vQN+aiCZmG9ruDnAXMIL9wzLWmgcHL30T2NXHCUPQ7BZ0FwNa3DyNGfiEP6hZzoMvZLEmzk2Vtdfdhoj3watMzeXBTQBQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 139.15.153.200) smtp.rcpttodomain=lists.denx.de smtp.mailfrom=de.bosch.com; dmarc=fail (p=reject sp=none pct=100) action=oreject header.from=bosch.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bosch.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SIijHd7EeqMkd/E9GQcgq6tIAbC+eP/6WdclyXTsIP0=; b=rIUBXSguyfFRBmke5zrsb2MB5TXoNMeemk5+e5eKRSU66UxO+o+mOmx2c3omYbdDXnbJLJ9XBC3SWJDqYlGm144UYzjLW2pnonFDg+M3/RpB/tkrKayIFPVsDBUuOt5KvZJ5enYR3NKO9W5WX/2UT2bJZBYJG2YZPvBqC5Qe8mEODOVggFllE7qkQTJQmptE5bXUqWKY2pV27AsrSMdLuxIY7iMEDY0fcmaWISpQ4foXlwiv1zyNFfSYCVS066msMWARgUi95P5Ov0LXcBycBjTn71OnSTMwxNrGSLTS2as6GvE8uV0Eld6SXizwHeQnUto44JbNRXgR4SHMC1jmnA== Received: from AM6P194CA0089.EURP194.PROD.OUTLOOK.COM (2603:10a6:209:8f::30) by PAWPR10MB7320.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:2e0::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31; Tue, 2 May 2023 09:49:41 +0000 Received: from AM7EUR03FT062.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:8f:cafe::2) by AM6P194CA0089.outlook.office365.com (2603:10a6:209:8f::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31 via Frontend Transport; Tue, 2 May 2023 09:49:41 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 139.15.153.200) smtp.mailfrom=de.bosch.com; dkim=none (message not signed) header.d=none;dmarc=fail action=oreject header.from=bosch.com; Received-SPF: Pass (protection.outlook.com: domain of de.bosch.com designates 139.15.153.200 as permitted sender) receiver=protection.outlook.com; client-ip=139.15.153.200; helo=eop.bosch-org.com; pr=C Received: from eop.bosch-org.com (139.15.153.200) by AM7EUR03FT062.mail.protection.outlook.com (100.127.140.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.20 via Frontend Transport; Tue, 2 May 2023 09:49:41 +0000 Received: from FE-EXCAS2000.de.bosch.com (10.139.217.199) by eop.bosch-org.com (139.15.153.200) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Tue, 2 May 2023 11:49:41 +0200 Received: from FE-HUB2000.de.bosch.com (10.4.103.109) by FE-EXCAS2000.de.bosch.com (10.139.217.199) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Tue, 2 May 2023 11:49:41 +0200 Received: from sdk-v2022-hi-z0ftz.hi.de.bosch.com (10.142.235.220) by FE-HUB2000.de.bosch.com (10.4.103.109) with Microsoft SMTP Server id 15.1.2507.23; Tue, 2 May 2023 11:49:38 +0200 From: To: CC: Simon Glass , Niel Armstrong , Patrick Delaunay , Ramon Fried , Marek Vasut , Manuel Traut , Heinrich Schuchardt , Bin Meng Subject: [PATCH 1/4] X86: Add support for SCSI devices Date: Tue, 2 May 2023 09:49:20 +0000 Message-ID: <20230502094923.4024-2-thomas.mittelstaedt@bosch.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230502094923.4024-1-thomas.mittelstaedt@bosch.com> References: <20230502094923.4024-1-thomas.mittelstaedt@bosch.com> MIME-Version: 1.0 X-Originating-IP: [10.142.235.220] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7EUR03FT062:EE_|PAWPR10MB7320:EE_ X-MS-Office365-Filtering-Correlation-Id: 48982d3a-22be-4547-afd4-08db4af28d4d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: M1oRzDasBGVW5dkR1BFx/0GO0nhilT2+0PW8J/Wymb/ivqo0ZGz6ojYgZhDt/BlI4pHpZcLHwscCk0FxDNQtH9SA1oEorpmuTjrc6UUL/HLkSuE5woWUozKI8wHHn+jmdSgtnY7yru59y8gyWY7XGJ9jAu2typHAt2Oxux7I4vvvFkqPBTz6U7oQ6KhRPKkPHV0lgB0QVs53CblqiG76sYBxcKTnq3Zsm1yoaNbT7XvziOtqeVwN/2cqGRzyXXbrgIlzcp3fGmFjQQ/ZhGZbDU5sJn8IqJnL0yd/cMNDiCDvk5QsJTCiB4OmL1+bZ9RWOvuUZ62nb6gcCL9R3QrmWJSRzkxYC51xIIE4kZ6JSZvq8iFGJSSOUApmlIc2iw5z0MD1t7OfoKV+fFhrhTjg0VwXO26hJtIQ60vCJbzTgqies22Ohk6rz/SHDmi87CW0WSNNMoJF85r8RISUvuWI1UzJFKjYo30QnSQetJAYMG/e3IjPv8yuceb8LAe9grFlfBwhUGM3/+F8eEQoNtBo0PYVxKMdgYLVBN/37axTHnfOtQg867BopCtEmF2nuaeaBrq2eo1UaBoH3MLaMoflJbdV92wOFhpuqLU9cCBfqlSjatHQBIDpmO61JSMiG89OqQhl+UIv/eOcXYtRg0Ym8KxvptTU3NYjyCqE3EKiOdQI8q654f9e0btHt5oPxY9NdfRmQhyJEFHyprlWPiF0Ea7TieAxheTnvHx+3T6MUj8= X-Forefront-Antispam-Report: CIP:139.15.153.200; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:eop.bosch-org.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230028)(4636009)(376002)(136003)(396003)(39860400002)(346002)(451199021)(36840700001)(46966006)(40470700004)(36756003)(54906003)(4326008)(41300700001)(316002)(6916009)(7696005)(70586007)(70206006)(6666004)(2906002)(40480700001)(82310400005)(5660300002)(478600001)(8676002)(8936002)(2616005)(2876002)(356005)(36860700001)(82960400001)(82740400003)(83170400001)(81166007)(16526019)(186003)(26005)(47076005)(1076003)(336012)(83380400001)(426003)(40460700003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: bosch.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 09:49:41.5339 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 48982d3a-22be-4547-afd4-08db4af28d4d X-MS-Exchange-CrossTenant-Id: 0ae51e19-07c8-4e4b-bb6d-648ee58410f4 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=0ae51e19-07c8-4e4b-bb6d-648ee58410f4; Ip=[139.15.153.200]; Helo=[eop.bosch-org.com] X-MS-Exchange-CrossTenant-AuthSource: AM7EUR03FT062.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAWPR10MB7320 X-Mailman-Approved-At: Tue, 02 May 2023 13:39:48 +0200 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 From: mtt2hi Signed-off-by: mtt2hi --- configs/efi-x86_payload64_defconfig | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/configs/efi-x86_payload64_defconfig b/configs/efi-x86_payload64_defconfig index 5cde04a5ac..f3423091ae 100644 --- a/configs/efi-x86_payload64_defconfig +++ b/configs/efi-x86_payload64_defconfig @@ -22,7 +22,7 @@ CONFIG_CMD_IDE=y CONFIG_CMD_MMC=y CONFIG_CMD_PART=y CONFIG_CMD_USB=y -# CONFIG_CMD_SETEXPR is not set +CONFIG_CMD_SETEXPR=y CONFIG_CMD_DHCP=y CONFIG_BOOTP_BOOTFILESIZE=y # CONFIG_CMD_NFS is not set @@ -32,6 +32,7 @@ CONFIG_CMD_EXT2=y CONFIG_CMD_EXT4=y CONFIG_CMD_EXT4_WRITE=y CONFIG_CMD_FAT=y +CONFIG_CMD_SCSI=y CONFIG_CMD_FS_GENERIC=y CONFIG_MAC_PARTITION=y CONFIG_ISO_PARTITION=y @@ -58,3 +59,9 @@ CONFIG_SYS_NS16550_PORT_MAPPED=y CONFIG_EFI=y CONFIG_EFI_STUB=y CONFIG_EFI_STUB_64BIT=y +CONFIG_FAT_WRITE=y +CONFIG_ENV_FAT_INTERFACE="scsi" +CONFIG_ENV_FAT_DEVICE_AND_PART="0:1" +CONFIG_ENV_FAT_FILE="uboot.env" +CONFIG_ENV_IS_IN_FAT=y +CONFIG_LEGACY_IMAGE_FORMAT=y From patchwork Tue May 2 09:49:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: thomas.mittelstaedt@bosch.com X-Patchwork-Id: 1775813 X-Patchwork-Delegate: bmeng.cn@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.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: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=bosch.com header.i=@bosch.com header.a=rsa-sha256 header.s=selector2 header.b=L++MVsl8; 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 ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Q9dRW3Tksz1ymp for ; Tue, 2 May 2023 21:40:07 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 855E1846FD; Tue, 2 May 2023 13:39:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=bosch.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=bosch.com header.i=@bosch.com header.b="L++MVsl8"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 86AED846CD; Tue, 2 May 2023 11:49:47 +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.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.2 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on061d.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0d::61d]) (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 D4BBD846D6 for ; Tue, 2 May 2023 11:49:43 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=bosch.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=Thomas.Mittelstaedt@de.bosch.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j+pMI130Vsgzpu8CUStfi/rkqvtv1nR86P4+QS/fOvMoMu4nxfs8FTVxIcuscm0xI0u5XttjJ8Xhzq/mLXomDO2H/jIhBBaexB33PU4Argd88RPsk8eeGDTBnl8I6BQsJPiLTNtMp1pX+Imxn4CYolazqjQt4QV4BQhtQHIXeA5WXujkoxd8ijqnikDWDj11+E1cpgis/snR0iUwOc4+Yj4jzeY+wj+gvuHA+1h1eTsPSbSgMi4OCHP7uen40evLlBRdb24dyjTc1AEjUoV7PwWcenX1jx+tj15iWWxW3vmOJ9MSceh6eXdSiwUwd2C6AE4hyiH906p9mW7FSrrhYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Js5uaNwz+H/6aJR9+yxCeUr2+zVpNyldWc3o5Je4Z/g=; b=QCMuEAZlhJrRqKb1FwHThJDDbsQ2vRMQItXzSgK03EIx7J+MNaNu4jW6m2yAGUKPZUr3zLvW/CIxlVG1q1busfjyscXjpJEa5hB80H3B771FN4fK7m492BJjJEc3oC5N72W6d8hDT9vSk5DyIVs1ocPh3nkA7o/42XLamM25aDPuK64Ng1ffEdDEqD1eZ0T4nKhOUBtbHKXz6EcL9Q2x4c+izIujbYq9VKXS3UEE3X86UMVfyppDkMV5z77dX51WyJxXRXoXAAwFg5lX3xR61SlTJr0UYJKS4aQs42Fw5XlQ1LQ0GHXXYZHXcxc2QNSxsJbgQEHzBt1YMSPyVNdbTA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 139.15.153.200) smtp.rcpttodomain=lists.denx.de smtp.mailfrom=de.bosch.com; dmarc=fail (p=reject sp=none pct=100) action=oreject header.from=bosch.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bosch.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Js5uaNwz+H/6aJR9+yxCeUr2+zVpNyldWc3o5Je4Z/g=; b=L++MVsl8eACEN1dyLM6bF8vANb431bTLQSYlvHKRa0avxyzGejv2KNwNoBJ4QIOvEtFDnHo4k0yspy+GnP+I8m5W4t1+AcUaOgMolF3gDzLxUZnCCEnk36rU32Ewex8V45hXTtM6Qej+soyEnRliLiUBa+In7kTUczKpDGkUSj13A99CQ9HDiqkLIsHEmLDjB3bhNiwy9YoG/vfP8ucmgxTtnKdcdV2K9CHM4J+DzEckW3+REk6l3EpDtPb9Mqv4HaEcALvxc8m/UmqZ/hzjrDpkjw0DOKK8FTfeiZC4gNGzD5/srwncED5SLHuDq3vSoWYgqmglVyB9mFnhs7OkiQ== Received: from AS8P251CA0004.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:2f2::21) by DB8PR10MB3798.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:168::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31; Tue, 2 May 2023 09:49:42 +0000 Received: from AM7EUR03FT007.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:2f2:cafe::32) by AS8P251CA0004.outlook.office365.com (2603:10a6:20b:2f2::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31 via Frontend Transport; Tue, 2 May 2023 09:49:42 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 139.15.153.200) smtp.mailfrom=de.bosch.com; dkim=none (message not signed) header.d=none;dmarc=fail action=oreject header.from=bosch.com; Received-SPF: Pass (protection.outlook.com: domain of de.bosch.com designates 139.15.153.200 as permitted sender) receiver=protection.outlook.com; client-ip=139.15.153.200; helo=eop.bosch-org.com; pr=C Received: from eop.bosch-org.com (139.15.153.200) by AM7EUR03FT007.mail.protection.outlook.com (100.127.140.242) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.20 via Frontend Transport; Tue, 2 May 2023 09:49:42 +0000 Received: from SI-EXCAS2000.de.bosch.com (10.139.217.201) by eop.bosch-org.com (139.15.153.200) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Tue, 2 May 2023 11:49:41 +0200 Received: from FE-HUB2000.de.bosch.com (10.4.103.109) by SI-EXCAS2000.de.bosch.com (10.139.217.201) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Tue, 2 May 2023 11:49:41 +0200 Received: from sdk-v2022-hi-z0ftz.hi.de.bosch.com (10.142.235.220) by FE-HUB2000.de.bosch.com (10.4.103.109) with Microsoft SMTP Server id 15.1.2507.23; Tue, 2 May 2023 11:49:39 +0200 From: To: CC: Simon Glass , Niel Armstrong , Patrick Delaunay , Ramon Fried , Marek Vasut , Manuel Traut , Heinrich Schuchardt , Bin Meng Subject: [PATCH 2/4] X86: Change command prompt Date: Tue, 2 May 2023 09:49:21 +0000 Message-ID: <20230502094923.4024-3-thomas.mittelstaedt@bosch.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230502094923.4024-1-thomas.mittelstaedt@bosch.com> References: <20230502094923.4024-1-thomas.mittelstaedt@bosch.com> MIME-Version: 1.0 X-Originating-IP: [10.142.235.220] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7EUR03FT007:EE_|DB8PR10MB3798:EE_ X-MS-Office365-Filtering-Correlation-Id: 0d877278-57c1-4c79-211d-08db4af28db1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LGq9o4TlmakgjOmjl6i65gJ8lakY17CzdGRpLTf0JhOcPC52ZIn+I/2i8M9h9quj63gnpFfUgrsqimf1TZ1uyyo3VfXmvHzjYKpZtVJZmyQe7Wx2Az9gF3c1fu61QXGEq0if5Fs88DS5wZWUhS5swTH4L1DOYu5B/Lk0BJ6YLJVkuLOnsyz46+bMOJjV11VlFay7ZKsh+kRmjOtTlTI7zitxYTl5dxY/spQnDnZyF71vWCdj6yul1H6c8l1WI43FxNtFJmSW0l3sznLG7JVjzfIRktQ9n5/8bAKvXxBTFNT8t2Zhk72mlGA/eobeHTfoHQz9MkTs5M2XmNODdVdeJjTCWq5PLt/ovMABJjfa6TB8eGw+2XizM+dqQqPcB0QamSFYjTlI9ii3g3CUy0DiCy1P/OYBoxPVBPUU26hi1xT5dI4syI6xKUQMVhlMLcbMPpBB1E6SnPDrwmTK0qGESAJLTS+fwdsTDjvn4X6gMhpIaV8O2jBIJpR2AUYj4gfNUF095RhlFOyuUVKGAcRdnkVzQNBHG1dJBf15DfkOKknU9xbz3K6NwgA81w0j84Tv1NmKGGfJduuj8Kg7GIf3o88cNzvYdpDtFXBkVz+SJQx11L3oDtVuH6a/YMyYsdCz1bLXsZVK2P51vmVCQDZJu9hwjc+Wv7l1u0mYm7vlrKClGXQqOMUEwaaSTT8Hc2nUvEI0METCzaSPKqVwey72Bcl+tr7LErflx+3C8ybKQFo= X-Forefront-Antispam-Report: CIP:139.15.153.200; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:eop.bosch-org.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230028)(4636009)(346002)(136003)(396003)(376002)(39860400002)(451199021)(40470700004)(36840700001)(46966006)(316002)(36860700001)(36756003)(40460700003)(81166007)(2906002)(4744005)(5660300002)(8676002)(8936002)(40480700001)(70586007)(356005)(83170400001)(70206006)(82310400005)(82740400003)(4326008)(6916009)(41300700001)(2876002)(336012)(426003)(47076005)(16526019)(186003)(54906003)(1076003)(26005)(82960400001)(7696005)(478600001)(2616005)(6666004)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: bosch.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 09:49:42.1856 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0d877278-57c1-4c79-211d-08db4af28db1 X-MS-Exchange-CrossTenant-Id: 0ae51e19-07c8-4e4b-bb6d-648ee58410f4 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=0ae51e19-07c8-4e4b-bb6d-648ee58410f4; Ip=[139.15.153.200]; Helo=[eop.bosch-org.com] X-MS-Exchange-CrossTenant-AuthSource: AM7EUR03FT007.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR10MB3798 X-Mailman-Approved-At: Tue, 02 May 2023 13:39:48 +0200 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 From: mtt2hi Signed-off-by: mtt2hi --- configs/efi-x86_payload64_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/efi-x86_payload64_defconfig b/configs/efi-x86_payload64_defconfig index f3423091ae..12b5e58374 100644 --- a/configs/efi-x86_payload64_defconfig +++ b/configs/efi-x86_payload64_defconfig @@ -65,3 +65,4 @@ CONFIG_ENV_FAT_DEVICE_AND_PART="0:1" CONFIG_ENV_FAT_FILE="uboot.env" CONFIG_ENV_IS_IN_FAT=y CONFIG_LEGACY_IMAGE_FORMAT=y +CONFIG_SYS_PROMPT="U-Boot> " From patchwork Tue May 2 09:49:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: thomas.mittelstaedt@bosch.com X-Patchwork-Id: 1775816 X-Patchwork-Delegate: bmeng.cn@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=bosch.com header.i=@bosch.com header.a=rsa-sha256 header.s=selector2 header.b=EQMj9a/h; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Q9dSJ5lK1z1ydX for ; Tue, 2 May 2023 21:40:48 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4EF7C84713; Tue, 2 May 2023 13:39:54 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=bosch.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=bosch.com header.i=@bosch.com header.b="EQMj9a/h"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A4FFF846CD; Tue, 2 May 2023 11:49:49 +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.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on20617.outbound.protection.outlook.com [IPv6:2a01:111:f400:7d00::617]) (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 DF443846DE for ; Tue, 2 May 2023 11:49:44 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=bosch.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=Thomas.Mittelstaedt@de.bosch.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y/YvkWahceuK4J0Ne+JbB2oQZMLVYdK/A+6TU+RNoPiRiSBR0IzEc+mbqetinwf81+WnFW/Y32oZUMfXN0cliq71kjyyHtVE9NBBBXJGHSjHwqym3aF7OPKHzet+LA5dVMjJzSXpWtGuex9tLSb+zuQYbl7Cs7tQ32RjSD6Gmi32DU+fBUIB/eMQS2U/AP4gz4xicIlsqpWVvhkHYXU87N64FkF9JKybvkhm+xYBCSOeeK3m2zXSskvfrHtXpaB1PmBAqGfjAXGBuRSL4oMGCxLwvcChcRvulj7u5RB/yv/lV05keJTCUjC3rC1ymxNEa2kUvQVueJcYZ9RyBR5MRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=v5A57KelKuR8Hh0pnCw0Gye0C5AXYrKo7f6Kf8PX8sc=; b=KrpCgWiATUgR8e48Td6kThG06ZdmLsZUqQl0yFNcEIrc+VMiGNOxyuT9u7T59ytpLm9lN1HWg05ulpPeOp2jq7ICYuNs8+/Y15lDm9X/hK5JxGd41GgfTMY9/E+D46PUYfd6z0ZXQORqpYvHnMckejPkSz6n6GG8nh3APb+ITH1hZBqaq7Hxm5txJ/RgHkLLV8OUmf48KXG0V9KFEO94WhTA25hPtlelIycRLs5+ag48Yk20U5SQH7qsu9jy3wTBgIguXmoSXqAS3PYpEhK56A0IxDV22GpNvw+8C04nisPPq3oHVrIYVLkKhJxIUx8ok+VZRgWABUyWzC76rC8H7w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 139.15.153.199) smtp.rcpttodomain=lists.denx.de smtp.mailfrom=de.bosch.com; dmarc=fail (p=reject sp=none pct=100) action=oreject header.from=bosch.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bosch.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=v5A57KelKuR8Hh0pnCw0Gye0C5AXYrKo7f6Kf8PX8sc=; b=EQMj9a/hUAGP6pBuDggmDxBWfV3pmLJOf4CACeoKv1quGudLEs+jgbo92KT4udFWAsoKj3Ope8OVUQs37CLpRqUo5eSJMaTRzcrYGcQkkfPe8TcVdxRUexB9EY/qCnXe1a73DdgnmqprJsYQd/cJjU7T50D+7N+Ow8nxz7ZY+MDAm3laRamoZb5R5CTxiiwsVclIaBgLdnPEUPLFFNNR1WjefBOyH7Z7h5iDT9b0dVt/taQC6yQX/xHDt2ZFl5T8MnPhpubSs8cWIIj/Nmju7uHgif5ZQ0zIAlMeHUK9htlrc83XEgdtJv4Qu29XmjxmRt8iCtvwAKaWVwkjXj+2KQ== Received: from DB6P191CA0018.EURP191.PROD.OUTLOOK.COM (2603:10a6:6:28::28) by DB9PR10MB5306.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:338::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31; Tue, 2 May 2023 09:49:43 +0000 Received: from DBAEUR03FT012.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:28:cafe::da) by DB6P191CA0018.outlook.office365.com (2603:10a6:6:28::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31 via Frontend Transport; Tue, 2 May 2023 09:49:43 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 139.15.153.199) smtp.mailfrom=de.bosch.com; dkim=none (message not signed) header.d=none;dmarc=fail action=oreject header.from=bosch.com; Received-SPF: Pass (protection.outlook.com: domain of de.bosch.com designates 139.15.153.199 as permitted sender) receiver=protection.outlook.com; client-ip=139.15.153.199; helo=eop.bosch-org.com; pr=C Received: from eop.bosch-org.com (139.15.153.199) by DBAEUR03FT012.mail.protection.outlook.com (100.127.142.126) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.20 via Frontend Transport; Tue, 2 May 2023 09:49:43 +0000 Received: from SI-EXCAS2000.de.bosch.com (10.139.217.201) by eop.bosch-org.com (139.15.153.199) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Tue, 2 May 2023 11:49:42 +0200 Received: from FE-HUB2000.de.bosch.com (10.4.103.109) by SI-EXCAS2000.de.bosch.com (10.139.217.201) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Tue, 2 May 2023 11:49:42 +0200 Received: from sdk-v2022-hi-z0ftz.hi.de.bosch.com (10.142.235.220) by FE-HUB2000.de.bosch.com (10.4.103.109) with Microsoft SMTP Server id 15.1.2507.23; Tue, 2 May 2023 11:49:40 +0200 From: To: CC: Simon Glass , Niel Armstrong , Patrick Delaunay , Ramon Fried , Marek Vasut , Manuel Traut , Heinrich Schuchardt , Bin Meng Subject: [PATCH 3/4] X86: Add support for distro boot Date: Tue, 2 May 2023 09:49:22 +0000 Message-ID: <20230502094923.4024-4-thomas.mittelstaedt@bosch.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230502094923.4024-1-thomas.mittelstaedt@bosch.com> References: <20230502094923.4024-1-thomas.mittelstaedt@bosch.com> MIME-Version: 1.0 X-Originating-IP: [10.142.235.220] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DBAEUR03FT012:EE_|DB9PR10MB5306:EE_ X-MS-Office365-Filtering-Correlation-Id: 4a9117eb-6534-4a2c-3d30-08db4af28e65 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8jhx7TcP1fcbGHNLPwgkkyG5M/Uct6OsfePa8Y5XfGDa4j+yZVuHkS2WkpASv2tEi5FyuyI5nUdleYHS62F5IKny46eI/wyBUK1duBwwJHQeEf3HMI450bI5cTYa5KSm54mu/66olnqaPuG861/AtFdh1s40RPxXGmETyAsw4j9t8We1QE8FRBs4KgH1u7H+JK0/lF7GYq+IqQ5fPLq9ZM7b0RGnSoIB+vmX/12H4L9O764fY0yemmbrPUpVmIXPk/TgrlpJlHZibkngoEOKmy4kfzG97B1h4+RNSdMS2t1qYnLXPvF9klmpyjmfZRHbo8ZqZTk1HHKBIJ/q4CXxO08AuleAE571b9eqDUtd5/HzSS9V2JPTKjB9NHXGaKRhewzj1ZcVxXD9pU/F/kPmmdzvjPHi0XMKUQPz5Pc3W8oKKNGSljS6pbBlDaaULyiZLZ8DKRm4kCEYEhVIchqAOcNsULA95nVgjM5i8doktLnzHyZNWUhlj+E6Tsj//Rc82Xnq27w+lOx27sVQ36uksVKw1umiEJHbuEQKPDtBoti64knfOI+leyNkbtwD48TaltGq0NORNm+LuNKvCbBqB71GECSOahcOsJ/KEyrzyHlpDOTut2M3LZweqfe7+TyQP5ZHM9vrY922SC2IZeW3nRSeqMrSHQJfRipedLy8q23LscsV5LNqDOjkJSOxVJxYplHTeZZXpna1yMfDBc+zcafhWJjftgw2TJJregRp/II= X-Forefront-Antispam-Report: CIP:139.15.153.199; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:eop.bosch-org.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230028)(4636009)(39860400002)(376002)(396003)(136003)(346002)(451199021)(46966006)(40470700004)(36840700001)(36860700001)(36756003)(2876002)(2906002)(40460700003)(316002)(40480700001)(5660300002)(8676002)(8936002)(41300700001)(82310400005)(82740400003)(70206006)(70586007)(82960400001)(6916009)(81166007)(356005)(4326008)(47076005)(426003)(336012)(83170400001)(83380400001)(54906003)(16526019)(186003)(26005)(1076003)(478600001)(7696005)(2616005)(6666004)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: bosch.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 09:49:43.3504 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4a9117eb-6534-4a2c-3d30-08db4af28e65 X-MS-Exchange-CrossTenant-Id: 0ae51e19-07c8-4e4b-bb6d-648ee58410f4 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=0ae51e19-07c8-4e4b-bb6d-648ee58410f4; Ip=[139.15.153.199]; Helo=[eop.bosch-org.com] X-MS-Exchange-CrossTenant-AuthSource: DBAEUR03FT012.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR10MB5306 X-Mailman-Approved-At: Tue, 02 May 2023 13:39:48 +0200 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 From: mtt2hi Signed-off-by: mtt2hi --- configs/efi-x86_payload64_defconfig | 2 +- include/configs/efi-x86_payload.h | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/configs/efi-x86_payload64_defconfig b/configs/efi-x86_payload64_defconfig index 12b5e58374..e6047e5fb4 100644 --- a/configs/efi-x86_payload64_defconfig +++ b/configs/efi-x86_payload64_defconfig @@ -11,7 +11,6 @@ CONFIG_SHOW_BOOT_PROGRESS=y CONFIG_USE_BOOTARGS=y CONFIG_BOOTARGS="root=/dev/sdb3 init=/sbin/init rootwait ro" CONFIG_USE_BOOTCOMMAND=y -CONFIG_BOOTCOMMAND="ext2load scsi 0:3 01000000 /boot/vmlinuz; zboot 01000000" CONFIG_PRE_CONSOLE_BUFFER=y CONFIG_SYS_CONSOLE_INFO_QUIET=y CONFIG_DISPLAY_BOARDINFO_LATE=y @@ -59,6 +58,7 @@ CONFIG_SYS_NS16550_PORT_MAPPED=y CONFIG_EFI=y CONFIG_EFI_STUB=y CONFIG_EFI_STUB_64BIT=y +CONFIG_DISTRO_DEFAULTS=y CONFIG_FAT_WRITE=y CONFIG_ENV_FAT_INTERFACE="scsi" CONFIG_ENV_FAT_DEVICE_AND_PART="0:1" diff --git a/include/configs/efi-x86_payload.h b/include/configs/efi-x86_payload.h index c72b067c36..e1cd8eb316 100644 --- a/include/configs/efi-x86_payload.h +++ b/include/configs/efi-x86_payload.h @@ -6,6 +6,17 @@ /* * board/config.h - configuration options, board specific */ +#ifndef CONFIG_SPL_BUILD + +#define BOOT_TARGET_SCSI(func) \ + func(SCSI, scsi, 0) + +#define BOOT_TARGET_DEVICES(func) \ + BOOT_TARGET_SCSI(func) + +#include + +#endif #ifndef __CONFIG_H #define __CONFIG_H From patchwork Tue May 2 09:49:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: thomas.mittelstaedt@bosch.com X-Patchwork-Id: 1775815 X-Patchwork-Delegate: bmeng.cn@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.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: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=bosch.com header.i=@bosch.com header.a=rsa-sha256 header.s=selector2 header.b=lITZ//4W; 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 ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Q9dS33SnRz1ydX for ; Tue, 2 May 2023 21:40:35 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3BE168470E; Tue, 2 May 2023 13:39:53 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=bosch.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=bosch.com header.i=@bosch.com header.b="lITZ//4W"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9A048846CF; Tue, 2 May 2023 11:49:49 +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.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.2 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on20607.outbound.protection.outlook.com [IPv6:2a01:111:f400:7d00::607]) (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 25DC2846E1 for ; Tue, 2 May 2023 11:49:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=bosch.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=Thomas.Mittelstaedt@de.bosch.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eeA+O1a8CLI6ao/OuufIjdVwAkRUqDcvbvrFWsulqCJkojyQfxvUp0AsGkFfU/Hn/5RqptWPkSXONHnYTaoj5HGAER7UNsu26TxVPSYXXbGGYXZfYmyMunCbMfyjUsudNwb+EGuDJTsZcUAE6nVpclMz060UjsIpspn/ode4B6U8Q0k7SmLmWpqbcHN470kqyQw8+wZglFPDI0wpfHxRE9KVU+6SpTLdc8avAIQGlpqKtzvbieNvHVXulgfLsT/b88qB8cWz7qr5L8kYkswpyBmC8+JWDg1sk+q5XQ6XTLQDz27R/Wrty/XzSDWlVcO6NdgT0CVVif9ajyaygxCaQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=pD0AuwH2OWuydBNkNK0wHMU7xicXe7m8fM0uS7EJQJs=; b=G5ZIVZ4l5kJgpzIopO+VoYPTzt1NolUWHPv5zJsPHc0mI0lc6DSGMwPD0L64z0vpyd9L2Nhh9BYc9s1iW7+3gIEtD+UMMam9rRF06NgWpx4vumWTh6JIu1dAd55UhKt8eKI/YyMaLz/y/en1A331U+PeOXZjXqSrCaFAgjWfh8Co7/7Ds1xDXwYT/lVP5eVCpQiQMjhGNJPboA8xyCHCNwAPSNIfs91C7DOZPnqBLR/Ck1dd+WefJgPA3kLR+X2egKhoQT4ZrNobZ97FR/Lm/No1+d8j8bEYsSFpQRBBL4WIE9shSQWRoNk+QV+awT0p6UrcLntJAnmPXBIAicd8CA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 139.15.153.203) smtp.rcpttodomain=lists.denx.de smtp.mailfrom=de.bosch.com; dmarc=fail (p=reject sp=none pct=100) action=oreject header.from=bosch.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bosch.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pD0AuwH2OWuydBNkNK0wHMU7xicXe7m8fM0uS7EJQJs=; b=lITZ//4WS3qZICTD/tAsqIvu801pUyb8B7jDpuGE/y/KgxNM6FElLDroPb0PMWQ/a/wJlFb8jtJkqoMaee6wRW2QrwDANB8y50KtVQe9N7CvMIE0dQAD8mhTslPFvb06mpbZ+I6GpaVbzndt95VvmgXHjjzxQ3qPB+4SAL9CHOVSq8HUfIYTrbW2YX1kX5gLqbLDxCvTiTkYltAZwm3r8R6B3S7ZcuAlnJX6jcRXESg73ldg+F9jPaaw7XYu1jlUGowI1oXILdFZhFd+riYJwa2L3CVa9hhBCbw6c+zMN5ogFYdZ8Y+gQYQbH1gd53Cczj9YCgJzDk0PzwAqs2SHCw== Received: from AS9PR06CA0086.eurprd06.prod.outlook.com (2603:10a6:20b:464::9) by PAWPR10MB6879.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:33c::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31; Tue, 2 May 2023 09:49:43 +0000 Received: from AM7EUR03FT006.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:464:cafe::e6) by AS9PR06CA0086.outlook.office365.com (2603:10a6:20b:464::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6340.31 via Frontend Transport; Tue, 2 May 2023 09:49:43 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 139.15.153.203) smtp.mailfrom=de.bosch.com; dkim=none (message not signed) header.d=none;dmarc=fail action=oreject header.from=bosch.com; Received-SPF: Pass (protection.outlook.com: domain of de.bosch.com designates 139.15.153.203 as permitted sender) receiver=protection.outlook.com; client-ip=139.15.153.203; helo=eop.bosch-org.com; pr=C Received: from eop.bosch-org.com (139.15.153.203) by AM7EUR03FT006.mail.protection.outlook.com (100.127.141.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.20 via Frontend Transport; Tue, 2 May 2023 09:49:43 +0000 Received: from SI-EXCAS2001.de.bosch.com (10.139.217.202) by eop.bosch-org.com (139.15.153.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Tue, 2 May 2023 11:49:43 +0200 Received: from FE-HUB2000.de.bosch.com (10.4.103.109) by SI-EXCAS2001.de.bosch.com (10.139.217.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Tue, 2 May 2023 11:49:43 +0200 Received: from sdk-v2022-hi-z0ftz.hi.de.bosch.com (10.142.235.220) by FE-HUB2000.de.bosch.com (10.4.103.109) with Microsoft SMTP Server id 15.1.2507.23; Tue, 2 May 2023 11:49:40 +0200 From: To: CC: Simon Glass , Niel Armstrong , Patrick Delaunay , Ramon Fried , Marek Vasut , Manuel Traut , Heinrich Schuchardt , Bin Meng Subject: [PATCH 4/4] X86: pxeboot: bugfix: Set variable for size of initrd Date: Tue, 2 May 2023 09:49:23 +0000 Message-ID: <20230502094923.4024-5-thomas.mittelstaedt@bosch.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230502094923.4024-1-thomas.mittelstaedt@bosch.com> References: <20230502094923.4024-1-thomas.mittelstaedt@bosch.com> MIME-Version: 1.0 X-Originating-IP: [10.142.235.220] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM7EUR03FT006:EE_|PAWPR10MB6879:EE_ X-MS-Office365-Filtering-Correlation-Id: bdafb8c8-76bc-4686-9fb2-08db4af28ea0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6efLRkWCTPozDls5y9aKzGjO/FuR8yDRcfgpXpZDa5KXm/ZdLZApXChGDusJx8Vydul6hULefS5M1l8OB48fdzNSS2FFp4IPHHUbaclJbKnsMZ97orqEGeP/ODfONm5gj7O0CV/Mm32z3CIvDP+7khA1OSCp4CpSwXLAEqDaKvHSzyNT8BRSO5PKE8Oz1SVTghRtVxkClZ7qfWl6LymJKOLa2i0Bc5zKNF0ged8jNCEhR2N2+Pc/143t0skf0MAF2JmB4pf8fmcU/RFnVymweJkmffbIvhS/x9Ot4chn67VSqaKkHUzFjKr8KttpmB3Qa0mkEYf+4499bRzIdLI15U3KyqV8cCQxZ8J3j3lgZmjNnRq1/Y6piSZ3MaiY9ibNoZnxa9gpq51BEVInz77QvblBB5YkOFQ5UIC7aWyu0IKz/cn7bRGIbEanEabD53M+LrA/Up0VC7Wb4cAPa7cC2K8b/P85VfVZSvWk7f+3g2FI9CXTTKkB6j+VH04kP9WKqGtNBjtxyWZbLKy921v/BE3DZ9HJ3zvQX4XqPWoSYb6TsnJgcMGQAWg1AREBY/+UOqptt5gUZJWxEDjNWlvHjxKK1u6iunZJpSwr02PNMPOEIAuJf+qe66Rkyec8zgMkPQAXZACniK5TD6C0E9OanKAoPzPdxoe5h7CFCcviwroU9ULbuOlcwP+7ItZGg9H0X17/PBAik/TVIWGxNRhWJjPkMROmms8EHoyLQcFLA34= X-Forefront-Antispam-Report: CIP:139.15.153.203; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:eop.bosch-org.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230028)(4636009)(39860400002)(396003)(136003)(376002)(346002)(451199021)(36840700001)(40470700004)(46966006)(36860700001)(40460700003)(36756003)(81166007)(2906002)(4744005)(5660300002)(316002)(8676002)(8936002)(40480700001)(83170400001)(70586007)(356005)(70206006)(41300700001)(82310400005)(6916009)(82740400003)(82960400001)(4326008)(83380400001)(47076005)(426003)(336012)(16526019)(186003)(54906003)(1076003)(26005)(2876002)(7696005)(478600001)(2616005)(6666004)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: bosch.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 May 2023 09:49:43.7708 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bdafb8c8-76bc-4686-9fb2-08db4af28ea0 X-MS-Exchange-CrossTenant-Id: 0ae51e19-07c8-4e4b-bb6d-648ee58410f4 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=0ae51e19-07c8-4e4b-bb6d-648ee58410f4; Ip=[139.15.153.203]; Helo=[eop.bosch-org.com] X-MS-Exchange-CrossTenant-AuthSource: AM7EUR03FT006.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAWPR10MB6879 X-Mailman-Approved-At: Tue, 02 May 2023 13:39:48 +0200 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 From: mtt2hi The problem was, that zboot() didn't work because of missing ramdisc size. Signed-off-by: mtt2hi --- boot/pxe_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/pxe_utils.c b/boot/pxe_utils.c index 3a1e50f2b1..87c32b6e62 100644 --- a/boot/pxe_utils.c +++ b/boot/pxe_utils.c @@ -554,7 +554,7 @@ static int label_boot(struct pxe_context *ctx, struct pxe_label *label) label->name); goto cleanup; } - + strcpy(initrd_filesize, simple_xtoa(size)); initrd_addr_str = env_get("ramdisk_addr_r"); size = snprintf(initrd_str, sizeof(initrd_str), "%s:%lx", initrd_addr_str, size);