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 6442DC433F5 for ; Wed, 9 Feb 2022 18:01:55 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 35DF783ED8; Wed, 9 Feb 2022 19:01:52 +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="lIhnOTFa"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B7B9283ED4; Wed, 9 Feb 2022 19:01:49 +0100 (CET) Received: from FRA01-PR2-obe.outbound.protection.outlook.com (mail-pr2fra01on062c.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e18::62c]) (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 364B483A37 for ; Wed, 9 Feb 2022 19:01:46 +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=A3zAhrlYW0DAi4WpSoeeeG31dQRuqNQiXhKMaCkBPIcG24s+iBFA1ke/bgfKfyAcWhOamYIdriWL2IzmMDfHN1q788JgjPA2CcCmhDfGxYYAFTBqnDCqbdRCMlFegf68UgVNrWtAAb4LSE8kaK8RsXyqkVEsXSjNi9wqE2eHQBMsA+Yf9iGL7B+M1McZ8J5R9hbTiGnZACLKpFUFB/Ab8n5SuG9DVnsdKe9STKP2ei9mhGigc6pA3xehlj9EFm2upuPbW4RykyWRDFedCFEDzLwMVfK/ZolonKtQiQ/e54/9+KeMJMeFjvSy+E3F7iM3I9lCLXXh+rTODYGXDuC2lA== 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=ZrRKLb58iRjV59jFSjTUMPYv5M4yM/ICE+JT6s1HF6U=; b=JHXFa195TPaztgOgJAdqcx39D+nqWS4T4RNoOq4i01hZMLf+CwniyzCsWGxr9PDDg1zmXPR2X55mv1G5nZZfwmjjZrDrklwBIOmQMTv7ONHlXugRjesxmqvp4VBhtSavNcYKTXVSzTc+5zBL1RCNRLEkfWVDg0OsYVso4YmD2hUbo6Q4Rk1lgFyhlf9YiIjbrCqF8uSqLPfrK0TixnXJVQ2DxNwwIlP2Ez+q7RuHXfXpUOVERV+0PCONvfXEE8YOodT/2QjaSzJRnVOihNDHDbiPq19JRYcGbEUSzlS0igAFKcpG0d/9bPmGI0N4q0Gb/3zHekIBny9AKHunkRvnSQ== 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=ZrRKLb58iRjV59jFSjTUMPYv5M4yM/ICE+JT6s1HF6U=; b=lIhnOTFahJz+EgOSAo0zCa4rIpKQNoCSDsK9+u73CAUDEQeEvbbHlor0MFSaD2+qQnpZjdMszTF8wwrO5xiAiKUQXNc3SkwbEd0nnqxb7e843byMOGrfP7GLx8+KiRTj/K+bLGLxDJHXubpmOtTXR15nfRHLd8DZC2sfGh9ZOcIY+QQ6gIGMIKAEBaSt9yIsABpE9vvvl2ATiCz1AqDdiZImuz7cdiQCaivJrILomXZQIHvc1m0lfPcq7WWD+JUnVgG3yFGy7GozL/nwLKymdGa2fCdtC6MIsqfj/vlXFjTcZsHJeOMlcHipFMC4diqFESZ0QlgR4IGJB4CXA4oHfQ== Received: from PR2PR09CA0011.eurprd09.prod.outlook.com (2603:10a6:101:16::23) by PR0P264MB3340.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:144::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.12; Wed, 9 Feb 2022 18:01:44 +0000 Received: from PR2FRA01FT003.eop-fra01.prod.protection.outlook.com (2603:10a6:101:16:cafe::df) by PR2PR09CA0011.outlook.office365.com (2603:10a6:101:16::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4975.11 via Frontend Transport; Wed, 9 Feb 2022 18:01:44 +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 PR2FRA01FT003.mail.protection.outlook.com (10.152.48.96) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4975.11 via Frontend Transport; Wed, 9 Feb 2022 18:01:44 +0000 Received: from sah1lpt571.softathome.com (unknown [192.168.75.67]) by proxy.softathome.com (Postfix) with ESMTPSA id 2F0891FFC7; Wed, 9 Feb 2022 19:01:44 +0100 (CET) From: Philippe Reynes To: sjg@chromium.org, rasmus.villemoes@prevas.dk Cc: u-boot@lists.denx.de, Philippe Reynes Subject: [PATCH v5 01/16] arch: Kconfig: imply BINMAN for SANDBOX Date: Wed, 9 Feb 2022 19:01:13 +0100 Message-Id: <20220209180128.10655-2-philippe.reynes@softathome.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220209180128.10655-1-philippe.reynes@softathome.com> References: <20220209180128.10655-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: d3999672-86eb-4974-376d-08d9ebf63b95 X-MS-TrafficTypeDiagnostic: PR0P264MB3340:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1186; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: W8c+a9IMPIjg62bMwgv9/WxJUa8xuSF+yRGXUNT6Pyz9C/dGXbSWrg3m7ZgE9L2UQknylNING6yP1R/O/jL9lCJByIOlRMEmbtrvjUFHc3t0LLQ2+/tdlom56E31WEeL5WYsXNLNtvJrpbopdm6/ybWCjodcKudQOiW8ftHnnNrNSGYH8deWxZS557gL8gi8Z4dakek0s6BF/4ydaUj5uL079n+Ov9XIfCy7JNIieWmkRV0KG2ly3pj5phjgL8ED8XzNVd9auspl93+GxN4mH6BV4wwhNXxQshIfSKO6GSGvyp5qpSdKs02pbrv2svuGDcQr11LkxEVNCq3qqY/Hspp5CjikCC4lsR3OTttqsglTxYJe/ffnJuxGXlm0wTRmNuFtTRrxeCV2Vku1Ic2t1HSOzBFbYbGx5D1EiF48u5CweTJiPsTsDcFbFLZKNL6iDSgv8HV2lqS8qg9lJHISVf84ZaNZ+V4NbxZrKRTwPMrEgae5b3X8ltOrUFwbYEDWAJ9N4ZoJq7toFC9kaYbKUWB3HXurfA3vL6Gym+7zsHWTGy0rTmO48IFjMhLirMioIuwn+1bRgm6jmAFW2Yp66GSjXbcg5sVSLFjxbu0hL28leic87UcOCVi5ztgJ30atM4ByT9YfYWKe/Bn/n0WYAGS0NOXG9L6FKGMLaFXIJJ6WVX5nrBBgtb/+ewS1xxCzsaADhDi4Sy+4edDzPZtMpA== 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)(46966006)(36840700001)(40470700004)(36860700001)(336012)(26005)(426003)(47076005)(508600001)(107886003)(316002)(7696005)(6966003)(40460700003)(5660300002)(2906002)(81166007)(356005)(8936002)(36756003)(82310400004)(8676002)(1076003)(4326008)(2616005)(6666004)(186003)(44832011)(6266002)(86362001)(83380400001)(70206006)(82960400001)(70586007)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: softathome.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Feb 2022 18:01:44.3283 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d3999672-86eb-4974-376d-08d9ebf63b95 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: PR2FRA01FT003.eop-fra01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR0P264MB3340 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 BINMAN on sandbox, the config SANDBOX imply BINMAN. 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