From patchwork Tue Apr 6 03:58:57 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: 415861 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp4195586jai; Mon, 5 Apr 2021 20:27:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+uyZYL97PIRBi65S9W8nwX9rrqVGHtQCXKhxURsBc1cu7snb6IGUfmOcGgIby2GA5PiZ8 X-Received: by 2002:a17:907:d09:: with SMTP id gn9mr30849311ejc.538.1617679665290; Mon, 05 Apr 2021 20:27:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1617679665; cv=pass; d=google.com; s=arc-20160816; b=EME6Lb/pxbFtRup6ltNDoHoAXll3GdKs5P2UHKM+u+ed9zbg+SBf047pODXq973TrZ Qq4u9AibUovTgXRpcO9iT8UdITDIZj7sVXZcvaGZPJO2fqVnfyDOprlWZKrpl+BGKdEF 9hK/BdG6DTEvXjqvdhWabS86qxdkwuJMZtD3LXsX12jgWudzRzy7R45U9W2Xn533lko2 jTRb0AkAHvyyB3yZ000FHxjd9yIT4irvWNmAH/dGaoI12TuK8fJXu09L6g4NDz8zPh1j Rs8vINmS/9K5JHWe3TDuSAw3gkuw2czT8q6l3vLL79TTMtipfCzQWfJFSUEp3xuvZv7P n0Fg== 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=Jb7M8xt9pqerj8Xm1HcYecrc0yBRyMvChxKnL5wTHiE=; b=KiteZNfrJAJUZzw6wmuKVhwwUB48elnU7s5+dPY5mXIcu/8SlhUrfkxzy+KUh9yKNz 267IC39faFsy4SSgspcZOPOqg9qQt21WZqy2ytLkQveW6HHNGfzcFv89q1X1BZXt8nIG vw13nwR3IpXYJOB/NB/PLVOhR/Vjth6maIusyespPAkWcKi6w9C0hx7l5O94R9cznZh0 ckWlQztq3W++wdDVx6P1jro/QxjKOyBe/SAwuAGUsn7cRqXFILOtWplg7e/gI0NgjnAu MKFaWwRNnphsPU0ZJYY4u9yc6XLO2KBCostLNuYyQkYCtnsSjGOSfE+hUOFQMPjRxgIP q8Ng== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=J+RHrtrE; 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 a7si15192316edy.54.2021.04.05.20.27.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Apr 2021 20:27:45 -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=J+RHrtrE; 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 C7CCB816B0; Tue, 6 Apr 2021 05:27:41 +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="J+RHrtrE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 38CE381691; Tue, 6 Apr 2021 05:27:40 +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.9 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 EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on062f.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0d::62f]) (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 19F7B81691 for ; Tue, 6 Apr 2021 05:27:36 +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=Hfi/pSeIQuCOmBFJZdXcpzMxvsvLFrVHJ4sO/Tu4P51D6OSF/GvhZtJiF6PnMjIW3izs/J2JIvsy63gkL5iQFoJvggqt8agINbl+MrjCrsg15mPUsHoqBc0ZNv4weER7LgG9Vxf80l1M66CGEDb4CPwZBP1I3Uc7fkpdT2eF4CqAeDW2taOHvQzBEAvN5xT+FaOgN6C7NdDkYpBHCcVHAfDV+9Va1truDtgJqv+1HW0vNuMgnRhJzTg2OqXFJa+T+XvGoe1ucPsJkgcsa6GBd1JbyGiUjz+wspTxhm94Y4J36rV8z3a7elrBXzI3qTVb4SuCpUS40F7fFtbtJWWeAg== 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=Jb7M8xt9pqerj8Xm1HcYecrc0yBRyMvChxKnL5wTHiE=; b=mUoUp/Aa6h03Qkbw5KIKlIoH1kPkAuDQCNoxmMrggn47//CpQp255s7wCYEHyuqunPHZvPex/TJOuc1Bm/z3GZ1j5vPwlI/sYWrhRi4Fh2nYZ7pDmtEiIr1yftwram9IXBFMlmSrzr+lG46LpDYlQXF78i+BrCg1PmntD0H76Pt9/8sW5MIqjna3IG9Jc8FGB6pxPuFtHI6mNcyFC4gqC05RcOVd9NeyIWQiaya3trKl969LR6fF7qF0vTNvygPYA1DnXWTXgkxe0Xo9gGncBHUh1XMMkFLX6xGyJ7H0I2xAZoVjjuxfgmzpSspM8A4awa7GiAeOMZH1z5P/mNDuRw== 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=Jb7M8xt9pqerj8Xm1HcYecrc0yBRyMvChxKnL5wTHiE=; b=J+RHrtrEHJWt0LK6QlQkVlPkZK/rC++fbCTI4ct/jVb4Uu3IjXVRo2S2lsaowgFp/YtgPjxYOuuRv9xlTkb4k7ArXU3OjEAZieJFlfwYrEwEqFxapAr4crVybKhW581vSK4fxDj4LiQVpEUgsd8L2WAHtXIPwivWPgcBYSsmDgw= 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 DB8PR04MB6715.eurprd04.prod.outlook.com (2603:10a6:10:10d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.32; Tue, 6 Apr 2021 03:27:33 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c57a:6964:f72c:21cf]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c57a:6964:f72c:21cf%11]) with mapi id 15.20.3999.032; Tue, 6 Apr 2021 03:27:32 +0000 From: "Peng Fan (OSS)" To: sbabic@denx.de, festevam@gmail.com Cc: uboot-imx@nxp.com, u-boot@lists.denx.de, Peng Fan Subject: [PATCH 1/7] imx8mm_evk: switch to use binman to pack images Date: Tue, 6 Apr 2021 11:58:57 +0800 Message-Id: <20210406035904.26598-1-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: HK2PR02CA0176.apcprd02.prod.outlook.com (2603:1096:201:21::12) 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 HK2PR02CA0176.apcprd02.prod.outlook.com (2603:1096:201:21::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.26 via Frontend Transport; Tue, 6 Apr 2021 03:27:30 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 702a40a2-7809-478c-752f-08d8f8abea36 X-MS-TrafficTypeDiagnostic: DB8PR04MB6715: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:57; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pZsBANFSvrPXicViSiS2DrBZAO9G61rfUwgfeqoOd/taKPxNY4uFhmE4h4WX3RK7q4vm+iMIQq7p1uLDgm1k2eEwy2L0BNSybZDtwVw0uFmBwN9Ei90MeEF4PBCcBbZX355aJivceDjAsHAbBIqPX0fVhKwkpV1zqc+l+7dQwws4kJo0E85k9c/Ai1AZSN2XXM9n4FEMU4WyiqXWyS0OHyP2/OhcsSaORZzE/4mTXSvjWaKSCoPa+tuzgEFZNdYwJaZZE6MdSqKk9AvvY0dVVXMy1J09t7C3Ijj0qizwItm+UEyJ/k3jJaXdtkm7vo9wKwg9rXW8L/R6JumbwUuMbdlKLjPEYs6ayVanbEh82Zdp1VUC/a/2FotiwvM0PooPwPayUUd564uymc/PFMdih2JwoQlAkxNAWz0rK/zJMBmyBRNqhrpw8M2UECON5qLf5i4WodIkixXXho8UfJPVGflTkJT7Zw30FBBOL6B9aygMKxbPGn+UfwG9LjR3JfFDzKjrsR2ujX94pCIY0U7kO1A7MXGW+6wkSBF2er53pfgax8onU3IOWn5PqM+fcE3x4nkllPgO/eSAZ+Rn+Sy12rqkzEeRHfTrcpyltXR/m24ITYXJw+lwz+LCa/ETmZx9FCTB03m1mgD5GUvgjF3JV8VDOCUADh0jb2wRJw8yHeo7FGmnctE6dECo4WB4s3tr 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)(396003)(346002)(366004)(376002)(39860400002)(136003)(26005)(38100700001)(6666004)(6506007)(2906002)(66946007)(66556008)(66476007)(1076003)(38350700001)(83380400001)(6512007)(16526019)(478600001)(956004)(8676002)(2616005)(6486002)(4326008)(86362001)(5660300002)(52116002)(186003)(8936002)(316002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: vbL6rf4ymIJR6DuANoYLcjDQX4ECVnJp8FFX2V2u+VRhvquiG6T0w+g3dm6JYsbx5O5bE3ueOPQLRdHx+mmVw6oeb2JKp5AYrXXrWomwiq9Cn7fm1SZN3LS6ufep6ZiFPlEnnCwGY44U6cr0UHZOdozB37UhgojoM/4NwWs/fZlliLFVHIw4BitqNrjNpvboafO5m3QBKIUB8ENDoGc43i0ya+7PsAxbBs6kfWC8GPRuvKrRl9r/f/wi6eNX7iU2hz7aXSILypVDpt4m6cdsZynzXwML9bXLXlxuTiIDwm7Qe6xPLuCXvdeSRIejOHgABr2AjGF+5xgOUqoOThPOE+rXfNFTWp6HNo4a38Y+wk8IHwd3tgveC7lRDqAcUHdJNZ+whbUQCUOCq5QDFiyirPKhvNq4kbscRY/IIC9JZVP2tSRjHwS3W0eLE1U55T8++BSU5ZDMT8d2s3rrRxprxHoBJ9d8ZtqeurLeDJO+SAfrJypG5sFGVH1dXwieLTrrLZCoMvP9R2l7RlB9gb0rDCZ6SwLUWJXxzln0LQDdeFyL6cbdSjtUAFnTZFoY15/ekT+ZHp8n8m0astk9fgH9nuagi/8L0TvvIbLsBxKVC9or0eekXr8t2h0odTE+DUvQggCPGwXAbNYY+DhE5bXBvCAxZOavRcqjxYSF4UFlFPGWj8DfLc/nvHZT3cOwO9oFkcLdSvAXsgCmIXVsA0hkQNsfP47F7TGXqeG+OPIXlc8ujJPyV3iAGRiK0sA1+ANbhdfQrqEGPJ6eOoUp8eG8IQptneex6cTqDsPvAOL9TptKAk0IlwbUhB3IE4lxiRXXC9xUwT/bt857R5cCkAmmTR22vxFhF1Fvt6IjfUXydR2gNPs8+4QX/TE/LlDwpC1PuOM3Ayl8EP6fwe0dfyoP/5Lj4i3tmQpTrAgZ73zL6p1ejxd/2iSaFKfbfBaCA43ScFqR50OvWdo5PN4QzOu//KmMsx0VfJlV4iJc81xiTzD/7hJZE8SHL42tx4IyrmApsi8ZVKWPZOyA1b9PjcFEi/NPzm/u5SiNoQ/TRsB3NlfMs6366g25xokiG4F8wKnNQBL6XpE8Q9oe7at+JF+CMnWa5qXYhvFkJHbgTlTf4wHfd2m9x2bF8MmRl3pBTaCxNFTIZaf+2daHD3AvUzCwr5VI03UugfIMtkp5k4knZ2qakm7aRQoVEUjDEE7ZuLO7/cDf/MqtKQurhj6YX1hu8vi4/+zaMB9JxVq5GMJsfrU0EjkxD68H4pDSZvj6A+uTns4s3ECYSlQfr0kgRBvAcGesdS5sHRKLYCcLyUrxYyq/960gmoJn+OPmTrK9PpH2 X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 702a40a2-7809-478c-752f-08d8f8abea36 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2021 03:27:32.8237 (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: tUjBWagvoMdXnepmBUCORmNS0jyMnyniur5mUjsbsWkDK/fJLPTS10HGpk2x0J2isiKH/+XNbOPxwOBAtOe63w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6715 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.102.4 at phobos.denx.de X-Virus-Status: Clean From: Peng Fan Use binman to pack images Signed-off-by: Peng Fan --- arch/arm/dts/imx8mm-evk-u-boot.dtsi | 106 ++++++++++++++++++ arch/arm/mach-imx/imx8m/Kconfig | 1 + .../imx8mm_evk/imximage-8mm-lpddr4.cfg | 9 ++ configs/imx8mm_evk_defconfig | 4 +- 4 files changed, 118 insertions(+), 2 deletions(-) create mode 100644 board/freescale/imx8mm_evk/imximage-8mm-lpddr4.cfg -- 2.30.0 diff --git a/arch/arm/dts/imx8mm-evk-u-boot.dtsi b/arch/arm/dts/imx8mm-evk-u-boot.dtsi index 6d204526af..495bef3d38 100644 --- a/arch/arm/dts/imx8mm-evk-u-boot.dtsi +++ b/arch/arm/dts/imx8mm-evk-u-boot.dtsi @@ -4,6 +4,10 @@ */ / { + binman: binman { + multiple-images; + }; + wdt-reboot { compatible = "wdt-reboot"; wdt = <&wdog1>; @@ -144,3 +148,105 @@ &wdog1 { u-boot,dm-spl; }; + +&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>; + }; + }; + + + 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 = <0x920000>; + entry = <0x920000>; + + 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 e7e1315bac..d9a99e9ccb 100644 --- a/arch/arm/mach-imx/imx8m/Kconfig +++ b/arch/arm/mach-imx/imx8m/Kconfig @@ -40,6 +40,7 @@ config TARGET_IMX8MQ_PHANBELL config TARGET_IMX8MM_EVK bool "imx8mm LPDDR4 EVK board" + select BINMAN select IMX8MM select SUPPORT_SPL select IMX8M_LPDDR4 diff --git a/board/freescale/imx8mm_evk/imximage-8mm-lpddr4.cfg b/board/freescale/imx8mm_evk/imximage-8mm-lpddr4.cfg new file mode 100644 index 0000000000..b89092a559 --- /dev/null +++ b/board/freescale/imx8mm_evk/imximage-8mm-lpddr4.cfg @@ -0,0 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright 2021 NXP + */ + +#define __ASSEMBLY__ + +BOOT_FROM sd +LOADER mkimage.flash.mkimage 0x7E1000 diff --git a/configs/imx8mm_evk_defconfig b/configs/imx8mm_evk_defconfig index ae9e0626dd..883994c1a3 100644 --- a/configs/imx8mm_evk_defconfig +++ b/configs/imx8mm_evk_defconfig @@ -21,9 +21,9 @@ CONFIG_DEFAULT_DEVICE_TREE="imx8mm-evk" 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_USE_SPL_FIT_GENERATOR is not set CONFIG_OF_SYSTEM_SETUP=y -CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/imx8m/imximage-8mm-lpddr4.cfg" +CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/imx8mm-evk/imximage-8mm-lpddr4.cfg" CONFIG_BOARD_LATE_INIT=y CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_SEPARATE_BSS=y From patchwork Tue Apr 6 03:58:58 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: 415862 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp4195735jai; Mon, 5 Apr 2021 20:28:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyiPG2dQOOnA6NOFeNwm7W2ksFS+fSAb/E72OQ+DFUvDwhxCwHwB8eap71g2eT+85e62hgc X-Received: by 2002:a17:906:c28f:: with SMTP id r15mr18490930ejz.314.1617679682408; Mon, 05 Apr 2021 20:28:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1617679682; cv=pass; d=google.com; s=arc-20160816; b=TV267+NARi8GPiDVOLclWJOEizdr+G+4AG2qxQDkBvoNG5lNVJoxibOtrc71ZpvpbX OvccnYN8L27he8yDT7UIvtcv3i+aDRd5G/ir6e12o3vOkk6cYWO9iCluJlCEBxDAiYdt 2R1OThQbepCNDkkqAXrrhzI1PHUlAM1E+t9oCsOUf+erXNsl/eaCOuFpJT8G2JCaUvEF QR1P5TubL/hUoFuNBqHtknFZp3c5l530hIlVPNFrg/NXO3WZ7kG7gmCO2HpsWG3On+9J NczED1Y0B6KBgGXrx1aZ3aB0HIpj7aFsyCcByWsBkDimUSdW5qxhZomKTNb33UliDQ3Q sWBA== 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=WZNHyTvPCKXWfYFp4dxgDkdBe1akocmjDw554MUWCA4=; b=NrA05cpeQXzsT8WYrCT/++oW3gOSl10gaKpYExC+44MU9kUMmsEHa0tunPlNWK/xMl p4tpHqF/2cmDwx72Xdx03oAtUHDBzdyunVYW6Ms1DOtBHJsQaMy8vUYWiMq8hs9CP//d jsMw1ARmPj7C+tBdheo5T5R7KqTGUOCN+cACxqt9BhY4WkC/PRUO4Hm5rdJCD4MYhI9W OfkeStAElKXYBt+ZN+4cz4BElr8ALEa0ULB0uGvfncY5BRgwFtc7bbKCZK/KhsCp7bm0 TjY+gjK9B2jOMiHTYG/lQYEuK0fs0JgjGzmEPyhPN8Ah/ei1Gernck6EYE+2T8mZxB8H RZRw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=PGN49kwW; 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 bo3si15000662ejb.121.2021.04.05.20.28.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Apr 2021 20:28:02 -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=PGN49kwW; 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 AAEC781986; Tue, 6 Apr 2021 05:27:48 +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="PGN49kwW"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BF497817B4; Tue, 6 Apr 2021 05:27:44 +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.9 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 EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on0604.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0d::604]) (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 0015381693 for ; Tue, 6 Apr 2021 05:27:36 +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=dQXcny87Q6zMFNRdAB0j4GEjLdx58FtsFXpSdKnYP6ZhIlk4OmrjwzImrai5W8nTy1bCpwOfzA78r9E3UpmUpDpnyvvHFaM0TvYTrA1u6fFVn1SFKU2eDI5TZXqVj0b2uuS64cXckDPthGcjdPnUYlKe1Avh0TwbSZPdQP/o7QC+DVIUiNn9wlxBWqoKQJHPqgGsP7QBadKBsz+yL6BT8AhBU0dJVvasnJTjoLT25HJQT0DYuFoERQylOzVp6KjBOWKd957TtG6PjE5Bzwvw4JTe5h3LOf4Ic6o5ChwiHyOVRXlheDKKkrdCnCyKZNDKUBcf21rmCGa5i82WttBoBA== 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=WZNHyTvPCKXWfYFp4dxgDkdBe1akocmjDw554MUWCA4=; b=R/zlgy9MPnW7jWs+Px2XbO2PY6A5rtDTzNvDhquiBrBQRdoMr7qMR8aUlrFpd5KaizDb6UozqFc2xrWKcDxEm5eSDciXJ3zTETej4j+Q8Mom4ajMX84d1pHXNncb+3wszXdg53EjVU7yEZcdahV4/2NlNtLcvsaRDyeJK/kTEW5fT6wKbsB4PmVDkh1zdnOnFHnqfjpH/PB0OWevV7z0IvGo7lA5+gALJpm8D3U5Mx9A8p4B16RbWYzdMlZPD0rMJ9c5Z1dl1XsprfVpIqFVm58lPLo8MlI+oJrTnbnD+LQVVEK5+Z3TVZk0xatNf8rgYDSNfxnZMbLvRIv57DnPrQ== 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=WZNHyTvPCKXWfYFp4dxgDkdBe1akocmjDw554MUWCA4=; b=PGN49kwWTRMa5i/GP2IJgA0mXdJKrQG2/DhiPQp7BrB0SLNPW5NKafP3Jccti96c0A73E1MKsO+zH6UkCK7Y9qYhY08QriWNoXCySiGAyxJ3tHngCAMDTD70rWoW0Z64/gfg7ea69bmuK1pWzofjzad9CSAM6RTHd0YJGVG0/0I= 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 DB8PR04MB6715.eurprd04.prod.outlook.com (2603:10a6:10:10d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.32; Tue, 6 Apr 2021 03:27:35 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c57a:6964:f72c:21cf]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c57a:6964:f72c:21cf%11]) with mapi id 15.20.3999.032; Tue, 6 Apr 2021 03:27:35 +0000 From: "Peng Fan (OSS)" To: sbabic@denx.de, festevam@gmail.com Cc: uboot-imx@nxp.com, u-boot@lists.denx.de, Peng Fan Subject: [PATCH 2/7] doc: imx8mm_evk: update doc after using binman Date: Tue, 6 Apr 2021 11:58:58 +0800 Message-Id: <20210406035904.26598-2-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210406035904.26598-1-peng.fan@oss.nxp.com> References: <20210406035904.26598-1-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: HK2PR02CA0176.apcprd02.prod.outlook.com (2603:1096:201:21::12) 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 HK2PR02CA0176.apcprd02.prod.outlook.com (2603:1096:201:21::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.26 via Frontend Transport; Tue, 6 Apr 2021 03:27:33 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 527bfff9-7b27-4078-cce9-08d8f8abebd1 X-MS-TrafficTypeDiagnostic: DB8PR04MB6715: 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-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HOumfgJ9ubgxM9444kh+L79yzGxMLBRoVFS+BW39+tNcUqr0cIth8WQd/GEj1qJZkUUAEFI9kxu5Lr1k3MCh7TTzQ0xKxwHdN5rUCOQxPLtJmI1q9ywg72kp9cWgvpQZCfuXjFwggBzUw7+XR6uUar4y2kO4zy+JrBZeIUM13IztSnZ4liJ2Nqq4I4EzdQ8S/BzH9ZWgbdwBqKvZ0dQ+Rp7WXgMrTItirDlOXC7ZyuRQfjZJECskbl2d605zxHGmHRZFdBr2ij8ReMU/aVhjHDMYx27wJMiMmx3mU6dlGCKDpbP27I4xzAAd58GwhLwVLKjo6G8kzFoM8oqe4Jb4XYAuEUAxI0RhqiZg76HpkvhsTRj7PrQOs5h46BNHe+T/TPN0sg5kCoZ+LBJOQz/Vv/If2WLRN1wF0Io3m/QHo6XtOAIrzOxUEHpmxQrHaY914EHMfct8sNaw7C/3MItLNVnTETGVpPTuJoWo01myCsEIk2TnfLDz44SDNbTvam/GJruT2yQhGyDrO6Z7rvy4dtppP+Y2J91eU3/vUJ9Z1JLeuwwHXFMe4sssEsbSCvmolN3yoRzMar+x/oOd0Lf5I70WTV8CeVJGUfQifr/sXEXQAQc+PTT4LaA4RZQu3FEI8/LD4axkIvPXF2VyUWoSckFIZEYQf+dVFNcCNhSpFCZHoiuPw9BqG3FfI4kBmdn1 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)(396003)(346002)(366004)(376002)(39860400002)(136003)(26005)(38100700001)(6666004)(6506007)(15650500001)(2906002)(66946007)(66556008)(66476007)(1076003)(38350700001)(83380400001)(6512007)(16526019)(478600001)(956004)(8676002)(2616005)(6486002)(4326008)(86362001)(5660300002)(52116002)(186003)(8936002)(4744005)(316002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: gg3ehepbJ/ppJjruRZbsth6T6TeLZxKC/2qIZFcDfn83pvIWABAJb3qdLfmRBifoBQzTLBRuXUJciKrfaay3rG64X8ZwgJ3VTB6ejTg3LjlOMEVKlFrconhii0XS+SO3J6W+xc5fPBV68EErHeejccDm4kuR0VoRS+vQBjBunk41ziv+t8IgqVkRgekTG47GovE6WTgNBXgG3PJP0WKJ7qM2d1/cNuwuvYCCWePFJlDSCmUo6PwwMJVw4hadl3Kkcx1oRVz9uJRXq4hBdz9mw6aufB8WpJ3DJQKG6EJMCV/fT421iDaQF2VV5qHYl8FyfbBRH+7YKKXouXsEIVE6JVK7xaGvfhZ/h6CuWrUTlVrqif/WW/byOh+NISOiGI07sJfYeIS9kRFoTVerGS95omUE8jgb6pH5m/BBMmePXZTzVLOZx4FEpduwnJJfg1q/IqtzT+kpbsrXU4xJZtUF/Q0TUaxUXHooRhxcB98tY+aj7kU9176ASce0CaMnjw5mlQ8eNRjo4lpwTATKZpwptRrICchZD5Zgij/dxG3BbWfqWePbr4mtJ5XmkIGhIOs8vYjwUIPU+RdsHFgeWZy//zPnBPgKuL5fPR51i6sdqg6nXeIpTWDjw5kITQVALRRHZ+KmHF87L4vBkhBHPjvpf97cmD2CwBM5MrgFa3MlG0H8CriplRFmB+bszqdOZLCqVO/02sJfNdRA6JgBRpqbI/AEm40+aI2M1+pzBHSwgFpvl04tvBV/NPEOJw9eLGCEpN+ywpon/5N6lZAMxyvO5G07+J1aAR6tak5RDxbstZFIIh0GltV7nVKfcZCmOqVBcm7OBTZuG/fxFhcH3SbtsEqgFaB+uiakbS+K2n2w1xDyRve/+CWBZzmKXT72KObRixrV6BJyXUdtuEskzW14mQfEzaQexEgnBgsu3UtLwUEzgLYX27MqhzitDfkbzi0+WqhXHrevZKnXnoge5toQTn49LYQilfi8/gMifRCDEw9A6LolQwzAfM5uNYrLm2UKKBv412iWeLpPBLppTjUcOOC4fKjv1qs/cFYuGtuGaKg+Rfohcns6AGVCyeYJ57q25spEfiWVgTNO+sk+ZNdLxAqg7+lN0Jni1sQbhzNBOYmpHYvifjB0OXMEHDdHW2jpvGF25LF7AUkOH+YnaLfyysOJIDUNswrNKTEGn5Xo0g+eZM1D3Uk9cu84C1ifA+uGzaiX7cpKIy/ufxvJdED8y8pimLp+Ef2HC5zbj78dga2ACVKontN3J9kv7bUHh9Dg71J9cVy7UBQig9hYgofqOSQOxU75POiWxqxMn+NhR9S4qMdORcAIicu/BE1cFAH4 X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 527bfff9-7b27-4078-cce9-08d8f8abebd1 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2021 03:27:35.6574 (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: vQ5XLUX6wWju+hDhgTfgMHLMgbNEQWwnoZWJzuePnkTntSxhq78oi18nHHO4H1ckYCpMZ77UDvJFvseSMf6AKg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6715 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.102.4 at phobos.denx.de X-Virus-Status: Clean From: Peng Fan Update doc after switch to binman to pack images Signed-off-by: Peng Fan --- doc/board/freescale/imx8mm_evk.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.30.0 diff --git a/doc/board/freescale/imx8mm_evk.rst b/doc/board/freescale/imx8mm_evk.rst index a9ccdb7850..7fd3d72564 100644 --- a/doc/board/freescale/imx8mm_evk.rst +++ b/doc/board/freescale/imx8mm_evk.rst @@ -43,13 +43,14 @@ Build U-Boot $ export CROSS_COMPILE=aarch64-poky-linux- $ make imx8mm_evk_defconfig $ export ATF_LOAD_ADDR=0x920000 - $ 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/sdc bs=1024 seek=384 conv=sync Boot ---- From patchwork Tue Apr 6 03:58:59 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: 415864 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp4195991jai; Mon, 5 Apr 2021 20:28:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSnMa/vZutB1eyn5uxiPl07JPfpX4fFchRVi2fIO6M6LchdDwX5G6IRSGolfSESqq553jn X-Received: by 2002:a05:6402:4386:: with SMTP id o6mr37010201edc.307.1617679709445; Mon, 05 Apr 2021 20:28:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1617679709; cv=pass; d=google.com; s=arc-20160816; b=ZOc0uWy9iTpGS5mIfXJKfKrh1/NhEhRxMEC93zNHJLg092Oz/nBuhNq8eouC2QAkPJ znDgcJekstposu3d60lcbwAfYY20hujQPZSRT04PLz8V7egXEsBXl3K6Y+oULQYse8i7 rov1cp/wsR3wUYcPBwY0MRdnYTnICEJvAxbFRy001iMtOJbUuXNAO6DzYXUhOl130C9X 0ZY7mxqwoEI3/6OkAreaZngV49FU0BYSOeCZP18NN1M6FP4pd5qJiYSQmXRfEFRh16aV 2A2mywajoZkITKc/pHC36yTx27OyS9ZwXV1H0C24sHEutqgjzxFqOsWC3vmgwgc2rx/l FQrA== 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=PQFL1ANlLGyq0uV/ZncsnRo/Z8DgF8G7/S+WIt78IbU=; b=TOAuaI3hagy6HrCY1lcqU9G/n/+VnXhPAsBBjy7wZoDFWIIyF4jVes11KdWvEtqHSd XdEcY4I9JhDgK54wIz7sBIJ0yU7Y1R0uw7H9AhduciLcwydX6ONFA733egLHZfC0EYz9 D4n+YBw9epGdUmKU9Ky5NlUzVI96UnAOMmjgTljdFRVEUAyr/bopeFCLUYpC3zOYv/0M OinxckTa3Ehhthnizj6LG7Nu90+bk0iX1DB3NKGKyNmx7Ti8ffRiZjcOSNjJ+DEs2Vqb VUbxSH8q1K5g/a7grUn12YqENlsncBOUeVZpnWo7Vtv/jJZuipTAvnot/LwKiW5J0axH vaAg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=DUWad0gT; 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 du4si14936010ejc.94.2021.04.05.20.28.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Apr 2021 20:28:29 -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=DUWad0gT; 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 0BFD3819D2; Tue, 6 Apr 2021 05:28:08 +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="DUWad0gT"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C8FD481CC5; Tue, 6 Apr 2021 05:27:49 +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.9 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 EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on0629.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0d::629]) (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 97264817A1 for ; Tue, 6 Apr 2021 05:27: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=peng.fan@oss.nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=epsKsR3WbeRyTubAAX2AJP3qyWyUI0cDx3g3Mf8IaiSmKYj9oF8HUOcOg53IpgSexLQR+oUcEON8oUbP+/CjB1j4G3PMKVBH3m8QgjMwo9U5wTAlEG12G1sDMZYyfWurP+NqlXfs3MqsQYorT2Fg+0+ogqM5hylRJS5BQCGsNZcyHM//iktAp74yAQ/0LiSrYZ+/6YlWlSlKEFAPJMzkqSzfDNgwWDK9ovPxeOcxxunmZFKKoFt5hDpwJrF47kL2QWcNoYybzaCvzEmM4OibPuR+8+xerrFR5cmKOOfl9TiEk8WwyBiwms2e78cjjSViYMH1AWiOWqhTLqPEHmf+zA== 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=PQFL1ANlLGyq0uV/ZncsnRo/Z8DgF8G7/S+WIt78IbU=; b=dqYzicvBiQcM17vn03hSrWBUWOVHww3wRQM87STpKTGS496+ZWOJf3TVkM8OWKszcRESlknbns08sUJMZhibpoT/V8lyvtRQnmOnECFI01ALjz2uZP/OcAd+2zkXHzJyaBImF/SOlkFtKQka/pprsZY3SGaETBEBW7DIpU0PKMgzmuw70o48SJz7iZMXCocVPMj7cDl+7HwpE5EwU/Rz+4NEWHHRK7hs78MxOLOdQMVgR8n/kD0wluU8tkZZVKo3W2IpCTmwWY2UOFt0YSVBG5YS93CfFN2oOz+awHDz6a4Ak95IOXDZJ243qzvXlyzwthCH83pOQcnDz3kVOa2zcg== 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=PQFL1ANlLGyq0uV/ZncsnRo/Z8DgF8G7/S+WIt78IbU=; b=DUWad0gTVWiHZvGzl8TVtI6QYdxxe3OsNcY5Dmn1vVMZtcKvHWT7NuSqlEsltCzIg4jPQBfIP/Lt+ICS1nc6sU7K86kyHYilQZDhStflA88twj8va+HpHUK1azTaxksbNnqsJHT4FOcSRJIbk/xHxQGgsjuGi5pTemiwJp7YTZU= 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 DB8PR04MB6715.eurprd04.prod.outlook.com (2603:10a6:10:10d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.32; Tue, 6 Apr 2021 03:27:38 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c57a:6964:f72c:21cf]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c57a:6964:f72c:21cf%11]) with mapi id 15.20.3999.032; Tue, 6 Apr 2021 03:27:38 +0000 From: "Peng Fan (OSS)" To: sbabic@denx.de, festevam@gmail.com Cc: uboot-imx@nxp.com, u-boot@lists.denx.de, Peng Fan Subject: [PATCH 3/7] imx8mn-ddr4-evk: switch to use binman Date: Tue, 6 Apr 2021 11:58:59 +0800 Message-Id: <20210406035904.26598-3-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210406035904.26598-1-peng.fan@oss.nxp.com> References: <20210406035904.26598-1-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: HK2PR02CA0176.apcprd02.prod.outlook.com (2603:1096:201:21::12) 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 HK2PR02CA0176.apcprd02.prod.outlook.com (2603:1096:201:21::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.26 via Frontend Transport; Tue, 6 Apr 2021 03:27:36 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ca75d237-3c87-4f48-506f-08d8f8abed62 X-MS-TrafficTypeDiagnostic: DB8PR04MB6715: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:57; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nBDggkw6iaGhGXUsqArPwxcOOf+C1K+ylrwB/S6jIQmovGtDOnm39TPsgwsh2kL8wSk3EaWo/OfY0Q0VbIgK0H+G12zhFvdupR1SoyF88WVc9/0ni7tfoZmCMOGaPyE1tUHFq2Y83PYliiZA7v/F6bBFhJ0EEvhwN9/kPPPy1qDTciEzdHh/H4UIxwKKKkpklbUDminAnpkw4RTf+rDicDeuUenOMI+YZjPGNCDCCf9rzl9EKihwYVxbmXP43bGAfrD3D7J1zlRCwlw2uH+ik+vbnxn9rLvwxeG/SqtmrcXRQ08hqOL2vy2gAdAeReXzxNTYuAmHyoJdMcyjtisW2krxL8z9Dix4o9QCH8Vt3e7a0ooM5Bd48w16VU8+gz3RCDOablFrcQyIKgYCimIhnYfaGw4vtTLBjGEfA5pD62OPKm3ish2b1WVIohyNRnHf4uvKXuE6MUJ6+gc8yKjt7xX9fotMamTmvi8HS7JgoRJ7JHOqp0NLXvuQTm8Bq/YWnx6aksJO3+k33w9FdrxFNv44k4U1A2c6YNopHZpWSc9Of71R4Q9/ntWOLYkxyLPTfQvNnn6Ww4+hla653D25kN44qWHNlgQ216o5HbUpJMNZtXSGkOFDR7VY4r6MfiXYHrefJX2GtfpI/o/RFOiuDfrXHJN8t7ZeYJuspril+ZsHqVZjsYLZ0xGmFAeXlwEKkMeidkE45rMUiGMx4e3y3A== 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)(396003)(346002)(366004)(376002)(39860400002)(136003)(26005)(38100700001)(6666004)(6506007)(2906002)(66946007)(66556008)(66476007)(1076003)(38350700001)(83380400001)(6512007)(16526019)(478600001)(956004)(8676002)(2616005)(6486002)(4326008)(86362001)(5660300002)(52116002)(186003)(8936002)(316002)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: kepr0ntRirNCy+wfjYDsTlC4UMx4axQCow9SkcuJ5E4HZh29T+0Oz0gubQnDgLpj+9oFfzlm2g42TfJ45bclhp8IiKczrWvqiyS/iVeEjVUvPEVpnxnAYU+vFALZj7qFndd6v/PFm7ni/DgZKcy9Jo72SNOJiy/98228/9bv3qIkfbdq94Xmrzn4SeCPTSAloxtSvXycU910QCoCe85H33CtXbgskxDeG3sULHmxm38YEBU8aBiK2X8bKtWrv1qibILebOkgC1028nmLUq7PPNh+L69Ow6NwfjLgXurZ6l5rhcKy0CUQksPZUdmFPk899HVVady7gosnSY7K9tQAh5ZNH9k8iNouhVdUFcXYc/gySEmxv8KOcBXZBZnGt03jR0imTTcUuxhtPC9NCv+sHO2hJBTUgALmKrd/U/TphSQLdZY07g+h4W1+qJzWvxx7yFoZvixpNB8/IvwPe61ARbz3L+7zheDHVUPl0fDvyKp7JL/MKn/q9s5q9R1NqGI17bbuRmWNlGbu4LzUS08St+lEXI5rPr+I9+sx0SeEATc49RdqaIoojL+i8eS/H+XznU0hY00NdtKhiXqdVAxRYGGPcHh4bZWscdtngOx0fM5HQhUrupnTTpSQcSzsC5O6KHaPHbmasA/FK7i0UY4jmfxPby6lcrUdVIpBQWwsVUS4/mFUAa1h0/A0GbiOIRUlBCBS9t6ySRxBF3xPMb1+t3GJ2aI0V5+4YKK2RD3FWm3VcgGCxaX7AgWXtjf+WbFZ0jDLb9R38tRyODcY/V9dcgw05+udUPikmarJukjS+IV0A9m/Tx2JTjLDVdJsoDt1lZbZGkTpFD9juP1G6wlaxFCIsWutFVRlIyudZQF94xTAnnKlsMp8ZgKpHIvEoHmkiBW3Rd0TkICKYpkiuBym7y+P9Ew8WHxpYPxgfiI8ssnqSV1L5wl9CTPvJfanGuQQlXlZ7eKNNkhWk9cMqL4xQ3XjBeSqJR7Got+HHfsGsluBGEbj38l+0z2J6T6/5CZZCS0Prg+TpvU8smg6zjUGFbTVxChbp1IS3qNzePJcDaQWh/VB60tZ+s9Tu4vFNyFPD6FrsPs9vn8ZA1apkU0h8Pu1TSo1WrKLAUHi+RvLDk37IscvuaRmO6B9DSo1KUYIao/ReScPUd624VOJB+DtjeeUxJyXssiO8XAXFHBPMel/zdWZro2WjTgu2TvUDDk5aB2n8QDHtNX7gUb+rKhv0GZHJ7E+vJObBcqc9TYQY/osTVsKhb9/B2kI9a2gyc5KO+sjFtD38JrVne6KPTH07OQV4xNTYRTqt67VuhN3/OlSy0cd26IdF2G6yPjzRjem X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ca75d237-3c87-4f48-506f-08d8f8abed62 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2021 03:27:38.0323 (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: MntHvA8dd9x0XkXlFdUYwZZjtK0NGnwe1TKUKMRbqMgWGQmV9rH5HE/7FN7oTjUvRmzbTem9Y8RXMxvOE5XW3g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6715 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.102.4 at phobos.denx.de X-Virus-Status: Clean From: Peng Fan Use binman to pack images Signed-off-by: Peng Fan --- arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi | 106 ++++++++++++++++++ arch/arm/mach-imx/imx8m/Kconfig | 1 + .../imx8mn_evk/imximage-8mn-ddr4.cfg | 10 ++ configs/imx8mn_ddr4_evk_defconfig | 4 +- 4 files changed, 119 insertions(+), 2 deletions(-) create mode 100644 board/freescale/imx8mn_evk/imximage-8mn-ddr4.cfg -- 2.30.0 diff --git a/arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi b/arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi index a0fd2a3098..1d3844437d 100644 --- a/arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi +++ b/arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi @@ -4,6 +4,10 @@ */ / { + binman: binman { + multiple-images; + }; + wdt-reboot { compatible = "wdt-reboot"; wdt = <&wdog1>; @@ -119,3 +123,105 @@ &wdog1 { u-boot,dm-spl; }; + +&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 = "ddr4_imem_1d_201810.bin"; + size = <0x8000>; + }; + + blob_2: blob-ext@2 { + filename = "ddr4_dmem_1d_201810.bin"; + size = <0x4000>; + }; + + blob_3: blob-ext@3 { + filename = "ddr4_imem_2d_201810.bin"; + size = <0x8000>; + }; + + blob_4: blob-ext@4 { + filename = "ddr4_dmem_2d_201810.bin"; + size = <0x4000>; + }; + }; + + + flash { + mkimage { + args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x912000"; + + 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 = <0x960000>; + entry = <0x960000>; + + 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 d9a99e9ccb..be697bddfa 100644 --- a/arch/arm/mach-imx/imx8m/Kconfig +++ b/arch/arm/mach-imx/imx8m/Kconfig @@ -59,6 +59,7 @@ config TARGET_IMX8MN_EVK config TARGET_IMX8MN_DDR4_EVK bool "imx8mn DDR4 EVK board" + select BINMAN select IMX8MN select SUPPORT_SPL select IMX8M_DDR4 diff --git a/board/freescale/imx8mn_evk/imximage-8mn-ddr4.cfg b/board/freescale/imx8mn_evk/imximage-8mn-ddr4.cfg new file mode 100644 index 0000000000..22aec26da7 --- /dev/null +++ b/board/freescale/imx8mn_evk/imximage-8mn-ddr4.cfg @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright 2021 NXP + */ + +#define __ASSEMBLY__ + +ROM_VERSION v2 +BOOT_FROM sd +LOADER mkimage.flash.mkimage 0x912000 diff --git a/configs/imx8mn_ddr4_evk_defconfig b/configs/imx8mn_ddr4_evk_defconfig index f7ea65886d..7f020c9a7a 100644 --- a/configs/imx8mn_ddr4_evk_defconfig +++ b/configs/imx8mn_ddr4_evk_defconfig @@ -22,9 +22,9 @@ CONFIG_DEFAULT_DEVICE_TREE="imx8mn-ddr4-evk" 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_USE_SPL_FIT_GENERATOR is not set CONFIG_OF_SYSTEM_SETUP=y -CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/imx8m/imximage-8mn-ddr4.cfg" +CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/imx8mn_evk/imximage-8mn-ddr4.cfg" CONFIG_DEFAULT_FDT_FILE="imx8mn-ddr4-evk.dtb" CONFIG_BOARD_LATE_INIT=y CONFIG_SPL_BOARD_INIT=y From patchwork Tue Apr 6 03:59:00 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: 415863 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp4195875jai; Mon, 5 Apr 2021 20:28:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzlOb1dkoXMVOQW3H9P//PjBwB5oP3SXLCO67OdqH2cfcTXIhFFCMZKZuBsN3di+q6c5RP X-Received: by 2002:a17:906:aad9:: with SMTP id kt25mr4884284ejb.364.1617679696260; Mon, 05 Apr 2021 20:28:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1617679696; cv=pass; d=google.com; s=arc-20160816; b=FVMU+sghI3Rv/JQqrRgrP/Y0H+0lJM8q7F7jhaqKah7HD7vEsd4BwS1J+eOlMMe4Sh fSLLM0atSxFIcNocQkAyLDJA3QjijBtiD0a3JeNbndJgOSHQjdirbmrLu8atmKIxo1ss tY8CTpDM2yLJZPtl2VZSXQlpfxJ/p96uMjCh/yHp6wGouJdsduAW8H2+xkv0ALJlrhmM a2N1fbsBvaIVn8gCDgSMBq9q9Wkyrmaf3vzaptDZa8xDTC8qFZ0PJtisRtpUnFeOe5Ze UL5xDTnQfGa9ZYRLNfPT70WQLcVICO0AiUeoOyYjKGPSojLqvNoLDvp5sv/MTGlZy5ts kP5Q== 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=Glr22sT1UG1QzUNeR8KxXVq1w121zm+jsZZOzQ7q63M=; b=QjWz7BKIGIw7iKgC+FIJ2Rwar3d+vSyS3o+1Bv3ZKiMKL5PocZNqFnNGPm7N7ekT5V y8bxiThPIk+XVs0Ap9q4Vd2e9STxYswVUzE1Cj8tjkrhL6oYaHdB81VWrAfPuFVHG2wi 9DQsqV2S85R08D4aaDWA4reJNnhAHTBJWeOohpSQmuzgFXfOTXnxs1zQ7JDo1d90OuSR OKlcTQ0hwgPcQXpfotC6WF/Z2jzMdpIDKD9/aqcL9buf3FhyyDAzvl0qthLkA7T1qA2F HNXEnziLIX6uPTH1pNUbNteVrr2grrOmhgHtvGrX3E7H22OU6sFEpc0jXluBy9nWM1rj 6L7A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=cZdmlc+Q; 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 za11si15072312ejb.190.2021.04.05.20.28.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Apr 2021 20:28:16 -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=cZdmlc+Q; 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 35BBB81CC9; Tue, 6 Apr 2021 05:27:53 +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="cZdmlc+Q"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 34E5D81C84; Tue, 6 Apr 2021 05:27:49 +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.9 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 EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on0629.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0d::629]) (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 0616C81693 for ; Tue, 6 Apr 2021 05:27:45 +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=GNWYLoO4DenoJ6GQR6ePkNFI+ibjIQHIwQ/AnpaXYivVgyHM9K9crTou+yc6VLPZC6l2/yGbEkUK5kTCGvhbs3/RkWm9/GNCxxyxJe/6QY12Xjrg6ZhLDO/UhDYlV7AiHrw/C/zWPshKj4m877xBJd5fjUSttOjW5bkGf0R6C1Bn2uZqPp50pZ46KsjZe35Amg2k3AyM6hTfO///q6QcQfwoI0IM0efrxrwt3VRN0gLmAr684TW+rDfBVxegf/ODtgkX7hCgzdTeOfkeJds8B4eL3wBMJizFQjmA/ds4asEjxPYu34gRmFjYKZY+jy/Y4yXlrqozUhvTcWn8s3RIKQ== 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=Glr22sT1UG1QzUNeR8KxXVq1w121zm+jsZZOzQ7q63M=; b=Ass3rPyDkX3/b4T/zi31TYxXnTTQWD10hSe8jMRd14EoJ4Qh+Ufvn2+JpjylbSgW8dS15f2Q4Qis6CLi9QAbEwLql9mzEXO1QtqTXu2t2oRd07lXzLKxz8K2TPVEdrp+Zx+IhR1o5gsuAam2UcjGqu69HOLl3feDsEzmEOSMT0I2gYPLcELuox4JpdH3lPEj5AYTeRu1KDaayPcRtMiRiqAnIzGXjbxeHAaYzN8gjXJDUjK93MxkK1KbYIrK7BIY7f1Kg69sc1GW9Pz/st/6zC1R9M0e546Gp2DJj5Ooay8OTJX8mktDNG1tqEslXaFXVrtMFYPN7BAa1XPXjDIdEA== 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=Glr22sT1UG1QzUNeR8KxXVq1w121zm+jsZZOzQ7q63M=; b=cZdmlc+QXli5XlG1rToL++g2BnN3J76pqdpVc70hDqDEM2a50kidFW6Uo1D57tfJq1vfiviN6wmeRwbCiw91rnIfewywkLCLyBWEio62MCyccaQxFawRVxvMgKlNL9FqCw3/9cbBrxu4H6m8Z2s90l+46IPXqJFPgA+X/L9bzWM= 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 DB8PR04MB6715.eurprd04.prod.outlook.com (2603:10a6:10:10d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.32; Tue, 6 Apr 2021 03:27:40 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c57a:6964:f72c:21cf]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c57a:6964:f72c:21cf%11]) with mapi id 15.20.3999.032; Tue, 6 Apr 2021 03:27:40 +0000 From: "Peng Fan (OSS)" To: sbabic@denx.de, festevam@gmail.com Cc: uboot-imx@nxp.com, u-boot@lists.denx.de, Peng Fan Subject: [PATCH 4/7] imx8mn-evk: switch to use binman Date: Tue, 6 Apr 2021 11:59:00 +0800 Message-Id: <20210406035904.26598-4-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210406035904.26598-1-peng.fan@oss.nxp.com> References: <20210406035904.26598-1-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: HK2PR02CA0176.apcprd02.prod.outlook.com (2603:1096:201:21::12) 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 HK2PR02CA0176.apcprd02.prod.outlook.com (2603:1096:201:21::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.26 via Frontend Transport; Tue, 6 Apr 2021 03:27:38 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2eb214a8-d7be-4997-1f17-08d8f8abeed1 X-MS-TrafficTypeDiagnostic: DB8PR04MB6715: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:57; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DhAs1fAvqQnhjGmGBJYwDNGXSZOKTADLnW2gO0h/lUGdgLjD/AQoeh0FIEss6ieYFwvq7vl8PsRJ+muoU/xmgUd7WpT4+Tvw5YgkiZklL3XMYTp2FthPblV0yvmsrZlJJLy5s92doSzbZZ1Cofsruks3glXt0wqRivXzCUHwLjparakrnlrAIbfaz+0iPTvYAbW1yZ72UMP6RHZ+C8TnHriWXHzN76ylQOFGnS/EiYQRJccTyqIYlswlc4hCVWp0IGhDYqtDRWfgPrZL9tZdndAbJS4R8B+zjFTRtpTUENuefnKN0bORKZncgZahtJopQDz9R+X5rJD617+4JW65Czcbkc4J9QPZ7zXFiND28OmtXbaTE9ZFUkuuqbcsyH0SWzsqWYBVsLmLg9ELSl2uxO4duk1MBxSbpiN2v/EmtQ8fCNZir2COOs+wN47yMETbiOi4ywwqc/AE5l0opwR3EVfRi0otPQ8cNvEld6I6tnKMHunObnLy+stKH4ciEXX0yOm0IsmnAbGOhGo5fYvfYEtpumG1p8ma4yQ0G2rBd/zJFi+ITqfN2y12tCI/7fP+ox2LPiW1z1DaNFeIBqZLO5Md9DdhpVbRfh2SujTSarRAUEANP96MqJ5DT6Zdd8WynBObwlq7Bud6ddKKzKdNJpUGAEP8mDy/jGzmhFgNOMVTTOO+8GRjXIapOYN8iiIVj9ZT5fzJbKjR2ReHEMse4g== 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)(396003)(346002)(366004)(376002)(39860400002)(136003)(26005)(38100700001)(6666004)(6506007)(2906002)(66946007)(66556008)(66476007)(1076003)(38350700001)(83380400001)(6512007)(16526019)(478600001)(956004)(8676002)(2616005)(6486002)(4326008)(86362001)(5660300002)(52116002)(186003)(8936002)(316002)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: fY9szE6lcxNs3Ilcvd8zClhQILfSaBdCzJCS68KfCaAsmlUZTfJDTZTyPMwqbJ3FDmY+hsYfCdHohIrE66bJyCVans9q7JHrrTqYZAqhtxvCoCjqn/2sWoRTuksFYDyB12mWPXeH20EALVyhD0Aor9ncVqB4S2zDzZhsJoCsYHnUdqVwK7awGtxd+qTDwk8rzVTQ9kzQ1kHUtRYN0mptqzmWCGV/oWyJqhvmA66ixb6zLrRjFYEIuwHavPkdawOtZU+dFoJ8slKEiT31CYWobXRxShZE8hg+BbdAaBw789VYmarZUDUnfZAAUxAGjKVIf1ksuSbYPQ81Yf0uGf4X71vlE/7HGzF7cvMsXzKTrIc22P2cYBgDP/NMZaRE/0qZpUbvhMatEhTU9U91eDRfsJs8hiOJvpbm3DQVf+WQ8OQqe4h+LMjbgRXngOSU2eN4lplcbHtPiBiX9sOPbYDiUBqh1ARTCzB+IS61JqVGO0DkaKPPa8vP0i1KCpHZOA7Vqwu+XSjQgXkRgsj+/R/u2n+YXjkWZPxrI7+rpfG+ybaqCQNr0Gmb5ruZk0JngN9ZB1dZPRWLUzOyb0jK5YE7Nqm6m56YHETuq214peOV+bCucfi/5DhITVokEVomyLtW1BnhnOp7vkdCKGz6cFFofpgQBgNk8lOuqWvulJiw9dsSIjOhAwP59bHy3v7imgrxnwGSTbcylI3shnWGarej+X4wR83sfflFH7vQsBTeVJmoCWdoZHXMGoRZBjU5fXx6NFjSNosTczyqxTN17tA2skvR69Lo2lbyg3ZTNp/DfMAf/9H/63C2Oi6lfrhn2XrCb1a4/yyXftMCXr63pfl/b6wbL9DeEO/Y7IwKX6XEqtuu1+def/XfTHr8Xnff0kCZB+SysVqT68K9Z9I8EISGuTLre/XxzRkyauxU8ATM2KVIAO4QKxkq3TwdjcGT3wNGwwc4gh1iqI0+oVzi4X10jTgDnr7skThTOSFyVqkv4sFBm2ITNb9slGinbiDikxgTyo4vZVlNX1dljfP7ifVcP5w/njwu85BemWZIiTQOxBrSUS6jiESDpv4v9LpDl3L2xGKKEwZMKGeZicAWskpODKat6Us/Uhsuy4Mz7JLVVoFuEyv/F9zgWUvKTpHdJR0Iwuq//PcbPzsXAoXsGnJW0er8hKz6HktIqts4g0ArQOtdUhD3LhyHFdLd5fVTZRgFMStu1Zen7wILn2l3Il0eY+fP5s+PK7iU/Sg58zBJuk28djtOfT6mulHdrYrhcEb9+w/EdyhFsV0ycCGvrDP03rcvyGAE3LHI+4UO/rtzyhA8M3XSTGEYVXX+Ipj2HEln X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2eb214a8-d7be-4997-1f17-08d8f8abeed1 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2021 03:27:40.4292 (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: KA9sxSuisUYsK02NA6oEnk3PBOheBSggQydyDZbyq77lKrVszXX2842M+2u6r95TECfMiQF3cfE8YQHW3ysW2w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6715 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.102.4 at phobos.denx.de X-Virus-Status: Clean From: Peng Fan Use binman to pack images. Signed-off-by: Peng Fan --- arch/arm/dts/imx8mn-evk-u-boot.dtsi | 102 ++++++++++++++++++++++++++++ arch/arm/mach-imx/imx8m/Kconfig | 1 + configs/imx8mn_evk_defconfig | 4 +- 3 files changed, 105 insertions(+), 2 deletions(-) -- 2.30.0 diff --git a/arch/arm/dts/imx8mn-evk-u-boot.dtsi b/arch/arm/dts/imx8mn-evk-u-boot.dtsi index 2730ff6a81..3db46d4cbc 100644 --- a/arch/arm/dts/imx8mn-evk-u-boot.dtsi +++ b/arch/arm/dts/imx8mn-evk-u-boot.dtsi @@ -24,3 +24,105 @@ &pinctrl_pmic { u-boot,dm-spl; }; + +&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>; + }; + }; + + + flash { + mkimage { + args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x912000"; + + 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 = <0x960000>; + entry = <0x960000>; + + 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 be697bddfa..390ead9444 100644 --- a/arch/arm/mach-imx/imx8m/Kconfig +++ b/arch/arm/mach-imx/imx8m/Kconfig @@ -53,6 +53,7 @@ config TARGET_IMX8MM_VENICE config TARGET_IMX8MN_EVK bool "imx8mn LPDDR4 EVK board" + select BINMAN select IMX8MN select SUPPORT_SPL select IMX8M_LPDDR4 diff --git a/configs/imx8mn_evk_defconfig b/configs/imx8mn_evk_defconfig index c53dc968c8..d0e5b58902 100644 --- a/configs/imx8mn_evk_defconfig +++ b/configs/imx8mn_evk_defconfig @@ -25,9 +25,9 @@ CONFIG_DEFAULT_DEVICE_TREE="imx8mn-evk" 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_USE_SPL_FIT_GENERATOR is not set CONFIG_OF_SYSTEM_SETUP=y -CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/imx8m/imximage-8mn-lpddr4.cfg" +CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/imx8mn_evk/imximage-8mn-ddr4.cfg" CONFIG_DEFAULT_FDT_FILE="imx8mn-evk.dtb" CONFIG_BOARD_LATE_INIT=y CONFIG_SPL_BOARD_INIT=y From patchwork Tue Apr 6 03:59:01 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: 415866 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp4196218jai; Mon, 5 Apr 2021 20:28:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9azRQR/JRlcEYfT3HOTW9iBHpUJbEeLh29bpqo1KMsSvORIJwDpCQG5ONeIQLAlEWZ3dY X-Received: by 2002:aa7:c89a:: with SMTP id p26mr14462515eds.206.1617679734430; Mon, 05 Apr 2021 20:28:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1617679734; cv=pass; d=google.com; s=arc-20160816; b=ICf0dl19lrhl+PAAT+wfzpVaonrZVpUHkDyvpXb0/QnllweslR1gWqLUXXNqJDFq3d ehESJIHs3BIgPIqE+ZtDtqjecfPAIONlSr5xsHVBYQRkNwvYefeIyAUD3xMEYhs32csS MGDiBceD2EKhZftbvaSWBJ0+rHwmL9kGw9ZeArne5tA5dtPnjS+8So/ShKOS0J6Kuucs BWh43QN2HweR+IeUIpYTV0+17EbBtb4lyKnzdJSeT1L7VbP28tgctKQ9nXFYVEictnTQ DK97+KebZOEMwQ0KdnfxIsq0UwiQmGTtSlu2hPXG+wjSGQc2hKfF+VJWG6SbG8iUnaYz gr3A== 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=argpnPmsHwhYCTNoDd5pJDRAIkkLLnZ+yMpulxEag/E=; b=0A1GKZBmGvJVZCi5n2iLFboe9J0kP2+6Oyx8DGHwcFn4bi7xHhEVdRkaf2arlL71pp 8fNWYViyF4iJf3qbjr99e5Rt88NjAeBWfopjM1RIHtfFiIESov/G8V11/VE7r2k+XAta wOCe2MPFcI2JDDkQZOj5t8fJ2YDPSSNfXaj8UVBC+TuggSFlZEk6P+A9ZFreSo4fIn6j HNKSnRoqIghjqaGx7Wk4MfwkiG8ZbMghY2uFQ1w8r45mihXpQiPr5SoQAZOCyYmq2e0Z 51BDPwj/mu6lRcLXt4PRTudek3LZLX03WY46Jh9CMBxEfPr0Q2NtH/TpfeOiHtf7+XmF T7Ng== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b="iaIz3/c4"; 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 q6si14727518ejn.153.2021.04.05.20.28.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Apr 2021 20:28:54 -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="iaIz3/c4"; 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 970D281DB6; Tue, 6 Apr 2021 05:28:14 +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="iaIz3/c4"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E824881784; Tue, 6 Apr 2021 05:27:59 +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.9 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 EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on0629.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0d::629]) (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 56A9A81784 for ; Tue, 6 Apr 2021 05:27:45 +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=Qmz6717CQcg8waXM6+el2Dj5lJhTqTqNoV1FDJocLPomwPwRnETVGqX5K1kUq2R96++oFMHMS4X5jO08E3/V8cgG3nwtbyG/+Kxg39gT1KqIPDeQr69p/0r/63wgC/zk0JUkqVZxki9JrYSLhDYHRFOw1Dupox0BBII4sFy9OJxBQuzL/Sz9TNLTnpk30/VH67QfmS1XE+YJvn0Amb8L6eDxsat0o/1H5ZYXnUQl96W7dm9Z/WMh0OB9vJYwRbRvuba/f0TyX3WWfYVE4NXxhqpOsOgD+AgJhGbjLCUU/qwkSGCBu8W9e50VOJkogCYNqRpXDxPn7RBUFrizrEcDkg== 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=argpnPmsHwhYCTNoDd5pJDRAIkkLLnZ+yMpulxEag/E=; b=fIOdUiKmYKf5dVCOE1A4F0PZnbtqk3WnpWM+26aR1j3rom9STUJzNGBFCXcfxJ2Dj0hNdxx8xlEfWf27EzM/dORHiAj/hRJynzDbb+yfMnhLaVK6O0ViihNKhSjZ93+AICPgsIeojyVYRH7PO7YrB3vRhywDE2thLNdUElIkzM2hCkN5zEErs7gz7Gpq8BOyiZou5KRVeGzOhcUYaP31x6p7NPb4yiTwafZmGYId0pj6j6kxDHt48Cv2rBBk9OJUWKoH6W8n89P4xNzS3Ez30SooXfkFN5m/XCGDrvPBWubcJ/jj2bbXgRoMR8FAGfPkG9xDKmh3wScHWEr7QmW0UA== 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=argpnPmsHwhYCTNoDd5pJDRAIkkLLnZ+yMpulxEag/E=; b=iaIz3/c4B4O211RpKiGLpd3GVDZvhD7lB/tbSDsLLZgWU/1QMmrZCOmuPocDNXM9q6+yrqNLQax4h894PvUdYq4Xx6ZYzpnl65+qrXzZZMj1U+Fl4jme4l6kjj+YwZe919dG4ATDbnaWjss153Omrry+b49RkIYxO9UTQnGuZeM= 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 DB8PR04MB6715.eurprd04.prod.outlook.com (2603:10a6:10:10d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.32; Tue, 6 Apr 2021 03:27:43 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c57a:6964:f72c:21cf]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c57a:6964:f72c:21cf%11]) with mapi id 15.20.3999.032; Tue, 6 Apr 2021 03:27:43 +0000 From: "Peng Fan (OSS)" To: sbabic@denx.de, festevam@gmail.com Cc: uboot-imx@nxp.com, u-boot@lists.denx.de, Peng Fan Subject: [PATCH 5/7] doc: imx8mn_evk: update doc after using binman Date: Tue, 6 Apr 2021 11:59:01 +0800 Message-Id: <20210406035904.26598-5-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210406035904.26598-1-peng.fan@oss.nxp.com> References: <20210406035904.26598-1-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: HK2PR02CA0176.apcprd02.prod.outlook.com (2603:1096:201:21::12) 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 HK2PR02CA0176.apcprd02.prod.outlook.com (2603:1096:201:21::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.26 via Frontend Transport; Tue, 6 Apr 2021 03:27:40 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1eef524b-fb1f-4e1b-5a64-08d8f8abf03b X-MS-TrafficTypeDiagnostic: DB8PR04MB6715: 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-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VAFxndW/kYklC1FhtMm6OQTF/xOWOPdNFhIAoVVou6seXRcIidzxuwBaGrNIVOLDhZMK7BEiR/w5dooYzgn7CHmIa5gKJPZc5EDTE67zwyYanWKsBbOy8luLM5MgWTwT4BFYbm3vtcdJ95A9YTDY3UsJAwaxOcI/3GD/cnB4TKo/AWGdcMORdU7+jVoksUMN1b+7yZLANPpPVQU4DrTYyEM6xFQwe1dRcoTbsKaeYBPpPILAn5NqAMYf2cPHXbR3vsFGUINmaeTxr0CnnmCXJ57VNSuEpiyuzXDsHmMr9hbD8MTUkCwPvbJ7wqErVQXIJn9Jt+hkTZk7K/OyuK5AKpT8n84ECfymWlsZ9HW4kkkW0QJHHLkKsculVnnWKCDl2jvWxZTJmY+4rbZd9ILqSm/EzaKwRO2FfcfD3hP6lSbQLxrFamfyHavuNbl25mEaz5DTEpq5XUcMN6wghSI/zOc3XSPlblh2Qmgc0i060lBi830XjrSC8yXrrkIlDbP9BmpWJ0PKIuVBp9TLbvl1I5WxP2IiclzFj78NruhUwtwsZlCKGJ7QyxX1LfzMabx7saaVbUNj7A2RNaSrG8b8GkmvE0CWB9UTrEG1xks6rlkQYfHlr+bllE6+vCGbr6WdWUF108BUuh3V+wzXL4osK/qASGQjrF1BJ9f5mfsY7yWQmZ6oDp7fvhFKf8dLBA6S 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)(396003)(346002)(366004)(376002)(39860400002)(136003)(26005)(38100700001)(6666004)(6506007)(15650500001)(2906002)(66946007)(66556008)(66476007)(1076003)(38350700001)(83380400001)(6512007)(16526019)(478600001)(956004)(8676002)(2616005)(6486002)(4326008)(86362001)(5660300002)(52116002)(186003)(8936002)(4744005)(316002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: /ZPKmOEYkHhGndui0aJAv7WAIzPSklH9kifsnxFbwQ/TrjL3Ji3p2tLjPP6OgHoEAbHFaqRhbt9MY7Pc5cD3qoXb6dBEHn6g8VFXieYfTHJmCJNRAMsicWubWljPLN/CCyepR+T2fC/PKaU//voIZMvfEc4AA7rgsC1LuikH5NWVYhHTohEJoaqPVcB4kskF+U7aS08HSTtmTYeTpL6QrBFF0hsmZrdjtH29gORIyJgbaT9yjswUxW3vccSgk17oymBN9M0xKqr4vh61srp1dUpRKqRYZ0pczslSHMKADjV2Orxg6XkqgIvu4HV7gkAj9wcdyIqciTuotbz8tE4gZ9b71rUcs+J79tGavsmtmETr9sy1ncXIzlqduV9X2XVozqIJaScftmNR8hg2Fm8CZe/BafKNPhAPzVv8PsgeMy9HCPzsUn0G+atVV91/WuHkWwhCMTWV4JNx9POC+aCA+gMPvsIGDkj/jC1XuT28wTKX3DWKaRUEap02u31bVUsonx2r+KwfSEiach0W5umfG2s2VjMKXpaz2ht/V/oqqGxf01ldBXIbEeNnp4lrA6qaJoXY97/BB2/Ij6mPYdNUc7tjwQlMre4fmPH+tNJrIZOTE5Gx8mAMN407R8nT+FFnvRue2RwcVwJq0DJT4oxXdKZG3HfuNc7zyF6afL8DUnA3qh9YXsCnanr47hkY34j2eTOVsawZTdUXpxSLAcDVMSgpLrNIDbSXGRlTB++rLGddOMfbnV8SaRSC+H7XwyLb6T6wopRrUa0W/xYNiEqQBHSPEjaAKZEEr48XM/GNgIYeNqR0ZNvykpFhDp6nFDINXrBrq8jpSwgrNDZyYldRzobnVEp53Kh7Umra25fw22HQgrk/AfJApFMLKYcC4ihHQ7//Z208w/etqWzU+Hx5cOhdb4FBQqIWbD/F4rTbHeyTb7LB3Z53yMO31P0999DQBniETyVTAZQkyPwMx0VL3Y64BYLPvUZrqsyhnRZ7cZX8bEXDxa0LghDdyOLGfJYOtwHeBG1qm4B4HH08ZQ4Wk1S5o+1a1n/jxAtf2bBeDPFhQb/QYzkG2Z8oswbTO2wT6JGrnHTZFi7dFg+/eXACVaYQutc9zKNKdh/bQXzMPoW+qWqVusc7ipTT8ZPsAclo5Yqywyq3QWfTtypQF/Ljrqq/GRNqZJhQj0yQnV2Pf+YdFK203YnhnX2jfkwQsi/szHhwhvz1kHZ71rkauDh5vuTtTRfIJwyJgNhcc6wrhYGkIPE+VA28yMQ7Pm0q4+Nw1Ts/5Kvz97XmWyrnl/hTikVqIwRtvgxYXf6jsbKHFivrkEWqpTiOzVbP75MuV7Sa X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1eef524b-fb1f-4e1b-5a64-08d8f8abf03b X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2021 03:27:42.9951 (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: oYiKpfUz6wHpsAJTnELYze04+5jgF/saVfwrUy3RIY/rZPxVkw6LBOCYiN8zYKIClNqXaG9IHbR69y8sLG3mQQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6715 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.102.4 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/imx8mn_evk.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.30.0 diff --git a/doc/board/freescale/imx8mn_evk.rst b/doc/board/freescale/imx8mn_evk.rst index 375e0bb761..9fbb947032 100644 --- a/doc/board/freescale/imx8mn_evk.rst +++ b/doc/board/freescale/imx8mn_evk.rst @@ -43,13 +43,14 @@ Build U-Boot $ export CROSS_COMPILE=aarch64-poky-linux- $ make imx8mn_ddr4_evk_defconfig $ export ATF_LOAD_ADDR=0x960000 - $ make flash.bin + $ make Burn the flash.bin to MicroSD card offset 32KB: .. code-block:: bash $sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=32 conv=notrunc + $sudo dd if=u-boot.itb of=/dev/sd[x] bs=1024 seek=384 conv=notrunc Boot ---- From patchwork Tue Apr 6 03:59:02 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: 415865 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp4196105jai; Mon, 5 Apr 2021 20:28:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyW4S86j/f1VKbw4kfwPQpaTWlfWG8c4bW4mvxXo0yzgYNf8WgYMCk5x+cb/0wXyYM7HHkt X-Received: by 2002:a05:6402:1492:: with SMTP id e18mr10975063edv.128.1617679722024; Mon, 05 Apr 2021 20:28:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1617679722; cv=pass; d=google.com; s=arc-20160816; b=gfPCLld2K5FKTmbxEFBBh7V2HSIRpj/DX/T4ZUp/UlR3NlppuJ5xH8gbBdHD9RlPCm vOuoixY3oi3YLGVV4jPQzCr0c2uYEBysymiUO6yhp5pk9AAo5VnFgUOAYCgOTtT01u6u UHh02ayO+tiSqTlnSTBV20Vzv7LTWcn9arV1f4ZAB7TkR/wJkpVzwjLX6zm99MpHHtwR l+qtTy79rOWVdI+dTMaBBBUOHUizU8hBi8RlW9YtaXpezuMxM9gkEJZG+/rourK8yMIM aDerI1C6op8fh3S5k7BDi4NmkT9aF3CnPb+Uq1V9vKnuaQM5nLERFrzhK4mhc5wN29r1 dapQ== 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=l8LcyHdZTI8hAFpbDspT6OdFFHoIAuLducQ3I/utpR4=; b=MU7sq77229Se4xMYV+/ISVP9gXCCpbyvxo9lgzwCpCmc50l0QG5CxzJjL8FYr4+YdI Y9CcmseWA8TClMT/oOgOMWZiQM/v3lSnbUWEki4cn+PF9/bsVxcKylRZXZoET1oYW0lq XOPk8jiDOeIpyeXqByGpJSJXNC3nkKShZu0KdvWbh7Q8ZjnS2TdST8CKeN6cntSIndIH hHLcFEcKbN2RZgXRNXRTwT7Jm8LwNVAuv0/Wm67LUJnONJ9VsBGmhLscl4RVbP+olmkO aMd9HAxCmsBuoFtJnNyPubAm+sdZrFEMlXl2rzC5AHHSZmeGA+d2r0RFlMUGC7UrX2c0 Xg9w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=NtKMtpTw; 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 o10si8957963ejr.361.2021.04.05.20.28.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Apr 2021 20:28:42 -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=NtKMtpTw; 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 A77B981D2D; Tue, 6 Apr 2021 05:28: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=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="NtKMtpTw"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D8F5181D1E; Tue, 6 Apr 2021 05:27:59 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on060a.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0d::60a]) (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 E6A53817B4 for ; Tue, 6 Apr 2021 05:27:46 +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=Q/sB0mGTKBRGrnDZfgmi7eGWKFuFgwjGRB6XuL5dlPWwUbyOqW3WCGNp5W8sl5ci4Mg0/IWqoGrX9YlWx27yzcTe6/BUJh3D9oua7KGCRflJaatO10EpvgHAn0KGXFJ15Fl7/1sLH/+WOfmA0EN2vBrrCXTVswfjBZ57do+3PU+TEm6jw+ibdGB48ybunCse9/MqaCCAAuPrusgcEgPppLnYztj2m1lg6b3l6/E9svNk/urNXUyHsBQc3fBw0Zxy2BrhbNcwIp623Zf1K22b96SlXu2KxOgtwzlF/7uDN+U+YfhGYgIQJUdgmqlFiux2JGrsosh2lG6Z3TQgON38bg== 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=l8LcyHdZTI8hAFpbDspT6OdFFHoIAuLducQ3I/utpR4=; b=gNsP2o0lAsmK1CSEWb6qZRvGwJuhCebhoBb24eDo9uahX3HPvScn02sdyTzLBRFF5iFXquoFpGqhSewoNsMeOS0zQi5ShSmPV9sUYrQk2CinAiQRYfz+c5iieqqCglUpaYBeB+GAVFF9gZKHlj+yIT+HZ7PJk6vkOU7JsHl1stYf1Xvt311jn8f7oB/0CNozmcpWavQZB7cO7jUgX1eYnwOi8TkzL3LhT73GsfBTh1KDB3etb/CeyrgHGdUMiJlfvAvI44Fxumlt5UBE6G9ACZoIx4rspwdaeHFG9EE7hptu9JxSOSEwIQYXzcGVj5xk6EWDkD7vES0Zc9/Hoh5C3A== 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=l8LcyHdZTI8hAFpbDspT6OdFFHoIAuLducQ3I/utpR4=; b=NtKMtpTwjLNSYeXN7IvdwTJC9X/WPCGwJ0QSqli7uonmMlHlpChF4+sR+202rwMHm5yS+2zscAqY4EfBhIgt3eFKfIu2ns0ctUs+5hqEmQE5Nl2+zGo4U2nb36SXCyYmlWK8Ge9ovx+3gRAh2GlkXyqoc76C2XzEtN2q/AXMLVk= 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 DB8PR04MB6715.eurprd04.prod.outlook.com (2603:10a6:10:10d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.32; Tue, 6 Apr 2021 03:27:45 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c57a:6964:f72c:21cf]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c57a:6964:f72c:21cf%11]) with mapi id 15.20.3999.032; Tue, 6 Apr 2021 03:27:45 +0000 From: "Peng Fan (OSS)" To: sbabic@denx.de, festevam@gmail.com Cc: uboot-imx@nxp.com, u-boot@lists.denx.de, Peng Fan Subject: [PATCH 6/7] imx8mp-evk: switch to use binman Date: Tue, 6 Apr 2021 11:59:02 +0800 Message-Id: <20210406035904.26598-6-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210406035904.26598-1-peng.fan@oss.nxp.com> References: <20210406035904.26598-1-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: HK2PR02CA0176.apcprd02.prod.outlook.com (2603:1096:201:21::12) 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 HK2PR02CA0176.apcprd02.prod.outlook.com (2603:1096:201:21::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.26 via Frontend Transport; Tue, 6 Apr 2021 03:27:43 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1573c0bb-cccc-4de8-4687-08d8f8abf1c0 X-MS-TrafficTypeDiagnostic: DB8PR04MB6715: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:57; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ScsLAAs1FEn09zGB3qiJhs/loUOxMCSN/glTksp7ZfTgXwHuPCnDHBfn9zDMY4e232jbns5GnL+v17MB+OtvUIsJAgkAgkZqAUjkr3QK9tZTVQg5DXSiFaw4K6vlHGWJZ5RwPNXC9lMARn0KUnGURryfVtsWU7+hgp9+XXRJfsLei2pBOGbh4+eDmMx7Xfjgpgv6OGx/CzNiYwEAau/2efdZQu+4c2v2h4Pbphfq8MKsdxi6J25CsMuj2Dlnyp2bHgKg8hi0pNDSMDhwNn0dvk1xBnNZ67VaUym7/W4rtgPKaudBuke4sl0ab9PjDi1Atyp9QW+8/cIsGa3VuXYx6LLdbpB+pvDHLE4wnGT3sviV8FkzBB2QgXXD5+BKpEADBJwACz+C7T3VZl+CJeosrHkDIu3U1+NN8uYxdr7D5RigA0EuHitOssrV+nwKZDQ46t11m/w7mCxX1ARs0vGbTd8gPRcL059zPbc0IEd7DnEtrm3gpqA9XK9Xois3o36Y3lXRxDLOlC3xNwkB2XBwF78WmHg7b2ifX6cqUFRV37SsV6jO2WL7FuizugYybbvmp+sk7acQU1hV2SyivE1SA+p4MH/CPpT1RLEbG5zEw05a4X/asY7NXurgRrnFOckDja0HC3yeu39Mz2QeZJxK90Txu/+z66zqkNLTpjDy/Xjm+3rJWviDK04nZ0/+6h2t6RGfhV8aGgax1N3A+hGYkQ== 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)(396003)(346002)(366004)(376002)(39860400002)(136003)(26005)(38100700001)(6666004)(6506007)(2906002)(66946007)(66556008)(66476007)(1076003)(38350700001)(83380400001)(6512007)(16526019)(478600001)(956004)(8676002)(2616005)(6486002)(4326008)(86362001)(5660300002)(52116002)(186003)(8936002)(316002)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: 6is5k2zJf1Gnf9eVmHXlnxQT8Sce+ynxqgCoRwQa/2rjrX3DDp9w/9HKemZl5aEgTxvt5ELxpmS1YiblgmLBrSIjc0J0lUhkS9U1AzU1V1KeRWxVYh++f7y7cKiGPafya5xvFWHcLPwOvYvNNzkKcDf3KfxfR4bATTDFF1sOfrC+6JLdsokwYvt6ku8s8Eu62Mbo0aGW9K8OjNe9xmQFoXuRXmvBl/0r9rsgJm+YVAHcGkM484UBYL6x7EJtZ0oOsVQbyd23PImpPPRJOkkHnWoCjjkrncMbIEhITyA/12PDfMWWhHMK4Kz7Kb8hd2MM6JdIR43kBekYs/pNAK6DI6hNXsZCscYof1IBcyPa5sMN+abhS4apHVxqCI6A8sM74GjMSnn10Vv5d0hSNLmmrEAA3deCB1ms6xY6/kWWn6RAYAwHgOYzii+NyxlCjT7MdTOYKnctElgYMuFuXoj8g7dymSkC9+q2Lxa4NRY0anlbZiV6MoMM3s4trGUbMDSRvVL6BCTFj4PNKSKkEtPxdJwkh8yjc7GJiQW9ixqtz+6BNv9IpWWphdiPQjK/y2NdNEOLptrcTJmMMVn64fj+EEIZOyCXa1Grs+atjXW3P60eFKZA/neLUvJrbP3Y3M0kSX4Fictnc5bHMDe1Ru61mTJ/ttXfGxcM3I5Aa64wqWBNXtioyjPOoW9hjxxs588hasfeHJIkb7vwocbGc6iUKlTP8GIH1pOLRzcgwosNo4vheCe/sM36AJ7weRyD0HqbeiExaAgJ9H5fAA9iiMgpFWnWnTuLZVNZ9Fi1otsRsjfOROWeD2HtHM1peJLjdlCI5JVPbDWc9/uFORxgkoPIo9Mj8bBgmBJ0KQadzO8IMmtSmV5kgphQY3ndcZN5x0ENEweztLx7mbgTs2GAbPxy2sK0YTXD6FfaeyGjLYowDhmOk39yWooznHfdCTWxiAPn79FaR5jT2tJUWqCioyOOSt+kOhRAkvfdkJHD7sz00UWn+ZlKEbW/quwZNsvD+6pjJxl7FPYlBDdLPq/P8PvGDkXaGFM8jy4ZJ16FpLg2/yCAQlL60HHmQPyRDfN2/1gnW1hy0rodbQfTAnBD3hkNgt+l9+orgOnJNdJyBM2Y+wYhzrjF7XtaU7R6kH+T//TTNSKRPKggSeEuAynicF1b+sQN0Oan7xm2K5rTSXFlZCPlBGnBoEBFdwEMpYa24lHTsWs8sdKmZvEF7ypGaRDhWSXcZexIQec1VKapRUuMuDVJ8q+JaMuN4Ox9cqx1j33JPzJOVh9GaMbQH5NFmqo976YlUVm6uB0Kuauojigtm938DzE5imGOoKkzDmMxtgwi X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1573c0bb-cccc-4de8-4687-08d8f8abf1c0 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2021 03:27:45.3450 (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: xXbDBgvgXfCxTbvMawQQAOzGtUl5vjpFoFM3s8aY2fsDB3lnjpef33gv4yhZI3IkBhK5O7NpX34esvZWfeSw2Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6715 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.102.4 at phobos.denx.de X-Virus-Status: Clean From: Peng Fan Use binman to pack images Signed-off-by: Peng Fan --- arch/arm/dts/imx8mp-evk-u-boot.dtsi | 106 ++++++++++++++++++ arch/arm/mach-imx/imx8m/Kconfig | 1 + .../imx8mp_evk/imximage-8mp-lpddr4.cfg | 10 ++ configs/imx8mp_evk_defconfig | 4 +- 4 files changed, 119 insertions(+), 2 deletions(-) create mode 100644 board/freescale/imx8mp_evk/imximage-8mp-lpddr4.cfg -- 2.30.0 diff --git a/arch/arm/dts/imx8mp-evk-u-boot.dtsi b/arch/arm/dts/imx8mp-evk-u-boot.dtsi index 27075c5217..4162f41cff 100644 --- a/arch/arm/dts/imx8mp-evk-u-boot.dtsi +++ b/arch/arm/dts/imx8mp-evk-u-boot.dtsi @@ -4,6 +4,10 @@ */ / { + binman: binman { + multiple-images; + }; + wdt-reboot { compatible = "wdt-reboot"; wdt = <&wdog1>; @@ -151,3 +155,105 @@ phy-reset-duration = <15>; phy-reset-post-delay = <100>; }; + +&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_202006.bin"; + size = <0x8000>; + }; + + blob_2: blob-ext@2 { + filename = "lpddr4_pmu_train_1d_dmem_202006.bin"; + size = <0x4000>; + }; + + blob_3: blob-ext@3 { + filename = "lpddr4_pmu_train_2d_imem_202006.bin"; + size = <0x8000>; + }; + + blob_4: blob-ext@4 { + filename = "lpddr4_pmu_train_2d_dmem_202006.bin"; + size = <0x4000>; + }; + }; + + + flash { + mkimage { + args = "-n spl/u-boot-spl.cfgout -T imx8mimage -e 0x920000"; + + 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 = <0x970000>; + entry = <0x970000>; + + 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 390ead9444..c27fb248d1 100644 --- a/arch/arm/mach-imx/imx8m/Kconfig +++ b/arch/arm/mach-imx/imx8m/Kconfig @@ -67,6 +67,7 @@ config TARGET_IMX8MN_DDR4_EVK config TARGET_IMX8MP_EVK bool "imx8mp LPDDR4 EVK board" + select BINMAN select IMX8MP select SUPPORT_SPL select IMX8M_LPDDR4 diff --git a/board/freescale/imx8mp_evk/imximage-8mp-lpddr4.cfg b/board/freescale/imx8mp_evk/imximage-8mp-lpddr4.cfg new file mode 100644 index 0000000000..b2920b4908 --- /dev/null +++ b/board/freescale/imx8mp_evk/imximage-8mp-lpddr4.cfg @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright 2021 NXP + */ + +#define __ASSEMBLY__ + +ROM_VERSION v2 +BOOT_FROM sd +LOADER mkimage.flash.mkimage 0x920000 diff --git a/configs/imx8mp_evk_defconfig b/configs/imx8mp_evk_defconfig index 47a52eedb9..089ec26b3c 100644 --- a/configs/imx8mp_evk_defconfig +++ b/configs/imx8mp_evk_defconfig @@ -22,9 +22,9 @@ CONFIG_DEFAULT_DEVICE_TREE="imx8mp-evk" 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_USE_SPL_FIT_GENERATOR is not set CONFIG_OF_SYSTEM_SETUP=y -CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/imx8m/imximage-8mp-lpddr4.cfg" +CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/imx8mp_evk/imximage-8mp-lpddr4.cfg" CONFIG_DEFAULT_FDT_FILE="imx8mp-evk.dtb" CONFIG_BOARD_EARLY_INIT_F=y CONFIG_BOARD_LATE_INIT=y From patchwork Tue Apr 6 03:59:03 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: 415867 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp4196330jai; Mon, 5 Apr 2021 20:29:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzO6vFhT1GU93OMLAE2X9SM4ScYUfP+Cy7+xjYVyZMZWVA2CmmmJAfg67c2CF/AH27KnBzJ X-Received: by 2002:aa7:c654:: with SMTP id z20mr20239133edr.159.1617679746124; Mon, 05 Apr 2021 20:29:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1617679746; cv=pass; d=google.com; s=arc-20160816; b=bl4ba+a69qMK4M6l/pclyEIT3+Y2ECNL359oz62z7ijSXytzm3/mmr7qn/lNIuUqgc T3exH63dc4kC2u1z+sNmMlfoDMSPvuRWC3aKi+4eIx8TfOSvHA5t0DMEdGe5iHtQWgRM hL5ve9xhXT5z0WBAy5pK3LJiqDKayZ/EoWbjNdr53hmkHeXq4+TN46RJyplMszqaIZim VhVgcq3LQB4aieCDPeriUUzCH8TpYIrZBjhu43pIdltxkdKQjpuTyhsSycBUwrrUUZDi oO9TnHLpdwLrU8Aaqq2f46HUGmXHaaCjFmDE5fX78Jhcz+a4kUINlGW5OmvzX76MHiGk c+kg== 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=EVK7HjOL7L/kj+vv3Oe1VBk8tZ61KrZSRtJYL0t4/Mw=; b=CwteWn+/9nv13VSMv1aK6LSylcw0AqKfSd1ynyP6nyVsoStoN9JuKNtIeipllbQyfp +eFbwSj7XYMa1nYjRgIHd85tZPaoyaqYM5nb9NjwuwjqSaUQXRfy8eIvS/MHgxmSrqUb Gynp4RzNASWyJRzQXyCmPYcTzBLZCGipCgIxz3cCr6txM9ZeXirvg3BeIJb6MhM5cg8t 0+NpFmQ01HsJcbXgc1G6xtfNUZ6ybmlviBcCo0QtIbhfqnMxjNO/ao60bZ0XMVB1qDVi kCq4ZcbI1vMMKNfFYNtljiaYGu0Ic7duifII//bH/lnEJdfNGXqK3iU8gRDl+nP4e7bz OPdw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=Cgvo1Q9O; 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 r21si14526665ejx.301.2021.04.05.20.29.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Apr 2021 20:29:06 -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=Cgvo1Q9O; 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 E97D181D43; Tue, 6 Apr 2021 05:28:17 +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="Cgvo1Q9O"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 993C481D2B; Tue, 6 Apr 2021 05:28:00 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on060c.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0d::60c]) (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 72BBC81CDE for ; Tue, 6 Apr 2021 05:27:49 +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=KTQ8pqnFyIGdQeafCPrpWt4XaqI2pM/MSoOv6LOuyEwS4O1gUQ0GtAfJbyR4f1jLRSQytKzI5H5MvifSKrYLtVIOlan2lwYtZBPo2KodQctB8vJdhzYq7nbc3u1EeWnRkhrk53ylu8wkMPcY53fr28THn7/ZOIt69mHB6qMolGpEPOrNFKFbXfqBxq1lCQx7X90FiNye/uSgpgowUnjZc+b/T8Hny+YNuM0jKL6reO3Dj2Ka4sHeUXND8erROTV25/7wpT4rkltC9xfiiWJ+bCluPMxYkaUaEEijBHc6A4pxWJ4nF4/obNGHT4aNHzk9F2T4VSJ2p1ppuYlAQoqPZQ== 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=EVK7HjOL7L/kj+vv3Oe1VBk8tZ61KrZSRtJYL0t4/Mw=; b=hcrjE26PXv/S5DAof5ulDRyj5kn1bh4HszvvRqHLYsrtAgSO/GlxOMcSI71bY3uwdYhbqsgFoV4BBLpmLrjlFu+WCCN6V5ig2ichEJ27Z9MpA6+RbnNFpZnCzyd3RwlCP/nTvIA+0wZvsS16c2OwO6QyLg/JQXhJf7adV8Cik29e9ZkUoD4mx5WDWcRGnAeYfpKLbjSEkzTVmEs3Ss02HXttv7LAq7XfNj/xg+L882I/shtYkiGyjXMM8Ae9kE3VhPdS1ab4TM1ndDcFMAr5VBpR3ISUokFHG9+/j7lwnTevurIPqt1ozCg5kXwHH5yVwSOD3RMwVFOCWOU9EQN0qg== 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=EVK7HjOL7L/kj+vv3Oe1VBk8tZ61KrZSRtJYL0t4/Mw=; b=Cgvo1Q9ONTwkDDutmKnD+7qk8/NcNehaiXUrlO4cdLKdg8I0vFhxCUEqoBvvXbhZhDa7aCkTtwKYplQ2WTI6aTncO0+2FmPSBPrmO5JwenHVOLqx1Kr7v7J6pVK7D472wCxFOxiDC2W4SotyccutyezpaoNC6qrLnnM9YscO61I= 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 DB8PR04MB6715.eurprd04.prod.outlook.com (2603:10a6:10:10d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.32; Tue, 6 Apr 2021 03:27:47 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c57a:6964:f72c:21cf]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c57a:6964:f72c:21cf%11]) with mapi id 15.20.3999.032; Tue, 6 Apr 2021 03:27:47 +0000 From: "Peng Fan (OSS)" To: sbabic@denx.de, festevam@gmail.com Cc: uboot-imx@nxp.com, u-boot@lists.denx.de, Peng Fan Subject: [PATCH 7/7] doc: imx8mp-evk: update after using binman Date: Tue, 6 Apr 2021 11:59:03 +0800 Message-Id: <20210406035904.26598-7-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210406035904.26598-1-peng.fan@oss.nxp.com> References: <20210406035904.26598-1-peng.fan@oss.nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: HK2PR02CA0176.apcprd02.prod.outlook.com (2603:1096:201:21::12) 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 HK2PR02CA0176.apcprd02.prod.outlook.com (2603:1096:201:21::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.26 via Frontend Transport; Tue, 6 Apr 2021 03:27:45 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f099691c-841a-4c31-2273-08d8f8abf329 X-MS-TrafficTypeDiagnostic: DB8PR04MB6715: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:813; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wYL22Mmya4F/Q1rIOae3OCk0WpEQSj15ymyeqQ0eudpmC2UOM+1Ar4QuclPNOTcMMHiLFYKOjUelFVMUl9o1A+76Nef43D1iV0WTj39QZnmpbEinzQjUPyVhTuHJChAd/73un3ebJDCHaGsoOwuzt7XHkjyeJMl6m0Pb3JON4YbX96ngAutK9IFHRawtusdTcWK1NpqYy4fwjjX/d84LnHpIH+v7CfiSbujQ4ecUqg9LRfaa5HH6c0ILbKvs8txxbk3H2AH200Ah4UHraVE4leoBJQluTJje9imOzYAZ//3aXVSO982LtZ8Wqj6k5nZuo+xAESspuBHmps75QP1uAtP9zsiyvK20Xo219kuT63lPNkjAw24Kqowi6zs0Ogdtmm1WpmpJLhH9jccGuP6VJifH24lq6zJZue+l61L1ugMyysnpwiX16ZaTIoPiv3E9I9xH91bbhLoqlQZQ9flMp1SNZoY4YgkAk+UU1MFAuvmkH/oWTBvDQLGGicfhbRoZYpnN/D5ovxVV6UbTwN1PnsNZP8YJlCUkujDAo4kOSHLPK3vKJoyojyKXiGyHv1TOX6fSBKMhOTeTjzJir1Da7mkradknVSFh6aLcb8beFuVAMQOO1CcRcHp/SKvQLxqK2IYbMsDqQj6Oo1FPJGgZ5Rw+dT38yDh93lhtOceezeAz4LMxWwGYOY45oz48rDvxgo8TRc3mluJdA+IwxNUuPw== 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)(396003)(346002)(366004)(376002)(39860400002)(136003)(26005)(38100700001)(6666004)(6506007)(15650500001)(2906002)(66946007)(66556008)(66476007)(1076003)(38350700001)(83380400001)(6512007)(16526019)(478600001)(956004)(8676002)(2616005)(6486002)(4326008)(86362001)(5660300002)(52116002)(186003)(8936002)(316002)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: VPH6eEC6duSWx0PuGFOqcCJpKlWyub2Aow5DEoZQUuSveEsTlkSNixkx4fJsBVgKNu0lLrxi/icSdxVlFIUsU8MfLDo8dAqWS7EODXIeKNoGZvlUO5yq0r/uCiDiY54/DG1ICT3BH6OB/jVTvVMPzfnBAMG2jZb27sWiNdtnwm0rrEgQMlWvAvs6OL/KAlSemQE6VLSckgFUfQwwQ99vbrW/MWNxpwbzRmlAs60AC/0oI5CG8mcNGInO1rpVKPPW9AdBDRCkEcdkaHFAB4lsWpQzZVAcKKta6THTrKagfT439//hhe+E7iJrJ65+1GSr+Ui8Us1wfzeFzo1DLf9pbsosDXq+zD9VmEEJSyS7yfayU4ChY1+nIESZkD9cN1qBc5cKesztsBtEtPbqYmG+olM6MdfVRS1R+z60n90vTAWchjjSSeBo9661KRfazQJ7czCzIfQL6IrR8qVjdDVlMD+yTbPyvIsRwq6sHQQg19NDnLRj0c/NGFQ4kkoi2fgLLgap728QU+5UMjmW6GOAUq2bW1ruZJJ4kBfsikeUISWSMrKx0k/h4hsd2dwnZEIkYa9vJbvwMy9nBag7xLOuP34GHMVmuE7kt3oI5lhAo8ZWZdAA6+NQmVarPQ4fi43sgGKlHgmvdYmft0k6z2spi8N9M7f2xTi4UfpKfBtLvWC9F2B+njQwTGWy+m+AYyGL1qIpa+yKnhmd8Yvxrm1rJbfaUIRvOmjbtS+7/2OgFwK8GVoLD0YOkQAfKvWt4NCGdCPLpfkh98/vdL+0RlwqP0W0IJHfNkV3aNrAjRedb29yflerRSajTWMYu0HlZiugnsHKnREH0WHHU+/3hv4+cbxBzncZBHGvI1O3Yf9fSS1UabnEb7FUFQx5KEv2ePwkwYFK2hIxRFzSZWfXtQBrUxruIFHXdhLWfSl2pCoFrthoqwjnIXbHllnxmML4dCe11T8UsE+1kQONK2Yo+zWKo/+RBHqiZ+1fYNqxqqJ0Qy4B0D9Y/nyvo4c3aefOcJ7O3hhfP0GgsYZGCZ2m0FQ+qETcHNmpCr5mnuvx96pwFYEED0A2/ne7F0rISgttVyEjrH9WJkQuNg9D6lCrvuAUZKKK1E32v1w/CTCXuO1LR1F5Rg+rSCGA5ObuSOmKAT2hkBltYmRgiE/OnLNYLpksM3ypq7oKcFveOq/EIgZayH9VTbLzXMa2++WseRSz3b+MDVcl+MjVDUE9X2jjCirZ02bzQ9VsdkWsLLW7vR6s6jAh6KratDHDbSrTQntdho/dTyhnnT+YaVz0cub5Zsfbf+3AMUhF1NbMfrqEcp3cbRt5JfZgsuMSYrN7PXARo3+S X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f099691c-841a-4c31-2273-08d8f8abf329 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2021 03:27:47.7429 (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: E3Hl3o0Jgn2ScZfy806q242suidMHmU9/LXeJ1RV9e3Hy1oXHwtxL3Liz9A62ROorPppdkfTPYOB/jbF+4RsTg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB6715 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.102.4 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/imx8mp_evk.rst | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) -- 2.30.0 diff --git a/doc/board/freescale/imx8mp_evk.rst b/doc/board/freescale/imx8mp_evk.rst index 796a7611d0..609a29f3eb 100644 --- a/doc/board/freescale/imx8mp_evk.rst +++ b/doc/board/freescale/imx8mp_evk.rst @@ -40,18 +40,19 @@ Build U-Boot $ export CROSS_COMPILE=aarch64-poky-linux- $ make O=build imx8mp_evk_defconfig $ cp ../imx-atf/build/imx8mp/release/bl31.bin ./build/bl31.bin - $ cp ../firmware-imx-8.10/firmware/ddr/synopsys/lpddr4_pmu_train_1d_dmem_202006.bin ./build/lpddr4_pmu_train_1d_dmem.bin - $ cp ../firmware-imx-8.10/firmware/ddr/synopsys/lpddr4_pmu_train_1d_imem_202006.bin ./build/lpddr4_pmu_train_1d_imem.bin - $ cp ../firmware-imx-8.10/firmware/ddr/synopsys/lpddr4_pmu_train_2d_dmem_202006.bin ./build/lpddr4_pmu_train_2d_dmem.bin - $ cp ../firmware-imx-8.10/firmware/ddr/synopsys/lpddr4_pmu_train_2d_imem_202006.bin ./build/lpddr4_pmu_train_2d_imem.bin + $ cp ../firmware-imx-8.10/firmware/ddr/synopsys/lpddr4_pmu_train_1d_dmem_202006.bin ./build/ + $ cp ../firmware-imx-8.10/firmware/ddr/synopsys/lpddr4_pmu_train_1d_imem_202006.bin ./build/ + $ cp ../firmware-imx-8.10/firmware/ddr/synopsys/lpddr4_pmu_train_2d_dmem_202006.bin ./build/ + $ cp ../firmware-imx-8.10/firmware/ddr/synopsys/lpddr4_pmu_train_2d_imem_202006.bin ./build/ $ export ATF_LOAD_ADDR=0x970000 - $ make O=build flash.bin + $ make O=build Burn the flash.bin to the MicroSD card at offset 32KB: .. code-block:: bash $sudo dd if=build/flash.bin of=/dev/sd[x] bs=1K seek=32 conv=notrunc; sync + $sudo dd if=build/u-boot.itb of=/dev/sd[x] bs=1K seek=384 conv=notrunc; sync Boot ----