From patchwork Mon Aug 16 03:48:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 497633 Delivered-To: patch@linaro.org Received: by 2002:a02:cf8a:0:0:0:0:0 with SMTP id w10csp1500920jar; Sun, 15 Aug 2021 20:14:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxisOs0s/xpYo94GCmtw54KNjBTCkNUz67umeUBb9ZMigBMLwlT3kAyejnIazOpEeB1ouSD X-Received: by 2002:a05:6402:1a25:: with SMTP id be5mr17535110edb.303.1629083694593; Sun, 15 Aug 2021 20:14:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1629083694; cv=pass; d=google.com; s=arc-20160816; b=US8vBr6Fh6jd4/l87lLO2YqAGhtmFxWC/W1G1rLFiKh4p+KIFnF5T2xPuGmz1lhT7N p7Lq7KfRRjsnrvEql9SldUoDu9I3JQEN1ss6Hsaj23s/57IbXbCJ1zRhOF1PMiyeaQR8 qWVIyFr5GsiOYY4A7Ij4XKq1F8bjNtZnMH75CB/N/7GApbWI2JS1kFtPE1o2YImkQAf9 CYphptMGk+0Dy36HLwC1n+efa6Y4mU9r/eDsUEa8gRA0Iq+ceNlhmQpYOfzxaxlkAUxX rSWjBwD7hXiiYoRhn0LxbDStgZYNRIhmx3SxDx1r/4TWi3uQ/XY9M5ociaQfcmkawTn3 PJBw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version :content-transfer-encoding:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=Dr7RsrCNM5dOQ4KfQucmhTP3MKi8QP7hFU8HQuShrDg=; b=AsoJIRf9SOXglSi4W0cjtsysRV0B6fRhklcWvXZ7vcR7udsiQTzJ6y3PqkqZ8UFX90 NqFvz+FYqPHFTcv7Lk4MxoMZLwQZ3O0ZByfAa04bD8VnRkb99JvrXVsGKKIJkTZ+ivNe iFUsWmFTWrc8IX2l+1KkZdtJYqehUFnnSlI3sDL9lbbuOFtoQubu4t+vP25p7Hpmqxcy yy6kYRcdm8sHIdiwmKOTZutJvFkNz5k5WyqiGf5vO87xwNtfQl1KR5qsIvsg6E5D9UzE OzLfYYgnBjizlq5p3NPQfgEWnjiW0dz/jW0ckdJVd2l6IsWyi0Muuu/LaR0q8dc48sm/ LPsw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=fubGk3xT; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id ji2si9611777ejc.344.2021.08.15.20.14.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Aug 2021 20:14:54 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=fubGk3xT; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 81B3582EBD; Mon, 16 Aug 2021 05:14:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=oss.nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="fubGk3xT"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7D1BD82E8D; Mon, 16 Aug 2021 05:14:19 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FORGED_SPF_HELO,MSGID_FROM_MTA_HEADER,SPF_HELO_PASS autolearn=no autolearn_force=no version=3.4.2 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0624.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1f::624]) (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 2D71982E9E for ; Mon, 16 Aug 2021 05:14:11 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=oss.nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=peng.fan@oss.nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IaPDOAXhviJ2Eda3VarTMfV8jiEKc6T/T0uUEvqOBCyhVWlVv9R2r3eVEw7xmEC8kt32dVIqQbgJyxJ1JTGr+queZ4Hig4XymTc3BlFTgp5sHKsdLGPRJHLyno/pFHnZT9EgJlW3v/lX2qh55f8YnFJd0wk+fuf/xquYrOGBlA4ipiKzdqTn/irNq/VMHqkHo2ut/6/k9A71IVzIg2ruhv4c/6W07hpmWbr8M8jlBQx3mxx2XuMuiEvWTL4R2Qvgtup/FFp9Z3XtBpiTmEJhXzkCt9VKjH1uLGaqvRC9FC4uqzIA/A2hwx1YFAihCUtx6xO6nIewKCWx8c0pp5ZaxQ== 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-SenderADCheck; bh=Dr7RsrCNM5dOQ4KfQucmhTP3MKi8QP7hFU8HQuShrDg=; b=EWksf1Sh5FDIbsjy9kLgBqI8eHXoKRmPfhKpwfPi33FDb04jLt2eY29plwJiD3I3zDIyF/RwqCeIn6BRqApMGm7sTQ9Sqj6aCixN1FOciLcNTdVwlzSuk/HEM7vvQQ3QDgEzsy9pcllt1qFRmURfnHlbf1bvBAw7B8JcNfcGUgIeU1/71Srj713Mzh2NGMm/e47xeMFA+Jzrr+Apex7boFwwDmcx2yp0/JqLmkCqgB5ifN4xKfm6LhEDGM+eCBDsY3wtZ6WuAC5LZ/fM5qUe/5+aNe22EMb5BQ7lpF/p/cuse/r3lDM10D6zqRdIO9D4lDp0t2kYAPlWS/W7wb62vA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Dr7RsrCNM5dOQ4KfQucmhTP3MKi8QP7hFU8HQuShrDg=; b=fubGk3xTZSpIEDX6r/AsxQbDO8DvOedKCMv29/ggbNTNOVSkjMQczJdnXq8FrFtIgm8ynDinw9d4N7hsDaEfqL8Fc01w6jeUhBqmhkVo2SueU6z8ok3ZyR8t8FsWYFwwTeWYT8daruI4WkpExuqWo83uLOgTUennhfamc13M894= Authentication-Results: denx.de; dkim=none (message not signed) header.d=none; denx.de; dmarc=none action=none header.from=oss.nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB6PR04MB3125.eurprd04.prod.outlook.com (2603:10a6:6:11::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.16; Mon, 16 Aug 2021 03:14:09 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c445:d742:eb76:86dd]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c445:d742:eb76:86dd%9]) with mapi id 15.20.4415.023; Mon, 16 Aug 2021 03:14:09 +0000 From: "Peng Fan (OSS)" To: sbabic@denx.de, festevam@gmail.com Cc: u-boot@lists.denx.de, uboot-imx@nxp.com, Peng Fan Subject: [PATCH 3/7] imx: imx8mq_phanbell: switch to binman Date: Mon, 16 Aug 2021 11:48:43 +0800 Message-Id: <20210816034847.22767-3-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210816034847.22767-1-peng.fan@oss.nxp.com> References: <20210816034847.22767-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR01CA0095.apcprd01.prod.exchangelabs.com (2603:1096:3:15::21) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from linux-1xn6.ap.freescale.net (119.31.174.71) by SG2PR01CA0095.apcprd01.prod.exchangelabs.com (2603:1096:3:15::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.14 via Frontend Transport; Mon, 16 Aug 2021 03:14:07 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: acb36cea-78c7-493a-1cce-08d96063e9bb X-MS-TrafficTypeDiagnostic: DB6PR04MB3125: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:639; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ILyKByWVSn0Ws68F3iCfN49f6ND4jBgtMNSjbMORW55K9QVw1UUKaXy91EPM6htNs4DeVKOBJatHg51aZog6TUzb485axDFXfM+QCC8OgGhR1U2ToHkcBQMC6lN+PWH3U7oE+ROy39MtDvUnxa0NTypI4B4jZjBiPJs6LuQGr6LnvKqOhpII1W7DWzn61M9fEy4EuximfJh0/owUOMUYQzV9PyWNpg1YGaCXhlKvDWQOCQ5o8IrH7ijgplWB5gaguMxbQd2QRVyDdwXin03nzEwYQbSz5on5P8UNvd8OVqrZq6qV8DOR36IvQv4sF3bNfyuPjrMOfW/M9sOsLtiXffR491Qt+E1dbsdgwCMg8QmTBjzKjCvIJkgkpRevfMms/+eYA2MfpfgHJMZtfjkrxXKOR5q6qeJZ5B+jm9zq+3JltMsLLrYnPHvLPRHtDwDj2VyHc9iI6aSEdn43zWwYkSZBG1svXr23XKBlTrI6B24ouVNGWWukOpbknEPBxbZ0eXfoIvRwwd1XrsrUeUymgeRLck+umlAl9HmD7k51jvT3MVhStdsRrteKaSnk6LDSFwx51CKtu3XXdCo7d2zcHwGoX4GF44A7uEZQFTW09DNhphlhCtP6xIuuGLrMKqfVhg20Kt5jCQgg6NEA9vSVdW9FeqhgQoyB3lnNAuVlNaDVE0cWsU/KXESQUIQ/bHQckZeAICNmiONpEfp+mumrGA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0402MB2760.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(6486002)(186003)(4326008)(26005)(956004)(2616005)(5660300002)(316002)(6666004)(52116002)(2906002)(66946007)(86362001)(83380400001)(8936002)(508600001)(38100700002)(38350700002)(66556008)(6512007)(8676002)(6506007)(1076003)(66476007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: AiTojP2yxLBANDzAqKsSV/qJg4E7VK4isZTWSLLYJZ9YyQjY87f7Tp0fdW+B3rQogJzeb0usFQIzt93ELH2uFyqZlrxPhq4xcXgrSHgOgb5DJ5Ffi/of4eGLmCSZruqdvvpsFTN06F/1Ixg3/nySaxhBSBkj7jmJPCMhM+bWzzlJgDXB3gty33c93dmFo/HCXF7Vcb1Q535/MzzRp/MdbnSF+ygxh06KwHHmHih+d6xYly8Nb7RZEn7XH02R3pQMb7N4jwcrPankTbZyOf1FlquzHArQ6fk+tc4MoMFsqsNuyWTGDZvZcIGqG/SGXFzlWzyPZAr0ot2RgXjyL5giLBTIr4oSL+QVC6FOjHV1GAWZLmUpexLPG1NW7S34X2J5v4NRC+bxTLGJ7CAgBf9hBRmT/Mlz7eJR4GuCZhgRQcoFXwne9MvieUhIjnHNT01i2Z6NOtOLqT/QQskYRkkpfT0Zku7Z8Z0g0VpnbN3GkavitZAWsViOb6aZPn6bkJZZx1ye5lBVxJSa4kJ39tQLhvP1pdWnRaYFrhPwQcWtreRJ0vrGQnfH6OKrqHGV2Wo4ozbX9BwhjqQWniCXqj32VkG8H3VE2MQUohVc9G8ZcbrcmmhCN0qlxXEldcAhj2muWPW72ovSTbpoQd/AZpOiP8+g71V8GHmXQT1PX7Gin/WLrXrzj02uBbVSGy8zOIZSFrk1o9d2KCOreZjTX6FaZ0lcFYMvR01aogmr7EgMhrW2TLYr4bzG1ozJS76eSRXcZFnKJutO3Vsb5H56NKuocsLzmSaxF2TbSW9WAMmW/CBSulvdblWlLqVEDRh34KSuEULFEjDvVv0GVtZDI7ltAChuJmYvj79e5VhadGFuj9bXbqoY5c+pG4SD8uIu+ihmFSDOOMx7zbAqfFLAvQc6TyhNhltRXfyvRp0aP9MdqTsKEfBIWZqhd2ScLeoKXl4+MRcS0ASzCeuP+sK6xCICtfBehZgNeInbZjgbWDsQFwEeLtoRWOov3DTESe1iXdCfuS3J9YkfbqIg0S0y12b0HCRgAIn30UR2Gm8aNHF/YGj2hDmUj9F43Tz+EGHsyRUV/J/Hi8wg7F03FNM4qXOgkYbVh2nvQa8fSpYjH24XaIBsXeidydPlCvFsjMfOklkHGPM+DHDc4Bg3aFE9HucCq5VtAF+wK9tbzr4RV8ck4MVp9yczKFUTDx/b27T6fsljp+bd0qtsCuUOqyfkb6VcNFYHbHdwQcwBbX6mxoZLXwA9S3WrjZ3ZXRL6Cs+EYGA0sfm0mdqddF1stcURWtnzoIbrcEFYrBX6fdWMa49ru4kPjBZixBtJTRKasCc0mvcl X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: acb36cea-78c7-493a-1cce-08d96063e9bb X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Aug 2021 03:14:09.0847 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: j/X4GOFGptjdHwg082WXEuvE8TDoxd1DB+NF86JJ/HdGY4mJ7q0TV7OYjepuc8NsFMxJJeHsO2Ws9CKMv3qeqg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR04MB3125 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean From: Peng Fan Switch to binman to pack images Signed-off-by: Peng Fan --- arch/arm/dts/imx8mq-phanbell-u-boot.dtsi | 2 ++ arch/arm/mach-imx/imx8m/Kconfig | 7 ++++--- board/google/imx8mq_phanbell/imximage.cfg | 11 +++++++++++ configs/imx8mq_phanbell_defconfig | 4 ++-- 4 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 board/google/imx8mq_phanbell/imximage.cfg -- 2.30.0 diff --git a/arch/arm/dts/imx8mq-phanbell-u-boot.dtsi b/arch/arm/dts/imx8mq-phanbell-u-boot.dtsi index 4712cf6a44..a65a942ee7 100644 --- a/arch/arm/dts/imx8mq-phanbell-u-boot.dtsi +++ b/arch/arm/dts/imx8mq-phanbell-u-boot.dtsi @@ -1,5 +1,7 @@ // SPDX-License-Identifier: (GPL-2.0 OR MIT) +#include "imx8mq-u-boot.dtsi" + ®_usdhc2_vmmc { u-boot,off-on-delay-us = <20000>; }; diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach-imx/imx8m/Kconfig index ef3e4b209f..16c950fcfe 100644 --- a/arch/arm/mach-imx/imx8m/Kconfig +++ b/arch/arm/mach-imx/imx8m/Kconfig @@ -41,9 +41,10 @@ config TARGET_IMX8MQ_EVK select IMX8M_LPDDR4 config TARGET_IMX8MQ_PHANBELL - bool "imx8mq_phanbell" - select IMX8MQ - select IMX8M_LPDDR4 + bool "imx8mq_phanbell" + select BINMAN + select IMX8MQ + select IMX8M_LPDDR4 config TARGET_IMX8MM_EVK bool "imx8mm LPDDR4 EVK board" diff --git a/board/google/imx8mq_phanbell/imximage.cfg b/board/google/imx8mq_phanbell/imximage.cfg new file mode 100644 index 0000000000..74f12b30d2 --- /dev/null +++ b/board/google/imx8mq_phanbell/imximage.cfg @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright 2021 NXP + */ + +#define __ASSEMBLY__ + +FIT +BOOT_FROM sd +SIGNED_HDMI signed_hdmi.bin +LOADER mkimage.flash.mkimage 0x7e1000 diff --git a/configs/imx8mq_phanbell_defconfig b/configs/imx8mq_phanbell_defconfig index 3a1b60b8a3..c14a667955 100644 --- a/configs/imx8mq_phanbell_defconfig +++ b/configs/imx8mq_phanbell_defconfig @@ -13,8 +13,8 @@ CONFIG_SPL=y CONFIG_FIT=y CONFIG_FIT_EXTERNAL_OFFSET=0x3000 CONFIG_SPL_LOAD_FIT=y -CONFIG_SPL_FIT_GENERATOR="arch/arm/mach-imx/mkimage_fit_atf.sh" -CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/imx8m/imximage.cfg" +# CONFIG_USE_SPL_FIT_GENERATOR is not set +CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/google/imx8mq_phanbell/imximage.cfg" CONFIG_SD_BOOT=y CONFIG_BOARD_EARLY_INIT_F=y CONFIG_SPL_BOARD_INIT=y