From nobody Sat Nov 23 11:32:59 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; arc=pass (i=1 dmarc=pass fromdomain=amd.com); dmarc=pass(p=quarantine dis=none) header.from=amd.com ARC-Seal: i=2; a=rsa-sha256; t=1730138827; cv=pass; d=zohomail.com; s=zohoarc; b=i5/72WfAZBFFMW7iqCMPYKLYey9nwhicJtuxU0StcPu+qZpkKyMBPKgf83WiFpjlunQmJKI4hZUxQnUZ+0OW7bqkfFvhPi7Jhe0Ax1/HfGXzs3nVETy80TKhLj3H+0ULfSKI+Hd2qCk1Ak+Dha0y84MgzNJ9gnR8VqJMCQ0FN6Y= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1730138827; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=sQrshb0JqlbwE4dNWvbr6cEcu+XgR/6ZqbZncx5+fmU=; b=WcnA2cxbzTRBzTgqnvlU11sq5bh2i4Dk0wZLsXC+ecQBYQC6fl+XVIjt/iGbp2PWYiHKZRTBWBEQWsgXGXMcWhWFeY5TBGcVsq7Frr9+5KjDbUZfztyi808L4XFEromHaIAHku1o17SJaJVZzfSkR2P1Hp9AaV7Olaou7Omy9fw= ARC-Authentication-Results: i=2; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; arc=pass (i=1 dmarc=pass fromdomain=amd.com); dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1730138827252424.706193615403; Mon, 28 Oct 2024 11:07:07 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.826937.1241398 (Exim 4.92) (envelope-from ) id 1t5U8h-0004zX-TM; Mon, 28 Oct 2024 18:06:51 +0000 Received: by outflank-mailman (output) from mailman id 826937.1241398; Mon, 28 Oct 2024 18:06:51 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1t5U8h-0004zQ-Qk; Mon, 28 Oct 2024 18:06:51 +0000 Received: by outflank-mailman (input) for mailman id 826937; Mon, 28 Oct 2024 18:06:50 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1t5U8g-0004zK-6e for xen-devel@lists.xenproject.org; Mon, 28 Oct 2024 18:06:50 +0000 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2062c.outbound.protection.outlook.com [2a01:111:f403:2415::62c]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 65e93c51-9557-11ef-a0c2-8be0dac302b0; Mon, 28 Oct 2024 19:06:48 +0100 (CET) Received: from BN9PR03CA0277.namprd03.prod.outlook.com (2603:10b6:408:f5::12) by IA1PR12MB8077.namprd12.prod.outlook.com (2603:10b6:208:3f4::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.25; Mon, 28 Oct 2024 18:06:44 +0000 Received: from BL6PEPF0001AB4F.namprd04.prod.outlook.com (2603:10b6:408:f5:cafe::32) by BN9PR03CA0277.outlook.office365.com (2603:10b6:408:f5::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.26 via Frontend Transport; Mon, 28 Oct 2024 18:06:43 +0000 Received: from SATLEXMB03.amd.com (165.204.84.17) by BL6PEPF0001AB4F.mail.protection.outlook.com (10.167.242.73) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.8114.16 via Frontend Transport; Mon, 28 Oct 2024 18:06:43 +0000 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Mon, 28 Oct 2024 13:06:43 -0500 Received: from amd-BIRMANPLUS.mshome.net (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Mon, 28 Oct 2024 13:06:42 -0500 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 65e93c51-9557-11ef-a0c2-8be0dac302b0 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=luJUG2YxmAknticEKiE44mcgRhhjSOtSRZIov3tHinQj1BWtJRAqFIy6WZIDfs3D6ziGe0odFCtcaMm2M+yGxogz4rFO7l+UGUUEv6gT90jFDSIuuu3tUZ3FEyZZXPxeriPMs5LBbCoDwHHkxlAc6rmmQRTkXHaBNLEIB94jRO8kIHHuW4NpMf195WlvmgLjQvA0dJmt79EOK5PDIG8G+pMrEepNqlq+O1G38tI39GkbvWj+OFMB9oosvzOeM3j4eIfARp+leB8vlRPt3uIZrz3xdCw+LekwMLfo2/p6UhCHs16iNVTUJ/dV7bqpPFskm0v2qDAvPPZUlw5noRctBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=sQrshb0JqlbwE4dNWvbr6cEcu+XgR/6ZqbZncx5+fmU=; b=Atj63MWDWJhtILMDHUf4ebMlDSzKVxexzmkrry6FMzB5/wEnY/ruo4+KsxISeGtz+Fe2vZ2CndI191RGZxV8HOHmD5hsm32J9uhdE2bDAm7RZCiUE9x1F+XAnZ8WsqTAisnEcL0CFH56/JsB9dhoPasd3aKn6JF8ew3U1KDz5qu5V+xA+AO2zv2pM4/PGUI0X21+sbghwaEiIM8Iy5AnihBL/vK7p6slCBj/9LhxgRxqdDqVErwMCUPdjSis1q+JYksijsp5JgKHcLglG7w206M0sxqcS5IW+ETOTBYcYChl/6DJDpPPrnf/KUSke/xw6VN25p533AkRs6CofMQn5g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sQrshb0JqlbwE4dNWvbr6cEcu+XgR/6ZqbZncx5+fmU=; b=YULjSznJctgTmkeXXyllUKpT7/PTDRGkCNH3M7zGhTXggU9Uwd8QdyKpsLG4SG02nsQjUKtIIP5MB4AcJ8OUWYM49Q+fj5XjKpA8HsosdSz3jYfdAXBALWHseMVUvxgK3SCviYJjMZAKccTfNbCI0vFzihRT5kFHpU9xm4v+Y+E= X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB03.amd.com; pr=C From: Jason Andryuk To: CC: Stefano Stabellini , Michal Orzel , Jason Andryuk Subject: [ImageBuilder] uboot-script-gen: Use split_value for memory Date: Mon, 28 Oct 2024 14:06:44 -0400 Message-ID: <20241028180644.2501-1-jason.andryuk@amd.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: None (SATLEXMB03.amd.com: jason.andryuk@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL6PEPF0001AB4F:EE_|IA1PR12MB8077:EE_ X-MS-Office365-Filtering-Correlation-Id: 52cc5960-ebc9-4ec4-a9ec-08dcf77b47d1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|36860700013|82310400026; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?HWyPDif2ZlnW8ae1FZmFcH1IkaMzxRzDdGE2uT6WcQAR+0JTuHIkc1enWznr?= =?us-ascii?Q?AQ22phZTfzUK/01m9mbBnjF9jf0HXGPgF4AknM+He9FqAMyMgcMii8nfVBQc?= =?us-ascii?Q?/KjvCAO9RRQs3JkJVdT8UgJ5oe+IIg7U/dl5Km7zLksYn3oZmSQlT85NBc5r?= =?us-ascii?Q?xLenb/TV+dNlVptirYK/RSBHNHHB9Fh7GkZjRP/uHBTtXkB3w4Wkd1asxVgO?= =?us-ascii?Q?fi7BeslJkiKMmQ3+ykBtw91uyltNzpb8RZvhaVWrY5lnRrLxpB6AL3U2v3TJ?= =?us-ascii?Q?M+ivqFqZ2/gTZM6mHlHttUgnroEVtPijMxPLqhoiJ5hu5pLE9tnnUq2bU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ovTbT8mpBf+U47173r/R9?= =?us-ascii?Q?W9e+ougkFbj7XoAreQs+Ck4vKY19zaFSzSQmNlTMs+OgDaTT24Hbt1WOt5m8?= =?us-ascii?Q?xHjvqzrLhaeDisiAk+snradIZusEhmQXXHwN+iGVBCFuCCcfMuE7/NUR4ou9?= =?us-ascii?Q?sSoV6A4Vg/78nEZ3SE5eZemdMPmFFdxXZwNJX1+GA/Yg/Y2pWQ=3D=3D?= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB03.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(1800799024)(376014)(36860700013)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Oct 2024 18:06:43.7103 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 52cc5960-ebc9-4ec4-a9ec-08dcf77b47d1 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BL6PEPF0001AB4F.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB8077 X-ZohoMail-DKIM: pass (identity @amd.com) X-ZM-MESSAGEID: 1730138828238116600 Content-Type: text/plain; charset="utf-8" Don't hardcode the first cell to 0 - use split_value to handle larger values properly. Signed-off-by: Jason Andryuk Reviewed-by: Stefano Stabellini --- scripts/uboot-script-gen | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/uboot-script-gen b/scripts/uboot-script-gen index f10e5f4..dcf5bdb 100755 --- a/scripts/uboot-script-gen +++ b/scripts/uboot-script-gen @@ -174,7 +174,7 @@ function add_device_tree_mem() memory=3D$((512 * 1024)) fi =20 - dt_set "$path" "memory" "int" "0 $memory" + dt_set "$path" "memory" "int" "$( split_value $memory )" } =20 function add_device_tree_static_mem() --=20 2.34.1