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 D6FBBC433EF for ; Mon, 28 Mar 2022 20:57:45 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F40C483F72; Mon, 28 Mar 2022 22:57:32 +0200 (CEST) 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="FrNeMB9N"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BA96D83C84; Mon, 28 Mar 2022 22:57:21 +0200 (CEST) Received: from FRA01-PR2-obe.outbound.protection.outlook.com (mail-pr2fra01on0626.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e18::626]) (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 F2C6783CDE for ; Mon, 28 Mar 2022 22:57:14 +0200 (CEST) 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=QjuisGwzopx+DRpimgLeIyJIF9UlYKYfwTOzY7y/2pc+jzKYVV0/9RqIxmcLHJPD/CYrugyY/Q6xgwBnCPJMBpvtiN+ZT5FzuPkF4jURTLddL6dDiAK9QFo1/UkBvAF82HJR1q5dVYOj+W8KoO8O2s4PBDZqgezk1/u67AEcoudddZUbV2/At0qOQgTjU+K4Jya865LJ2eR3EfnEXTXK+DFM5GtpTVKo8amec890PlPVcUGwqHlJGmGXQYWNhbq6HBksPMw1qL4mGvHjrw41H/gsFIOoT78Uz0xHSKh6LMr9mhM49fj/twAqF6iWYC05mIN+rhTaIG597gX+dA0Nvg== 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=G/awrfnBEBQbSkgsaCOtl9l4P8O5w44XtK/oZ/RvDhg=; b=BJ7YZH18O3Ci3JitYhukRGsR9BQ3B4dgjP7NIEVqqwJbbXaGEl1tVdW0x8WBnNOB1vCLYqTnI0pkMSJ03t/BANWcwTwsribM/m8njYBTDZ66pElkpWLALWUU2dbCOzqFRC+V5hegUxK6et85+m9xeXrfSKDDfJVFdwjY/5IIgBO1eAQIF9bpcoDBOpZPj/KHf7ibAgyZTuUMesl9jV/BF3KkOCrOm59FGsfqzMmP7gNL9KoFm0W6l64dhEe91NrsOOKNKqjpqDIzy3uK2Kakmts4PUG3ydtLE5HpLp2kr0nnLy5NKFrsGx1kg4cZrMPqeOQbPpzY03oJZGF2L6EloA== 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=G/awrfnBEBQbSkgsaCOtl9l4P8O5w44XtK/oZ/RvDhg=; b=FrNeMB9NBquHM5tkgkf1pP2qTGCYN7GUxa3ZSwlMcubsHJcnlU71DtmKUpsmapz8oSwpooITRyABz3OOhAmCGafTzFAOigS3nwUySSuCgCSdWKqgXoNsyDDL0HRHbk1yIcbxmkQSK8pw4jyku0vCCdCmzuTO+c7yP/yEHiYrNEPk44hb55KQauCuKqKWEWNken9Hn+VjGttN17zMgqSZsR1vHU2Ve26a6QeHZHfeZ7I2r3HAhFrf+15rBFZxNWZgQXz9BsIeo1QvtbZvzoNJJlcsHI9wZBABiYbe0mtWP+ug1f3u2WZisI9HPlRhiQ822VA8U+LjRtJWy0a+Qc1Bkg== Received: from AM6PR02CA0034.eurprd02.prod.outlook.com (2603:10a6:20b:6e::47) by MR1P264MB2404.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:35::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5102.16; Mon, 28 Mar 2022 20:57:12 +0000 Received: from PR2FRA01FT006.eop-fra01.prod.protection.outlook.com (2603:10a6:20b:6e:cafe::cc) by AM6PR02CA0034.outlook.office365.com (2603:10a6:20b:6e::47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5102.23 via Frontend Transport; Mon, 28 Mar 2022 20:57:12 +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 PR2FRA01FT006.mail.protection.outlook.com (10.152.48.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5102.17 via Frontend Transport; Mon, 28 Mar 2022 20:57:11 +0000 Received: from localhost.localdomain (unknown [192.168.72.32]) by proxy.softathome.com (Postfix) with ESMTPSA id 5FCEF20060; Mon, 28 Mar 2022 22:57:11 +0200 (CEST) From: Philippe Reynes To: sjg@chromium.org, rasmus.villemoes@prevas.dk Cc: u-boot@lists.denx.de, Philippe Reynes Subject: [PATCH v8 01/15] arch: Kconfig: imply BINMAN for SANDBOX Date: Mon, 28 Mar 2022 22:56:53 +0200 Message-Id: <20220328205707.348270-2-philippe.reynes@softathome.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220328205707.348270-1-philippe.reynes@softathome.com> References: <20220328205707.348270-1-philippe.reynes@softathome.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 5437de80-cfc6-4eb1-5bea-08da10fd87ee X-MS-TrafficTypeDiagnostic: MR1P264MB2404: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: q3+D8x8pGN0/cvnONg9n3C2Noer/PhTm2aWGuahl9CxWIRQbehN/wyvGyTCgUjtiGCNCqMvsgCR6iVvrTtUBYWYrN2WRNCu95leq2sPJZR5+lixDCjXnLdNLyZez0pqnjaxay7Jdk/iiDOL4n0GWSsjYyQVNjIPDh9ImN7M3q8USZZtcs0sHclYfgdvlRRNztU++CC3vNQJOYFBjCPj4J6R8BU6uZsie3PVwZW9aMGR8cV8HYpQR7eIFZJtncE/+ViimKF4aWbAq0JWvwJrvSC5Q0YcSne1baDvlXKjHtIKRbpVKyVBIr+jJ7xzKu9LR7CHEbd9PNZcCBgzVRe5TLBY0i/yu4qaup+OzgQBhdtKRJjjz6LzAP0I/GRQt9ITq1buDmIb9i7ZfHCZhOHyAgDskNj4HvsnpOFane4Kbf48vU4nAfvLPt++nnKgE5vzwTtjb7I/iPYHY7qitOCXbwkRA+J3zAdpNfTd7y0ciFFStSJaBjltu2wB9y/SqHNljhoKjRNlEKenrNT1GFiQM8ANqDZL263zg5v1U0QiV4H8CbUE6VECHeQRmrz/lr9zuYsK99CJMm4vBOntPqQfhVftFIbbp1V8G4IPU5xP66uDqul/H8XXLQ8cIYDmblKmJhg4GAdCL+f9hwcMrbXiMGyA3pX7Qzh7qOJ4OlSXyeWFW5jIYcGRKWp+pxR6n18XzpxqaiLYv0rwevh8akFbFuw== 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)(1076003)(107886003)(82310400004)(186003)(26005)(6266002)(508600001)(86362001)(6966003)(81166007)(82960400001)(356005)(70586007)(8676002)(4326008)(6666004)(70206006)(316002)(2616005)(40460700003)(36860700001)(83380400001)(47076005)(44832011)(336012)(8936002)(5660300002)(2906002)(426003)(36756003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: softathome.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Mar 2022 20:57:11.9193 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5437de80-cfc6-4eb1-5bea-08da10fd87ee 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: PR2FRA01FT006.eop-fra01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MR1P264MB2404 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.25.1