From patchwork Mon Aug 16 03:48:41 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: 497631 Delivered-To: patch@linaro.org Received: by 2002:a02:cf8a:0:0:0:0:0 with SMTP id w10csp1500614jar; Sun, 15 Aug 2021 20:14:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxO+IOmhSypSnwvHt70sqUpnaUw7yxVt8tk52QF/Gg+8ptCAjW3C0EMiIWRLdv3/LUnsFgS X-Received: by 2002:a17:906:1412:: with SMTP id p18mr13738245ejc.545.1629083667135; Sun, 15 Aug 2021 20:14:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1629083667; cv=pass; d=google.com; s=arc-20160816; b=c0EXkZWtDxqYr3KXdn6vayK+taWehveB/V4UZSe/UmyV3cqywHssGfHeIt6KEHc3Sb uJLci+L/OdkXkir6B65rntmOWOgCRrTdVkHiafDDD/aq/V08cMmk2B8LkWCuW0wC5C/2 /9H5OcRZ6C1p3j9W3ad2OASxZxZD7ilT12nT7hYqgtL+jvLvcxwXsbI+TbDEqeOLwe7R LFbtQL2c+j+2smXaTBAil+i/S5tGbAMT+77vbrQX2wUxhJiE00EM1zQ1v4jxcB24Aeoe D5mt00wUPnAoAPHrrB2QI3UCp6Xdvzueo7XOH2+RMSO3YCowsiJBKczMKhgyvu9el3BD BH4Q== 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:message-id:date:subject:cc:to:from :dkim-signature; bh=4zLc15YMomADS+XF7kjYA1RmlkXo4hCKFVubOcvhebU=; b=rQaza2vSxJJOLrUAant5PZv3OoCca23X2CrzpnLHkZn9Hya7+g8Hhs7Ak2g2xktMCl uqmMTNJGa+NEL29YJftd//KayeHQP9IJ3aRRKeJAfVDHuuwvfNLHdEBLCwrrEyZYavH5 RAbtjA32QBTWgz4M+DF1zSy8NBLDXHKR1JsO0Mct5HcHZ5P5cct6Y85d2LB+qkTi/RIr t0LbaZBfMuzsqRCTTE8UX9Paz+BFGQY8UO7PJACoi0ErV5cC5tZTMcA04skWzUhJQvQT tNFPR/kT4EMtbDnJiuKbSJMCupKwJ3PzhJFs7GmrN31lclrumU3TxQu9XKTzet1wUoga 5dYQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=Z7yikkRN; 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 2a01:238:438b:c500:173d:9f52:ddab:ee01 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. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id z66si10342234ede.4.2021.08.15.20.14.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Aug 2021 20:14:27 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=Z7yikkRN; 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 2a01:238:438b:c500:173d:9f52:ddab:ee01 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 19C0582EA8; Mon, 16 Aug 2021 05:14:22 +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="Z7yikkRN"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D1AF482ECD; Mon, 16 Aug 2021 05:14:18 +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 003A382EA1 for ; Mon, 16 Aug 2021 05:14:10 +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=al8eBjuaLJERu2hQIQk5ZK+RMFfgtE9SWCoFCon1+XOpwkpY1X58AzL2h9EmzaanEoyuqbmiJ5EcTPz++oTF4GhIGeHQjkQWStVJZJFr5zHXQzvadNohCWFNDQHF1DK5pvxr6D8G8iTkwZhbAE3dIep/GS8D5vgVaf8jWBUNsKmb4zrz0UubWV8jHxfYlxTqSvar3+BZJfW2O1iQ8BLuyKHeOoM9mTy+q940y6afbgaXRxTGUQaNSslm4Wf62h0S6eTfXC3qCJAzOnY9ARJK/o9Y9pHn4p6Vd5YcPVd/is0wWeDWrqF+sRYH8z9vNt6mHYsy4hMa0iPN4RIZSfn6RQ== 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=4zLc15YMomADS+XF7kjYA1RmlkXo4hCKFVubOcvhebU=; b=D2CqBMh4rQSEF/1qYKUldJI6bAkNuJafVhTZ9kTwWiWwSGteqfXh+BhSEo42q1kuoQFq3F/zmcj8PW75SEwFRwVltyVQ+utj7WjnSZORn36xmc8yu6gGydq9pOGTuM47dQTdy1S774RGDwlpiB8Penq7oiFVwhowwC5kVXmYu0Z3rqA8gT/Yf/DL7iznnczZzsMEMAOI7yOk2uwQjjPceEn153eY9lxHUCbntX/rr/dGwazUnGHVdgWq8CuKV80iAEapP9FL/rRlDbu6JZbe0b4Ox7kKpF5bPv7m4lZgDXc6IqjSPH/Yv+vpeLF4WrN6BsKfn6+sWwGJEDZ3FSdoqw== 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=4zLc15YMomADS+XF7kjYA1RmlkXo4hCKFVubOcvhebU=; b=Z7yikkRNpaGwXEbujXk5Ml+pgcUQ+YqgxIe+8MjT0K3QufbWaD4YEM2FoDaJVCCpeayjf6daIZGHN3h6k70AR2uwY7FmYSo8M1DadDcrgUg6uIAyFJufF+hqWU3iqA7ekBeIAifF+gPdURsscgenFC4cs5r9TGNUo9bk/2Eumss= 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:07 +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:01 +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 1/7] tools: imx8mimage: not abort when mmap fail Date: Mon, 16 Aug 2021 11:48:41 +0800 Message-Id: <20210816034847.22767-1-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 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:13:59 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e4a052f9-3b77-4ca7-beef-08d96063e54d 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:138; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ImUkjxrl/XLRmp2k/P+bPchUJeYwIcmms5S/duqXy4t7V5OggPRHdqIXqJUspXFt1D4W8x0nXpIeIu4rEAPwRHyPTfIsOPCzkWlhe0dnZJuoix7cOPcx1V/gNMNhmp/VE8SfZkCPiKIwYdLaGZ9Z/t/HLrP14Af9KjIVk0CHj+ApWZcOVY2TrV1auJWu0JEOJ6JK7zsMRlL+vYcl5NPREP8blDUi9X5KWnqArCRciARov2J0FWsagOZ+qVAp2iFXmVeWXOada1mh0hQL9HPab/a+nUQFvkEgBP0c1KrKVz7BrLYeglRvjrF4S29bP7KBeubE/ZiKzfUG3K053EGYLy85xYlbGEhBpQmh+s6uGPCPhfU6khQO9A9lzXFhwN+0EVuV/uqQGZ4TGtgcfv2+TYMQehOc+tUx7eD3kubj0glCIjqq8FcJFI22KS5YST7gUFD2klJ0qX9+ICMyPC9IqMOiX7HeQquVdMxYF6tVQBb73Wjy2SusUt+zQtUNoStZe5W33CVXdCoScwDl1c9md7wOLRieetIKEJf4+WFPsZAoyFP4eDEHA1ady5GdYZv5AMjf69wvdiOlQ5B2LsYU6FuiNuXv+WohE/n9wlPuUp+xShDdGoyy0bitTbUS6zYPhEhBsrvfi1XiuiEfipnsjup0+LrIkH2bf+4Mw03Euc1L1oKoTOT0oUY19OVsJD7V5n/1oW0KlGw/vVedlvq3TBs/w23cUiK+rBiT7zsM1hw= 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)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Th6bxdarj2P93UGN59dwa45ThcsfCT0n0wAfFasDVI+GzggBuCSj++DhLBpx9lF+OjQVTx3qrSbTZwZQ5Vc/KGG0w1sVqu6R8PlFLf3j66276g52bSn6H9cKsDFgyo9Ky6xqc7NKfuwLGjMkCqVTpCSr8BxV7fEzZRXlKuou1FfPl7zPI3X8O1tTBI0tAYWXWL2bJNmojk9J3II8IYvTGJ5AsQM+PfXgfPsdrux50PqikZP1rCkQSUZeZYDPn4aYsLAj1c3PDLngvwgE98ex50wVFQr3i3aRe6/XVun6x8QcpC7yy7iUwYpR4yuUIuG1NHrHMIQrqG8P6icUcnBZZgCzh5TfsV0sWIcOPRaZyjgG55niIvMRULWteyN+alEJtEWalcOerJgjO2Iylm8sFTzLBM954HEKbNV/GE7llNo/9zzkLGRc5QDLe0VM/sHK57H/2MTJqk/eliqGy9x8z2l27TEi3XONnWH2iL5MYuIcKUwjoK3oUuUJ00WX9o4d8dl9zidC6l4HEeD0D2R7t3KQQxkV9o5YKDRrwd6evt8yhnJf3BenplVgSshQPNTMJ+sJ6HaNvdzAlwVTIhVQSefyMyINhULhTz0NMCnW/sfLrdN5ab9HVx/sNU0fQBvLrHDopNbegDOv8K0J3gCHfFmoftmUYBxoUfsXafxJZlLOnt0EF6WLMqCuHMAqCbnre6OHl213O0v59XWvT9sgsosZfMf9HyR8pz4RcUwuNh3RrYdLeLr5SxB0mcjqF7ePiooqG5JKmDTsg/9hjRP5/I8cKRzFthXLMnCdphEVuSdCGYjhym2Lkuknb0lnq2f1z9/hW8B3gN3fm6AccMSXBiC0d27kbtXyjAn+dZ9fLpJdwX60+CQyLwR1gX6OV/VmIc4Wt67PhJmF338/y3Mwjuy/uGcsRVfpEmMswOCxixirdHoWlN0Nt99TlEtjTk8a4SIFRmgeV4NxwggE8G2tc/qEJv1wd8sHR+rEyAMpl8+VoD3BHb6ivg9Dze3uVfl8Uly6dT1dTb21MNPTzkX5QIlHyHrAGcVoXsKzpMtV4tX8XC7gePExe3E9dwYYrfjhKvuG64bN3ZNoPuOqWMm3EodO0D+PRKeRHCEl+R6CjP2RD09lIIlalpuzRNBUv0T/12AObTCaylelLuJZZUtzjX3VnZxRasWWPDEnJ6QtStEFYFFBOhXg6cg5vUtyiUq7W/+pJgzeRl8nDv0fKv6EEjb5sGEGQbMR9u8JZqUPUEnyR6UBm0BO4XKlqAhM1wFNHZ2gQbIROkcFChpU76PWLZkUrzgI1F81gkcU84sdfNcyfj6DlR41WrYqslsOCwZ3 X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e4a052f9-3b77-4ca7-beef-08d96063e54d 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:01.8190 (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: 6rUC2mANgLcJoh6Tf/5V5CylThHb5h9kGPHgY/1xNxBcznfWfT8jn/XNNjicRT/NUCv+ARy6xzwOgbitX2+bsg== 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 When creating flash.bin, the hdmi firmware might not be copied to U-Boot source tree. Then mkimage will fail. However we are switching to binman, binman will show the message if the file not there, and create empty file per i.MX8MQ binman node. So we not fail mkimage here othersize CI will fail if hdmi firmware not copied here. Signed-off-by: Peng Fan --- tools/imx8mimage.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.30.0 diff --git a/tools/imx8mimage.c b/tools/imx8mimage.c index 11e40ccd94..4eed683396 100644 --- a/tools/imx8mimage.c +++ b/tools/imx8mimage.c @@ -271,7 +271,7 @@ static void copy_file(int ifd, const char *datafile, int pad, int offset, if (ptr == MAP_FAILED) { fprintf(stderr, "Can't read %s: %s\n", datafile, strerror(errno)); - exit(EXIT_FAILURE); + goto err_mmap; } size = sbuf.st_size - datafile_offset; @@ -311,6 +311,7 @@ static void copy_file(int ifd, const char *datafile, int pad, int offset, } munmap((void *)ptr, sbuf.st_size); +err_mmap: close(dfd); } From patchwork Mon Aug 16 03:48:42 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: 497632 Delivered-To: patch@linaro.org Received: by 2002:a02:cf8a:0:0:0:0:0 with SMTP id w10csp1500768jar; Sun, 15 Aug 2021 20:14:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylpaljNNpHHZASa9kbP8zvdYzfATlnVEhz/qfuLBlos6UaoAWiFjnz/fqQH1o3z6nhRRXz X-Received: by 2002:a17:906:919:: with SMTP id i25mr13363895ejd.171.1629083680657; Sun, 15 Aug 2021 20:14:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1629083680; cv=pass; d=google.com; s=arc-20160816; b=JfsFXjtFAvI5pJa6JQUD1gKMNGLnIqNH/XKxL6Aa8d8fLEo76yCxfwobES8DXQV0bg 3FH9yVZQVTWSqavEZ/BzOkRkivXlvj4QIzDswKrRJOz9t8YXalG1trPeLMMa9BNQ1vGT /ZqwwSZZ5AGyObR//aEkishrr+arCkbo/W6cowtT9GKQ1dzls/bwSbA6HU22TyqnstFb iNMIAOd+URdoG4aFnLj1Dkw4Wezc9SpPWICmeiCCeWGkvsjcp2Tv8tz8LCvoXWQUc7DN 4rynz0F8XeFv5gNkVeDDtfWx81XRAfFzIUEsiRO8PSnpFVxE6I/4jlq9QWovdRYC32lZ dVjw== 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=OrGLjFga0/5HksKa83ZQCygHBG8cEuxylPfApTWP1Hc=; b=OzpAWYdsAS0EJtKWAuE2P+zRZpiMw1h9gZHhGD8sxHmC5AiUmySXJ3ahnkvaxsMelQ KyMSCE78RY8AEGtJkmSCDQwyTABElVjRXnIaVj6lqh9ChmNnoIj/qrjrtLKXuk2ItROh vrcUa9h5Vd+voZ91ZR6xFcmE3aBZh7Vgu6m/QfDK0tyoGFIRJM1OeA9pFzgEPEgKXch3 RA+kDgpkHkrcnISUN1RVnMcNG37zXpSE40ixgJQfGRT9HaGfDM4KcE1nqqbmAvWEPrtv r2L+Xk+EdCiMA9/8kiWAKB18zdYcjXGquXgeTL2wnG1PEZy5ktAfHOZzwBtqQpyo0FSy J12g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=YfwJWxqk; 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 2a01:238:438b:c500:173d:9f52:ddab:ee01 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. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id a26si9326435edx.591.2021.08.15.20.14.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Aug 2021 20:14:40 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=YfwJWxqk; 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 2a01:238:438b:c500:173d:9f52:ddab:ee01 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 4D62582E4C; Mon, 16 Aug 2021 05:14:27 +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="YfwJWxqk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4A43782EA8; 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 AECB282E85 for ; Mon, 16 Aug 2021 05:14:10 +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=cW8GIuiC3w9BJ+lNT05lW3MCMo0grrEREaMQ8vKk+eRxwau7k1+nhceIgkROfcJ4T82q/OacXVSzJ4cCJ3vMt/vFa4VF8BXEyv/mWs9ytns02L06B9+CYuYmG12BADDkaLTAf+DOSAiWpm7eSzwpOBY/AlgLPw+3Z14CxQmRtIcqCCIeCPTYgBaMfsxAi0mmkM79u1K0CCf821Ka+b8Yu6qmWzH7xpUh/WxX/1xW6Zd9X3lWrwNl0of1qE4Mp4jUZpXZ56fMOk3/YxqGoTAImAFKxeD0G+NLZ16qmb15RUQKBi1wLqn2M52PfC5DA6pkURATBDA5Z7jm8if91t0PdQ== 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=OrGLjFga0/5HksKa83ZQCygHBG8cEuxylPfApTWP1Hc=; b=ZIQtdJBCxxg7zXkegwYEBxEEMAIJNQMyNxSxWRVRq42RqNKFFu7DzPgf5fLTb5IcEu5/SuTWNx22EhMdoBUlfJ/90BVWkn2fUGZZO8zCPsc+fQG0C9PRkO8U7qoCS+4Cos0udaMFGW2wJzgYcJNZasM+7ElQnPyV/x6eFWetw89uC56eVDK2xKpTzxj1MOAda/JvlYr5uzB2aZok7/CLRet/VaLuqZfmTDTb49RHb2rUg9XI3FgQIVnOTNjRyXe47chu0735fAOEPwHmQUpJz4Mt3l2vZUvM8ld7/1XDgINeXLOroSMiCK58Sr+WwQwVBiE+jLnp1hI1ZqsIs7NiCg== 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=OrGLjFga0/5HksKa83ZQCygHBG8cEuxylPfApTWP1Hc=; b=YfwJWxqkCRRz+lY9tbYzQbOKUCISU4j3Lp6Byr3RKW2vuoh9f6ILn+s8KWMnOP1ex729/V0QdjlxHSuNaKEGLzjsrQ8/9Z8/X80O0yzOTXbqlRQEtl01lhkZMd70dyrniyeRiuhAhHxyGLd9MoYuAjEuHTXCH0/NcNcCiJptXcg= 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:08 +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:08 +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 2/7] imx: imx8mq_evk: switch to binman Date: Mon, 16 Aug 2021 11:48:42 +0800 Message-Id: <20210816034847.22767-2-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:04 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 858d9575-5532-4b79-cc61-08d96063e83f 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:107; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /uWAWpynHnEn5TFS6LQ4Py1Q6l65i5tHl7tChBUXc9Vdryn19aHI1Z6a8eRfepjCgkadm3+lQ0aItGtErkVH66PhKoIfxMMLWuHJTJHwhQnpB3rPXclt8/PE0d1+b6WcBXepx1dv++n4cwyEqIwQNE3qGIjG6FURBEkPqgiXm5ZtNyWzSoJ8bGZJ7NtmYhzmhUsYDIj8iHN4+lU9L919b/k8Vz+uOCw41HNXqBHViY02abXwCn6eIr0kPGNgIR1ujE52UaDvj9vJ0uUFB435dfdkk0PJrArqQ5aWA8PEjj3dWN17vdGPAQYdb8/Wepg18+u/ECkUS52OgPdflWu6WnHcNVuIJfRQFj4p1KjZ7cnd1ZIcsPLcTWZuGEU0/2Oyc8sDgcRdHAnEoza8a/BCmGG/MEuNufvE99rKsaQpkJvCEyPW6X8B/ZxousliyNPQVz1ne9b1rfS1R1R1V0lalUG0eqdKu8wCUn7UupQxw23wat7YJoCl8HRnz/loi1bOIqfPUGV32d78X9ntzl7t6yHoqivyamLAa1fnZsfvDjmn8bBPf+gR0b/+FBNb5VE3cDP/32MwpbWnQIMRJSK0XnsgVbcgJi9eQz0ePTmyPZIFpOV4d47xQxhW7xJk3B4IdtiLYZzOTJPWYN1auIj3q3a7zmeyPWX7bjoSgIKUGs1XmT6QOgN9kauj6Aw9TDF+GBmiuz/l1SmH1hOzSKE3ag== 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: B1lkV5Rh92Git3Of2c3scxroKZ/IjDCyFIihyIf5FImgm+QHHeWMw1CWMMzZV0YmqS9/CgAiP8XA8488Oe2e1b5ODgzCTu5oiyTwlNdRLhwdNS4NroqTrpc06zjUJCDeGPUQS5KdeDbrcqqGzebpeobZdl2PL24D716SK2gkyPsntYf3e09sf+MuMUSRn5qRFsFknFjhMOlF5tjn/6wBgKgFNUFWHXFPkwMHfFInQQKaloUkeBd4Sq/FLyVCqeCh0tkxJJRnC7wkxrPW3aNxLus+/6Ckgwo5onqaUQivwnEe284XcKF5bwAGaZV6fjrwPBFfp7GSWiVgHtEtkZncpRU5EHvxlad3p2swYCC+Dn81zSIaB/I2LKmJer93vNhgeBgM25lpVZ2/Xnck0pn3o7w9qrZNLw6YnBnThqRARzK4Kq0PTMDP6yRP6SqP2fJoaxJGrPT3UolSVZ4R6ss2zDquB1OyOoSFnnyC/0QTZqZq5W/KtTGHbo8eJH3e17lomIywRHlh4OEJmDlQBqFeFQMOUdmd1KoZE14zX1mNYpuTfsqEPbgNnMG5ngX+5ZMdVikiI93L0mxwJo73WLW7hqZjJ2Gf5G7RDYJIthHoaJZaWzTPfHtffikKKEdTi7w8qrnI4tHJd712btNTDWVSv6wm3kheBrQ/EATKS0LdR6D9SGV9JDV3MvKEwqDGp6ARI4HhMuWQn6JAPrBpUqUpnNOCgmWDT8ekrq9jmctHLjLm8FurDboysch4QvB9Jf3Sz8/kWa9GeffCBt2AZnd+r4A7nQ+QZ2NZivm//WsfAWrasNOtmEcYQIImc5QHvNqH0V1qBL7Tjgygr/28wtK9hMhRtBfCrHc2Jzi/TbyePK0lV6EPF3ElpuBEULKMevkejncgrgQXprStaBLqEQlX1dVuK1/DuBg1Oe01UzMTBuLUEsW06r5kG7KMj+ZNpSoRZybLKzWsb6GkIB4s9p8tWm4xapmDI71v2JyegtWs0dy7mfsFtCAZbktdCIsvwmMsqDT8C69l0VFkS8Irj6/fxUqNOFAD+9eX6dZa7sXjzJvr07eaUTdgxtSOvHAx2ky5IGvkmzhnBaXzsL4qoy9jcVcfl/ZyxH1NIFpbhIpEABfd6zVcyBWzR6GMIT0vsYKEJJ7h5C67O2zTvDAzXl5puKMIagVrPRHeRqPO36aJC+LI7DOFE1cclBt2Yg8n5zse+/4vqfqQUVduIkaTnMn/8G0kTXB73g5gytwKdk8P2ClkMclf0CTlJvbk/49QLahriV9K8fTRBq6tHG9abuxymxGPBbWR02JoU09dVd7wBlkqSh8HFf6ifv8Bd388EbYW X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 858d9575-5532-4b79-cc61-08d96063e83f 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:06.6598 (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: 6Wx09NBnUGk7plrUJJM7gWJk0fcKui0t7NG6IBQKPV3ouQokHZGyizFqizlWZdmvlHmSQqWuUdD5d8H55l2p1g== 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 use binman to pack images Signed-off-by: Peng Fan --- arch/arm/dts/imx8mq-evk-u-boot.dtsi | 2 + arch/arm/dts/imx8mq-u-boot.dtsi | 122 ++++++++++++++++++++++++ arch/arm/mach-imx/imx8m/Kconfig | 1 + board/freescale/imx8mq_evk/imximage.cfg | 11 +++ configs/imx8mq_evk_defconfig | 4 +- 5 files changed, 138 insertions(+), 2 deletions(-) create mode 100644 arch/arm/dts/imx8mq-u-boot.dtsi create mode 100644 board/freescale/imx8mq_evk/imximage.cfg -- 2.30.0 diff --git a/arch/arm/dts/imx8mq-evk-u-boot.dtsi b/arch/arm/dts/imx8mq-evk-u-boot.dtsi index 2cfc12b7e0..6f9c81462e 100644 --- a/arch/arm/dts/imx8mq-evk-u-boot.dtsi +++ b/arch/arm/dts/imx8mq-evk-u-boot.dtsi @@ -1,5 +1,7 @@ // SPDX-License-Identifier: (GPL-2.0 OR MIT) +#include "imx8mq-u-boot.dtsi" + &usdhc1 { mmc-hs400-1_8v; }; diff --git a/arch/arm/dts/imx8mq-u-boot.dtsi b/arch/arm/dts/imx8mq-u-boot.dtsi new file mode 100644 index 0000000000..2c10e9b645 --- /dev/null +++ b/arch/arm/dts/imx8mq-u-boot.dtsi @@ -0,0 +1,122 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2021 NXP + */ + +/ { + binman: binman { + multiple-images; + }; + +}; + +&binman { + u-boot-spl-ddr { + filename = "u-boot-spl-ddr.bin"; + pad-byte = <0xff>; + align-size = <4>; + align = <4>; + + u-boot-spl { + align-end = <4>; + }; + + blob_1: blob-ext@1 { + filename = "lpddr4_pmu_train_1d_imem.bin"; + size = <0x8000>; + }; + + blob_2: blob-ext@2 { + filename = "lpddr4_pmu_train_1d_dmem.bin"; + size = <0x4000>; + }; + + blob_3: blob-ext@3 { + filename = "lpddr4_pmu_train_2d_imem.bin"; + size = <0x8000>; + }; + + blob_4: blob-ext@4 { + filename = "lpddr4_pmu_train_2d_dmem.bin"; + size = <0x4000>; + }; + }; + + signed_hdmi { + filename = "signed_hdmi.bin"; + + blob_5: blob-ext@5 { + filename = "signed_hdmi_imx8m.bin"; + }; + }; + + flash { + mkimage { + args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x7e1000"; + + blob { + filename = "u-boot-spl-ddr.bin"; + }; + + }; + + }; + + itb { + filename = "u-boot.itb"; + + fit { + description = "Configuration to load ATF before U-Boot"; + #address-cells = <1>; + fit,external-offset = ; + + images { + uboot { + description = "U-Boot (64-bit)"; + type = "standalone"; + arch = "arm64"; + compression = "none"; + load = ; + + uboot_blob: blob-ext { + filename = "u-boot-nodtb.bin"; + }; + }; + + atf { + description = "ARM Trusted Firmware"; + type = "firmware"; + arch = "arm64"; + compression = "none"; + load = <0x910000>; + entry = <0x910000>; + + atf_blob: blob-ext { + filename = "bl31.bin"; + }; + }; + + fdt { + description = "NAME"; + type = "flat_dt"; + compression = "none"; + + uboot_fdt_blob: blob-ext { + filename = "u-boot.dtb"; + }; + }; + }; + + configurations { + default = "conf"; + + conf { + description = "NAME"; + firmware = "uboot"; + loadables = "atf"; + fdt = "fdt"; + }; + }; + }; + }; +}; diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach-imx/imx8m/Kconfig index ccaf106be5..ef3e4b209f 100644 --- a/arch/arm/mach-imx/imx8m/Kconfig +++ b/arch/arm/mach-imx/imx8m/Kconfig @@ -36,6 +36,7 @@ config TARGET_IMX8MQ_CM config TARGET_IMX8MQ_EVK bool "imx8mq_evk" + select BINMAN select IMX8MQ select IMX8M_LPDDR4 diff --git a/board/freescale/imx8mq_evk/imximage.cfg b/board/freescale/imx8mq_evk/imximage.cfg new file mode 100644 index 0000000000..74f12b30d2 --- /dev/null +++ b/board/freescale/imx8mq_evk/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_evk_defconfig b/configs/imx8mq_evk_defconfig index 50132c833e..6d604c6c24 100644 --- a/configs/imx8mq_evk_defconfig +++ b/configs/imx8mq_evk_defconfig @@ -13,8 +13,8 @@ CONFIG_DISTRO_DEFAULTS=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/freescale/imx8mq_evk/imximage.cfg" CONFIG_BOARD_EARLY_INIT_F=y CONFIG_BOARD_LATE_INIT=y CONFIG_SPL_BOARD_INIT=y 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 From patchwork Mon Aug 16 03:48:44 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: 497634 Delivered-To: patch@linaro.org Received: by 2002:a02:cf8a:0:0:0:0:0 with SMTP id w10csp1501045jar; Sun, 15 Aug 2021 20:15:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzEHSVkgLdfJi4ZeDGryhX0lhOhg+iZ1tpzjfuOp7NIcJUBdto+SUKv64Ksfj9mInoFPVY7 X-Received: by 2002:a17:906:6ad4:: with SMTP id q20mr14526918ejs.433.1629083709178; Sun, 15 Aug 2021 20:15:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1629083709; cv=pass; d=google.com; s=arc-20160816; b=SOCFYCepej/M6GKaTCuEnUyIlKJMeZr+Fr2tao1w6oEWoZgDc9gw6caVKoWuAjrrhi mj5mm6ZGDNhKBE8vZe8NBup3m8tCUWJFgH+hWLXBZtBT+/5GWJST7Bt4B19XAFOm3YqI 1xBGcNDx6QxEb10HTbWNNMeGqnLVoq4e0U+M4J+d3hiPWg/lcEKU0KBm7DXP32AWzUAs nAmm3NvGHcTwp1wO/mpGaTdwHsFXCDgKLJCYOrruELizYx6jqGdEb7BHT7U/TKlQSUjo rUaBRTk5HfqzAjX80JPzA0tAKFxMqZega+ujdlq9ewefrE+JgXC2/DvpegJKY4CF7CHU 8TMw== 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=OYYGJZtkAiXX1gFtBgMIDPg/kUjo+5yKjKmfyWs9Pws=; b=PbszgzYelP6caWyuAGE/H21GZX2B12pvoXBg8/eWARWY7vErVMDPoRVPVS0AxU2gd7 LLLqVxFWzeEMTK7f/79PRJSSH3Ira55pne6TGdaOfinuUxEhobRSNGZUDjaBG9iikmi0 MvGhrOVV80K6bNjzWd+WLrzb1WKMyhUoKSjVFtNWoBX6ZKtl4gPI+w8QB6fXqLMips+b 3v77VM56WDyPV/dxOwdy09JsBnS36IUQlY3LsVd8Gj6Zma14ky6YIuL6bZTohnk2Jnfh fD324VvCiRlsd7K3dM9PuTToUqoRq9uG3vxMOGCIPxWsvGNnvHcRU1JZs/fXjVhgud17 gklg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=Q6pCOWHt; 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 2a01:238:438b:c500:173d:9f52:ddab:ee01 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. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id n17si9077192edd.241.2021.08.15.20.15.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Aug 2021 20:15:09 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=Q6pCOWHt; 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 2a01:238:438b:c500:173d:9f52:ddab:ee01 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 62F2582ECC; Mon, 16 Aug 2021 05:14:38 +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="Q6pCOWHt"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 682F482EAC; Mon, 16 Aug 2021 05:14:22 +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-ve1eur01on0600.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1f::600]) (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 3127E82ECC for ; Mon, 16 Aug 2021 05:14:13 +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=jqtaYtze/311+ruPRkWOo5zv0GFfQmxx9qGcxI9CJkFAx/iIYVKYPGGSx5hNziw/jbCJHNj6EYUsCIRU2KsVNolr0ajGFQKoqWOnATNhaUJ0kujT4kvnFo5IhoKe8321/K6M7k8HSastxguM9B7g1yaLSeJYyZ/OrhYOKW596LN6PYCcHw9XbY0ileLuq3nxs8xU1wO1mH77vfvNIUqgZcwon3bdFUJjkxqtbi/iGENIhsgypOJm66prOe1u/1usrWaPK77+A1PSy1HgocatYdO3edj4hsCEWyOdHB6Jpvlgc44AdrdVCvfVeTVMBMsLzQSdMVVLh9dg6rYY4+cULA== 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=OYYGJZtkAiXX1gFtBgMIDPg/kUjo+5yKjKmfyWs9Pws=; b=UC+nSgEH76PMp8GGx7bPIEkYmiz0ddWg/S3liKn07tCAe6QKAuIBhVaYNBKsZMx+y+Q6BhamGqLIQCwFwWVh+NLLN4xVdWBEji3rFkfwsVgaAQjcwh/9aGN0wuT8AaaYdD+NeNBOAulMrlpibITShoQHV4WmcRWP8p0pAOyxDGPBIEke+Sv9m5vPcI6yEBdkmr6y09bRakiDleKbsf3sCA5Y+wdh+di7Pt80yaHfwJRq8uj2vFaYBWuFIjwLi/d256jPoHszwMgJJ6v4pXVYsqoZvlFp5/8Xh6nVm471rSJd5b3nqp6ZFXUUjolPYNFTlOH0vFGm5FZIjCu2Rp28oA== 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=OYYGJZtkAiXX1gFtBgMIDPg/kUjo+5yKjKmfyWs9Pws=; b=Q6pCOWHt0xVVv5PUndJjPdbQE0uOKPfOS3IHDzSwxKSaR9Wc/zYvMobjUHgL0HbfTErYujBL4InmoXPzKR+nHNqU6RVWHsEsFbJEuiWEjFTB+84gDnMsVDBg/Zrep2aqJPQ57fAAQ3joguqgm7K98pSNRlJrNy1uEs8nlvtAUJs= 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:11 +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:11 +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 4/7] imx: pico-imx8mq: switch to use binman Date: Mon, 16 Aug 2021 11:48:44 +0800 Message-Id: <20210816034847.22767-4-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:09 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 01d04eee-1787-4925-9d6c-08d96063eb29 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:580; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fONSWVsSNK4wFljXT7ZFZI3lqT/wxOJBNaYCX7atqZd6idQFxZ/wqFTeRXQZvcmL6Q9g06Ks+rxENF9bdcEItqpiACMKvjqyAi9Vv8rlWnrkSuQYwbjBC0BDrvs4yG9cyCEdB90XP5WBmJ75aE9T0q9C561JP5AKyt18yS/YHBGmMkETwXi0wMGePJnGLupdKEhC9K0TmtZig+ly6Ws+9DLQAr9y+G0YOiXHT9oxFUyrzcyL52izq7C1ORSxrP5CNqvqhINXDRjLxnghdgjnsmXpXvx0wdSgUdhHjQp6K/M4GIv0U/Wt6Wk9bO14a142Ilr8W0BfZfrlOQJcJN/Vq+BsQEVD2TBFTimO8et3RFmKYLj10cJpPw/EaWsWPealbKCs6MsXKlFkTWQqXUhaadpHIftWUcTgiQh5gqnI5z/LYC1sBX3YPTMxOk8dDfSzXoOiT4d7kwwDZBOowyPv1/8ZpjEWGn+amgiwVb4/vMENRNLhfHMAR0cL9JAjXz+CqCKqDP5Mx2/SOnZDug0QWnwQVTtwPUUWxdsH7/BxSV4gY2KV1i/gJRBUf6ezrugBhISdt3/NbjVpqI202ozLLyPTLJqZuBcb+mneIbT3IBGtKC9AV5XqoXu7fVRrzxWGjDzZVHuSF+UygONAfyCS+OzTN/23rSdD03vfLzRPcVEW9gkxqlOksxq0qmnfLfNnJ2ZZLjesT04mZiDvkGgjBQ== 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: A85zvKIhHL0Ir4seKCCTKXgoUcCs6LjIZCC1SU46OKET7thQM3M3IE/rk4FMGcbKUmazb75mCLh/XsMRJcFGoTNaKlWAMunsIwGhS07+YlAa382yL6WhrWQP/JoBnjB1lr5/ZgI+03HIrQPtIC+ceanI6DaI8hTVTEqr1pP7KdvNhfz9j5Dy8LEMztOMDzoulyTlb9CuwYgCT/rljpLPASUgnPvb/FnFhkyF05eKAgJ3tmWlo5LRWBVsSiqVCi7b/py4inSNLUWTE+psyeXYKhZcF0BYfIWEzUCiPj/yS2oXGcbq0fTLwaMnOiVXCvvoFYuHerhWdEQrmhSTF0yzesieY3NooVSHOxVH67b8N031ZoLtM8l4x1GHvTLFT1ZI9Hac278E2YTMDA+lsyMrB9GPlODMW5wbpe87jVS9exj9dNovvJNRKD0/teyRtnX5HfWtL/nV2t2h1DpRYmlwhNcIYPWEj8F+H3uU0VJerDFtc2ux6KKJHP5GYA1CxRdD++NYL49VkbE+iGJhS9fqecFqzEg/s6Rmzh+nqpcHMyYFqLtZg70xcr4r0y11c5Jp9o0houq9/sNtVsw4Afm98tHWUJpvydsX9z8BivBq5tH50297YeHpj8Q6+LXSdRsYGL7Yf2wh3sOr003HwiJsoNrnMMVsYlVi1+ZZtdEO1KuHuCDsLRJHJv4aWzF6uP1vD+ujkTxegnOB/Ncu2dI8zD4jUPkc+CaUdQKcuIBIB2SDUeLXGD26OSYz6rfbEivMPigHOmUhy/YENuu0E3iyDJweG7t+h+nQjmwNJoAIYe2pa9BgCNlqLvQYG/EZXN0mMDcv+AygOG8Pe4n0b3eiciYzi9zsbWet7TobQ+ICPtPreh9dLlIAMVn+7ZZBe8UCpbp4gWkaITiScpqHolnI4qOl6LLV9qvfK2d6BTVi54EDvXrL7u3aIFA+rfznTjMYtS7bcR5+xagdzyP5j23hri7a1w+ofC/cqyYAaRc4ntS7L0I66LrTP3nZtfUVE8Jg8e2LoxFfffjFRtOq0U9enBgb15nTKhdNrfR+j+FBr2/gF5pXJtW28Hqh8OrgikhBu5R9jFKTH/tFdXS6cZhDA8oWxpyYrUmqXe/8wr31KqtymabfJm/0jxb0+x/In0RMoy6k+Wq+y+by7IneBlf+7GMCIryViVtELGJEFQ7gsmtEg7jmX1bQSHnErJQGsXYox4j1SHsv6ugmAL3kiwB6SDE6ODovEt4qS28/iEDWYBrFBgoaPLCgwK2TOcVd6wlWoA9SB71Xreb8u2aQgUBhveVvzHzPtFwW3D1pteTQYsXON/eGuocw9L+5onr+6uMt X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 01d04eee-1787-4925-9d6c-08d96063eb29 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:11.4876 (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: EorP580DX7xHb/wsJoATTAHVQpuEc2GvYfliOb1AJr0WFakGeaAUh3XmdFztc4kg0EsJm/7Jj/WxkqYLChIFzA== 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 use binman to pack images Signed-off-by: Peng Fan --- arch/arm/dts/imx8mq-pico-pi.dts | 1 + arch/arm/mach-imx/imx8m/Kconfig | 1 + board/technexion/pico-imx8mq/imximage.cfg | 11 +++++++++++ configs/pico-imx8mq_defconfig | 4 ++-- 4 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 board/technexion/pico-imx8mq/imximage.cfg -- 2.30.0 diff --git a/arch/arm/dts/imx8mq-pico-pi.dts b/arch/arm/dts/imx8mq-pico-pi.dts index d2af18ad0e..8ed6e9166b 100644 --- a/arch/arm/dts/imx8mq-pico-pi.dts +++ b/arch/arm/dts/imx8mq-pico-pi.dts @@ -9,6 +9,7 @@ /dts-v1/; #include "imx8mq.dtsi" +#include "imx8mq-u-boot.dtsi" / { model = "TechNexion PICO-PI-8M"; diff --git a/arch/arm/mach-imx/imx8m/Kconfig b/arch/arm/mach-imx/imx8m/Kconfig index 16c950fcfe..1d08a2977f 100644 --- a/arch/arm/mach-imx/imx8m/Kconfig +++ b/arch/arm/mach-imx/imx8m/Kconfig @@ -100,6 +100,7 @@ config TARGET_IMX8MP_EVK config TARGET_PICO_IMX8MQ bool "Support Technexion Pico iMX8MQ" + select BINMAN select IMX8MQ select IMX8M_LPDDR4 diff --git a/board/technexion/pico-imx8mq/imximage.cfg b/board/technexion/pico-imx8mq/imximage.cfg new file mode 100644 index 0000000000..74f12b30d2 --- /dev/null +++ b/board/technexion/pico-imx8mq/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/pico-imx8mq_defconfig b/configs/pico-imx8mq_defconfig index 9d664c07f0..101ffcc208 100644 --- a/configs/pico-imx8mq_defconfig +++ b/configs/pico-imx8mq_defconfig @@ -12,8 +12,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/technexion/pico-imx8mq/imximage.cfg" CONFIG_BOARD_EARLY_INIT_F=y CONFIG_BOARD_LATE_INIT=y CONFIG_SPL_BOARD_INIT=y From patchwork Mon Aug 16 03:48:45 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: 497636 Delivered-To: patch@linaro.org Received: by 2002:a02:cf8a:0:0:0:0:0 with SMTP id w10csp1501266jar; Sun, 15 Aug 2021 20:15:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYWbAs1DgP3Q+4l6GCa676xL7ooHcQ4BbvkauYRxW9ukltTPqFSP2/cnETNWR9f5L27AQB X-Received: by 2002:aa7:c782:: with SMTP id n2mr17475658eds.77.1629083735656; Sun, 15 Aug 2021 20:15:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1629083735; cv=pass; d=google.com; s=arc-20160816; b=K19qD/kPuHNpAlPYHevfkKcOTKZHaZKNc2mXorkZCsT1u0OScCqUZ2fvegvOkmPV12 DO1VGd5E6tWaK1KzyJ+BBFMjrxxbK2w2ymRjufUsP4PmJ4DKUhl8JzXHUQ8jcB0c0d3/ 3o3RKEFawVYHyzFIJdB6ruXzaTWrPOCOtfIsIfJKJuzwIFOQVWrj5E85hTdQaJAiyx5z T/xUWLiJfF9/8NUxvDPIa86ubLCclGQN+QHvbpUEzNpOZ8C91puY/MfJqVxkk0cay2Na x64mRVajBBG9kvqbWzMept59c28fJE89yPoaE6F1PIlsrboHMqw1o3GoKnojZAjhEvep MkMg== 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=KJCewgM9HpXz72DtsHZEvaoUMmtIC8Q7SpzeHOKzFnQ=; b=hWb5MCbJuUnJ52wUHY0wiDiDeEl+aLCGhQyT2SeEJ5abo/nws5gogDfSaRGKhhptKE Sgi+r+Ngvoe+tk/A7bzutZKi7KA5U6dkDIwyl1dJbSu9pVkhnSLMmx9CL0s9LOxeVGJw gZ0MSWZO12yCEk1KLAKO4/8YC42gkp8WrXzQ245oCkLPZxvmZWZ1astZ9mMACNherdU7 biuaipzG1hXM+Ocf1kMtcJC87/A0eq6S9l+R9T/UrBIc9/GS/Ai9SM1RdFp8cYBdLisr jVhrTD70mrXk4GwEaWY/7L5rtpu4PjgCth4XrPz7+DFhgMT6Uxguv+N0b3jJozATT3Jd BrJw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=dT++1ekZ; 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 2a01:238:438b:c500:173d:9f52:ddab:ee01 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. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id nd15si9099537ejc.463.2021.08.15.20.15.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Aug 2021 20:15:35 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=dT++1ekZ; 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 2a01:238:438b:c500:173d:9f52:ddab:ee01 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 DD7BE82F1A; Mon, 16 Aug 2021 05:14:44 +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="dT++1ekZ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C2EED82ECD; Mon, 16 Aug 2021 05:14:23 +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-ve1eur01on0600.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1f::600]) (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 90FF182E7D for ; Mon, 16 Aug 2021 05:14:15 +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=YPL86oPRKB4NeUEq0pnj2G9Xplmmd860DiEDg9UNXjTNA9uH5mrh2ZP0Ox6lk5rKGv8/WZgv49KABJmdGu+5xHAlLKrue2zmQzfEfRjGAcyGRqs2f+OVR8lYmVzzoqYqfsfM/ntFt5Oyiq4QRt6kXvTiKwMBLWYcI9xrbRTuEtJaw3rExboOkwZC7EcdajsfnPypX8MCaEJ0lJPtyUrNAju9/9HrkCoBMXT/R4EBACqwUAddBrGYTLoQNMvPNF+pyl8EhLSFy9Jfr32lkk7d3jvO1wAIlE6WiKUYkGW0vSR3zpUTxF5g/CAaF4w4YZMSFsmTXoVapmoOoueYdhk3gQ== 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=KJCewgM9HpXz72DtsHZEvaoUMmtIC8Q7SpzeHOKzFnQ=; b=TCY6Emaq+AHkwHXQ1OXQjli10N+ebV63Q38FTCsO0cd9rSJj2l3uT9BqSdHMa+BTLDZzfk58gdgwgEP9jvtYRK5u8j7QVZRLK2+9ivvKhqzdF+weAo+Z7dwfJ8f5oRS73/NI12mSN2QHZqUiQRa0T1RBOEEC5wSV2IsHQNrNovDZzOOX3D57t/5lZ1vEDRnhGyetO99t8So/55u41z6RMUGJewIDjCGTu5Z9idHaZSAo8MJj955iISfH2ohwmyD64QstSl4k30H/Q10NcRSfkd+GUBPmwrkrLUKG+27Sr9/66sYDxM0CWAjG1sP5d04Cgy6yRgot7eElyfw1GxhrXg== 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=KJCewgM9HpXz72DtsHZEvaoUMmtIC8Q7SpzeHOKzFnQ=; b=dT++1ekZ0hzU/hdjV48R3CU7pnCA1GFSQb4+IklfqHNd4ljy61GsH8mIoq7Y/65fGgp+dpM9WWdVgMCJ484y0OErsaIxGy30sxsojJsTj6JUVX9L1Z2uY1LDpgwcbzduy6D1sGIvbEkCTuXqreRjg/j/9//5cXcMBOyoeYHQZyk= 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:14 +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:14 +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 5/7] imx: makefile: drop the use of imx8mimage.sh Date: Mon, 16 Aug 2021 11:48:45 +0800 Message-Id: <20210816034847.22767-5-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:12 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b190ce0f-c3b3-4813-451a-08d96063ec98 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:962; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3fq2Lj1SKwYS/inUjulBWL32uCulMuoGmIWtMqzY1yb3zpf68L9opqAt8CjBjj+rc8WrzigrHZiY1kPPSo0YmHZisICngf39Y4C7hCU3Nv1ITdzcvycwxqDC2rCE5A9rk26tjddmx3+zZnh1zGFajfWpjhQFa8ag234FXxPynRHc2PShnXih9Q3FeR93bON0LzX18l4Y8jK714OkuchZlALgMg+QupiHRC+uM4i6ELgg1tk63lrV7kxtKqC2bDCKKJqw6SP2pymSdzfb74ClLqWVkRFb3ciUMZNB4i3obv00jBA4i49Yk1Km3Kv1ELoOtLdAC6zO8YcrHFOOyRcOr+Iby+h/fHK/iHC5OwtHeqFkhavlD061Z3TV4lJe+NN0xQI1zcdfrhHU2NKHfm2JkYTOwE9VA1Nz54caDQYIb7W0Z5DRB8Ace6YOkgjgXgQzlJw24F0ILwZ1gSAPhF84Et4o9j3Ns7pzS3DoSOJlQvQgwVahFzRCdDKme4L9rSh/bnMBrDsCSB4dPxiopx8Xdvp5EYieTTUj4fOTCiVSqKZvUZtZNkZpdvuOxw+8nkbstWI9JReQ7TPeeMMy713nygqXVCumDdEUxR3rmab2zufTC36oOwSPQXRyMfGJbbz8fQ0q3QwmUA21ABmiDvX+YIyew5QITm+qVqrJpKRFgc4kyIfDXFaiEhiON93K1bAfjZwoRodjYDjVDIgMotbwpFTzyS525WdjPmBfAi5I5Xk= 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)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: F1pFxy7KGmP4xEo774ot2z7mYCPMXUhvHTqiihI4+zAZbXZ9fYAH0AQrmvzm9CdvgYSXx6wbsWtAIYFjbnFT6JhrQmBQsaBNrH8EN7s64tsMkjO5l2bUMmy9761tV/26bIALsa/ejPWI4KQF+2aBkNkHV0k5c0Hh2do2PT2t7vGhUCUoPXcExCB8pu+kWImPToxUdlKhxbHlxj7xLUQ60HHeG9bajsK9PsqDzuf9MG9Sv2oKEIE9/zUOCGSwBMnPr0ypzJ+uK1mkdDmJk1u3w2C+ZIKlLIzcnF3IaHC9ZTRIpSXkswHmIfHHf5VKflpAUUx/Hh5DKZHVEDRNw4YhKJC6M6o84TmsQYPqzbVgMySaWxz4Xr0rfXU/rGYn4Bm5vXYZS9zzRxqcoe6EtbcOt3bTPjiwyATIl2Ik9UjEHsW+hAvnTZI7IynDCuEa/4eji3GOUYyUZCTydmoQoVMxGWBSYqyfCe9qyAtx29+D5ZVZ/Oz1LZtEZ53FJfBELfrNUI3RL4KOBq4WfskHZbt9XzFofC3ivCKZWDT9Cb058SfQNUdAmFVtYoAfV17hWovMYQz064+uajxEr7sUkyTP6lwWtBi2dxepgOCy8YmL3FmLZQeQ0RRD+E60gJHOnvUZ7C0z2D/x+Nf/iMSOv9Pyxq/PUw758fSdC+56RInoBvYzoMbrmf/qOTkW4r6QmPb+27Q8qgSMsifYZkvoKTFXbhkizPMfI4FXHftWeUc+kECbsvWMwkMfhli9+L6TXNbWwuUER1MiNVYs9aVIAY92C3TuDsHXyyPpI9dghPdf9WW6F0Us3WeAULw3eyXehTlxWXqVyUJo5T1LXHxyDrJZIYx7AFaPMZLAZUFNMXd+R3rEaBRY9Gu9CBHWNmB5x4NAGBDC0VB53yArkSI/o/gALHGi7QPGiEzN0bTOIM/5+oM3F8FDwG7PmX5HAJ0G7gERhBySH2xMQF2eEGlBbrCsIOpXCWwzIfbopMHuDIcpn00JbI99+kfjyGM7COEttNiXCbgt6pi5X6f2nTxa+k/xqgQOVQOE/jlmGqT5QhoakbkhTDazxZlmDWom+sIgydUjC3AHXVdWJlk21PZ/KJxD2GjhlyE5yWCxUvX6gKpcwY1KOx4jDGjmt65L37TWW95Cd23A0SBIHr9uKqUz92XgrytjNlRcY+rRzumRu5XUo1CV7iQZffrPwBdu6Wivn0McOqNTv6hR3VJ8M5RIJ66sYhbkrWVMzppVav3RHUDKOQ30h1XqRTKI46wSBi0fN0H88NvGhPWeSXU0pwm8tRgc63Pr87vAoQlSiYS7L/KdZsZ4WnePPh3nuKlxA90QdI0R X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b190ce0f-c3b3-4813-451a-08d96063ec98 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:13.9105 (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: lG/a+llw4OYGli2/K965DlSXDxU731D4kCRD76WGHyMLUTztfT4Syznu+cTJ7D/vKZuqxYvC1bKtOHtJnxSYng== 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 After switch to use binman, no need to use the bash script to check file exsiting or not. And there is bug that the script will be executed everytime Makefile is used which is confusing people. Signed-off-by: Peng Fan --- arch/arm/mach-imx/Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) -- 2.30.0 Tested-by: Frieder Schrempf diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile index 0ef269563d..f629751c48 100644 --- a/arch/arm/mach-imx/Makefile +++ b/arch/arm/mach-imx/Makefile @@ -114,8 +114,7 @@ endif DEPFILE_EXISTS := $(shell $(CPP) $(cpp_flags) -x c -o u-boot-dtb.cfgout $(srctree)/$(IMX_CONFIG); if [ -f u-boot-dtb.cfgout ]; then $(CNTR_DEPFILES) u-boot-dtb.cfgout; echo $$?; fi) else ifeq ($(CONFIG_ARCH_IMX8M), y) IMAGE_TYPE := imx8mimage -IMX8M_DEPFILES := $(srctree)/tools/imx8m_image.sh -DEPFILE_EXISTS := $(shell $(CPP) $(cpp_flags) -x c -o spl/u-boot-spl.cfgout $(srctree)/$(IMX_CONFIG);if [ -f spl/u-boot-spl.cfgout ]; then $(IMX8M_DEPFILES) spl/u-boot-spl.cfgout 0; echo $$?; fi) +DEPFILE_EXISTS := 0 else IMAGE_TYPE := imximage DEPFILE_EXISTS := 0 @@ -150,16 +149,18 @@ endif ifdef CONFIG_ARM64 ifeq ($(CONFIG_ARCH_IMX8M), y) -SPL: + +SPL: spl/u-boot-spl.bin spl/u-boot-spl.cfgout FORCE MKIMAGEFLAGS_flash.bin = -n spl/u-boot-spl.cfgout \ -T $(IMAGE_TYPE) -e $(CONFIG_SPL_TEXT_BASE) flash.bin: MKIMAGEOUTPUT = flash.log +spl/u-boot-spl.cfgout: $(IMX_CONFIG) FORCE + $(Q)mkdir -p $(dir $@) + $(call if_changed_dep,cpp_cfg) + spl/u-boot-spl-ddr.bin: spl/u-boot-spl.bin spl/u-boot-spl.cfgout FORCE -ifeq ($(DEPFILE_EXISTS),0) - $(IMX8M_DEPFILES) spl/u-boot-spl.cfgout 1 -endif flash.bin: spl/u-boot-spl-ddr.bin u-boot.itb FORCE $(call if_changed,mkimage) From patchwork Mon Aug 16 03:48:46 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: 497635 Delivered-To: patch@linaro.org Received: by 2002:a02:cf8a:0:0:0:0:0 with SMTP id w10csp1501144jar; Sun, 15 Aug 2021 20:15:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpNVlRtwMv0AZUU3wt/ES/QPEkgOGqHdOz59eGZp+5Y3EWW8YwuLDn0kkVSq5YVhy2Rw5R X-Received: by 2002:a17:906:53d3:: with SMTP id p19mr14046732ejo.509.1629083722538; Sun, 15 Aug 2021 20:15:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1629083722; cv=pass; d=google.com; s=arc-20160816; b=USpIdMzYbiyQYO2vRFs0Dnh8Ihl3lITda4iNkyJqRSspnK1BRe7cDJp9m+JLQd2GRL e8akero7VIe7+euXE/0w7qA3cG2rOkI85znjxqp9SQLaxnUyTkvUZFpZzR/xGLHrbtQG dHgpQYmYXPuuDPJQploiE2vAqzP3w+NfF140siiMXRkK6vAvFYy3iQaDYPdS91jUz4XU Ng0TcV62d7jGBSJx6xXuwFVRI2lsa0qKr6eiH0GQXp39MKs1Bm9ZujLagV+OCBNw3tUT AoOR8FVOvYT7tev67Q7pxMLEORs8h1L5Fmck9aeTIO+TO3oeqhe5B4W38WXZVget9yEu ilZw== 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=KkgH2rlK3Jy7F1ELFTip8UBEgD/m4gFBPxGauWrH7hg=; b=eNGb4TbSartR/eR3Ec1G9cG2aKV2qp9ngJcNnXV+SRve24giqLFHuWZ480SaruWwqN eJXsqNQQ0FiSlsH10zPK8LhMbBmNXhPBvXBRAUXp7MkELRASK2Xw2kK4Jek9ESt6BdNj 68P1yY71ClJOV4GSrhQYSssULb9N3AHtfY4p0T+MWXUuag8qyA3DjtjI/mvs5S4a/LR9 ePaBsaWz2H0OeE5ycfcTEDzaOnfHnNU0KBg0OmCIKLqbtv4xQaXD8FTmMifygEXg7lAn hToyP6WT1UfPrUBNc476ZrQepWW4Oc4JkQ9aa7cWX4u5CXWLjUlBFkWPDUV9NWxFkfjn mXKA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=RO3D2zj7; 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 2a01:238:438b:c500:173d:9f52:ddab:ee01 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. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id s24si11315940ejd.649.2021.08.15.20.15.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Aug 2021 20:15:22 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=RO3D2zj7; 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 2a01:238:438b:c500:173d:9f52:ddab:ee01 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 03EED82EEA; Mon, 16 Aug 2021 05:14:42 +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="RO3D2zj7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D9E0C82E7D; Mon, 16 Aug 2021 05:14:24 +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-ve1eur01on060e.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1f::60e]) (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 46BF982EC5 for ; Mon, 16 Aug 2021 05:14:18 +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=hCTaF0uNfvymRT/9JCTXP4pXgQk44prGfwvLSH6eSWkEyNEfSc9TppERhyzs7HfRTAXW4BaH2hei/tY8jmwmpE/hUKsYJ9+1NimqXVas2cCMLstrFdDb7JVB2SinfV0USVj0N67UuOaKJ1glb9SwnbYUY5uCYyxHm0S3qbG/QL1bF3aEvFCc+kc/Mmbvv+zT+UIcH2g+sLhgLDf5DiRoodesNHthiOB/PGgc6phCrBYDJV0+JsI9Ccr3eb79ZT6u/TadVkWBJ1e4vV+azTGU3q1pXKw6IhhBmqhHLBMRSSnzGUs65VkET9EoBoRVCiQ+iQ05V+ZaOoAiaVv+4VDeCQ== 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=KkgH2rlK3Jy7F1ELFTip8UBEgD/m4gFBPxGauWrH7hg=; b=OT7oP8EJ7/uPpVsboIHPPoU0bvCtS2mJmvkOj8vhJoKluDCm7r9XfQm8GRCNWFZHlfsMADs4Oq0d0gSOfpkRlE4G1FeWbcPoPK3PeudAQUc0Kuxqu6Kqr2vprtzdsOde2WzFbXyyyIf40p7pbSdHsJLVZCmaMapKneCoqRdeqNGsmi9rUDpXx0evlUckQjng64WcnhWarpEYtxHTyXKSYRvtWRtnjaxMxrnCG1oeRfSHbAFUsNuhOFbCjdYS49rkcLw1yHHNrINj7x9JfqMFuGURMh5FfyozWnvAvP7ILvkrivSJypiTTMGboLFeZ2OXl6gZTS1g30zFLTLDgDNoHQ== 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=KkgH2rlK3Jy7F1ELFTip8UBEgD/m4gFBPxGauWrH7hg=; b=RO3D2zj762Ziqk0NAzuV9c8j7MqcuS0jotOlIrigGdPN5x5fLWhRvhpZxM4U553nxKsKEVpLuYJXJfo2qXtxPsJBP5Q66q3lIs+cAC3Z9Atm45DMBZrtHkYCpbQ507rGaS0/xcmlDGw/grFO+96ceLFbQbAgUgaIkbNODKJRLm0= 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:16 +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:16 +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 6/7] imx: imx8mq use common imximage.cfg Date: Mon, 16 Aug 2021 11:48:46 +0800 Message-Id: <20210816034847.22767-6-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:14 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ed677ea7-42e9-4fe8-2d94-08d96063ee0d 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:348; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5vhzzmf4ZtY3Luf601s/WcTbJVJ7YptSvozVKyio4DQYEfN1uZ3qsLkVpDzrGM8ZVrjSJnY5yq5fkExENft8guDb0UJeKcUZGf4uO/PQ6EC3UhZryIBfoIcKKN+piOMKOzDPaY7YCbGC1ssKjwoAdoIf/81GL5NfRQwU2tScTOfNG/cmK8IBp0fyJN6c70s2YlYJ5pOcg0+yh+jG5HV3UW+HuRb4VoRzjxk0TmInpHa7PC2/iwgphUytaoF+Sys33U5Yn4Pd+wHQDsgdEC1Y48S+R/7bWhYsJ85W4+O9cnp6cWAiTM/Tg2WymTjQnydUcyhBPKiygiu98w2G/3zF1T0SpoqZBjIHYe/DmGN3NkkjH2p7ZoLfCDkdk4ZQiak/VUniqLxHHZEqYqvlvRdvfeK99VBDfkZ0dIPg+Q8vKVPuamBVgciR3FdCuZKx5wAbfoU2byVTgH/GdBklNo4zLMzSWHAkJZzoKV0Kx+++7zQQj3vq8VH9mnMx5I/fB8Rizg/fWolXedBXDMdTS+0/LCDlgWC2ODsrMi00ofcpSzuDnfYHK0B3xUrlwpj5gExQa/dmoPa+a1UeTxbnkpQvNK6o0NveTNfo6VlmNpjHfN1IbTdbJ2hd1+UfCtkWk9ewdhylRwHIJd/dsskJqYhl3et1DhgfHuZGewC5vG0g93LgJJ62s2O6GLDWI5TPBXXE1Wuz7ztLKpRTQYHs3h6+0Q0gJSD1OuQB6h8UjF76sCc= 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)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: QvuE76ZcL6oKVKLM6Rihh0KsukosFu/1b8f0D3eUjprtoi0FRIx4A9/HT7hjZQBFc8yiaXse7xYS45tSpGtsKuhE71P1kJ7cjQkxBXP/ntg4+zR1s0fQbmtAo99+UCQIhRtzQjdhK6a4DtWmyAprFKxojS5DvOAQ8j/WSKTr5hn0pX5tPoLKCRDC1hkh6kI+SQN0vgLA5Agn3nSqi1fKfw37sBARox9moZOyT8QPU4c6BIypPFiuVxIpqDyzr3xzZ7jl+QC1tH41RAidtOkX68aeSz+y0Y3lG3NoYB8UmPeAuBXIubdwDkmiP/QhPNrNQkqPCWT276PxRzhjtMfJW6wfCBN274arL+Al4n8nKzoYfsQXAvwPMANXcMrxOi0wuwS9NcmXPgp9DNUXUQCNZxNpSI9+s5jo6W7jxdLLRwS1r6UA8DZckoKORzygXAveN5czpZ2zsPBe2jkj8b6Lbn4IxJYG87IraNLIirbpyL4iYeasUC5srViX8QOCBhabZjxY0CH7aKpZyaErj9/nJ6QtZRZRQe4KbjioeDkdCp1ZhiLIL0JGLl7OOaARYVrQ3Kxgk1FavGKnqUxFstLbY5nnpisJ18U+tDgcN7Ma5Z0XsMR5S6//OtwgxcP4eVCd1aWKhT0w5MdNxXSo5xrOiDC0b45gnMny6/YuTXmpRa/T89BAUWUZzxr/CDSAQ5NjvykYfzqyyhaf8WbG150fO0Pstyo/SdHE8tJ15oCwsgf07AoIw1TFTZvw76JDN1E+pLvvJqfsdcSpm4BaA/DDKSK7f7dxqnpLW/Jx6OfwIP1MMxejc9KOOcd8OI2z0iWZ66e02Oh6dbHuriUWfCo1T/ZgicfPxW+vMJpb+0CONO3fn63+axH033gvBs8wzpz3P1X4MaOvuWlBLG2KvJlLI/wQufoAURFfME6XSfP3byNVDML1oCxRY58Y6yIxd3+Zi8ym255qHYV5/JfbKgXtH+Kmn7s7cQ3cO1lUQVBYnQu0XA8JDzTJCbn/87dTxWuzxHFkXG4UVnoDcp/3A+uCtXok1xplGMIG08D8VKhIV5i+ed5NbhxehBMtdpPjrTMkFwlzriJGj09XvP5ouisR8M/UuPJasIuApOwx/kh51DoCv48woEJ3d9SenLyxB0MJ9hn3kJuP0k4rXFW6OW/c2FH66lrSvKzcB05lsWNsIS83uzbQXg5Ob/cRgeZk9ebsJBg7GicOYwmERMSCSJNb5L0Ue20/zKwSBNdgTUTQ6P4Pam745hh+FcDNs2XKxxpdBkXFtxIGxjLohBD7nrYWfcR9OT8Grs5GA0ZDnjUZcZZZg/BuEB1yONq64sy/i00Q X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ed677ea7-42e9-4fe8-2d94-08d96063ee0d 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:16.3344 (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: /53HluW2CGLkzm8zgW1g+7CkKSUEA7TysqUpJb7X7f5brq/kZ+m3m6Q9BgwYvPcr26RlXjYpr3mIdr1ZTuPQww== 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 After all these board switch to binman, we could use common imximage.cfg Signed-off-by: Peng Fan --- arch/arm/mach-imx/imx8m/imximage.cfg | 12 +++--------- board/freescale/imx8mq_evk/imximage.cfg | 11 ----------- board/google/imx8mq_phanbell/imximage.cfg | 11 ----------- board/technexion/pico-imx8mq/imximage.cfg | 11 ----------- configs/imx8mq_evk_defconfig | 2 +- configs/imx8mq_phanbell_defconfig | 2 +- configs/pico-imx8mq_defconfig | 2 +- 7 files changed, 6 insertions(+), 45 deletions(-) delete mode 100644 board/freescale/imx8mq_evk/imximage.cfg delete mode 100644 board/google/imx8mq_phanbell/imximage.cfg delete mode 100644 board/technexion/pico-imx8mq/imximage.cfg -- 2.30.0 diff --git a/arch/arm/mach-imx/imx8m/imximage.cfg b/arch/arm/mach-imx/imx8m/imximage.cfg index 714b24273b..9c6eaf0a6d 100644 --- a/arch/arm/mach-imx/imx8m/imximage.cfg +++ b/arch/arm/mach-imx/imx8m/imximage.cfg @@ -1,17 +1,11 @@ /* SPDX-License-Identifier: GPL-2.0+ */ /* - * Copyright 2018 NXP + * Copyright 2018-2021 NXP */ #define __ASSEMBLY__ FIT BOOT_FROM sd -SIGNED_HDMI signed_hdmi_imx8m.bin -LOADER spl/u-boot-spl-ddr.bin 0x7E1000 -SECOND_LOADER u-boot.itb 0x40200000 0x60000 - -DDR_FW lpddr4_pmu_train_1d_imem.bin -DDR_FW lpddr4_pmu_train_1d_dmem.bin -DDR_FW lpddr4_pmu_train_2d_imem.bin -DDR_FW lpddr4_pmu_train_2d_dmem.bin +SIGNED_HDMI signed_hdmi.bin +LOADER mkimage.flash.mkimage 0x7e1000 diff --git a/board/freescale/imx8mq_evk/imximage.cfg b/board/freescale/imx8mq_evk/imximage.cfg deleted file mode 100644 index 74f12b30d2..0000000000 --- a/board/freescale/imx8mq_evk/imximage.cfg +++ /dev/null @@ -1,11 +0,0 @@ -/* 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/board/google/imx8mq_phanbell/imximage.cfg b/board/google/imx8mq_phanbell/imximage.cfg deleted file mode 100644 index 74f12b30d2..0000000000 --- a/board/google/imx8mq_phanbell/imximage.cfg +++ /dev/null @@ -1,11 +0,0 @@ -/* 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/board/technexion/pico-imx8mq/imximage.cfg b/board/technexion/pico-imx8mq/imximage.cfg deleted file mode 100644 index 74f12b30d2..0000000000 --- a/board/technexion/pico-imx8mq/imximage.cfg +++ /dev/null @@ -1,11 +0,0 @@ -/* 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_evk_defconfig b/configs/imx8mq_evk_defconfig index 6d604c6c24..7177d80c1a 100644 --- a/configs/imx8mq_evk_defconfig +++ b/configs/imx8mq_evk_defconfig @@ -14,7 +14,7 @@ CONFIG_FIT=y CONFIG_FIT_EXTERNAL_OFFSET=0x3000 CONFIG_SPL_LOAD_FIT=y # CONFIG_USE_SPL_FIT_GENERATOR is not set -CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/imx8mq_evk/imximage.cfg" +CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/imx8m/imximage.cfg" CONFIG_BOARD_EARLY_INIT_F=y CONFIG_BOARD_LATE_INIT=y CONFIG_SPL_BOARD_INIT=y diff --git a/configs/imx8mq_phanbell_defconfig b/configs/imx8mq_phanbell_defconfig index c14a667955..414eff5e9a 100644 --- a/configs/imx8mq_phanbell_defconfig +++ b/configs/imx8mq_phanbell_defconfig @@ -14,7 +14,7 @@ CONFIG_FIT=y CONFIG_FIT_EXTERNAL_OFFSET=0x3000 CONFIG_SPL_LOAD_FIT=y # CONFIG_USE_SPL_FIT_GENERATOR is not set -CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/google/imx8mq_phanbell/imximage.cfg" +CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/imx8m/imximage.cfg" CONFIG_SD_BOOT=y CONFIG_BOARD_EARLY_INIT_F=y CONFIG_SPL_BOARD_INIT=y diff --git a/configs/pico-imx8mq_defconfig b/configs/pico-imx8mq_defconfig index 101ffcc208..be293205dd 100644 --- a/configs/pico-imx8mq_defconfig +++ b/configs/pico-imx8mq_defconfig @@ -13,7 +13,7 @@ CONFIG_FIT=y CONFIG_FIT_EXTERNAL_OFFSET=0x3000 CONFIG_SPL_LOAD_FIT=y # CONFIG_USE_SPL_FIT_GENERATOR is not set -CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/technexion/pico-imx8mq/imximage.cfg" +CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/imx8m/imximage.cfg" CONFIG_BOARD_EARLY_INIT_F=y CONFIG_BOARD_LATE_INIT=y CONFIG_SPL_BOARD_INIT=y From patchwork Mon Aug 16 03:48:47 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: 497637 Delivered-To: patch@linaro.org Received: by 2002:a02:cf8a:0:0:0:0:0 with SMTP id w10csp1501409jar; Sun, 15 Aug 2021 20:15:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwaqvfnui7XqNeM9/+LB/nAH6SAzhKy0QLb8EN69FiqyVIJASCfamRPEC29ZRcNfbrsK+aO X-Received: by 2002:a05:6402:42ce:: with SMTP id i14mr17857181edc.345.1629083750185; Sun, 15 Aug 2021 20:15:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1629083750; cv=pass; d=google.com; s=arc-20160816; b=Wtt2Ei3BpgFyXvGDrbvBdVK3/AlRFoykPYuUBsRrnjveJeqO2otbQAfDXC/zMVXYIb fOG1yLlSfrGWbzl0GLZEREbnqQd6oPEU+WIL1rNumFSVWtDyIArSulSRHkMO1DiLNK1P QQL4CqVguOO2P3b8n+8Gc9txXtQm0Abu91/jFJ1QGwGj5B7Qe8nZ2KzrncBQ4UZ+fBtk BTVPm19a1rOGAfzcfugvEsigr2r7/xcEkpkBJnjx7MlGlaUXWDmc8XeVuTmqZZst9cGD CZgjmSYOyMopzYRvUMHoJTAjvlj1coab1GHvVOgPV8RmbC+7h5RCEzBm+nn/6mrk61mK hDLQ== 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=gVTeQW3IdM9Orpt77KoMCQxAX1s3Rthjw26BeP49ZCw=; b=qxFAQQDqbt/NyVB+tP703doxFjLeN6Jp6ALZO/XK1oNA1EK3HqePc/gDo3V00cEWyq NLeewNssnmKyawPda9njnwDkQ2aEN57lE85aEYatvmATTxr2OxhE683ASNpn3wOfCx3w hDGusKRRGXvZo/cv7e8Te9HhHWrVMqn/loSl6y0Jir3wHx4BzHMXo97E+p8fRxUFhhmU sZaQkBtVXkfg57noGxs0B5e/pC5WYXqVvxXQyRR8n1a8zx6fIryF3zJw2whp945ou6dR 2TMgPXnKK2yqzmz+7nRndcyZXvPJQDd/cmSSjSub++VchoSmfJe1unn+K8qmJ8JF9Rvh JSPA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=hdHykWHz; 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 2a01:238:438b:c500:173d:9f52:ddab:ee01 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. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id u2si9074198ejz.566.2021.08.15.20.15.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Aug 2021 20:15:50 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=hdHykWHz; 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 2a01:238:438b:c500:173d:9f52:ddab:ee01 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 B85DB82F2B; Mon, 16 Aug 2021 05:14:50 +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="hdHykWHz"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 29C1882EA6; Mon, 16 Aug 2021 05:14:28 +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-ve1eur01on0611.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1f::611]) (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 59ECF82E9E for ; Mon, 16 Aug 2021 05:14:20 +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=Vn173u/pK18Mg10O4fworud+oemiN3shtgFqsqukiFCXa/W6ezijMiyRPqQxZTVnPhH4ch/D1xvLUqccL4Ik9D7SVudSRACggs7muwrFMaTQOAAHSsKoOXupssQSTkVjVxgGsamlVlR5zva6/wZE47tivW66vlqVlfG4YOpYM//UvIkR3vJCxCaNW4Xkok1BiHe04846Xqe3PzKDN5CYeLv6lcGt90EqEU4kOuX4MxmEAq6Qn1hiY6kfzvMPE7RCnAikWg5Sl0cn4bzHwEGXDzR6wBu6qlnFiOeo6qD+UzjCn4e0/whYEh6NZx86SsE+30ckQtMKeAW0Zm6NS9vEQw== 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=gVTeQW3IdM9Orpt77KoMCQxAX1s3Rthjw26BeP49ZCw=; b=Gc1Y2zyP+z0HraOEet7dvhYRsTTQNsrVwvOOyENLhTRlrj58CsDkDN7y2OkN3oRpyFYJl/SnoycvxMMZ8jvUVhtOpcM8uJozjysCm8B/9k2xD97CyQQLvr5prhekG9mkwAeH6eN1G71xLgt1v5SZ0ooJRpqQnBtLLfcKqrd4KcU7Zsmtf0b+dqlFFEd7xec0VtV1P/egczdU9AWW+PDKDEzt5WxOzl0LrKY3RuYKicBRD95LsMmD0/w19zBs6IUy4kJFSfuSiv3u1PwhyGhGGh2TNSX6lIW2OS7K1AyjA1PUunxVdpTtvBOsD/i6MLfhnc5W//m6TkJ1MgaMaRUtzw== 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=gVTeQW3IdM9Orpt77KoMCQxAX1s3Rthjw26BeP49ZCw=; b=hdHykWHzppXFKvdfYQXbb3Ipaaju9yDYcP4uy6cFLsPAdFU2+X43f0NiWS4VbEvRYyXdTLsozKVGAxpFKrgfDGKf1E6WEfLnqjxdk4vV1EAOdzyEQNbtq2/cvjnIu10+fSWOHT5l/aQI/zrwWt6Txy/oIs7U7wHkc+BHnmsHFD4= 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:19 +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:18 +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 7/7] doc: imx8mq_evk: update doc after using binman Date: Mon, 16 Aug 2021 11:48:47 +0800 Message-Id: <20210816034847.22767-7-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:16 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4dbd2417-17f6-4dd4-f7d9-08d96063ef7d 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:146; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sbfsfWW9GhygOryQZ35P2mAfqjNZedJwUbEaBBjE2Huc6LuAPw42IIBBigTjH8rw1QaijUnW9wCIzohPgiZVRQP03l4xFNac9NWBNYDFWXZcfuqRltP4yvmGAWnfW06p1xoNetBvrcc23TMUDuoyUi1yr6+FDX47/l9/SgBIQav3o3nM09JUl32YEKwcjAYgKP3JIACqurItm0kvWsgKb4LH93AjNZXJaHuCDWFQvV+iZSyM3WPpeeMBKKpH1YUokqftTJ8pE0BtuEMNe4YP33t6OBnWVOEsKcNKNXsu6lEIbu70YNr61zULElcKYImg12Ib3C3g7INXFnpkLJtJCU1ZIMY8FOSY1ENuKL7aTICCjLEBwzkY169cUiQEBRXhAejOMRV69157UD+F1Tzx13buite0YbrVb6yvOlwEUjy1rjVSx/KtvaqkW5ODhwYpbr4HI04J6cpmg9bZ0cveXlZaIaZe70HnlibHUIuChW+3nKPET/j8AGnv3b9SCbkmqwa/xJ7E9P7Yhqua1pNARCarqIl1bvF9PaYXVavbFBWJ71zSj9PvJOLT+rafFk5PozFsrpznvJWIOP2NGQYE4OwSb+lh8zP71AKqWkMxt5lgSn7sl7yd18Mjgeau8DP1cCsPWJ/Hda9v4pA7szF80dl5kX7p7LhZSW2ZqVbuqbvgqdTXsFcL14JAUttJCdoP2DaqVkXwzMfSIO8buTeOBg== 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)(4744005)(316002)(6666004)(15650500001)(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: V+RPDe/xwoKef+cUOlk2rv3WnLRHoCay+h13E1ty6lkgZM5hwT867sFkmucdRdaDX2kDhYkW+KYH3eI9Ukx2AK0schceQaei6zUeBsUfRXr18h3ZpXEh8Qqm8Yv3ZDLEqMTjru8ovA+htERFjVhcXFB71KfBMPECe4sE9hYePKo00jIvNzm+hGvOCDRmokle3IJ8gDPnuuxlA2OajXap5OmwNMpYDkoLk6uH08pw2Vr8NE+dqamEE+K2FijuPoMETT599Al1kIflvoFVCS+o+0zdkZcfdGN42+Dwu636kdIZBVDDzFoCdgWSH6aZZmox39KdvbF7iTEfyYvK0vtE06bzk5lN3QAdBTtRI9uLnVe2iP3osNKNaq0PTmn1pUohTRc/FCB/h/26qjuOAMbKyW3sfxopuoDXEGdUgHgXWjcYxJifU359pjNrn4LwPjRSKKwYljXd7amArg9GCDMk66lOyNpMazFD+YImw5ndfImyBdoXNEGgzLkSAiW0GHKgqFu6JLvkbuKQ1C5VQbuJftai8gzeZREmBRGeCYzH2i6K963g2u+UZKXbMFhv8ILSNA7ZggPeJS10pa6Or0KDfw7nngibzMJzPpfe5Ih6m3x/QRKdYoPsX0EhswiS7dMOCg4LBagzPcI4JlvOjZb81Xm3HgS+j9K2jGY48Eh6l4IMJoHrdvvhbFDOVH9wz4JOcCKZTRg/Cjb12kvpbz4KibL2/XxHRyMWAy9X6dZfph5/F19HWiKTesf2/pSk8RRXX7U40werAaep0xG1f2FU4Gbzx06M0w9EvWPE88ey/SxSlJMTqhCHHD1C5T4kbb6Fur0LJ0/7KdVKMVhZT6zAhnscXPSQzQBENtcpa9e8KCW4g4u5m3xyoNyrPRk4uMqxNUbAtiJKzYqoN0O0oP+qgMa+pGqkvElkDkJ0ZWNpQwpeVXohQiL5bYF/U6QDhs1397SMH/fddaMjkb4hQpD3qbnIv2NB1CtS53eOtK3QpxBQl0aKhVdG3w9gTNi6xRzR0hFQe7+DsmGXmWX8SYgcXF+aIBsl7EKusM9TsISBM1qc+qRLxfVFOTxgxFU2JJbss9fzuwHd7+dl9K0PgWY38kYBjzUcc+RHQSYoAkbroIGC7Inoys1unfUbzZpPUykJ3D87a850SGl3aeCyxG0OwIwwjKiiJKkL+LziWuZtRbAgbzYGtWyqCqWqWedJfACXm+d6bKLq+Bv6IfMrVj02YnBF9mSjWocHPPrtdn9QEyRz/XfaI8FdrDpDItChNIzaOr50fhOSUm8kJCsKSoZhaGwwLanKgA2INlfmsiSX2422ENCzW4oSf2tRziCGFZca X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4dbd2417-17f6-4dd4-f7d9-08d96063ef7d 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:18.9073 (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: lAE0SRVeT8ofE5HmvHBoIc08ssQBsPDihkuZwsNyYPTH7L3aFRuZ4DMnvbh9/Jnmn8l/pDANcWF+9t0BVG0pSw== 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 Update doc after using binman to pack images Signed-off-by: Peng Fan --- doc/board/freescale/imx8mq_evk.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.30.0 diff --git a/doc/board/freescale/imx8mq_evk.rst b/doc/board/freescale/imx8mq_evk.rst index c269fdebe3..92eeda79aa 100644 --- a/doc/board/freescale/imx8mq_evk.rst +++ b/doc/board/freescale/imx8mq_evk.rst @@ -43,13 +43,14 @@ Build U-Boot $ export CROSS_COMPILE=aarch64-poky-linux- $ make imx8mq_evk_defconfig - $ make flash.bin + $ make Burn the flash.bin to MicroSD card offset 33KB: .. code-block:: bash $sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=33 conv=notrunc + $sudo dd if=u-boot.itb of=/dev/sd[x] bs=1024 seek=384 conv=notrunc Boot ----