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 BCB24C433EF for ; Fri, 25 Feb 2022 14:58:09 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7CAD283C7F; Fri, 25 Feb 2022 15:58:06 +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="HQzyvREY"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 11B7583C7A; Fri, 25 Feb 2022 15:58:04 +0100 (CET) Received: from FRA01-PR2-obe.outbound.protection.outlook.com (mail-pr2fra01on0608.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e18::608]) (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 F25A3837F5 for ; Fri, 25 Feb 2022 15:57:59 +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=WmUiY5jdJWoHZAiRcUuk7iUfSDbX1uONdYE9NcgQEHZtkkGb56aP8olrS7fCbonSe2xjaprA/sK5dr+gbGS+Na/tEhUuY2jmKSdQo9VwkO9zV9+dqHnlfoARtzhZolcBxHaBYWZCccp39SzQHT4vzJLCAo6CML3cSZeP9m5axKVB1eGaTF7+SC2Lgfo1iM6jLUQ/uRb/+mpPdit5pyiRzKtSVaRvwKewHQZbqLWX4pI4oE5BTOI7LYV0KzGww8Cid7FOCIl3+grpZAtQosVVOBf+2UVh9wb0B5FY/un4imqEKWdzDUQANPxfw0o+iVmz0L40JdPT+VKyYa6CuASCnA== 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=Gu2fUWWv18UYsVdjacFEFVR6pzrHaKytwuj1t5f9vpZf+564VHLtpTAN5ygJ9Ou+2Ka9Eg7SLrsLytTmaMMPlfqN/jZ/IODgHbn4FmxVdmGca6Il5HTBIB1jeGHfYB9Gr76I931/fvObLU56ETpbEI9YW83Eh9Q0n0o7vxXZwXzBfFXFtvs4h4/oilUUtEkWrET8+r/6PgBEl1aXaR7lbrUzYAHPbUYj1ApTBkdHEWhC5nDRGFV0aqku8PAPuUOBEdgXJ0YiaCw1gCyOISSSKt2DNeRB/iqZ5MUr0qIVoSVGzuwdZu3yOCX5pbliFU8u1RRDrY/hvxScmAJj8BuawQ== 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=HQzyvREYCLh1+HBELJjwvZhRiWh5z28CRlu/pEKYjCld4BKqQUGnCKP8d2ukiiyfcu8eXi6eYZTBBuVYEUoRuW26+4YeowrxskMssuwEzp9OvGFCtPkCjZVj/7r4xwqbluCpgafE9LlXlStlc61MVJmRqv1E+KefjBngONU0SwpwVswrHgRh1Q/EUKzIgx9VihqJm04HsZPVg4xdPQlF5akNfCuG87CiD7YPhoNq+p/grNMZ4LcBi7qD8j5uYVnxLFM84N7xZwZRo8Hg8jkICselnWcqvGPkPNKiYes2dz1dnB7iKBEt2POKuGtaKeBDuz6DGh/MeT7D4ju32c4S0g== Received: from PR1P264CA0025.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:19f::12) by PR2P264MB0190.FRAP264.PROD.OUTLOOK.COM (2603:10a6:101:10::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.21; Fri, 25 Feb 2022 14:57:58 +0000 Received: from PR2FRA01FT013.eop-fra01.prod.protection.outlook.com (2603:10a6:102:19f:cafe::55) by PR1P264CA0025.outlook.office365.com (2603:10a6:102:19f::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.21 via Frontend Transport; Fri, 25 Feb 2022 14:57:58 +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 PR2FRA01FT013.mail.protection.outlook.com (10.152.48.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.22 via Frontend Transport; Fri, 25 Feb 2022 14:57:58 +0000 Received: from localhost.localdomain (unknown [192.168.72.32]) by proxy.softathome.com (Postfix) with ESMTPSA id DB54320032; Fri, 25 Feb 2022 15:57:57 +0100 (CET) From: Philippe Reynes To: sjg@chromium.org, rasmus.villemoes@prevas.dk Cc: u-boot@lists.denx.de, Philippe Reynes Subject: [PATCH v6 01/16] arch: Kconfig: imply BINMAN for SANDBOX Date: Fri, 25 Feb 2022 15:57:39 +0100 Message-Id: <20220225145754.30217-2-philippe.reynes@softathome.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220225145754.30217-1-philippe.reynes@softathome.com> References: <20220225145754.30217-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: 15dcdba0-6c5e-491e-0496-08d9f86f3606 X-MS-TrafficTypeDiagnostic: PR2P264MB0190: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: 4PnevLkDSRmKMT8/shjASPps4bOHiEVtCUKE/Bc+50EuCT9pLS8paab4vckLGcs5SQLss9bEykLvKKTuiOn7d1nogjbxwteUPNz3wTiELSSjS0TV5/Eypvu17iRHI76yVz0iISh6Si8fJJlHcZy16EKO0tp5CSYN7GEFqn9lcqyHX70rmuJb4CksI43s6TOiftZD9QnCcOPB9oa9MbaRUiRcf1+FKmIBQ923jQUq54L6BD8rCLRovKR5i2dRDcICnGmRsrDuSwu20G5dLWR/7Oy2vRJ4ecn9yQhmn/1GXce2rhTGi4Um5Ap0ntHigV/ITy1pt37FPYbwKb3E3qqhzR4hDr0MCipPIM/QBUilXE7xf7enV4EP1esf/dUhLL3eMmpXSgVNCUK18001OjxFPaMr7yAItp48hS4rzrC5bRBlgRzTbCz8IHjhw8tTuBJ4WuPui/OmPHEOFUXkRE3FooqmCjohWzab1hnKDa7KhyRGKENinkiZSw+ohnXFF5wh9UVQaPJbrYnklbiUcyrYIosl5qooevjZ0HPwN9xlr8kBciC3hSHsipsUcOKlqBOkGNRNiWGWaBBjJI/D7g0dDhRtxpM6kb5mK4ljjFU4DYngpyqdR+QfJwMUOnMdS5L3vNeGeNx9mbhlg7EHO5jOgwanmDmkJfjxORCrSCtj/ONueEZyoCqEEwl5NZfrOQ6xs2lgEwQEz4q8P6sUFW0eeg== 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)(40470700004)(46966006)(36840700001)(426003)(83380400001)(356005)(47076005)(2906002)(36860700001)(82310400004)(86362001)(81166007)(6966003)(186003)(70586007)(40460700003)(508600001)(36756003)(4326008)(316002)(44832011)(6666004)(107886003)(5660300002)(8676002)(8936002)(82960400001)(70206006)(1076003)(26005)(2616005)(336012)(6266002)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: softathome.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Feb 2022 14:57:58.0589 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 15dcdba0-6c5e-491e-0496-08d9f86f3606 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: PR2FRA01FT013.eop-fra01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR2P264MB0190 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