From patchwork Wed Oct 14 09:12:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 317735 Delivered-To: patch@linaro.org Received: by 2002:a92:d603:0:0:0:0:0 with SMTP id w3csp214226ilm; Wed, 14 Oct 2020 01:46:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDz3j2Qxk3jgGUX8ZBsOsBvO3h0IVfiNrYTI2mmRPnnYiwk5OLiHxji7Udp6iIn7kKXc7/ X-Received: by 2002:a17:906:4a98:: with SMTP id x24mr4027689eju.319.1602665180746; Wed, 14 Oct 2020 01:46:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1602665180; cv=pass; d=google.com; s=arc-20160816; b=T4BZ5+2R2L+gRb6W0W24/od1T+CDDCepkWtCwqF8zdxC2QqyS96E2GxO1aqygffGJV qJl0csl4linDodb8XGM6eu4yOu8BXDWUem8eR7Wc4Mt5cu8C74qjh/KbhQ2WE6Nrziom 0YhLwN8ELLL+TVVAy/0ZZELtjTgIdbCAM32F2Py3HXuri/0bgM4faasKk0r/B/4VuFQu xN1HqHDJKgsXpbnnTjxE0GKXrkyi2Xbsdji+HrqI5EWQpjc2FH2bfAZGLFbHrrlYgem9 2IQvcBuNYGQxw5QWYoIjnqTs1EamogB6Jmna+I8nPF/G0e9MnFc+NL8Y0fz9ohH2mjPb lZMg== 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=HAG8h73p+Q9diwL1k8jWbjUXHAhNydudt9+xwSCXNTA=; b=D9/a390CQ33gVlaP74domNJXdBkEveZpqO++ypLPydQeCyxlD4ITMUxMr0szS2r4WI Y59hbbCa979VS1aScgM+CUp0uDcAS1a3Q5LTlMZkKL1Xt3TAqDsQ2/URGx13gaJP+JsJ d+RblNvjFQu4Nvsei30txKGICnaQ3yaWizWBR7sLusZMtusGUFB2QXyFB1izQb80T26s sdAEBNauEIuSi1rVSAdn6vtYh7dsiPmA+AYfIMSrlpEENvu5wbp7V9cikIzjQJePRj6H DBusbuc01OhwQHLPh6Emegry8Ffk1ubjsFcHekLPfQtFj+Rv0DUqEKKG3H39Z4terPdr Omog== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="ow/snmtj"; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=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=pass (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 d7si1745815edj.387.2020.10.14.01.46.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Oct 2020 01:46:20 -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=@nxp.com header.s=selector2 header.b="ow/snmtj"; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=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=pass (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 9060082431; Wed, 14 Oct 2020 10:45:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=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=nxp.com header.i=@nxp.com header.b="ow/snmtj"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 348968242A; Wed, 14 Oct 2020 10:45:42 +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=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FORGED_SPF_HELO,MSGID_FROM_MTA_HEADER, SPF_HELO_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on20611.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1a::611]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id E3F87823F6 for ; Wed, 14 Oct 2020 10:45:37 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=peng.fan@nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dVnveLCHMhw8Jf6vanLG/972RtbQkSfde0hZcfUEpsLkN3PcWHAV1WDGFYalFgzdsV2CkT18dBwpjTD+ey53+jSmmcQOROaw7tVWenH3rEHrTi40sxGS1aDtsUGUNIJ19pahwanrreoSuemEkaWFXg09FZDyS5zypFwtXhMGp2qnUiNYd1yly86wUYe7dxr261TaOor0C7iWI13NEjfQ/uYwV6dGHxw+SgHivE5ZGm9byi9QxPwt2RXawPy61Ao/T2sMl+qKqKeGDejDgmEm7xeIWzL6wv+lxMGmkZPUJX4kjD8BwqH/PGF2SuL9+liVA9ESQJbw6MYmpJmRPXRdRg== 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=HAG8h73p+Q9diwL1k8jWbjUXHAhNydudt9+xwSCXNTA=; b=NVIy2LYrOArwWRYvWS/+kgPDGebXdOPi0YkqOI+dk8P/ZjFi20z7lnBgay5Ipz0BC3GXs2QTq7SSziDUcZMKUv5m1Jk08kX4JKV1qIsX2WgfjCZ9giBnOInX75Z+fMhWJe8amz9cilVco3+yMXpfwccrgOcG0+b1nzkzVFx9RJ9SZyUF5zP+XzmXItOpSPSdp1MnjOdW65BFxiMo5jFGL1fufwjnCSoHo1sczirjL0yWmyTQ3czU2W1lsI3mFCUzqBsnGrE18z2VXhROyfX5oH3t+fzWyAnBOKOiciqGQkR485GM5A9GwRFHFrRIRDbB+yXs4elfeIVVANhVx7rVtg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HAG8h73p+Q9diwL1k8jWbjUXHAhNydudt9+xwSCXNTA=; b=ow/snmtjvRjw3Kwo74Iw0co4a1wvyio/e8IF7rBui8FKhLzyfdsCBgNg70QsGltZns3LWhX0Np63KbxwSJtGxAY82ZxC8aW+9HrP6iSUt3r4XxSYk8zemLfSpKNeH6dnjEHyAW2uXsktUEBUV7W1E5Q15y5Bj3g2yisHQGOemkA= Authentication-Results: denx.de; dkim=none (message not signed) header.d=none;denx.de; dmarc=none action=none header.from=nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.22; Wed, 14 Oct 2020 08:45:36 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::35c5:8c71:91f3:6bc6]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::35c5:8c71:91f3:6bc6%12]) with mapi id 15.20.3455.031; Wed, 14 Oct 2020 08:45:36 +0000 From: Peng Fan To: sbabic@denx.de, festevam@gmail.com Cc: uboot-imx@nxp.com, u-boot@lists.denx.de, Peng Fan Subject: [PATCH V2 03/12] doc: board: Convert i.MX8MN EVK README to reST Date: Wed, 14 Oct 2020 17:12:01 +0800 Message-Id: <20201014091210.12113-4-peng.fan@nxp.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201014091210.12113-1-peng.fan@nxp.com> References: <20201014091210.12113-1-peng.fan@nxp.com> X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: SG2PR02CA0117.apcprd02.prod.outlook.com (2603:1096:4:92::33) 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 SG2PR02CA0117.apcprd02.prod.outlook.com (2603:1096:4:92::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.21 via Frontend Transport; Wed, 14 Oct 2020 08:45:34 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 0fc9f747-c8d7-4f1c-10c5-08d8701d8531 X-MS-TrafficTypeDiagnostic: DB6PR0402MB2760: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:935; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3bhRswVvexLw5wW72S1T30V7Jb+Fa4GyVjxf798DvTBim8/rJLtbHFXkSh3Hz2R64+7Evzoeihet08HmB6Nc3fXgthZGVmDFC/OQ+bHMVLhBXH7AwOp7H48ZCno584AzU8SQnIOUOcoHlwKtZnY1MqBI/TOCTQPx/MMKrnfEeErALthBJ4kAfcn2If3rhtuLxyJTxtTC6YQtoU8MQ8JEcGnanH6lwD0VOaYhA5nUSHO58E8CoUIWE0iUbw6o/jJjt12+05n26DtTCGaCOGg2/tt4Wmsw902xEjH43OqKUOAB/JyPCdeXkNS5NtR2gVKoAHlURoSqLr9tSGSDwkiLjf+TKAr83w0NrlXDE6rPz0o6gQun1YRV4NDFQKBO8QnqVPytWoBOLFxVwHRcOAf6EQ== 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)(39860400002)(366004)(136003)(346002)(376002)(478600001)(4326008)(316002)(1076003)(2906002)(26005)(16526019)(52116002)(6512007)(2616005)(36756003)(86362001)(956004)(8676002)(44832011)(186003)(8936002)(83380400001)(6506007)(6486002)(966005)(66556008)(83080400001)(66476007)(6666004)(5660300002)(66946007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: a63FK3zHfIsshTsiapTQLKi6QPH6ZHFbZvqwCBa4GS5BX1HDbmDP1Hrw0MyMDWyCyslytABMwTKIu07LRQCgyVR3OqNFPplJB90SJtuZuRkBHo6hRBRbT/DfXaDAx0zgAqJGGLpWrNuPYM+/xj6HiXhRdfmyBMtNcSepvr3Rv0xK4QAl13Ki99LlGOIMaC+V0uf75yupbTeXgOsHPIYXTT1v9I6Q5a1qeicC2dAl8lNT9lRxndVdgen28LIdZVso/N+PsNS9JXV3Vz0E6lW6jcNZdF2DAHYKoa4co9p7EomuORuQaFQ187XEDerG9oC+jWGKfWlIZpOi0Zbo9uaIj8ehIfK0On8jjO49nSGarxsnvILl3hexIl/hvaSPj4vh8cHsR+5Z64k9AdIpIWCZOsr1yfUCElT+y5NIXMaj/aeEKZFY+J6n2mSEKd/zdYaTbBIhgmIzHgv5HbpX4SvPT0cMv2mtpLYGazJy8c/n9Fp/nLBbtQt2jaSIFsGxhgi50XnznfgdEqaPnCOXPu6pLBdln6TUL3wmUSJwvguUShGu08nmbWTHd+nBpAiyJLADPUntS6t3rDJ9dydq2ONSjj6MVkWF04nfqmFMbYa7I/JBSYe+YLXkFu1WOKpG2yQaABMSLVwS5zgnIcj7CeWTzA== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0fc9f747-c8d7-4f1c-10c5-08d8701d8531 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Oct 2020 08:45:36.6581 (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: zDhgzit3kF7OnyJlyprGDpSv3Nkz3rQ1KnFZCAcwKoj6bvN1HTsurR08pXbWNIuRfP7Fd9ItPYZladxAfuhQRQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0402MB2760 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.3 at phobos.denx.de X-Virus-Status: Clean Convert plain text documentation to reStructuredText format and add it to Sphinx TOC tree. No essential content change. Signed-off-by: Peng Fan --- board/freescale/imx8mn_evk/README | 37 ------------------- doc/board/freescale/imx8mn_evk.rst | 57 ++++++++++++++++++++++++++++++ doc/board/freescale/index.rst | 1 + 3 files changed, 58 insertions(+), 37 deletions(-) delete mode 100644 board/freescale/imx8mn_evk/README create mode 100644 doc/board/freescale/imx8mn_evk.rst -- 2.28.0 diff --git a/board/freescale/imx8mn_evk/README b/board/freescale/imx8mn_evk/README deleted file mode 100644 index ec007afb25..0000000000 --- a/board/freescale/imx8mn_evk/README +++ /dev/null @@ -1,37 +0,0 @@ -U-Boot for the NXP i.MX8MN EVK board - -Quick Start -=========== -- Build the ARM Trusted firmware binary -- Get firmware-imx package -- Build U-Boot -- Boot - -Get and Build the ARM Trusted firmware -====================================== -Note: srctree is U-Boot source directory -Get ATF from: https://source.codeaurora.org/external/imx/imx-atf -branch: imx_4.19.35_1.1.0 -$ make PLAT=imx8mn bl31 -$ cp build/imx8mn/release/bl31.bin $(srctree) - -Get the ddr firmware -============================= -$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.5.bin -$ chmod +x firmware-imx-8.5.bin -$ ./firmware-imx-8.5 -$ cp firmware-imx-8.5/firmware/ddr/synopsys/ddr4*.bin $(srctree) - -Build U-Boot -============ -$ export CROSS_COMPILE=aarch64-poky-linux- -$ make imx8mn_ddr4_evk_defconfig -$ export ATF_LOAD_ADDR=0x960000 -$ make flash.bin - -Burn the flash.bin to MicroSD card offset 32KB -$sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=32 conv=notrunc - -Boot -==== -Set Boot switch to SD boot diff --git a/doc/board/freescale/imx8mn_evk.rst b/doc/board/freescale/imx8mn_evk.rst new file mode 100644 index 0000000000..c3e92cecee --- /dev/null +++ b/doc/board/freescale/imx8mn_evk.rst @@ -0,0 +1,57 @@ +.. SPDX-License-Identifier: GPL-2.0+ + +imx8mn_evk +========== + +U-Boot for the NXP i.MX8MN EVK board + +Quick Start +----------- + +- Build the ARM Trusted firmware binary +- Get firmware-imx package +- Build U-Boot +- Boot + +Get and Build the ARM Trusted firmware +-------------------------------------- + +Note: srctree is U-Boot source directory +Get ATF from: https://source.codeaurora.org/external/imx/imx-atf +branch: imx_4.19.35_1.1.0 + +.. code-block:: bash + + $ make PLAT=imx8mn bl31 + $ cp build/imx8mn/release/bl31.bin $(srctree) + +Get the ddr firmware +-------------------- + +.. code-block:: bash + + $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.5.bin + $ chmod +x firmware-imx-8.5.bin + $ ./firmware-imx-8.5 + $ cp firmware-imx-8.5/firmware/ddr/synopsys/ddr4*.bin $(srctree) + +Build U-Boot +------------ + +.. code-block:: bash + + $ export CROSS_COMPILE=aarch64-poky-linux- + $ make imx8mn_ddr4_evk_defconfig + $ export ATF_LOAD_ADDR=0x960000 + $ make flash.bin + +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 + +Boot +---- + +Set Boot switch to SD boot diff --git a/doc/board/freescale/index.rst b/doc/board/freescale/index.rst index 070d678725..77b6802098 100644 --- a/doc/board/freescale/index.rst +++ b/doc/board/freescale/index.rst @@ -7,4 +7,5 @@ Freescale :maxdepth: 2 b4860qds + imx8mn_evk imx8mp_evk