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 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 4CE95C433F5 for ; Mon, 14 Mar 2022 14:59:00 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2755183BFE; Mon, 14 Mar 2022 15:58:50 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=softathome.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=softathome1.onmicrosoft.com header.i=@softathome1.onmicrosoft.com header.b="BOUxVxav"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5155383BE3; Mon, 14 Mar 2022 15:58:16 +0100 (CET) Received: from FRA01-MR2-obe.outbound.protection.outlook.com (mail-mr2fra01on0602.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e19::602]) (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 3E76783B5C for ; Mon, 14 Mar 2022 15:58:03 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=softathome.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=philippe.reynes@softathome.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z3UFqn5eNUQKg0fwzKjKcqMaTVF+lQ663pD4uGSzucp+ZuT1tQoQLKaoSgWg+Gfwi7baET/4B9LCPkcVh/ppJLmqRGQrHPqeBpy7lzSErGM1nbYY2u/tQTvhdN0dj6lnWNHl/DVIUHtgsxJCTpH0bhpKzxpxpwFXA6owBL1Czdit22mq11B2nuCryRwxCy8D+OPc8Sn8HOIfmxuqlYzOh0DDlEhs2g+g2sTZVtxvDbRa0Ts9sgiUKW8pFe3AnaSDCHaKgSZphkg2cqzkFXp4WnNdj6ESVK3KZQWlqvwBadZ4mfI9h5nAewOf2EIrtzVZpsQ6P21ZBrziC2jSXrZigA== 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=pdHdyJalGd9owWERaoHC4BVdpS0edIpmO0EkZzOawHM=; b=EqifuFNfk+Tv8ZWhLqKIinbcugn0pfi2j020vqAdVA+IZ/EiLJ4oDS3JFk7/PAa4vsBEbWnRGcRvCkxwZMBCuRdoCKDldbACnx4NSBft9A7alRFsY+Ck4YwnS2v6cjdItfdmed2TrkJtBv78zY1OMBYtsyXKTpmV6PWEq8PmYD6c0GM51hVqpEcVZXoNDk6V6qCtk9eKiVuwHEqhDh9Mbx7lefcbS7h68Oq22CVcJ0OR55OM/FnaWt9+sI5gct8w9rq0axKUBDURgPe9/X3Twhcu0TRG6Cg38mRcPpZTEk/10xnTr7xzBOuvxjwOCKMmrT+9jVldZEMEPW6c05rINg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.6.166.170) smtp.rcpttodomain=chromium.org smtp.mailfrom=softathome.com; dmarc=bestguesspass action=none header.from=softathome.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=softathome1.onmicrosoft.com; s=selector1-softathome1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pdHdyJalGd9owWERaoHC4BVdpS0edIpmO0EkZzOawHM=; b=BOUxVxavunwDWzHXVI5dQzQsO53UKviLurqcRioEUhMwDGpeM4YOz/Dvnd1YdV7YSRifABoPPacIwEnaKvO+wPPyFatMSzNARND1b1tzN7Uw16JqDleGXWfYZtTHTgRKnh8Upmn1Kg+J8ztCfdTAOu7+1A3dsLSZg4C2ZTgdASCi/FohDHqCoUbyf5eyLDzZGdh/VbguQkO2yjmUwVlizUsGzL80wdmKZyc8ofxxECI7htP/4cSRRhO6uo9jns22rP6WpbQO+zxsfcFVl8EZDUtKWQccBJTQcN+xFq1GojRusl/w1kRjgZg6snijEsZ1QbzKspGhxILZP60OROPT3w== Received: from MR1P264CA0098.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:50::8) by PR0P264MB3930.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:259::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5061.22; Mon, 14 Mar 2022 14:58:01 +0000 Received: from MR2FRA01FT005.eop-fra01.prod.protection.outlook.com (2603:10a6:501:50:cafe::e3) by MR1P264CA0098.outlook.office365.com (2603:10a6:501:50::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5061.25 via Frontend Transport; Mon, 14 Mar 2022 14:58:01 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 149.6.166.170) smtp.mailfrom=softathome.com; dkim=none (message not signed) header.d=none;dmarc=bestguesspass action=none header.from=softathome.com; Received-SPF: Pass (protection.outlook.com: domain of softathome.com designates 149.6.166.170 as permitted sender) receiver=protection.outlook.com; client-ip=149.6.166.170; helo=proxy.softathome.com; Received: from proxy.softathome.com (149.6.166.170) by MR2FRA01FT005.mail.protection.outlook.com (10.152.50.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5061.22 via Frontend Transport; Mon, 14 Mar 2022 14:58:00 +0000 Received: from localhost.localdomain (unknown [192.168.72.32]) by proxy.softathome.com (Postfix) with ESMTPSA id 940B21FE01; Mon, 14 Mar 2022 15:58:00 +0100 (CET) From: Philippe Reynes To: sjg@chromium.org, rasmus.villemoes@prevas.dk Cc: u-boot@lists.denx.de, Philippe Reynes Subject: [PATCH v7 01/16] arch: Kconfig: imply BINMAN for SANDBOX Date: Mon, 14 Mar 2022 15:57:30 +0100 Message-Id: <20220314145745.15249-2-philippe.reynes@softathome.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220314145745.15249-1-philippe.reynes@softathome.com> References: <20220314145745.15249-1-philippe.reynes@softathome.com> X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 41f284c6-586d-4c19-070e-08da05cb08b6 X-MS-TrafficTypeDiagnostic: PR0P264MB3930:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Yga8uEteVzxp4DRoFV2C34JoraeyDzmrUsHJGPkk8Kk5SDlJwpYbnQz2yez3P+7+mS4WUmWrXLvKCHAeGPUviR5d+6vcSnVgJAuaquuq8p257gSBHoLlE2sZu1UNnvJawN/BIBJz2a03iKFlMrE+t5SaQFqnLKUto3pDNzqIHDDUNK6yH+NbTfpOJPgm22NgprNqa9AXt6/fYgU77a7DxDh13PDFczOlJ6le9RinmE8xGkRBP3nQavsb+OCkMKGxEMlsfqUXtZoAJvUziItGE8yiZ0Ud9I1m5ZgdIvhTLgSljE58DT3jzERDuf3ZT9fQkp7j85TjLNzgL4m7ymiHrZfOHxd9D3af/s/WniEN9i/rIqXhskzz2xZIHQYBY3pyeAMZBEc4WR4iAlWbA5TZNZe+U/4sAjOd04BQv/cYTyfU4UFc1x3OD8Kt2vi67vSfbayh9kwUAVYBJk6RB41an7jo3ujkvvZbLqeVfuW6LvBmCA4Oo0em4Zh95IC0vWDvd259H3PsHb22RaAbW3+fXwKdKZl0Guwvdki9E5oKG9sLnF6bgtoawk7Xh+cmy1OL6Dm7Zw+6xOvD8dvxy/uu6Ei50RaG4x2Xlbf//JZ07hHMMlKpH3TyBdretRoZyJO/wgQFjxPyZ4tEtXFbTkvBEpWw8Gr13cCCodNEQl8AFtdMAPfjwjEZpmKkmWTSaDyZd3xewWYJobZrNWrRNxlJQg== X-Forefront-Antispam-Report: CIP:149.6.166.170; CTRY:FR; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:proxy.softathome.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230001)(4636009)(36840700001)(46966006)(40470700004)(6966003)(36756003)(83380400001)(44832011)(6266002)(186003)(26005)(47076005)(5660300002)(6666004)(86362001)(40460700003)(8936002)(2906002)(2616005)(426003)(81166007)(82310400004)(82960400001)(356005)(36860700001)(107886003)(336012)(1076003)(498600001)(70586007)(4326008)(70206006)(8676002)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: softathome.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Mar 2022 14:58:00.8368 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 41f284c6-586d-4c19-070e-08da05cb08b6 X-MS-Exchange-CrossTenant-Id: aa10e044-e405-4c10-8353-36b4d0cce511 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=aa10e044-e405-4c10-8353-36b4d0cce511; Ip=[149.6.166.170]; Helo=[proxy.softathome.com] X-MS-Exchange-CrossTenant-AuthSource: MR2FRA01FT005.eop-fra01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR0P264MB3930 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.5 at phobos.denx.de X-Virus-Status: Clean To be able to use the tool binman on sandbox, the config SANDBOX should imply BINMAN. Reviewed-by: Simon Glass Signed-off-by: Philippe Reynes --- arch/Kconfig | 1 + arch/sandbox/dts/sandbox.dtsi | 3 +++ arch/sandbox/dts/test.dts | 3 +++ test/py/tests/test_fit.py | 3 +++ test/py/tests/vboot/sandbox-u-boot.dts | 3 +++ 5 files changed, 13 insertions(+) diff --git a/arch/Kconfig b/arch/Kconfig index e6191446a3..35624377ca 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -203,6 +203,7 @@ config SANDBOX imply KEYBOARD imply PHYSMEM imply GENERATE_ACPI_TABLE + imply BINMAN config SH bool "SuperH architecture" diff --git a/arch/sandbox/dts/sandbox.dtsi b/arch/sandbox/dts/sandbox.dtsi index 66b813faad..826db26fc2 100644 --- a/arch/sandbox/dts/sandbox.dtsi +++ b/arch/sandbox/dts/sandbox.dtsi @@ -7,6 +7,9 @@ #define USB_CLASS_HUB 9 / { + binman { + }; + chosen { stdout-path = "/serial"; }; diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index 48ca3e1e47..c11ad8cb9f 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -61,6 +61,9 @@ osd0 = "/osd"; }; + binman { + }; + config { testing-bool; testing-int = <123>; diff --git a/test/py/tests/test_fit.py b/test/py/tests/test_fit.py index 6d5b43c3ba..5856960be2 100755 --- a/test/py/tests/test_fit.py +++ b/test/py/tests/test_fit.py @@ -89,6 +89,9 @@ base_fdt = ''' model = "Sandbox Verified Boot Test"; compatible = "sandbox"; + binman { + }; + reset@0 { compatible = "sandbox,reset"; reg = <0>; diff --git a/test/py/tests/vboot/sandbox-u-boot.dts b/test/py/tests/vboot/sandbox-u-boot.dts index 63f8f401de..5809c62fc1 100644 --- a/test/py/tests/vboot/sandbox-u-boot.dts +++ b/test/py/tests/vboot/sandbox-u-boot.dts @@ -4,6 +4,9 @@ model = "Sandbox Verified Boot Test"; compatible = "sandbox"; + binman { + }; + reset@0 { compatible = "sandbox,reset"; }; -- 2.17.1