From patchwork Wed Oct 14 09:11:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 317733 Delivered-To: patch@linaro.org Received: by 2002:a92:d603:0:0:0:0:0 with SMTP id w3csp213900ilm; Wed, 14 Oct 2020 01:45:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxGS/RQrUGxK4SlbIx7RTY/ZY9ahfxHTTP94UOxa5W5L+167Fjze7UM1FGl6BBagJRACcn4 X-Received: by 2002:a05:6402:2055:: with SMTP id bc21mr3930382edb.67.1602665145567; Wed, 14 Oct 2020 01:45:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1602665145; cv=pass; d=google.com; s=arc-20160816; b=Nwm6/O9d9AHfPBBt3KmQ2RqiCWAcBrvFTsVrXQaKnvOyRRbJOV/VsItQbLWfjQavAz e0HphGpzVxROSYwcCgXy4vcR1lBuCw9JRLGYaEMl3iCwk/Bc5p/Nz4steS+a/in9s2ym IW62d/3I//VhuW8VK4Je6hMPSTlUiYOd7gVHpbD5ZjWMrsP0J5B56DDoI1u3D1kNUW7L eskQU47A6f8v3kiiyJfqrYREqbKgsMe7Cl6RRAaKYnIcsVcI8daehpk+9daiol5w3wC4 4JmNBXMehDrJWgQP4UTpmmBiaLWk3HhH7ZRX2lJXkAu2Uxr7Er37sOsorv38XgkQJhhV 5vLQ== 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=toWgBSHj/o6By9d+xcG+Fjo7ar0IEh+F43PA0SgATt0=; b=RVTEASFUvfyqXPKzFNyJAHQbZgscHMCd8ryueVKAGhwkU8FgjSzfP6ybpmXkQ5feBe Y54mfLKoE44QHQoOxlm3YDexo7kNU+lBiE1tibe/9lbD/IQnIR8+wsdEra9g3JMqLOHM 8/fvgfjrluvdH2oe5A83YSyKg/pLRGZHbYOwWnCMgjRsQn0ZUGs5oI5xGl4WjneRl40W Au6OoRQ21LwWL0l0UjmMOoa067NtL0BtYbaAta1jsH3VPfDotzgjtkCo4v8WHhOXVuXb Hcd+cZRQkf7eqLLpdcG1P2NEGm3F1TIFw+5+Zec/wk4nTYCeg6871+/ZCfxZX7eaW57m lYrg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="qLQqsST/"; 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 85.214.62.61 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. [85.214.62.61]) by mx.google.com with ESMTPS id n9si1749952ejx.364.2020.10.14.01.45.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Oct 2020 01:45: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=@nxp.com header.s=selector2 header.b="qLQqsST/"; 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 85.214.62.61 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 5B78B82416; Wed, 14 Oct 2020 10:45:39 +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="qLQqsST/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 47C0982400; Wed, 14 Oct 2020 10:45:37 +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 EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on060c.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1f::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 B955D82313 for ; Wed, 14 Oct 2020 10:45:33 +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=INPGUxvah4KbZ7jxdUmhIC1N7frN2FyPdBhHhDGbcgsVbdnp9jGTUZ+lEGcsytkJljJarReyo1iGK7vvycgZ5w2ItxsoawgmLfIU9g1A72Wdrc087UmfzSZKOxDhPta+Zgqcc28K8IZp8I8Th9q026AOjBdhUCnqcyLT8iQjyY96ecWwrOeIIkhCj5VxCDMU8tlYc9QSLtX1MSSjU3hEgTX4eGpFFQ2Y1CQaSjQ/M6rqYEfX22xXumQvS8olfzDXGCXRCkVi9lPbvtCDPXLD6KStIyGtU79o2tXUODuOmUPdWdGCUUD4Ze2BJStJEPGvlLOzCVwyXSCSQEDHo2s8Zg== 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=toWgBSHj/o6By9d+xcG+Fjo7ar0IEh+F43PA0SgATt0=; b=S283T4DhQ9RenQYo0wnsiTfAd6RRj9mMQk4NQynNc9nNPt0UvVRiYNHboBKzfvR+ezPKEscEePZpSzU+qWn6bnvkSkAnzxs6HhRiDbGBdkb0Fc916S0pTDkd+X9c1TDLUAFmZ2j6pqONtJJK1dwo78qcIQcBrOqVjBO8k+97bmrvATSSd4THFbfJa81GCe/CDpyYWsNkJGQpMB8ooLZDV8KJwoMjiEwHDDVxCCAy93Yp8MyDvw+iHUzbAArsys16ODZndSOprmoyVlPyzNmw/5s7kTBMroQzyzNq5q8PhMxsmz4YPSZEacV3Dcwzcxz1IVtt4aBubVCwNozhB5hAeg== 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=toWgBSHj/o6By9d+xcG+Fjo7ar0IEh+F43PA0SgATt0=; b=qLQqsST/QT9bPaFV6V5inqwR26dqSWhtsdNCaYdtcE1SvcC2aaPfxmC/5XHO7ECwpZ3DXovghdKESCEhl2Jh6R0LQiiyggNSncytfMpEzbtSMPwQekm9tQ5YrVSy6OpxcJ5ZsZetEwRgAyZb1k0g5zZozNqI6sPqy3tjvD32oMM= 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:32 +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:32 +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 01/12] board: imx: address dd usage in README Date: Wed, 14 Oct 2020 17:11:59 +0800 Message-Id: <20201014091210.12113-2-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:29 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 0e590e79-abc8-449b-0b15-08d8701d8256 X-MS-TrafficTypeDiagnostic: DB6PR0402MB2760: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OGtmfypYc9f8igy6uHUy97pYpEQMP6FpVCuPUzph8CIJcc9wMSY6pPQpro4lqCTKky5JvkrU+Yud1fYF7TF7nHwgBwJaIVbtxx2+yRB/yN2S4AtrGv3V1zCcYqKp0XCA2MUpbZxx6dKkpkiL9gFQvfKxg55SWKKv4vkn52fZIGL9BjnwcINXknBIp84lFbtF0rFdI0Fl29aICgDKU7ix1sfgR3MmNnUC+4lIODIuUv4m7CRC5S9I/xWW/i8Yp12XUWEjD1w3uNohVX3rs9MuPeghT4GTwimuDwyQTWp8zTLVx5j9e8V9zgO39N8wLN+xmd25EqFWCjSZXF/KcS7p9w== 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)(66556008)(66476007)(6666004)(5660300002)(66946007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: FqNIjic7RcKvpEUwkwO766oXSfde8STdg23YzssloUo1y743qWd2l5tI0yiS+OWYyZDrlMmmTWUXa+64260EyKrZBVHQLD0MHdQ33bszXmAQvdQVq3gMoWAa4LMDQNkbIlxKNN+uho2hs0BWpVR6gg+vzn3T6kSn/CUKuSjLAyyrnG1Db+1NY/UW/7IMAkJoEnm54h6mcmNnPabzFi+fFif6lBg34LQ5RG1py+P+otpfyrh4C8+briyZcuCH8R3+Th94EBze7Dg2JahGqU8PhiOhInkdihcgIJivOQkr+Qk3rkU5B8Y6h8zCwMTk0cnyFdrIdrBrBfeN4llO3ey0nghF3y+J67yFkZILaU3veG+c+JfunjtcTF4l29evezgq+PC7fNOlsV52lFmnojdacwklxTJlVi8iJSt4Y1YVenCT07oiI6o6lhwYs5vQyAT5/NE8oExMOJ2P9SOlYQqSs5Te8L9EzacbOTPjQUCLkSQJNNNZB8YN3tNQ3RSXPLkS2Mpu3tza+tpK7KjdwpeZgPec4cuN4oLfnQTKNyXrSzC9S7g6oqGqC965Rm19v+q9uzraVyk7S5uHapIq39hrotNnXqfM5MeDKYFg8dZOAha7NOVMs56a6Uph90DgcSS2GhkhGKd70HUHIr3iwFhiMA== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0e590e79-abc8-449b-0b15-08d8701d8256 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:31.9902 (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: pDvmsabjoasXK1xwx1HfMXRIzD1EwhTe6uYDojehJy9tlTZcvoUhkucWV1HI+GyxLdllZLmdn+3MBgSHkFHcmg== 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 When using cygwin64 "dd (coreutils) 8.26 Packaged by Cygwin (8.26-2)", the last not 512bytes aligned data wat cut off and not burned into SD card. Saying the flash.bin size is 1085608 bytes, not 512bytes aligned. It only burned 1085440 bytes, the leaving 168 bytes were not burnned and cause boot issue. So update README dd command to add "conv=notrunc" Signed-off-by: Peng Fan --- board/freescale/imx8mm_evk/README | 2 +- board/freescale/imx8mn_evk/README | 2 +- board/freescale/imx8mp_evk/README | 2 +- board/freescale/imx8mq_evk/README | 2 +- board/freescale/imx8qxp_mek/README | 2 +- board/freescale/imxrt1020-evk/README | 4 ++-- board/freescale/imxrt1050-evk/README | 4 ++-- board/freescale/mx6sabreauto/README | 8 ++++---- board/freescale/mx6sabresd/README | 12 ++++++------ board/freescale/mx6ul_14x14_evk/README | 4 ++-- board/freescale/mx6ullevk/README | 2 +- 11 files changed, 22 insertions(+), 22 deletions(-) -- 2.28.0 diff --git a/board/freescale/imx8mm_evk/README b/board/freescale/imx8mm_evk/README index fa3f079f31..3307711d5d 100644 --- a/board/freescale/imx8mm_evk/README +++ b/board/freescale/imx8mm_evk/README @@ -30,7 +30,7 @@ $ export ATF_LOAD_ADDR=0x920000 $ make flash.bin Burn the flash.bin to MicroSD card offset 33KB -$sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=33 +$sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=33 conv=notrunc Boot ==== diff --git a/board/freescale/imx8mn_evk/README b/board/freescale/imx8mn_evk/README index ff3d15c02b..ec007afb25 100644 --- a/board/freescale/imx8mn_evk/README +++ b/board/freescale/imx8mn_evk/README @@ -30,7 +30,7 @@ $ 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 +$sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=32 conv=notrunc Boot ==== diff --git a/board/freescale/imx8mp_evk/README b/board/freescale/imx8mp_evk/README index 7dd3a9352a..3c64979be9 100644 --- a/board/freescale/imx8mp_evk/README +++ b/board/freescale/imx8mp_evk/README @@ -33,7 +33,7 @@ $ export ATF_LOAD_ADDR=0x960000 $ make flash.bin Burn the flash.bin to the MicroSD card at offset 32KB -$sudo dd if=flash.bin of=/dev/sd[x] bs=1K seek=32; sync +$sudo dd if=flash.bin of=/dev/sd[x] bs=1K seek=32 conv=notrunc; sync Boot ==== diff --git a/board/freescale/imx8mq_evk/README b/board/freescale/imx8mq_evk/README index 859f852255..2689459b9f 100644 --- a/board/freescale/imx8mq_evk/README +++ b/board/freescale/imx8mq_evk/README @@ -30,7 +30,7 @@ $ make imx8mq_evk_defconfig $ make flash.bin Burn the flash.bin to MicroSD card offset 33KB -$sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=33 +$sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=33 conv=notrunc Boot ==== diff --git a/board/freescale/imx8qxp_mek/README b/board/freescale/imx8qxp_mek/README index 6e4eb5996b..6f99d0e13e 100644 --- a/board/freescale/imx8qxp_mek/README +++ b/board/freescale/imx8qxp_mek/README @@ -43,7 +43,7 @@ Flash the binary into the SD card Burn the flash.bin binary to SD card offset 32KB: -$ sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=32 +$ sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=32 conv=notrunc Boot ==== diff --git a/board/freescale/imxrt1020-evk/README b/board/freescale/imxrt1020-evk/README index abee7ca5f3..9bc5bc00bc 100644 --- a/board/freescale/imxrt1020-evk/README +++ b/board/freescale/imxrt1020-evk/README @@ -11,11 +11,11 @@ This will generate the SPL image called SPL and the u-boot.img. - Flash the SPL image into the micro SD card: -sudo dd if=SPL of=/dev/sdX bs=1k seek=1; sync +sudo dd if=SPL of=/dev/sdX bs=1k seek=1 conv=notrunc; sync - Flash the u-boot.img image into the micro SD card: -sudo dd if=u-boot.img of=/dev/sdX bs=1k seek=128; sync +sudo dd if=u-boot.img of=/dev/sdX bs=1k seek=128 conv=notrunc; sync - Jumper settings: diff --git a/board/freescale/imxrt1050-evk/README b/board/freescale/imxrt1050-evk/README index a7e68fa9b3..f321300246 100644 --- a/board/freescale/imxrt1050-evk/README +++ b/board/freescale/imxrt1050-evk/README @@ -11,11 +11,11 @@ This will generate the SPL image called SPL and the u-boot.img. - Flash the SPL image into the micro SD card: -sudo dd if=SPL of=/dev/sdX bs=1k seek=1; sync +sudo dd if=SPL of=/dev/sdX bs=1k seek=1 conv=notrunc; sync - Flash the u-boot.img image into the micro SD card: -sudo dd if=u-boot.img of=/dev/sdX bs=1k seek=128; sync +sudo dd if=u-boot.img of=/dev/sdX bs=1k seek=128 conv=notrunc; sync - Jumper settings: diff --git a/board/freescale/mx6sabreauto/README b/board/freescale/mx6sabreauto/README index 4c0fda1a2d..710026a05e 100644 --- a/board/freescale/mx6sabreauto/README +++ b/board/freescale/mx6sabreauto/README @@ -13,11 +13,11 @@ This will generate the SPL and u-boot-dtb.img binaries. - Flash the SPL binary into the SD card: -$ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 && sync +$ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 conv=notrunc && sync - Flash the u-boot-dtb.img binary into the SD card: -$ sudo dd if=u-boot-dtb.img of=/dev/sdX bs=1K seek=69 && sync +$ sudo dd if=u-boot-dtb.img of=/dev/sdX bs=1K seek=69 conv=notrunc && sync Booting via Falcon mode ----------------------- @@ -36,11 +36,11 @@ This will generate the SPL image called SPL and the u-boot-dtb.img. - Flash the SPL image into the SD card: -$ sudo dd if=SPL of=/dev/sdb bs=1K seek=1 && sync +$ sudo dd if=SPL of=/dev/sdb bs=1K seek=1 conv=notrunc && sync - Flash the u-boot-dtb.img image into the SD card: -$ sudo dd if=u-boot-dtb.img of=/dev/sdb bs=1K seek=69 && sync +$ sudo dd if=u-boot-dtb.img of=/dev/sdb bs=1K seek=69 conv=notrunc && sync Create a FAT16 boot partition to store uImage and the dtb file, then copy the files there: diff --git a/board/freescale/mx6sabresd/README b/board/freescale/mx6sabresd/README index 4ea4454b9f..974b0be175 100644 --- a/board/freescale/mx6sabresd/README +++ b/board/freescale/mx6sabresd/README @@ -25,11 +25,11 @@ This will generate the SPL and u-boot-dtb.img binaries. - Flash the SPL binary into the SD card: -$ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 && sync +$ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 conv=notrunc && sync - Flash the u-boot-dtb.img binary into the SD card: -$ sudo dd if=u-boot-dtb.img of=/dev/sdX bs=1K seek=69 && sync +$ sudo dd if=u-boot-dtb.img of=/dev/sdX bs=1K seek=69 conv=notrunc && sync 2. Booting from eMMC @@ -53,8 +53,8 @@ Mount the eMMC in the host PC: - Flash SPL and u-boot-dtb.img binaries into the eMMC: -$ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 && sync -$ sudo dd if=u-boot-dtb.img of=/dev/sdX bs=1K seek=69 && sync +$ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 conv=notrunc && sync +$ sudo dd if=u-boot-dtb.img of=/dev/sdX bs=1K seek=69 conv=notrunc && sync Set SW6 to eMMC 8-bit boot: 11010110 @@ -69,11 +69,11 @@ This will generate the SPL image called SPL and the u-boot-dtb.img. - Flash the SPL image into the SD card: -$ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 oflag=sync status=none && sync +$ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 oflag=sync status=none conv=notrunc && sync - Flash the u-boot-dtb.img image into the SD card: -$ sudo dd if=u-boot-dtb.img of=/dev/sdX bs=1K seek=69 oflag=sync status=none && sync +$ sudo dd if=u-boot-dtb.img of=/dev/sdX bs=1K seek=69 oflag=sync status=none conv=notrunc && sync Create a partition for root file system and extract it there: diff --git a/board/freescale/mx6ul_14x14_evk/README b/board/freescale/mx6ul_14x14_evk/README index e101abe48c..70eb86efba 100644 --- a/board/freescale/mx6ul_14x14_evk/README +++ b/board/freescale/mx6ul_14x14_evk/README @@ -14,11 +14,11 @@ This will generate the SPL image called SPL and the u-boot.img. - Flash the SPL image into the micro SD card: -sudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1; sync +sudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1 conv=notrunc; sync - Flash the u-boot.img image into the micro SD card: -sudo dd if=u-boot.img of=/dev/mmcblk0 bs=1k seek=69; sync +sudo dd if=u-boot.img of=/dev/mmcblk0 bs=1k seek=69 conv=notrunc; sync - Jumper settings: diff --git a/board/freescale/mx6ullevk/README b/board/freescale/mx6ullevk/README index d5c8770863..47a35f61a2 100644 --- a/board/freescale/mx6ullevk/README +++ b/board/freescale/mx6ullevk/README @@ -15,7 +15,7 @@ This generates the u-boot-dtb.imx image in the current directory. - Flash the u-boot-dtb.imx image into the micro SD card: -$ sudo dd if=u-boot-dtb.imx of=/dev/sdb bs=1K seek=1 && sync +$ sudo dd if=u-boot-dtb.imx of=/dev/sdb bs=1K seek=1 conv=notrunc && sync - Jumper settings: From patchwork Wed Oct 14 09:12:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 317734 Delivered-To: patch@linaro.org Received: by 2002:a92:d603:0:0:0:0:0 with SMTP id w3csp214001ilm; Wed, 14 Oct 2020 01:45:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzsv5raPGqFh0NAd7KmsNwnjh+5j2frpPZ54AMAOM27dc/SP+NRxdFwKFFqO7oYWTtdaxbe X-Received: by 2002:a17:906:b1a:: with SMTP id u26mr4131440ejg.23.1602665156095; Wed, 14 Oct 2020 01:45:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1602665156; cv=pass; d=google.com; s=arc-20160816; b=l5xTDobkjVWuw5VyudZLxcYebXXrfoXNKukvnGJHmPxrQcHlmjuZ9vXcrtT3v59dK8 gjUcTSuJL0QcL9BWjQx6eZdeXjA28FuOmipGns6QGkb2i/Mq63NvbgBK0iO6uXORal1C +FNBrS/Rl1Rl4ilOYPaO+58DozhLH+6KjeyaZPhzgjk6tb1Wuz/HqdDv23lXnGOmiVjZ Y1aOilSI7mC1E1K+55CBuuw+17uCtTIW/kJ3RNilmhNlR+KTfhi8bCEnaenC/1yAuSCI vht0rnHy58jxYnzrykk1/C5JMaaWpsTB2IKlLBhhJNXHRIX0oZjhKOJXAo2lsP3aeCFc zE2w== 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=MUcaTlT9KUKYjznVPSmMF3WyAuzQT6L1ou1zd1111n4=; b=vh3pTS0ZfXBtYoftt1jVLLt8RJzicHBrsaXhUZJKKvu2sR8jPsyYz0F9w6G15W/Z9j /IVwpoHf8ujK8UJwjqAup03cqD2Auk9tusq+ET7Uy0Cn9QoTm4dabki9bO90yOhDOimZ /XJv1CcueSYD8Ekbm1OX16Q0m4hYx0ia4P/IBNEclXCRP8i6UjGA9aan/hUTAQEc1jQC W1fQqaDqhIXRkk0mV3k9/jSKPEw2G4mwAQ+nTkv6uV/REiuRqyLXH8Og843vpua4/Cgn Gq4SQjsOmGkYccufSnOoKPvwYyboUY+FVozUtALs8kEciUQrJaHEZOH+w15R3hDXR4UC Tdaw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="X/iAWLjq"; 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 85.214.62.61 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. [85.214.62.61]) by mx.google.com with ESMTPS id s5si1853950ejj.492.2020.10.14.01.45.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Oct 2020 01:45:56 -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=@nxp.com header.s=selector2 header.b="X/iAWLjq"; 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 85.214.62.61 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 7039482428; Wed, 14 Oct 2020 10:45:40 +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="X/iAWLjq"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DF16F823E0; Wed, 14 Oct 2020 10:45:38 +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-db8eur05on20600.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1a::600]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B4392823E0 for ; Wed, 14 Oct 2020 10:45:35 +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=H2VVX+Kythm+LNu/RkCxQySAN3nA2Y/AN0+Lyy1ycnvMcj7xIoL2T0sfikfCjVTGLqhF2Qsnkg03yI8OhbBncvAl/ZiOtcijZ20JBm6ejtJPgB9KpKOub6/ARPkCbCNBt0nVsnl2Cavndv9xIoUVcKFrakoitUV93LcsylXY4pployUo4w1UikqcE94wPZY1qlpowHp9pu5ZOkAe12msJt5EWrATLk0VfnDUqO8tjD6knhRiAxv2MzcjP5Vtm1KFXExsjDlsU4NW5sDAbE70fngn3VJOL5BUJ81ggAbLwaY/aKmMrqrYzFYYgnf8NvvxMqzkiWNANiRpJsxFwVEWSg== 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=MUcaTlT9KUKYjznVPSmMF3WyAuzQT6L1ou1zd1111n4=; b=Xq10XiPFnTdqBPsG74/3IArA3FMaIJD1Sv0akBqpTP/yIlZwSelXN0eWS8epUGmSvoUHH2ezCHPmhAOE21cKVwP9U+TmcAaZi7XAr31HSMakVe/Enr4DjTUSX9swNeZ2cdxqv/EDR/fEyJ9szcNT/kNg1F683Rt1W1CCK/aQ5sCoMSZOATAeIpM6GK7LDYmZUyJxRRZDMQA3VaQoA4xuU5u/ZCqqaWK6/Ng/W9fAntFfs3vYXAbplih5tEuayWgSJNnfSf2ULtE/oEbYKdhmv1aHkbtGm/WXPWa8cSKsbFNjKOLnR4QHC3X6DAidnCDB9uLEKRNl18NaEDHv0MLOCw== 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=MUcaTlT9KUKYjznVPSmMF3WyAuzQT6L1ou1zd1111n4=; b=X/iAWLjqDI20iK/aNhgfuMVy9GR9dEC6zfq7Hhcgwj1WMOZ1jgiCCVLz3LROz5+tmqdqQYwooIQx+AWjqwRrxYlBzyo8dLdd0I3Uoe8CEQdMYO0mnjrFb4w2RLAIcXd9GndjDY2oDnXdYkMwzwGaJA6uqMxwzOu3Om0w9Z7XPmg= 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:34 +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:34 +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 02/12] doc: board: Convert i.MX8MP EVK README to reST Date: Wed, 14 Oct 2020 17:12:00 +0800 Message-Id: <20201014091210.12113-3-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:32 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 8a13276d-b14a-42b9-0958-08d8701d83ca X-MS-TrafficTypeDiagnostic: DB6PR0402MB2760: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1775; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2yPZIKidnqGHegviNb5EGlxBIF/dRdKUi6/mYEpgTEcHoKZPPkG1nvGk0818LohwwYj+74l9ZrgydoPSkjDGKEvIgA+c3DQghpkxyWiMnW053jLssm7JCkh7XE7SnOkKNfYXK3vW9kqPtK5Ew+cRgdKNl/D97p6esoS5v1EnBrKhyXysyCVClhaAM8K+nrD1GS/1awCqIovRv0vea2JvO2DUEO9N5Z2uYEVIYl9rmOzTOMDlCqjV+XQylmQMiRLobiIruA0crFtr+HQkM8TzSlCWf3PfFJTV6K54BF/WVauL/LBCixZGj/zybfxSu6ppN0wZ0f/ieRShGLa/+hbwoFbs6VTi5QSl70RKlbqrEH+slDXolTaxUQC7lC4vgdHl2ov0yUpVDLQKC+JO1Lb0hw== 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: CmHATwkl3FftQ2y4/nyYew0nRr8CIl0H486vbfMhqqgYo1eIMiEeqVjcabJfI31DMr2xUqxGTYPgbnFK/ekAMpGHKt82AcFNiaZvabs9f+gM+bhlmxDotFGsBvwTYLWZ6Tro25XwB1MJLtomTUK4OAgdYHcikdMvDXBQvXc3Kh/dg70rp4qNEJXfw0WBKtxlUu5UBCqISme9hHRToMT1xg7H2k+YZXRpp74sJrFQ6bWipTnj0exE8SbFLD4v4ATVvIrdcVhcmxPKoaKt7ZgxdqjRX/vSV0U/oB1vi9AVHQacrkxoVw/UPwtlxtZhnz33xC+3npCKhzWL1XPtLAgR02gjrhfDSST1ihVPxZulctxo6dTOT4h6s7J45kqjNy5WqLs/oUwnCtxLaS6ahfqUXkfWxGwq/t+qHKYu0VijlPBvGygJu22587S3xL924FdbRTyGvrYNOeY3IezfTbpxQDJIC0q4QIDJAr+hUzIge64Ndp2ByEPGWVLGVK/XB0kHFSLb4CkEjQWnEALP9BSAr7YQ70irKQ0bbXmTQfu+21ZOK1c9qHjFnQWUqzeealkBS/pJovxrnvIACQYaLs+1U6ZRw+IluyAWqltN+5jfPjaX9bu9Hs0NmqM7WqL/VjsRdGbN3/DUWJ7NSY9oieoRjQ== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8a13276d-b14a-42b9-0958-08d8701d83ca 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:34.3092 (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: coqcp0Eilo8nrZcTpKphSHtPCrkEsck/B13Ajq/RzgrU3Sr07nNewCs32B06Xqz4DW7/NTt2yLiAE55/v6GH/g== 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/imx8mp_evk/README | 41 -------------------- doc/board/freescale/imx8mp_evk.rst | 61 ++++++++++++++++++++++++++++++ doc/board/freescale/index.rst | 1 + 3 files changed, 62 insertions(+), 41 deletions(-) delete mode 100644 board/freescale/imx8mp_evk/README create mode 100644 doc/board/freescale/imx8mp_evk.rst -- 2.28.0 diff --git a/board/freescale/imx8mp_evk/README b/board/freescale/imx8mp_evk/README deleted file mode 100644 index 3c64979be9..0000000000 --- a/board/freescale/imx8mp_evk/README +++ /dev/null @@ -1,41 +0,0 @@ -U-Boot for the NXP i.MX8MP EVK board - -Quick Start -=========== -- Build the ARM Trusted firmware binary -- Get the firmware-imx package -- Build U-Boot -- Boot - -Get and Build the ARM Trusted firmware -====================================== -Note: $(srctree) is the U-Boot source directory -Get ATF from: https://source.codeaurora.org/external/imx/imx-atf -branch: imx_5.4.3_2.0.0 -$ make PLAT=imx8mp bl31 -$ sudo cp build/imx8mp/release/bl31.bin $(srctree) - -Get the ddr firmware -==================== -$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.7.bin -$ chmod +x firmware-imx-8.7.bin -$ ./firmware-imx-8.7 -$ sudo cp firmware-imx-8.7/firmware/ddr/synopsys/lpddr4_pmu_train_1d_dmem_201904.bin $(srctree)/lpddr4_pmu_train_1d_dmem.bin -$ sudo cp firmware-imx-8.7/firmware/ddr/synopsys/lpddr4_pmu_train_1d_imem_201904.bin $(srctree)/lpddr4_pmu_train_1d_imem.bin -$ sudo cp firmware-imx-8.7/firmware/ddr/synopsys/lpddr4_pmu_train_2d_dmem_201904.bin $(srctree)/lpddr4_pmu_train_2d_dmem.bin -$ sudo cp firmware-imx-8.7/firmware/ddr/synopsys/lpddr4_pmu_train_2d_imem_201904.bin $(srctree)/lpddr4_pmu_train_2d_imem.bin - -Build U-Boot -============ -$ export CROSS_COMPILE=aarch64-poky-linux- -$ make imx8mp_evk_defconfig -$ export ATF_LOAD_ADDR=0x960000 -$ make flash.bin - -Burn the flash.bin to the MicroSD card at offset 32KB -$sudo dd if=flash.bin of=/dev/sd[x] bs=1K seek=32 conv=notrunc; sync - -Boot -==== -Set Boot switch to SD boot -Use /dev/ttyUSB2 for U-Boot console diff --git a/doc/board/freescale/imx8mp_evk.rst b/doc/board/freescale/imx8mp_evk.rst new file mode 100644 index 0000000000..b34742e33e --- /dev/null +++ b/doc/board/freescale/imx8mp_evk.rst @@ -0,0 +1,61 @@ +.. SPDX-License-Identifier: GPL-2.0+ + +imx8mp_evk +========== + +U-Boot for the NXP i.MX8MP EVK board + +Quick Start +----------- + +- Build the ARM Trusted firmware binary +- Get the firmware-imx package +- Build U-Boot +- Boot + +Get and Build the ARM Trusted firmware +-------------------------------------- + +Note: $(srctree) is the U-Boot source directory +Get ATF from: https://source.codeaurora.org/external/imx/imx-atf +branch: imx_5.4.3_2.0.0 + +.. code-block:: bash + + $ make PLAT=imx8mp bl31 + $ sudo cp build/imx8mp/release/bl31.bin $(srctree) + +Get the ddr firmware +-------------------- + +.. code-block:: bash + + $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.7.bin + $ chmod +x firmware-imx-8.7.bin + $ ./firmware-imx-8.7 + $ sudo cp firmware-imx-8.7/firmware/ddr/synopsys/lpddr4_pmu_train_1d_dmem_201904.bin $(srctree)/lpddr4_pmu_train_1d_dmem.bin + $ sudo cp firmware-imx-8.7/firmware/ddr/synopsys/lpddr4_pmu_train_1d_imem_201904.bin $(srctree)/lpddr4_pmu_train_1d_imem.bin + $ sudo cp firmware-imx-8.7/firmware/ddr/synopsys/lpddr4_pmu_train_2d_dmem_201904.bin $(srctree)/lpddr4_pmu_train_2d_dmem.bin + $ sudo cp firmware-imx-8.7/firmware/ddr/synopsys/lpddr4_pmu_train_2d_imem_201904.bin $(srctree)/lpddr4_pmu_train_2d_imem.bin + +Build U-Boot +------------ + +.. code-block:: bash + + $ export CROSS_COMPILE=aarch64-poky-linux- + $ make imx8mp_evk_defconfig + $ export ATF_LOAD_ADDR=0x960000 + $ make flash.bin + +Burn the flash.bin to the MicroSD card at offset 32KB: + +.. code-block:: bash + + $sudo dd if=flash.bin of=/dev/sd[x] bs=1K seek=32 conv=notrunc; sync + +Boot +---- + +Set Boot switch to SD boot +Use /dev/ttyUSB2 for U-Boot console diff --git a/doc/board/freescale/index.rst b/doc/board/freescale/index.rst index 8d42b35b96..070d678725 100644 --- a/doc/board/freescale/index.rst +++ b/doc/board/freescale/index.rst @@ -7,3 +7,4 @@ Freescale :maxdepth: 2 b4860qds + imx8mp_evk 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 From patchwork Wed Oct 14 09:12:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 317736 Delivered-To: patch@linaro.org Received: by 2002:a92:d603:0:0:0:0:0 with SMTP id w3csp214383ilm; Wed, 14 Oct 2020 01:46:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJH5KYfqFrhFM7r4+bDMZrFexSFVOxSsp1dnGZDVjcjyDjkqXULYtNTJhRRugESOLHseo8 X-Received: by 2002:a17:906:c205:: with SMTP id d5mr4315698ejz.367.1602665194782; Wed, 14 Oct 2020 01:46:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1602665194; cv=pass; d=google.com; s=arc-20160816; b=NgS7fkkcuHbLp5zZIdPpfgkk3k0pDUIvNIYO5g1JLL75pX9OYXxd8AyTpbjD9p8D6y xWRoGKolEHzhUaUPSkQmGifKK5B+7pyA30omrKwkPlRkPfNEOlNca6Q8VFr2DMAtAK3X OWH7/Bl+GuEeLGn37v1PdD6b2xc9Q3yjZLSbyVI6KMvMFwrXPcR4j3olGFrkT6tMw02X 62TPZ8NveTURj+FI8t/NALPwNxLzkQYbStzUKWmZQNHpI7kQ6sL5l8sJPz2OG9ld3t2y x0u5s4uPWevJO+pHUO5JCyWSucX0oAAdRQerHSXetFu0DC9msQ5PVWs0ka1uIINMVe4q hRXw== 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=Ij20q2cYg+sUwlka83tBlxib7fGWhz7PVIUSckUfHyc=; b=zrWmiMHzKpE+mtFIvBkCqT+63wuOpXmihX/aWmguHfPrreXlVwiCYC1Phy1fg+6IuN afVXpoAXqqkdqhL/+fyDoew7c5uCq6jyMSthFBmdjwr3xPKYl0Rhz6RyV26i3dx3VEiQ Te3em9dbgKDUAFTC18a668mVoLpRm/HRpvuzhyHHpuEuZgRr0b3tuJBh6lheLGvnKUpf LF/rGCeupHqrK41S9aIsiAoohfhtkWQ0X6JgzTo8aUmDNB7n5BWCbtavklNpqtYLpo7+ nKpYjB7ADUwy7Z7mtxaQhaqzQYHCWodjFhe0oI3TVp+ZBZXrt+xJ9IaptOwz7yso/CrA rhbg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=hfDNeoTW; 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 85.214.62.61 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. [85.214.62.61]) by mx.google.com with ESMTPS id gt22si1672587ejb.571.2020.10.14.01.46.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Oct 2020 01:46:34 -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=@nxp.com header.s=selector2 header.b=hfDNeoTW; 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 85.214.62.61 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 A203082406; Wed, 14 Oct 2020 10:45:47 +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="hfDNeoTW"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A6F7282431; Wed, 14 Oct 2020 10:45: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=-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 EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0608.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1f::608]) (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 C5ADA82410 for ; Wed, 14 Oct 2020 10:45:41 +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=IiZCeo7VCDUP+QRB0HkKrHBa0MZUgL5dAJiqVjgFUk8GYbBbSRdNeTjuO+ElYH5OVpoIuD1/Vq92cB8j5e7My/wEBVOM8Y2W5oufsA4oAHPJ4L9F6/y+tae0AT9Vcf9Tn9JZAVq4qRUXDZZbzieVq0nV8chF32iptNLJoKS8/cFj6Qley6u6HBqw2veimBzqhvyr8m261rLbmO/9QgRaIEdzUZI7L6bSqobqzLhT33HcwnfDHnJBfdXoOnVTy9/SWSjd+5PMI5pcaSEUT3j9oiwrNkIqqg/EaKFygaL4BC5mBogCcbpm+CubGUwM7rVGHywtJBXkmbh/O6mJUx0J7g== 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=Ij20q2cYg+sUwlka83tBlxib7fGWhz7PVIUSckUfHyc=; b=JuJRLdrwRg4edH7WcQvNSYJoZHxlYx7JFCfjMsUBMGNK2Fryxq3kvjRKaw+XAGqxxrEkYWqhnpJC/6XnndypHiwuG5oR11PC9+yLsMGURr0IfA2RMU16hfKbazA8DpPP4thYlmsZnNkazFR8atOD3sc/Vk3jyOfhVCeIoIqU7R1UtqjshW1Qj4rQQPWw+FRkLWVtR5xhU6iReC+yXRCT+jjGVwBz8U29/eHydqtDZaFXZbm0li2VsphByB6yGatmH8n+V63gZM9SSe/rHfnrRRhjvMnHzRDFHerzD6cSMQ+F2HlRwSqZAx/ef4BNzvppiei9lrjMRrfYvjP/7PmZnQ== 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=Ij20q2cYg+sUwlka83tBlxib7fGWhz7PVIUSckUfHyc=; b=hfDNeoTW4yj15ztri7tVvKi7H9LUpgjuQAHNug5FvDyKxLN+BTyExMnVMzLgufZh5jqs9+JcdKi1Q1SMMG1dC/i87PR1xsmByvHR4uWCpe5c37/7+a7a+Z3+1qiT6GGIzjsvCHdnmrr8le106HE12WhsG9HYeQ6u/5vmXQlg/x0= 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:40 +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:40 +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 04/12] doc: board: Convert i.MX8MM EVK README to reST Date: Wed, 14 Oct 2020 17:12:02 +0800 Message-Id: <20201014091210.12113-5-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:37 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: c601048b-a175-475f-bd70-08d8701d8768 X-MS-TrafficTypeDiagnostic: DB6PR0402MB2760: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1107; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3a6CDLmX/NPYn2Og622f3Pr0d0BdYmv7FmdLn8q9xxREcMd291W8mK3p3+bIP/mEFSGU+jdMQ7LCVzRqo2s+AIYBCpE6OEN9KCPdg0WO4cQFWf/WeOZtoANG3W1xmMz5HzEbuGcOrCwy0Eul47kWhLdm3i8je/VGPtuAGs/tHMHNvrjTGhdHeepiJA7lhauP7Z5LFBbnuHwHwnX4d5kqL9zeQsdpcpY49KQ0n1Kkr5EDzHiOiIAj0Mb9haQcVKC80CW8zsJVNABa6KcbiVnw3z5LQ0ltj1aF+Pn5TUJNMXeMckYRBtflTweGKc+z1P+BWmVtzM+uji+yZQBd0Ed2iopnPNn61l/CnInShP8Uc71VIjb1aAEIGL29VpNH2hxxbg2W0feLV9pg4sJ2nxHfnQ== 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: laoIALCRMOXtugCSxrHsfG6YZ++JpSc4/A2KZexyYceRN9ax+OWjM6uh2HM+BzVsQCsi0JWNAWQpMezpaHmOVd+wVUrbHYk9pbvGETuhyiqrgi7SpAhAEGuQOTmC+y2SZyIEWy0+qU4fdqsgHP+nT9RVGXqUc9chnBWg7i4JqpH5n1Ua+nsmEpJlk9aTz452oKjBX+lSkwdRNPZQmqcd90VoLBb3ho4bnlKN+iPh9kGdXHufTu40YISQ2O3DeP5Nmfriy6qVdUEz8EAQwgYW2Gb8J6QhzDp4FaUVvCueYdDPfhCl1gOpuhHCNrRUp1uyyifPXMa65YitSCHU3PRVhfsQFril/39xQSsnfh+rXuEpVDEpWmULNS0dx3P3Q+0hz60w/7RP7XTYkq5m3NOsWJd/DaVhaz3+TnSGEPefQ6fYmHhNi/sIy9UMfbihwMsvepHiN2auxUJp4rE8BJfFftqwXBYu4mFeQWu9jOc5dUue2K8vcKAIHKT49lwd7HuRFs0CRnYq7OamLYiYDvllMP7Le/ltLO/59uyAuU6C+dAmfTj1CZRDrkQrdtAVGJmEGL8On6kmXKsAZU0PN1IqNq2iZPHkRC9w5T1zfK9P92VxaLyT9Keg3+h7Fq0opzw776oH4UoNvbVDBoSYcOWQow== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c601048b-a175-475f-bd70-08d8701d8768 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:40.3684 (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: UKqOWdDcaekee9xcxxJJ7fVZVXH3cFrmjVOo7Z9dsjcT8vd37ncJFV2HUPS6MO9sdZjDQBagQ+7HcUSBhiAQ+Q== 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/imx8mm_evk/README | 37 -------------------- doc/board/freescale/imx8mm_evk.rst | 56 ++++++++++++++++++++++++++++++ doc/board/freescale/index.rst | 1 + 3 files changed, 57 insertions(+), 37 deletions(-) delete mode 100644 board/freescale/imx8mm_evk/README create mode 100644 doc/board/freescale/imx8mm_evk.rst -- 2.28.0 diff --git a/board/freescale/imx8mm_evk/README b/board/freescale/imx8mm_evk/README deleted file mode 100644 index 3307711d5d..0000000000 --- a/board/freescale/imx8mm_evk/README +++ /dev/null @@ -1,37 +0,0 @@ -U-Boot for the NXP i.MX8MM EVK board - -Quick Start -=========== -- Build the ARM Trusted firmware binary -- Get ddr firmware -- Build U-Boot -- Boot - -Get and Build the ARM Trusted firmware -====================================== -Note: builddir is U-Boot build directory (source directory for in-tree builds) -Get ATF from: https://source.codeaurora.org/external/imx/imx-atf -branch: imx_4.19.35_1.0.0 -$ make PLAT=imx8mm bl31 -$ cp build/imx8mm/release/bl31.bin $(builddir) - -Get the ddr firmware -============================= -$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.0.bin -$ chmod +x firmware-imx-8.0.bin -$ ./firmware-imx-8.0 -$ cp firmware-imx-8.0/firmware/ddr/synopsys/lpddr4*.bin $(builddir) - -Build U-Boot -============ -$ export CROSS_COMPILE=aarch64-poky-linux- -$ make imx8mm_evk_defconfig -$ export ATF_LOAD_ADDR=0x920000 -$ make flash.bin - -Burn the flash.bin to MicroSD card offset 33KB -$sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=33 conv=notrunc - -Boot -==== -Set Boot switch to SD boot diff --git a/doc/board/freescale/imx8mm_evk.rst b/doc/board/freescale/imx8mm_evk.rst new file mode 100644 index 0000000000..f75190227c --- /dev/null +++ b/doc/board/freescale/imx8mm_evk.rst @@ -0,0 +1,56 @@ +.. SPDX-License-Identifier: GPL-2.0+ + +imx8mm_evk +========== + +U-Boot for the NXP i.MX8MM EVK board + +Quick Start +----------- + +- Build the ARM Trusted firmware binary +- Get ddr firmware +- Build U-Boot +- Boot + +Get and Build the ARM Trusted firmware +-------------------------------------- + +Note: builddir is U-Boot build directory (source directory for in-tree builds) +Get ATF from: https://source.codeaurora.org/external/imx/imx-atf +branch: imx_4.19.35_1.0.0 + +.. code-block:: bash + + $ make PLAT=imx8mm bl31 + $ cp build/imx8mm/release/bl31.bin $(builddir) + +Get the ddr firmware +-------------------- + +.. code-block:: bash + + $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.0.bin + $ chmod +x firmware-imx-8.0.bin + $ ./firmware-imx-8.0 + $ cp firmware-imx-8.0/firmware/ddr/synopsys/lpddr4*.bin $(builddir) + +Build U-Boot +------------ + +.. code-block:: bash + + $ export CROSS_COMPILE=aarch64-poky-linux- + $ make imx8mm_evk_defconfig + $ export ATF_LOAD_ADDR=0x920000 + $ make flash.bin + +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 + +Boot +---- +Set Boot switch to SD boot diff --git a/doc/board/freescale/index.rst b/doc/board/freescale/index.rst index 77b6802098..33b1be95f5 100644 --- a/doc/board/freescale/index.rst +++ b/doc/board/freescale/index.rst @@ -7,5 +7,6 @@ Freescale :maxdepth: 2 b4860qds + imx8mm_evk imx8mn_evk imx8mp_evk From patchwork Wed Oct 14 09:12:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 317737 Delivered-To: patch@linaro.org Received: by 2002:a92:d603:0:0:0:0:0 with SMTP id w3csp214488ilm; Wed, 14 Oct 2020 01:46:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvwmViqtCGdE8zJhpdM0fed71YjmsmArwaCg6CJLqMMKnxr9nfGNfVnQ2LIE2TDowQZwaY X-Received: by 2002:a05:6402:2207:: with SMTP id cq7mr4087667edb.359.1602665207983; Wed, 14 Oct 2020 01:46:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1602665207; cv=pass; d=google.com; s=arc-20160816; b=NJL4ptJPFdcWlASmnJoac0QMtHKFNsXFpCmm9YRJCynHZWKVEoZpAKGbrDGq6+uiNX DN0pLnnNuEWL7jtM/ZVQlhRxpE97LyG8uTAjFORi6l5LiWCnrV1TLVByHR7dM6dswQxw eafkTxAWAvcWxfk2NA7Q5RNvOaV9Ky+y6Cx5TK+oIZZoZaExdx0L7xQzY8CmMPczTSz1 HpnbZcUnjumH0V5FXv9pIomRASwixN0uXW61Gy6eMVf0FTUQmGr+wSEdGPckVCjmQy+C 2xAGnOhWd2vj/pDbwNGcX7tLOiqTWh3mqLzbu0yuCP+lFX2YLWoL/+hFhuduf7iM+5Nq PLXw== 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=Lh7P8C2UWl6oYBrN1A5NhHN08o7QNT5sA5n8zMJbWWM=; b=0yt4CjkqoQiyKTw0HoDJn/DcGnmEbpwJYogW7nARp1tI1fzRBoQvlSaKHZfr0nnSLj nc5lzPRr+LE+QxGbMuq5JEUg0s/097+2c0F/Gzu2IGafCJWs1hSTpT56ZBK5HZZYI+6f /7PBNK8kPoo/PEjhUEkHUAPf3BqXNYBbLI7UVR41UHX1YRY7cBMDqYKiUpWomQmfRkpI vby/+IB2bWc8jqhfd2GRtoJPgt1iU1hYS5bTPpw2U4UlWep5JNcvrKWpKO5naNsPw4/Y 9qfAsvigX8my9NN3IJVFKMPTZX7csK9dJDxNjpVMljFocvQsCSkyBoYtt4ALN8fvot99 iveA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=jC6a9GOK; 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 m23si1648719ejr.382.2020.10.14.01.46.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Oct 2020 01:46:47 -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=jC6a9GOK; 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 BDB3482452; Wed, 14 Oct 2020 10:45:48 +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="jC6a9GOK"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CF9848241C; Wed, 14 Oct 2020 10:45:46 +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 EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on061c.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1f::61c]) (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 1802282406 for ; Wed, 14 Oct 2020 10:45:44 +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=gzqlNsnR/KIvScZsuQJxUhVNfUIjCfHJeqEHZzmmY6edCW2M8ZYqlk6qGFxvEXdnOM2jaXg37VRORMJuu2gwNLcbSnJvQpMhco8WRnrXb8MkL6ynFiEEQaKcFP1HcApLqd4blj6PgYQJHS/dLXQ5h2KrF/2cdb6XUATA39WHaSN/38uRrTXZx/oBkaMiEmjZ6dymsT00e+7gL1eC9T23bRdX9FcU1kbko7ODx4c4ghTfRnrVzm3up+ckqtSuqb6AHR4+JtQURNzWI2cn6/ZQ++0uGsIuo0ysU8bM8RDMzDupVN3NU5AF5vHTMGb+qpzpQX0grXrr55Y2bbJzjkpsQQ== 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=Lh7P8C2UWl6oYBrN1A5NhHN08o7QNT5sA5n8zMJbWWM=; b=Y8P1uECylAxzeRMIbEWRB3KZzjIhV+a7Pv79tOgJ3ioF9X2mJ5TKFVo+IYXowiZ/tKpHXK8flTWehDWTrMF422IhR0M3zAReVluLxMasQbBHVl1UMd0c7Zg7JU9I1d5kQgoUw2uEk4BoVr8KYkbwwUiLns8QeLy3q+ytjBiuTQzYgYHK7hSnRUGvZLUJX0C4tSRleGCrzlXB+t9J7dYulh7O8WaIhbVL5S/ReOBeHCaz5s5fJ3R1/8RKrzXR3/Hjt/DpepWSQwTxYPlqywJ0R04cbqiqjxeJzdcPJ1QyuaBd+oRIPoMbo2/o5VrsqeI9BfrOCWuG0KTvuhPah3HGnw== 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=Lh7P8C2UWl6oYBrN1A5NhHN08o7QNT5sA5n8zMJbWWM=; b=jC6a9GOKTGZMPyFApQTri0mk+8BB3qp7JAppy35POCyB/WHK/sDnywMiKU1IjWB500kx+qg1gag1LYWokxqM4i5A7q1Zrq5yn0u01uf7MDwWI7xbrPxJZz7DXoPPScVwqDPV0cuGMKgJaPrJuPZkMNOQwVDUNRoos1mxPzmIjoo= 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:42 +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:42 +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 05/12] doc: board: Convert i.MX8MQ EVK README to reST Date: Wed, 14 Oct 2020 17:12:03 +0800 Message-Id: <20201014091210.12113-6-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:40 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: a2e44408-846a-4b1c-a646-08d8701d88d4 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: 4ofqDU7kySQXvj/fc1RWMnD+vAY7jotJOuhO0HfJPllfcd+kCza7sL2dspb5ZqxLZYuQnkJYDi7aj8MWt/ty7+U7qOmsEjhMiGOLletj+0ohJfqtkwE/zdehVOBZHqem5cE/7B2vTT1yLBT5krbuARzsebanegWPhbn1HwpK5EaWYklqdvIqJx404LdQv7AOvHWl9dfNF04tjeu8lQBigIbjttb/XDjrcFkyv3/Hfi57BDzl3zCPmg9XUAFKTB7+/xef7LwG2ulp6CElkNnEveVJjK/b3peWNcOoXDp0+SWsiFLVXugTjetfbAhBO5fpoBqj8dov5OXqFkOUYf3jJeYi8nTJrsqUofOtBfN1wCkCsbjWsEveU2FySy7zPVeEt82S642b3y+NChUg+E5hZA== 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: yH7uQNzIBgXtb04FHEWj7HBsLhhMAay6Y92/q+qoqAM60mo+FAdThuF0jXh0rA8jvlwFuX636R+Fy0S9taDJA0Kb2BWf2UhiE8PeUlHSxE7QodWrKGKg+qOwPTXv40d39+HxgqrXqEur8zxTdkmPZCbhguy65hb4sl5vGIIHmXdmBxcG20gRRjzxflKyg9uThigZIvoySlxnY1OaLUQC/p4Juti7Z/d/jMF8WdOJij1ReRvYPqYUn61YVjtVRyEbXc1p8toqMNZbsThrOQS4VN4tQ2/RvcZh6Sc3+umP8fzShgmsBHqkXmTAUzs6dFskLL4aq7qcRPp3y0hndKNFXqCWOiqEyNIYK0cMBrlC9jZM++Zgnb1PGtQvJyIodPlILO4M+NnFjClvzblrVgZWB9ISJtxVd2efTlTSv+fQEYNC1dpC37gucH+lJXwKUT4HXyLStpzBqC5osiozMcREBv0CQe2NUjZFcjxjT8YrH1LiIN0SJy/b1GVZ85iHTJV53YZOIh72Hqi8arwa7f7vACdQHEGBPWTHFZDDxuBhQ5Ia+I3/pNntVg5fvUaTrKdwum3fpsUPFe9E6n14pdzb+lP8XxSUxkE0/0KTpfI5GWNfZgWCI5VMuTbI/esdRTjogoi469X9dZA8sdabvmimSw== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a2e44408-846a-4b1c-a646-08d8701d88d4 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:42.7853 (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: wEJjjVF8QV5K247BIN1roB4/F590kA/mLlBwHXEeLLMS/LErtYOnkYvWOTjwOgK2zgtgBg0urV3PPvR7xn/I+Q== 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/imx8mq_evk/README | 37 -------------------- doc/board/freescale/imx8mq_evk.rst | 56 ++++++++++++++++++++++++++++++ doc/board/freescale/index.rst | 1 + 3 files changed, 57 insertions(+), 37 deletions(-) delete mode 100644 board/freescale/imx8mq_evk/README create mode 100644 doc/board/freescale/imx8mq_evk.rst -- 2.28.0 diff --git a/board/freescale/imx8mq_evk/README b/board/freescale/imx8mq_evk/README deleted file mode 100644 index 2689459b9f..0000000000 --- a/board/freescale/imx8mq_evk/README +++ /dev/null @@ -1,37 +0,0 @@ -U-Boot for the NXP i.MX8MQ EVK board - -Quick Start -=========== -- Build the ARM Trusted firmware binary -- Get ddr and hdmi fimware -- 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.0.0 -$ make PLAT=imx8mq bl31 -$ cp build/imx8mq/release/bl31.bin $(builddir) - -Get the ddr and hdmi firmware -============================= -$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-7.9.bin -$ chmod +x firmware-imx-7.9.bin -$ ./firmware-imx-7.9.bin -$ cp firmware-imx-7.9/firmware/hdmi/cadence/signed_hdmi_imx8m.bin $(builddir) -$ cp firmware-imx-7.9/firmware/ddr/synopsys/lpddr4*.bin $(builddir) - -Build U-Boot -============ -$ export CROSS_COMPILE=aarch64-poky-linux- -$ make imx8mq_evk_defconfig -$ make flash.bin - -Burn the flash.bin to MicroSD card offset 33KB -$sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=33 conv=notrunc - -Boot -==== -Set Boot switch SW801: 1100 and Bmode: 10 to boot from Micro SD. diff --git a/doc/board/freescale/imx8mq_evk.rst b/doc/board/freescale/imx8mq_evk.rst new file mode 100644 index 0000000000..0a64ecc5ba --- /dev/null +++ b/doc/board/freescale/imx8mq_evk.rst @@ -0,0 +1,56 @@ +.. SPDX-License-Identifier: GPL-2.0+ + +imx8mq_evk +========== + +U-Boot for the NXP i.MX8MQ EVK board + +Quick Start +----------- + +- Build the ARM Trusted firmware binary +- Get ddr and hdmi fimware +- 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.0.0 + +.. code-block:: bash + + $ make PLAT=imx8mq bl31 + $ cp build/imx8mq/release/bl31.bin $(builddir) + +Get the ddr and hdmi firmware +----------------------------- + +.. code-block:: bash + + $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-7.9.bin + $ chmod +x firmware-imx-7.9.bin + $ ./firmware-imx-7.9.bin + $ cp firmware-imx-7.9/firmware/hdmi/cadence/signed_hdmi_imx8m.bin $(builddir) + $ cp firmware-imx-7.9/firmware/ddr/synopsys/lpddr4*.bin $(builddir) + +Build U-Boot +------------ + +.. code-block:: bash + + $ export CROSS_COMPILE=aarch64-poky-linux- + $ make imx8mq_evk_defconfig + $ make flash.bin + +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 + +Boot +---- +Set Boot switch SW801: 1100 and Bmode: 10 to boot from Micro SD. diff --git a/doc/board/freescale/index.rst b/doc/board/freescale/index.rst index 33b1be95f5..5c10c95b93 100644 --- a/doc/board/freescale/index.rst +++ b/doc/board/freescale/index.rst @@ -10,3 +10,4 @@ Freescale imx8mm_evk imx8mn_evk imx8mp_evk + imx8mq_evk From patchwork Wed Oct 14 09:12:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 317738 Delivered-To: patch@linaro.org Received: by 2002:a92:d603:0:0:0:0:0 with SMTP id w3csp214630ilm; Wed, 14 Oct 2020 01:47:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/9TZs/fs+QUl+cQJhGp77FefttN7Fv4UzglUwrDSzyBfo8umROVzeV5v2n7Hx2DuzvpDM X-Received: by 2002:aa7:c302:: with SMTP id l2mr4095890edq.204.1602665221555; Wed, 14 Oct 2020 01:47:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1602665221; cv=pass; d=google.com; s=arc-20160816; b=qPUjipBote5CI7hWswdGpa5SDrVfXEELS2Tm3h447/xSXhtw8vbsdEuXDCNlT1m3zq axGyFb0bKoGc5gebinlxPv8NmX3HpWOyHKA1h37+TtPfFI+Tgr250fK47221T9JYuVuL FUPBmAfRrk7jIM9hS+f80DTj5Ea8ickw2FGXm0MCRnOvG04apzTwDPmuteqh8cOHu5b+ eanEDCHuoEBz5UXhVh48WaEJfMU8lCd1NMBuArbzX7sO0Bo30Nmogd0kuA6ct/b/8L+4 gNDWqt7BNnVEiTjsXsbQ3nSrzObwO+GZWzpdGsB01xxFJUEv0dC2cZAo3sNxHEnyWG94 nrUw== 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=0H6Zhss2L6bEtymTWU6fPeEKgRRzd/leKrJPbOMJYTg=; b=yOPQ+duF09FRtLj1jgRtdL0124yq/n41yCmLkuKwdoe4LeOaqV0UHNzRNsfvY0WrpQ NlUUKq3couI50kWnU8k3Z6FbbJ2D2JrdHaRtNkdgoCJB8seow1RMFffO41HlI4oz5u9v zXu+errL5GF8JjKqcuuCs6Sbj9LI1LgG57UHNzcWIYKTXId9RKs1EalBiArk15YkUCHt 2wUVO2ZSizNLWztxOdq+S/TbidZtwwIYQLxZOrqfPEJpVS6pTpYyvcNyIqJhXmeNlVll FoQ2GSG+/ymdowP7ExO4U9ogbKziGARRGSFZT0kzHorLfe+w3lDTPSbnKUuskqz0J1S6 6n9A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=rA1p91EY; 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 d2si1574236edn.245.2020.10.14.01.47.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Oct 2020 01:47:01 -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=rA1p91EY; 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 1A9B182416; Wed, 14 Oct 2020 10:45:52 +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="rA1p91EY"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 13CCB8245F; Wed, 14 Oct 2020 10:45: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=-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 EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on062e.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1f::62e]) (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 421ED82437 for ; Wed, 14 Oct 2020 10:45:46 +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=AAV99ksmeZM439W/bFA1OcBZ6eYihG5VnAzTgDTaYvLWIZ8CZkhX/XMSHZQ1RiWYyh+tcpo8RrAPlZuN/BtlrtketD2I2nKGhVA/uGmZ6nZP4w4PN3rC8JKAYaPLiCUlGZnDtVhdLhCWGau6Pgj2WactMuGQLlE0IZHgp44U8k4Rr2nCGxrqTR5teQSNnq2py/yMRsKYHOZeOUtLyVFUyLNvUjdwZsI4SvVCk5zQcey7YNQp9kP+oRsbNbyh3S905scL0f3JJQuprDaS68E0dOUEQ0BsZLOfvCoe6aPm8sznu9Qk2qzl+UdPk48nIFENqswhcA1mdLQ60i6QtXGcJg== 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=0H6Zhss2L6bEtymTWU6fPeEKgRRzd/leKrJPbOMJYTg=; b=VQ1eOYundXDUq1a4vq3YD3PQ/yAShc+SN7PjYpCXOf/2yrh5mPB7Fa2AuHbr6ZVR/igr0XVUJGRcSFYvLqaP44waedN2xkMcFKOt16NGLKDubZJZa3Bg77uCvvKYryekWb7E/rR5hWYHodemc5sP+YE0QsNtc7WHPhhOXCfBrPowK0D3mtxCzgUzqxr+yPJk0GPcOmiBk4PlpzF9lyOFNPsNmr/abiXEg66JzPljr+/NdKpklfku9LHZpJJxEBw+/rusScXX5e0UzexrORiNx2pJBf7tcSHIE+pNKJBMObyR9h8G6RlaqMchpW8Xfva08zurKFmH6fVkknjXE2UALQ== 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=0H6Zhss2L6bEtymTWU6fPeEKgRRzd/leKrJPbOMJYTg=; b=rA1p91EYhyCyS0QvPamC6i8gKCDdP+3CUtlAUF3ZsMdT6163lgi/jtuUXi7DMxwBkrRVQPV7KaVd8zhGHYEy+ajdmCnSUAxMavwK1xwuLzPKozpR8JNAv/3w7nCTNKhRHZoGSKS+JP+B1bKvBOER/1cNQQCCidD8cvTFPJLkVZ0= 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:45 +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:45 +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 06/12] doc: board: Convert i.MX8QXP MEK README to reST Date: Wed, 14 Oct 2020 17:12:04 +0800 Message-Id: <20201014091210.12113-7-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:43 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 2946f258-fe95-4750-7dd9-08d8701d8a3f X-MS-TrafficTypeDiagnostic: DB6PR0402MB2760: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:785; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HVIHNlCpUwLnxcnXRmc4W9iC8ra9iF7P09hZ2IMsXZ4IcOJgzxZRZupINqmZGSewZgGW+eIhNF7svwvX+bXkTZSTsYPZAiso3Pk9MCKD+9UxX/MXmxOzODfRTGEAOLmPXBBa3dOa8r+Dpy5wXy4etF7uPst5F3TD3JELqLH9NeHccH42/vgBHumHdwQAOmHhLH3t4wewtnImleFYpXtVUkHgG+Bok5fzxyLIkC8cA7RojUG8jmkQycy9b2HwoJNvMbRUWeHqha9cP1gs3pSjoo8G7V7btEwdjkjR5+s6Lca/HBCGwZIsve+XqYCoNRJS3mCedgnlET+3RcVITm0WO+HF4WtQZ/oWCFbgdLLtxiN1eqmTFzFvUcj/+gzKYNUb7cevx6rOpEMzOy2UH7CY6w== 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: 7p4C/o+AAiAXBtwJxYEBaS0EoUZj1dXMJdK++un68HqqEOuuRnJy+vd912LCo0H783CgIG+sMZ2SMnzYC2gwMr9XqPpnfd+JYb+yfFhMc9FZbLiGgBaVmB4M68olSMglyFBzwmpmIXCmPD6NmPDWyDePseZ2AOI1qxx5sxHay4gLPuMuPrC7FOF/kLiYYWiN/BlojI3+2+0aWGtJmvxdfHjgT+JbNQfChpSk2VlU04WNSt1A58D23IYe4+ccpufuJaDRPuaB0g3qFIynjTwbhldAIEBs8VaSpVHCTzAqqMid97OK0S697Sm6OnhuDbij+tWVVPq6/pwCnSl5MJSuJajUALDL0LpoZyW3fhE6+j5Zwk67m6vU5/WT6b/v+kRRSsR9CWKFdphRwAYAmg4qajv4dgcAuI6gWwK3kcIuSRR8p/5IomUQGe80aY7SJZswTMlimPZWAOwxMtHSm8lH+3jxk8yLR5/Rz4IUOCNETJten+XwFZlQhlnOnB9T4uPlkkJIv+VjH48TPD1/VFAGB1Y32KR5w9klTIob05jLNaNIXQL1tcvtFT0sB8b466Tp0669sE9OfpHuSOGlcRqb1P5RRT20sOFMJgviFSiYzBpUre3lxibCPdcAv0z+Yf09SXunjhuxafel/RSkWfy4YQ== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2946f258-fe95-4750-7dd9-08d8701d8a3f 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:45.1523 (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: tikCmBbq+NJ5KhF2ANYMnOUNWTvPDT8EzEC7Uk2GB5C4XPjYR80DAVJ5wpXByBtxdTVfOHCkjK1NnmKcDZLARw== 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/imx8qxp_mek/README | 50 ---------------------- doc/board/freescale/imx8qxp_mek.rst | 66 +++++++++++++++++++++++++++++ doc/board/freescale/index.rst | 1 + 3 files changed, 67 insertions(+), 50 deletions(-) delete mode 100644 board/freescale/imx8qxp_mek/README create mode 100644 doc/board/freescale/imx8qxp_mek.rst -- 2.28.0 diff --git a/board/freescale/imx8qxp_mek/README b/board/freescale/imx8qxp_mek/README deleted file mode 100644 index 6f99d0e13e..0000000000 --- a/board/freescale/imx8qxp_mek/README +++ /dev/null @@ -1,50 +0,0 @@ -U-Boot for the NXP i.MX8QXP EVK board - -Quick Start -=========== - -- Build the ARM Trusted firmware binary -- Get scfw_tcm.bin and ahab-container.img -- Build U-Boot -- Flash the binary into the SD card -- Boot - -Get and Build the ARM Trusted firmware -====================================== - -$ git clone https://source.codeaurora.org/external/imx/imx-atf -$ cd imx-atf/ -$ git checkout origin/imx_4.19.35_1.1.0 -b imx_4.19.35_1.1.0 -$ make PLAT=imx8qx bl31 - -Get scfw_tcm.bin and ahab-container.img -============================== - -$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-sc-firmware-1.2.7.1.bin -$ chmod +x imx-sc-firmware-1.2.7.1.bin -$ ./imx-sc-firmware-1.2.7.1.bin -$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-seco-2.3.1.bin -$ chmod +x imx-seco-2.3.1.bin -$ ./imx-seco-2.3.1.bin - -Copy the following binaries to U-Boot folder: - -$ cp imx-atf/build/imx8qx/release/bl31.bin . -$ cp imx-seco-2.3.1/firmware/seco/mx8qx-ahab-container.img ./ahab-container.img -$ cp imx-sc-firmware-1.2.7.1/mx8qx-mek-scfw-tcm.bin . - -Build U-Boot -============ -$ make imx8qxp_mek_defconfig -$ make flash.bin - -Flash the binary into the SD card -================================= - -Burn the flash.bin binary to SD card offset 32KB: - -$ sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=32 conv=notrunc - -Boot -==== -Set Boot switch SW2: 1100. diff --git a/doc/board/freescale/imx8qxp_mek.rst b/doc/board/freescale/imx8qxp_mek.rst new file mode 100644 index 0000000000..215627cfa6 --- /dev/null +++ b/doc/board/freescale/imx8qxp_mek.rst @@ -0,0 +1,66 @@ +.. SPDX-License-Identifier: GPL-2.0+ + +imx8qxp_mek +=========== + +U-Boot for the NXP i.MX8QXP EVK board + +Quick Start +----------- + +- Build the ARM Trusted firmware binary +- Get scfw_tcm.bin and ahab-container.img +- Build U-Boot +- Flash the binary into the SD card +- Boot + +Get and Build the ARM Trusted firmware +-------------------------------------- + +.. code-block:: bash + + $ git clone https://source.codeaurora.org/external/imx/imx-atf + $ cd imx-atf/ + $ git checkout origin/imx_4.19.35_1.1.0 -b imx_4.19.35_1.1.0 + $ make PLAT=imx8qx bl31 + +Get scfw_tcm.bin and ahab-container.img +--------------------------------------- + +.. code-block:: bash + + $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-sc-firmware-1.2.7.1.bin + $ chmod +x imx-sc-firmware-1.2.7.1.bin + $ ./imx-sc-firmware-1.2.7.1.bin + $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-seco-2.3.1.bin + $ chmod +x imx-seco-2.3.1.bin + $ ./imx-seco-2.3.1.bin + +Copy the following binaries to U-Boot folder: + +.. code-block:: bash + + $ cp imx-atf/build/imx8qx/release/bl31.bin . + $ cp imx-seco-2.3.1/firmware/seco/mx8qx-ahab-container.img ./ahab-container.img + $ cp imx-sc-firmware-1.2.7.1/mx8qx-mek-scfw-tcm.bin . + +Build U-Boot +------------ + +.. code-block:: bash + + $ make imx8qxp_mek_defconfig + $ make flash.bin + +Flash the binary into the SD card +--------------------------------- + +Burn the flash.bin binary to SD 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 SW2: 1100. diff --git a/doc/board/freescale/index.rst b/doc/board/freescale/index.rst index 5c10c95b93..6cd352565f 100644 --- a/doc/board/freescale/index.rst +++ b/doc/board/freescale/index.rst @@ -11,3 +11,4 @@ Freescale imx8mn_evk imx8mp_evk imx8mq_evk + imx8qxp_mek From patchwork Wed Oct 14 09:12:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 317739 Delivered-To: patch@linaro.org Received: by 2002:a92:d603:0:0:0:0:0 with SMTP id w3csp214746ilm; Wed, 14 Oct 2020 01:47:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwdp3mOqSmZVZd5M9T3BLdbI/t1mvCYnrh5P3bFmhesGKmp63Ps2aTVcgLXJ6j4JZ5hlEbL X-Received: by 2002:a17:906:4bc2:: with SMTP id x2mr4230399ejv.525.1602665235036; Wed, 14 Oct 2020 01:47:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1602665235; cv=pass; d=google.com; s=arc-20160816; b=LjUo9sYcGysRUiPED3rRUbIyCGLInLrnRyuQILxfuzuCZAu+Xsc5krZiqVkmsEtLCV Pipaf7pmdZCJWwgqoOwvticXkUL0SVSECSgahRBrli51kqluD+x9ha6+UG12XrwihkrO a37LDGLL278WvPpUiEVpKtDyesqxmu2LzPzvqWW+rYRGybRVyf6cYrc28PbwBwW0luam yhmgGFw6rMp3RSOuj7Q4KFya+mpSGsLHzvgOLSEGbcSWM8zGAMGUW5JS6OG+x/5lhnjt 16SMvgMa5Ve37vowqbZDcEA6UjshMYdP1dNtc7m6T+1aX8IvbD/t+HOre8En2NXzzHmK kW0Q== 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=B/1NXtF3RxnpstMleRXBS5R1sPZm1h+QOsHKXUNtXA0=; b=bSFQYOvy4P6Tg3V+Yo2lsh+ILXQirBWFrPP/SNEKgwvdp2zQ/7DIUyTYhLQ+etp4A7 FWNs4ERJz1DBQf8ZWPTlBcRSPvAGTvDJVhIabUzXgshTwGCOBKERke5eEHiqVb9QvKWn 52mzf8dSQF77N5wGtDxdBG4kvCalg3TM351GWWX4fuikzI3MU+9ZI+W3QKoSNI0WiBsP Bucg31wDRwMh8okHwZRlAe+dZGSKmD3whf3tSwh1uLpEr/uplHcOgJsyKNq92M6S5NN+ Ab5EKzJQhjIeL0xcRR8sVgdcDV5MJArrBfPfJJFDKtua6+RZN75tNlYQqWtfzqQ3r4ui b3aA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=MekQrRAw; 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 r7si1717301ejc.705.2020.10.14.01.47.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Oct 2020 01:47:15 -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=MekQrRAw; 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 2FA3F8245F; Wed, 14 Oct 2020 10:45:55 +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="MekQrRAw"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 628E382442; Wed, 14 Oct 2020 10:45:51 +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-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2060f.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1b::60f]) (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 9FF2B8244A for ; Wed, 14 Oct 2020 10:45:48 +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=hGCjQGXHqKtQ8XLeI48NbvPlzuzowQhha332HN6tXXGxsN5gkzDM4I+d9ynRvley/jrx6rLxefpnIe1UhiVvGt6LAPTo6+UUmdHBrpsqIO69Xfhjyatjzu7gJLYHN1OpOvM0XHvC6KOuddqs1PYSMFbIkuvxGSEFML4s9TvhPpz61s8zo39vIsuw60x/QiHcyW7GxP9Pxfjw7nrV9Uiqn34yFhQvKP63FOzF1CfWiLWuG6g3HYl25TDmVB58yKGjSiLmJDvfsTGW8ZI8Ga0cHlcM8SObjZiq3D58Z0jyG0nxssK7rel1QqgQyHo+MOnlLl6DFmhzelI2Ix+30xjx3A== 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=B/1NXtF3RxnpstMleRXBS5R1sPZm1h+QOsHKXUNtXA0=; b=I7YqbTXf6GF8Pmwk+bTy8+cvnGMGti1aQ6+N0eKH+TxVl4h2DasbCW2loI3ME8jXMJr7dHk33CMfYxwiZ3UL5v0ZAs1qurlDibLy+YiZxL/8xW09pS4LpQmH2TMmxzEpVeAeUyQwpl+1V7PWwou9e32huD/C2T1UKycObsFo/aEPWtmcsvwKvAwER3w4uGO24cklfQTLDufRRVJOHfp014ES8JRFCmMFU1w0K2Nw1uhRdX/IKWrLSsSFtaBNP4Y9Hf0xXrbQiQiHuvTx1GikHoSc/q2F+0o2l2UvcLd8c/wke6nWmlExbq5joYrmfZUN/MAh4yP4lJZrhEJsIDVa6w== 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=B/1NXtF3RxnpstMleRXBS5R1sPZm1h+QOsHKXUNtXA0=; b=MekQrRAw1St1fhg3jnW2boFMNGbI6lD/vLIPt5RfWIv9JizdqfvzW7br2eRBTXh1dZ3N5sEkBWTfRooU8FyK2uH6/AdkeRAYVKNecdaXlSNtZ2jdNB+rYGxJdLCI8+sq3f8RxdAzRnZQUz0LPniC5UOxsu0gDjnt5+XCGljwBK8= 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 DBBPR04MB6028.eurprd04.prod.outlook.com (2603:10a6:10:c1::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.21; Wed, 14 Oct 2020 08:45:47 +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:47 +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 07/12] doc: board: Convert i.MXRT1020 EVK README to reST Date: Wed, 14 Oct 2020 17:12:05 +0800 Message-Id: <20201014091210.12113-8-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:45 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 9402a3fc-3d5e-42d7-80d0-08d8701d8ba8 X-MS-TrafficTypeDiagnostic: DBBPR04MB6028: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5236; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AWQ0cs7Z40Z5fVxLx9DjDBsLeNJTxdW/XeoN19mdXzBG7TWT5guqtbaFxBFcViC9fbIZBOZfhDcrqu+I/BUptf3GP+PMB1uYuu3SY/ZiMhXdagdPBc/FuXrt8L/mxqftcePjGd3fgc5O5c8l9RlrjHdMMy2QL9kAxmRbvB2HtGbf6GsTg6T3rJU28gPylfTdZKY3ZBqCwzbOUZTXGxeTSAuNGh/tIAabAo0MuqXPw3qxHhnNtw6gSb6H8MDkKg8Iy15s8Ec7asgeRkG3BIkfyIk3B7tNSvRnENZc2DufdcDs8aorEJh/StCvIkdriISnIRVali3SI3MpWtniS6sIcQ== 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)(376002)(366004)(136003)(39860400002)(478600001)(66946007)(2906002)(52116002)(86362001)(4326008)(44832011)(6666004)(16526019)(83380400001)(26005)(2616005)(186003)(956004)(6506007)(6512007)(6486002)(8676002)(66556008)(66476007)(316002)(1076003)(36756003)(8936002)(5660300002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: y6BRueMP0wgZEcPbixWhcyMiZh0RD9EuM5fgTmteNv5688mmxoFm1ZhaPwSHAsV7WMx9OPPWSZaUI8efGk8SFGb4mM5JOqt+nwLL/WajoXhjX2d/1YgZHju9D9X0Cm+5ESwDJaOlQbTB4jCp7wokGB5zW1CfnKVJscPCkTVLejA7DuqUEdONz3X+XoiXPUj7REB4WJIusU32/vPckiIi+uOs1KpCJNTFTTqxm3MWfdZY5XZEl8ocoIz5wG7MMqk4MkW1pt8lvH3QLAkf5kTzdfBmXg5886G/+OYLYS5ANGRe0XV28Tb6tgPee5ZqxDPFzYrVndcdTG6yluMTkLEwASPqGyNqLaOXYxMAdCiKjoank3L8MZoMDMlTI25m3g4MOnOs9m4tzZYC6b2GPsL+cbX+G+ZvV4Ds9bnR12E6aIITlcDip/JrptFtVDEggwfoKq5sggDQAzLQJR/Use5/1pCvjDcPilkZrIGdMuBfnA/lImlNYBll/hvMn0OGpXuHagYtz5PEa26z/Kk8qgZz+m94YZyTFUUdS6eRtXr5tk7/32c0SMCnI9G64UE8MVDYEhoQ8jO41nBzgnFhm/L2IjGejDK9PorQwoGr/Z6PFwHRb/Ff+IdkK2gm0E5gbhf7IPQHnl9ECENQJACOA0Vnmw== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9402a3fc-3d5e-42d7-80d0-08d8701d8ba8 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:47.5042 (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: laUKMusSgju2QcMB5vvq78xojxnUYVxBkTH0mzZKiCQu/zGLCD6cCYBlw9n3QixcnUxTXhbJ9qEngzQHhqEPBg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB6028 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/imxrt1020-evk/README | 31 -------------------- doc/board/freescale/imxrt1020-evk.rst | 41 +++++++++++++++++++++++++++ doc/board/freescale/index.rst | 1 + 3 files changed, 42 insertions(+), 31 deletions(-) delete mode 100644 board/freescale/imxrt1020-evk/README create mode 100644 doc/board/freescale/imxrt1020-evk.rst -- 2.28.0 diff --git a/board/freescale/imxrt1020-evk/README b/board/freescale/imxrt1020-evk/README deleted file mode 100644 index 9bc5bc00bc..0000000000 --- a/board/freescale/imxrt1020-evk/README +++ /dev/null @@ -1,31 +0,0 @@ -How to use U-Boot on NXP i.MXRT1020 EVK ------------------------------------------------ - -- Build U-Boot for i.MXRT1020 EVK: - -$ make mrproper -$ make imxrt1020-evk_defconfig -$ make - -This will generate the SPL image called SPL and the u-boot.img. - -- Flash the SPL image into the micro SD card: - -sudo dd if=SPL of=/dev/sdX bs=1k seek=1 conv=notrunc; sync - -- Flash the u-boot.img image into the micro SD card: - -sudo dd if=u-boot.img of=/dev/sdX bs=1k seek=128 conv=notrunc; sync - -- Jumper settings: - -SW8: 0 1 1 0 - -where 0 means bottom position and 1 means top position (from the -switch label numbers reference). - -- Connect the USB cable between the EVK and the PC for the console. -(The USB console connector is the one close the ethernet connector) - -- Insert the micro SD card in the board, power it up and U-Boot messages should -come up. diff --git a/doc/board/freescale/imxrt1020-evk.rst b/doc/board/freescale/imxrt1020-evk.rst new file mode 100644 index 0000000000..267f80c517 --- /dev/null +++ b/doc/board/freescale/imxrt1020-evk.rst @@ -0,0 +1,41 @@ +.. SPDX-License-Identifier: GPL-2.0+ + +imxrt1020-evk +============= + +How to use U-Boot on NXP i.MXRT1020 EVK +--------------------------------------- + +- Build U-Boot for i.MXRT1020 EVK: + +.. code-block:: bash + + $ make mrproper + $ make imxrt1020-evk_defconfig + $ make + +This will generate the SPL image called SPL and the u-boot.img. + +- Flash the SPL image into the micro SD card: + +.. code-block:: bash + + $sudo dd if=SPL of=/dev/sdX bs=1k seek=1 conv=notrunc; sync + +- Flash the u-boot.img image into the micro SD card: + +.. code-block:: bash + + $sudo dd if=u-boot.img of=/dev/sdX bs=1k seek=128 conv=notrunc; sync + +- Jumper settings:: + + SW8: 0 1 1 0 + +where 0 means bottom position and 1 means top position (from the +switch label numbers reference). + +- Connect the USB cable between the EVK and the PC for the console. + The USB console connector is the one close the ethernet connector + +- Insert the micro SD card in the board, power it up and U-Boot messages should come up. diff --git a/doc/board/freescale/index.rst b/doc/board/freescale/index.rst index 6cd352565f..81c4826beb 100644 --- a/doc/board/freescale/index.rst +++ b/doc/board/freescale/index.rst @@ -12,3 +12,4 @@ Freescale imx8mp_evk imx8mq_evk imx8qxp_mek + imxrt1020-evk From patchwork Wed Oct 14 09:12:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 317740 Delivered-To: patch@linaro.org Received: by 2002:a92:d603:0:0:0:0:0 with SMTP id w3csp214880ilm; Wed, 14 Oct 2020 01:47:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylipKJzUcOt5QAdFh0HS67ySlkZ05h3HbZI9Tz38tb/UeKvpSek5JHevdv8J6ZyjFXCdIG X-Received: by 2002:a05:6402:1779:: with SMTP id da25mr4003610edb.60.1602665247231; Wed, 14 Oct 2020 01:47:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1602665247; cv=pass; d=google.com; s=arc-20160816; b=U/nq/Ah0T2EwoOg9/zb3ZwDITpQjEsDdjOppMr4NN6KYnv0zQzDraWsrXqOG9dI8d3 JZD5xv9UqhfiYc3Nw+k/fkzlKzygm5QOuSjmfYrNO6w/Z57Dy6E3OH3JTBUEr+CkQ1Db y4tA+UdYaJYUoEa5UOxdcb9WfVNWGA4CwQalm96tf5xyJVRGL/nSBS7dNOLlQ+3124NX ekbAMu5KS16TFpLpHoS6ai8CxPK08MqRYsaiJzCp4TQ5GgbM2TXQZPbJPol8oAKsUGvW l5FgZo6d9If59cJVOz2vNifB3f0JcTdqLKH8VXZyjn6cJyupdl3nBauS5ZmJH1ZZoAgc 68Kw== 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=C1ss4MY7hJSvFYmcoz2T9GC44vVbQ62vFJN6QsWrMVg=; b=AL0H8zjCbkLmx0y3nSE8jBKPJKcgu9SuEG11BNqpl0LhMmn3MkK0NhNJg0ZdmDeY0b zWxhx2yM3uMQBKxfn6C+nzpdcm+emTNubRiSXGJ9GbLMSzgEkbNbYc7AiB9+oxxj3nXs hRYEO6R8PPptC2BcRZ5YWS8JkLU5njdndRRc4RR7p4EaTbbMyDw+PxFep4BwgKh2kT2G 77WYTEtDa7+/8ZGpsBZK9vJvfsqQzOHissiHy77SiCUlfcxveM2Dsh9HKT8EbtWGTQz5 AuPC5R03SE29WpsylGa12NYleJJ9NY+/8MqHDpHAgIodNvMOBmNpweNsJRb15IiItIOG 7hHw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="JzrL+T/j"; 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 d8si1699694edz.107.2020.10.14.01.47.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Oct 2020 01:47:27 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="JzrL+T/j"; 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 82D838246B; Wed, 14 Oct 2020 10:45:57 +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="JzrL+T/j"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1D74082461; Wed, 14 Oct 2020 10:45:55 +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-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on20610.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1b::610]) (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 72E328244A for ; Wed, 14 Oct 2020 10:45:52 +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=PiNKCXWinIv6tH/r1NDtjrogyd6Bc0iCmK1xoNffofB+2VCPx+G5bjBoYWM1xQVJE1PmbeK4cq8lddWsamSUWYiGu4MNa5aitZinMuMEPxfXY3rGgCjyksfCMs3AGaxysVd00AvuuwHRXscwLRP+bQ/r1DUrc6/opI+uGerlyxoa7TpeLG9QVZpfuEtV74wRQncAUhuvPfT+xmLv3qf51b+js+1gxJFwUvLbl6cAYKZaUgjtfhLuaynU00gJsDrXRcPu67LTmF5+leTJUFlN/yrAicoc//AaCzrTrvGMbySJE76pMNr+cATwI0u4U+5YtcFsIrblMytuBtXvmouqBw== 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=C1ss4MY7hJSvFYmcoz2T9GC44vVbQ62vFJN6QsWrMVg=; b=ds4RhzjPD3AT30ex6nP+68jIV5axNIUXYLGmG/swbWK2ZgjY2zYgW+de9ChPe3G9k6Yat0XNaR2FC/ppkWWqNW2QaTsNZfaffa8OcLhXUH3oMMxZAEMHb/Nde71PRLe65/bKABXY50oqIJPRzXrdxD6e/SJm3OX9+ZWE88WJkULeO+Le/SqPsOPVKYxdH/nr9QJrzzWoDclciMX/MOt8ZL88nLK29mXMtSA6RUVtkIMzWbrxlcRU7XCh3Ehhx4BT4iw+i8VxGgSO2aNl9Xwc2YD6Tf/huosCGpXP+Z+hbLOG8qaZ65G8L7ptGVyZcQbf3Ggua+UltbzLlH6fHskXMg== 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=C1ss4MY7hJSvFYmcoz2T9GC44vVbQ62vFJN6QsWrMVg=; b=JzrL+T/jZL1xWoekwyYA04TXP4AFk9dpG64UFa+M1u0cwnotNDR4Qcz8h6+toBrmJLI1t0aayKIv5fpFHk9ZJDN/B62edz50qEFPpkIcl1lN7al8Bjq+VpPKfSTvQkfQH7x/U/k9UPtX5ziMXeM2Nd29I19hU9yoksl/GfY+rqg= 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 DBBPR04MB6028.eurprd04.prod.outlook.com (2603:10a6:10:c1::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.21; Wed, 14 Oct 2020 08:45:51 +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:51 +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 08/12] doc: board: Convert i.MXRT1050 EVK README to reST Date: Wed, 14 Oct 2020 17:12:06 +0800 Message-Id: <20201014091210.12113-9-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:47 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 7b74213c-9d0c-4d40-0ae4-08d8701d8dde X-MS-TrafficTypeDiagnostic: DBBPR04MB6028: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5236; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: M5yWZg5fsRwCS99+E4UAht1E/IWqCB6zRxbmcpSWm8g4Rms3DQUzf1aQh8LIp0WepmxSlx//2FiAXaqx8c9HhFqddaxLyPVYW4r4RuUBx32NFKmZa2ZPTQrt/uT12ExfQJYwhQhbyAjC5nuZSftClBEB+yYSJbjdWNjydC7zH4WrBTMl6bvD1URgKWWSMg0rKGArDanMAOY83W9UUeb5DToztI5ij0gmzzctDzjgfn1c1yGVbWwZE7yVfzvnMcqIBZZJ4yK16futcKplJzXu296nbwIaNa0iQfGsjyQLNmU+xJmUixa6SiJR9PnGGn32XyNgBWVob185X2B91iu/sg== 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)(376002)(366004)(136003)(39860400002)(478600001)(66946007)(2906002)(52116002)(86362001)(4326008)(44832011)(6666004)(16526019)(83380400001)(26005)(2616005)(186003)(956004)(6506007)(6512007)(6486002)(8676002)(66556008)(66476007)(316002)(1076003)(36756003)(8936002)(5660300002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: Eufhw87YQx1nqxLs5HAcdoVpDCRJ84vejQfFn2n7FZlQSB74BAwJkUUUVh6cNuxWMGE7HfFHuHN6I7wqrW2/6yCex2e8Ml4RCUioJ4W5P78Rly9OyJ00yd4Uvf2uu4DTDFvXleXNeLMSJNmOh8EorZhum1EHNtj9BTUAgAcsxWPXolOZNO5103O8N6NWYoACWBRYYQqvuOzMFotfv11pRz/7GLe4pAlsCXYvSqDyRdv4Ui6JAl9qpWIPwVf5+zj06czEMJAY1d7MV9ySqds/C1ZWWduKI0XktSsG38XaxH9cVlEt6pcKPXwEmGjbVaoi4MgIaCLfTDJkHSzl0vkWJFoltVX68jX4qZywqpD13mtVZvbCwj3wjFmx4SFvBGfLaayO6OBH0Cz73pc1SqLM0CXX7tWQXMZ9YWa89ahoYrqV9oplisEu4NkNIxfelUcKuO5RnUHjOGafIlBpPiNWAU91Gq4SGcbJ3QjxKCDwKTp38ss8YxsG8ikPFva3Pcm30tN3itOmETS47V7n6PtdQtHaJOgf00hmt1d/eJXar5mCCKTXEzOmAub3xOFtsbv/D0VOB21xegu0yoFFOLYQA7/2w1MAs0iPlGD2r49EEVmiUXmZMiUj9/5YzByKnKDUpA8gDEL2OkZOHUK2FY6nRw== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7b74213c-9d0c-4d40-0ae4-08d8701d8dde 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:51.3395 (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: a2ppajn2UJexH36DS4pc5KNCj45Kg6vv9pf4CqTGgTpD6Jr/E/B6fvB8tW8Nx3OUTf7SOAiHGR+CrRi1lNIerA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB6028 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/imxrt1050-evk/README | 31 -------------------- doc/board/freescale/imxrt1050-evk.rst | 41 +++++++++++++++++++++++++++ doc/board/freescale/index.rst | 1 + 3 files changed, 42 insertions(+), 31 deletions(-) delete mode 100644 board/freescale/imxrt1050-evk/README create mode 100644 doc/board/freescale/imxrt1050-evk.rst -- 2.28.0 diff --git a/board/freescale/imxrt1050-evk/README b/board/freescale/imxrt1050-evk/README deleted file mode 100644 index f321300246..0000000000 --- a/board/freescale/imxrt1050-evk/README +++ /dev/null @@ -1,31 +0,0 @@ -How to use U-Boot on NXP i.MXRT1050 EVK ------------------------------------------------ - -- Build U-Boot for i.MXRT1050 EVK: - -$ make mrproper -$ make imxrt1050-evk_defconfig -$ make - -This will generate the SPL image called SPL and the u-boot.img. - -- Flash the SPL image into the micro SD card: - -sudo dd if=SPL of=/dev/sdX bs=1k seek=1 conv=notrunc; sync - -- Flash the u-boot.img image into the micro SD card: - -sudo dd if=u-boot.img of=/dev/sdX bs=1k seek=128 conv=notrunc; sync - -- Jumper settings: - -SW7: 1 0 1 0 - -where 0 means bottom position and 1 means top position (from the -switch label numbers reference). - -- Connect the USB cable between the EVK and the PC for the console. -(The USB console connector is the one close the ethernet connector) - -- Insert the micro SD card in the board, power it up and U-Boot messages should -come up. diff --git a/doc/board/freescale/imxrt1050-evk.rst b/doc/board/freescale/imxrt1050-evk.rst new file mode 100644 index 0000000000..c1fb48f0cd --- /dev/null +++ b/doc/board/freescale/imxrt1050-evk.rst @@ -0,0 +1,41 @@ +.. SPDX-License-Identifier: GPL-2.0+ + +imxrt1050-evk +============= + +How to use U-Boot on NXP i.MXRT1050 EVK +--------------------------------------- + +- Build U-Boot for i.MXRT1050 EVK: + +.. code-block:: bash + + $ make mrproper + $ make imxrt1050-evk_defconfig + $ make + +This will generate the SPL image called SPL and the u-boot.img. + +- Flash the SPL image into the micro SD card: + +.. code-block:: bash + + $sudo dd if=SPL of=/dev/sdX bs=1k seek=1 conv=notrunc; sync + +- Flash the u-boot.img image into the micro SD card: + +.. code-block:: bash + + $sudo dd if=u-boot.img of=/dev/sdX bs=1k seek=128 conv=notrunc; sync + +- Jumper settings:: + + SW7: 1 0 1 0 + +where 0 means bottom position and 1 means top position (from the +switch label numbers reference). + +- Connect the USB cable between the EVK and the PC for the console. + The USB console connector is the one close the ethernet connector + +- Insert the micro SD card in the board, power it up and U-Boot messages should come up. diff --git a/doc/board/freescale/index.rst b/doc/board/freescale/index.rst index 81c4826beb..c9d7411875 100644 --- a/doc/board/freescale/index.rst +++ b/doc/board/freescale/index.rst @@ -13,3 +13,4 @@ Freescale imx8mq_evk imx8qxp_mek imxrt1020-evk + imxrt1050-evk From patchwork Wed Oct 14 09:12:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 317741 Delivered-To: patch@linaro.org Received: by 2002:a92:d603:0:0:0:0:0 with SMTP id w3csp215001ilm; Wed, 14 Oct 2020 01:47:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIN8N4rN5mjSE1E9DawmYoviIaH6MMdJJvoauo2MHnwO9OYGgqO0pE+YnkMoecXfaaYZ3S X-Received: by 2002:a05:6402:31b3:: with SMTP id dj19mr4135622edb.210.1602665257542; Wed, 14 Oct 2020 01:47:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1602665257; cv=pass; d=google.com; s=arc-20160816; b=AMCS3L14XZjqlhHRaFyzEqa7UMwmMwvm9Ts4zJKgf3y7kMtWTX1N6MnfkM0rx0EAym kVgwlF877GrBO6gO2Pmkl7rFukALdL4Efk8OR9LfHM/xTjZRj8j+W14fdBblhfjglNNB PUPTM0R1DuO2U6j9ZdR1iBeOY82PnGYSFmMaXJl4H8IFRYSBxGzra4DPMcLVmY5EjkQG uNQ+lhH6UlEEm7E2bIDk+LnRXdWiIgIA5jUKnsf2AQVA0zNisCcKf3ADIgmzMIZ6B3pn XgODe8Hi2JMHaLReQx/oMueaQtS3Xtg6Ch0/ACWRSbT5bN/Wt/X99YqrGhsPII8g59+B w+jw== 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=3VV3dhhJP95nXxpY1QF6t4L49jxq8j5cD0OOI5r2Dis=; b=Jl6bX6pRL+1DUFU7ISXiF66joAvFx07YxFBDHK1e+TnGR0SelK8oPyXRPe2dA6o9pC 4ce4J4lqdojpaAM7T+++RRvvQ7jod3UlS7V1YazbH6V3RjMh+2HcMddelhhzlhurpSth L/l5BrSJ6SXhCYF7t5g9oitXhqViCzojeZQ0MizhO4CcbHLSF2prkZXlsZAoGc3XAm1p UD6ed9omSqxdNHJ6xgnv7JlPRWvRHZSZI+RtI+lEvnP5tAVe+b1/mR2Yap7nNjaACMAu iGmUnXYzuLh59e3j5cOPqTeLnxYsOnW6Ao/dlk3hMrp6jGb53Ghhp5VpHiM2w8C53gze /CbA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=GMbl+jqd; 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 85.214.62.61 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. [85.214.62.61]) by mx.google.com with ESMTPS id 65si1680397edc.222.2020.10.14.01.47.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Oct 2020 01:47:37 -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=@nxp.com header.s=selector2 header.b=GMbl+jqd; 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 85.214.62.61 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 BE6DC82475; Wed, 14 Oct 2020 10:46:00 +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="GMbl+jqd"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E70A582475; Wed, 14 Oct 2020 10:45:58 +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 EUR03-DB5-obe.outbound.protection.outlook.com (mail-db5eur03on0627.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0a::627]) (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 EF91882465 for ; Wed, 14 Oct 2020 10:45:55 +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=Owji0rv/UtFd+dX50Ux9Y9oKNgqS8GhHurZngR3EsHWp5sg0KZvMx4zA47XC0MscPf/eEGglRV4lk7gNrEaHvcpumFZ8t2u9jPkI85C1GCkUiv4VDTLUIM7I+epm6aUPCDr9EvUNfDFxU9kxWq5gYKPQOw9ewueaT3yrtV5jRDaNnFMujl3ntGOdjCJe5uYyxVyi0l0O4WWlpGSAhrB4QuzGl39qJZCCdDGEGIPhl24jEdyZOUlYvF7WkuV0WoGSbPUch34g2tZ3VjqJsCKrL31ElWiI577XFt5yrC1vvNHuaa1KTa3RV8Ua9N7DMTSD2wWag6n5eOsr1/L35D5k2Q== 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=3VV3dhhJP95nXxpY1QF6t4L49jxq8j5cD0OOI5r2Dis=; b=cE3si3NRujfD+3kh9PSSzMRSt7jA8OBjMK0AfugLYjYFw+dPtIttgf+Lelz6WgmqIK8PJnIwflIDC5pXrEXGYOltEjpb4SZ1K862Q71Zlnig9ndthVl9JlJL9hNfA0FqRYE1MpmPxyMpqkmJK5sO32jpTMgdG25JBx6GPdsnEkzlvd61E+sxvE+HlIYIrYBMPlTZakdP4dXNX+9MN9XqCt6t+uWGlERV/6s7b80rwFZCjKLy8zwPSdaebECp7YDQxbMXpXop9t42KtP2v8B0phVk73Mx0kICqHn3JQQKiZSxcZ70G5OrXQe3O/EhZKVVaolfNY382oVLBOhJHuh26Q== 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=3VV3dhhJP95nXxpY1QF6t4L49jxq8j5cD0OOI5r2Dis=; b=GMbl+jqdfzJdzuimarfWbHmn/FxsDx3aTl9D9G+2fclo6hz9IfEyIuqWbCSklFDvkXxfZtjUTcPDzUBweiJpC4FCT70mhkyzPRsdsvwywsl2V86Uf+25yGyKZCl0Jg/I380L3haPD7Ym8wGk9ZOMT9Xtc59OxpmloM9i07MHsRQ= 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 DB7PR04MB5241.eurprd04.prod.outlook.com (2603:10a6:10:1d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.20; Wed, 14 Oct 2020 08:45:53 +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:53 +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 09/12] doc: board: Convert i.MX6 Sabreauto README to reST Date: Wed, 14 Oct 2020 17:12:07 +0800 Message-Id: <20201014091210.12113-10-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:51 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: c95fc864-7cde-4a1a-5ba5-08d8701d8f50 X-MS-TrafficTypeDiagnostic: DB7PR04MB5241: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vphTXO2qKnM3v96j7mLHi2/cgo6zaNkgGWfRQV67INF8wQdEfsruwKYmIEzk+IsYiGCIGk+tx0og5eFoL4q+wOMS6w/9YgDTNSc/M2K1h8QY8DXCTB3VRkKSLrcIW0JtfoVIoHNsyeqyyqUecXhnUwchIA2mGF+MbT5pF1r3RanJ35vCiTbCTATWCVy6dQ2P1DwyB7S8wRkilmnUfx8te+wB93R3MYY/wTz8Id0Vo3Amlyi2PnhCowBmBbM/VfGXq2zw0qh5g2E93x+p2vMpPAJFohiLM8Jy5fRjHRRp2pOeGl1wxMELf/dngBeZpFhOyc5O9jbxrD4u/7BUmAf0Rw== 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)(39860400002)(396003)(346002)(376002)(136003)(366004)(6512007)(83380400001)(86362001)(8676002)(316002)(8936002)(6666004)(36756003)(2906002)(66556008)(66946007)(66476007)(2616005)(956004)(52116002)(5660300002)(6486002)(4326008)(6506007)(16526019)(26005)(478600001)(44832011)(186003)(1076003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: P9T6Yo3aG3RSpQVYaOVkQs0HNdk+xWresneTyQnw5hFoEm+XMygAWRZ+WWAmCqHnH8fRKbE+B+LU86UJDUIrm8BkMu+YpVnRvqPkJMx1291iyivKJaTrC55SWRAxfjFsupftL4WLbCKJcGz6EO9mn6AkvnSaBVsl/+tL1trdb/SrVS814evmA8fWCg8/+tESyV/gt6Qz+sdNEh5gEDTUkcSGrFWcjedsYRyIn4fQ/dPch2Vt/++CeMlAtDad9JzZvRyr1SRyVfQLcUZedVDjzkjdkoH07jBIzXw0ZPOZZzYRbIB1DwbZMTcK7TJxWDznuI+qFstLTrqaLgaRzSHNKuErr3qIY0oXwMiuea7iw0s6Z2JnoGjAXoTY7N7+dZFZWxRqXVAvCfrMqly7X1/HD1MpU8DKDP3BBAb6paHetYMwmhzyLkwbdrPEhTNuUji3xPWbps+U1cTkyt40m5e77N3SfgVt0l2slqio6KwTr8H+HJT181LVcMZ0O8KaAEZoYNLb/bjWVIiNKoA6PSQ3yRCsb7C+6sy+wZ3rJPczVW+sbX0R2wc8QHxjj1ShXs22hvF6xIipYcqTkkdrXZNcRiq+aMpFzCG30xSPP0xLkaSaDPu2MONqfazEbdLxC2kCDmPva0rrqEn07/MdTsKC4g== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c95fc864-7cde-4a1a-5ba5-08d8701d8f50 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:53.7983 (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: GVLCe9SN/WYRilcK+3wx/AQxNmHjT06GcHXvhSq6G0VpqiGtlKFD5BfOCKgu8sIBvEnao6GY5pWqCIHfyHbzyA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB5241 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/mx6sabreauto/README | 82 ---------------------- doc/board/freescale/index.rst | 1 + doc/board/freescale/mx6sabreauto.rst | 100 +++++++++++++++++++++++++++ 3 files changed, 101 insertions(+), 82 deletions(-) delete mode 100644 board/freescale/mx6sabreauto/README create mode 100644 doc/board/freescale/mx6sabreauto.rst -- 2.28.0 diff --git a/board/freescale/mx6sabreauto/README b/board/freescale/mx6sabreauto/README deleted file mode 100644 index 710026a05e..0000000000 --- a/board/freescale/mx6sabreauto/README +++ /dev/null @@ -1,82 +0,0 @@ -How to use and build U-Boot on mx6sabreauto -------------------------------------------- - -mx6sabreauto_defconfig target supports mx6q/mx6dl/mx6qp sabreauto variants. - -In order to build it: - -$ make mx6sabreauto_defconfig - -$ make - -This will generate the SPL and u-boot-dtb.img binaries. - -- Flash the SPL binary into the SD card: - -$ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 conv=notrunc && sync - -- Flash the u-boot-dtb.img binary into the SD card: - -$ sudo dd if=u-boot-dtb.img of=/dev/sdX bs=1K seek=69 conv=notrunc && sync - -Booting via Falcon mode ------------------------ - -Write in mx6sabreauto_defconfig the following define below: - -CONFIG_SPL_OS_BOOT=y - -In order to build it: - -$ make mx6sabreauto_defconfig - -$ make - -This will generate the SPL image called SPL and the u-boot-dtb.img. - -- Flash the SPL image into the SD card: - -$ sudo dd if=SPL of=/dev/sdb bs=1K seek=1 conv=notrunc && sync - -- Flash the u-boot-dtb.img image into the SD card: - -$ sudo dd if=u-boot-dtb.img of=/dev/sdb bs=1K seek=69 conv=notrunc && sync - -Create a FAT16 boot partition to store uImage and the dtb file, then copy the files there: - -$ sudo cp uImage /media/boot - -$ sudo cp imx6dl-sabreauto.dtb /media/boot - -Create a partition for root file system and extract it there: - -$ sudo tar xvf rootfs.tar.gz -C /media/root - -The SD card must have enough space for raw "args" and "kernel". -To configure Falcon mode for the first time, on U-Boot do the following commands: - -- Load dtb file from boot partition: - -# load mmc 0:1 ${fdt_addr} imx6dl-sabreauto.dtb - -- Load kernel image from boot partition: - -# load mmc 0:1 ${loadaddr} uImage - -- Write kernel at 2MB offset: - -# mmc write ${loadaddr} 0x1000 0x4000 - -- Setup kernel bootargs: - -# setenv bootargs "console=ttymxc3,115200 root=/dev/mmcblk0p1 rootfstype=ext4 rootwait quiet rw" - -- Prepare args: - -# spl export fdt ${loadaddr} - ${fdt_addr} - -- Write args 1MB data (0x800 sectors) to 1MB offset (0x800 sectors) - -# mmc write 18000000 0x800 0x800 - -- Restart the board and then SPL binary will launch the kernel directly. diff --git a/doc/board/freescale/index.rst b/doc/board/freescale/index.rst index c9d7411875..cc079cadce 100644 --- a/doc/board/freescale/index.rst +++ b/doc/board/freescale/index.rst @@ -14,3 +14,4 @@ Freescale imx8qxp_mek imxrt1020-evk imxrt1050-evk + mx6sabreauto diff --git a/doc/board/freescale/mx6sabreauto.rst b/doc/board/freescale/mx6sabreauto.rst new file mode 100644 index 0000000000..fe4cd9d214 --- /dev/null +++ b/doc/board/freescale/mx6sabreauto.rst @@ -0,0 +1,100 @@ +.. SPDX-License-Identifier: GPL-2.0+ + +mx6sabreauto +============ + +How to use and build U-Boot on mx6sabreauto +------------------------------------------- + +mx6sabreauto_defconfig target supports mx6q/mx6dl/mx6qp sabreauto variants. + +In order to build it: + +.. code-block:: bash + + $ make mx6sabreauto_defconfig + $ make + +This will generate the SPL and u-boot-dtb.img binaries. + +- Flash the SPL binary into the SD card: + +.. code-block:: bash + + $ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 conv=notrunc && sync + +- Flash the u-boot-dtb.img binary into the SD card: + +.. code-block:: bash + + $ sudo dd if=u-boot-dtb.img of=/dev/sdX bs=1K seek=69 conv=notrunc && sync + +Booting via Falcon mode +----------------------- + +Write in mx6sabreauto_defconfig the following define below: + +CONFIG_SPL_OS_BOOT=y + +In order to build it: + +.. code-block:: bash + + $ make mx6sabreauto_defconfig + $ make + +This will generate the SPL image called SPL and the u-boot-dtb.img. + +- Flash the SPL image into the SD card: + +.. code-block:: bash + + $ sudo dd if=SPL of=/dev/sdb bs=1K seek=1 conv=notrunc && sync + +- Flash the u-boot-dtb.img image into the SD card: + +.. code-block:: bash + + $ sudo dd if=u-boot-dtb.img of=/dev/sdb bs=1K seek=69 conv=notrunc && sync + +Create a FAT16 boot partition to store uImage and the dtb file, then copy the files there: + +.. code-block:: bash + + $ sudo cp uImage /media/boot + $ sudo cp imx6dl-sabreauto.dtb /media/boot + +Create a partition for root file system and extract it there: + +.. code-block:: bash + + $ sudo tar xvf rootfs.tar.gz -C /media/root + +The SD card must have enough space for raw "args" and "kernel". +To configure Falcon mode for the first time, on U-Boot do the following commands: + +- Load dtb file from boot partition:: + + # load mmc 0:1 ${fdt_addr} imx6dl-sabreauto.dtb + +- Load kernel image from boot partition:: + + # load mmc 0:1 ${loadaddr} uImage + +- Write kernel at 2MB offset:: + + # mmc write ${loadaddr} 0x1000 0x4000 + +- Setup kernel bootargs:: + + # setenv bootargs "console=ttymxc3,115200 root=/dev/mmcblk0p1 rootfstype=ext4 rootwait quiet rw" + +- Prepare args:: + + # spl export fdt ${loadaddr} - ${fdt_addr} + +- Write args 1MB data (0x800 sectors) to 1MB offset (0x800 sectors):: + + # mmc write 18000000 0x800 0x800 + +- Restart the board and then SPL binary will launch the kernel directly. From patchwork Wed Oct 14 09:12:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 317742 Delivered-To: patch@linaro.org Received: by 2002:a92:d603:0:0:0:0:0 with SMTP id w3csp215169ilm; Wed, 14 Oct 2020 01:47:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8U3h9X0yTCpFLWBBVrY++x6ci0AkWKgZtQMWWSSuev+5R+VdFTRtXeXQL08/iKsHgxBwp X-Received: by 2002:a17:906:b01:: with SMTP id u1mr4052728ejg.57.1602665277080; Wed, 14 Oct 2020 01:47:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1602665277; cv=pass; d=google.com; s=arc-20160816; b=dZEWGZiXqLbLZOmLXqvy7/pjn3L6q8o0H9KSUH3TtsVacWrc/cMfqRMO+VRYu5XgE2 Xqs8obee5Sw3TlERbQFwMElusMvdQtX+7lYccXAgVh9V4edqOGl1Cef8a0GbCF+ePrNs nwnQUmQ9g16DfiapiD3cBaSRVu0eG0hHXtj+P2W78+Vwh/z65GNcrhtEF17NXT6zK1gh BqZs85+7mNQKxmzr9M7rOT7WXD4hKg4l2HPfuZzIQ5jNMjnGPG00ZHt7vjZpudNpLYLt oqDppu5g8nDx+zb3NxW0zCDbu3CR/noWRMd2cvWT2oRmq8c0bqbsAMbJtDQx7Gs+otX8 HfOA== 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=hyLWuoYRHut5xmE7TEx8nb0h7DnwbDFPAy7+K/QGoEE=; b=CokEMAVPg67lCdfa/8MPv3G9QIQWZccCLTMqf/YkgNdPoNmTNmey8vtzUGvAH/7CNS tsJdiI/bwtIEFnMtT5icCEO/H8VnQD9f8IUAH586xnwMv94BEvT/YeRWhmymkgm/0kIr 1MjhquVAvQx5+4WBXvF4cL/w2zOa8xQT4k3scCZlwCNTjGU0kz+1+aLHzp3JTIHg9YK6 m7kmWf2FgNNyrNEIjzajtWoNgIz+o7M6CD/XPWhJBnB3Ds4I5TcV3cikwIISDMvnZXO3 1bT6jFqZmiQ1y0+ANPkcX45HClMK7hZoWe+Q2WM9ddb1avM+ipVD98BWLcveHGjBgLi2 92BA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=OtDmgWSr; 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 h16si2053747edv.69.2020.10.14.01.47.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Oct 2020 01:47:57 -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=OtDmgWSr; 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 E32B282483; Wed, 14 Oct 2020 10:46:07 +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="OtDmgWSr"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9E1AF82477; Wed, 14 Oct 2020 10:46:02 +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 EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on060e.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0d::60e]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 227B382478 for ; Wed, 14 Oct 2020 10:45:58 +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=fFKx7i5svbs1otBjYrtaRWe8ETa1o0EMg4vs/a3ik8CO7ZS1uGbz5jumgioERaha+bquBhmu3vmXIgChtHwswp7yMZb78tYPw+EoGVrCz5NqX9OTrGncuh20YcNkIcRfPwuMAydcS0bPKHZpV8/h5moDiRjEd4R2yjWoShO3tXMsjZxtuaU7eE7uCvQ+U8mj2ZV/CL7qiQRaJ13v1yMJvPasHM3LeKnuLCr7w+wBZ4X3Ph/I1TG35o1GqAR1J8f+AVrabXnozo/MK0YsoeR6ndlqeznHw17OCg4SDtGVDNH0jes7ZU/frqDDKtMlCVpP1c50H5mcCaBp0xTq2njHiA== 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=hyLWuoYRHut5xmE7TEx8nb0h7DnwbDFPAy7+K/QGoEE=; b=nXOFP/HVoD0pOmqiv96Dxpy5vgs2GzGfKlVdJ7YFt8exo5IOc1yfta5qyD603Y55omcwSB0VRxLZIvKZPFREScreY3nnSsJQp4cEJS1menIPEgaXvtnwGjtn7h1KSPZHDHiLi3eVbtrJGMmpbC8QppYJcSoqjbYA4ECDdK0Nvjx2JXEJjjtBV0C1FvfHeEoAjqBS+VVjgQXxLlIvXv3xDf0IxjBL5EDzkLL/ziJiV/LWjvIssRDmQ/z5Ui/pmDITPjh2z0RklvaAri/ZoqufuXNzDwCJam/yv0iEyPCosKmuGYFfhj7Sn3R5guMrU9TTZA+UdyeZQe64YODqFoLTAw== 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=hyLWuoYRHut5xmE7TEx8nb0h7DnwbDFPAy7+K/QGoEE=; b=OtDmgWSrMa0ElpbHqXoBJbVRSjvojzWgMUnlyCvfE+KdGE1PZIqGyXEtr1UAWALk/4DOT66Rq7EuSuSKqDWn+cQ5jBoALZIsG3QkG8UynG5lo69IH9bfPeR2CWyBIu2dPew3V5Q335kFGtvoE7zaiCB3EWduusI6FdZ7T96P5Iw= 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 DB7PR04MB5241.eurprd04.prod.outlook.com (2603:10a6:10:1d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.20; Wed, 14 Oct 2020 08:45:56 +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:56 +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 10/12] doc: board: Convert i.MX6 Sabresd README to reST Date: Wed, 14 Oct 2020 17:12:08 +0800 Message-Id: <20201014091210.12113-11-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:54 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 36ee5967-a961-43f0-ec7d-08d8701d90da X-MS-TrafficTypeDiagnostic: DB7PR04MB5241: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6790; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MXT69eyEmkKD+oVu98Pj0gm/fUhEFMgAOT0BltPyn1no2aZ8ETx76YpWJEjVMuxtT5k4JaW/gXJrGHldmLFFbKIJG1KEJIFs4OUW+Z/lef/GXxyRY2rpi6GyiG/vjmqoUsp2mRiFMGfObzbVQcnoKBbwak++NqPJPQMtr0CbhohlG79CENbG/PSZOEY8VT70+ZPVWZ2/MQttbLxr0PW3NGrtWkQpBW+iLm/Bxt6/hl3bb7L1Bq6nuUjk/c5CgsBpkmFJjH0ihi34xnfgAUnMltrAKr9WoxM0d2nFtNd8Nsbz10NVB91mQbCL0xBSGotl9aEM5Wqkn1wadDD2jU/5uA== 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)(39860400002)(396003)(346002)(376002)(136003)(366004)(6512007)(83380400001)(86362001)(8676002)(316002)(8936002)(6666004)(36756003)(2906002)(66556008)(66946007)(66476007)(2616005)(956004)(52116002)(5660300002)(6486002)(4326008)(6506007)(16526019)(26005)(478600001)(44832011)(186003)(1076003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: EEkkP+vevEnpr+uN+VV0zh57fa0Hg2LrXy6c4Mr1fr90nIIofqNFluc1h28W0h3Say6+1VIF+zoH1lkEiL/GOgnlpnmgiWUf8YcviGGjJZH+VX+m30miIsQ132esfGz1ThO4Zchei2Cf/OLrW0XtGJESxRG0BmpQJSri+u96L3/e2PVnV4jqmgnwcqYoULsva79SeBqVo/570csVZsCcDnlJuhG8tDP45/jyhIzaV13rUMa2SxBvvGfvAZZ7BKk9N2cXyeYZXcGi+EgC0IbOsdtFMIo/pXtV0FpgW07CMBgxuwS558DAn3uGuRuSQ0D49X7hZpMHTMxqQk8yVKepUEvzB2Pvsr3yDQGP8eMKIlCQ+Na4363S4BV0pAHIR97I9rdzgAu46UGoP6Yg5qxP6vXEntC/+iZfZ9muZ3fZV9UiQKQBAu8WUsbBvdLG1/n/n/TCYP9AdFDE+jmgfs1Kznw+wRkoBLrxMyQNLkl4b961N/XnPF1KGGq8YzkQHS59xsgGsEUQLICa4XGGiEUi2tAdJaGuxJwu2QvvO4htX3EDToAxNvqwjdWH4PZyokqtmHWATM5dJnvLGJPZPltplLtZyTzTaJZo73WosNdEogpsJXVYCZkSXJiduw3WChz+7zux1TQ5si1fFLnoXptSfQ== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 36ee5967-a961-43f0-ec7d-08d8701d90da 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:56.3482 (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: ZBnQDp04YuHrZbWtV+HGdM1Baw0+2LEw2blgDcjxcgvros4pmS+4CL5vOvxU8A8kKO/l6ZY6f5Cc8rlGlY57mA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB5241 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/mx6sabresd/README | 114 ------------------------- doc/board/freescale/index.rst | 1 + doc/board/freescale/mx6sabresd.rst | 132 +++++++++++++++++++++++++++++ 3 files changed, 133 insertions(+), 114 deletions(-) delete mode 100644 board/freescale/mx6sabresd/README create mode 100644 doc/board/freescale/mx6sabresd.rst -- 2.28.0 diff --git a/board/freescale/mx6sabresd/README b/board/freescale/mx6sabresd/README deleted file mode 100644 index 974b0be175..0000000000 --- a/board/freescale/mx6sabresd/README +++ /dev/null @@ -1,114 +0,0 @@ -How to use and build U-Boot on mx6sabresd ------------------------------------------ - -The following methods can be used for booting mx6sabresd boards: - -1. Booting from SD card - -2. Booting from eMMC - -3. Booting via Falcon mode (SPL launches the kernel directly) - - -1. Booting from SD card via SPL -------------------------------- - -mx6sabresd_defconfig target supports mx6q/mx6dl/mx6qp sabresd variants. - -In order to build it: - -$ make mx6sabresd_defconfig - -$ make - -This will generate the SPL and u-boot-dtb.img binaries. - -- Flash the SPL binary into the SD card: - -$ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 conv=notrunc && sync - -- Flash the u-boot-dtb.img binary into the SD card: - -$ sudo dd if=u-boot-dtb.img of=/dev/sdX bs=1K seek=69 conv=notrunc && sync - - -2. Booting from eMMC --------------------- - -$ make mx6sabresd_defconfig - -$ make - -This will generate the SPL and u-boot-dtb.img binaries. - -- Boot first from SD card as shown in the previous section - -In U-boot change the eMMC partition config: - -=> mmc partconf 2 1 0 0 - -Mount the eMMC in the host PC: - -=> ums 0 mmc 2 - -- Flash SPL and u-boot-dtb.img binaries into the eMMC: - -$ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 conv=notrunc && sync -$ sudo dd if=u-boot-dtb.img of=/dev/sdX bs=1K seek=69 conv=notrunc && sync - -Set SW6 to eMMC 8-bit boot: 11010110 - - -3. Booting via Falcon mode --------------------------- - -$ make mx6sabresd_defconfig -$ make - -This will generate the SPL image called SPL and the u-boot-dtb.img. - -- Flash the SPL image into the SD card: - -$ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 oflag=sync status=none conv=notrunc && sync - -- Flash the u-boot-dtb.img image into the SD card: - -$ sudo dd if=u-boot-dtb.img of=/dev/sdX bs=1K seek=69 oflag=sync status=none conv=notrunc && sync - -Create a partition for root file system and extract it there: - -$ sudo tar xvf rootfs.tar.gz -C /media/root - -The SD card must have enough space for raw "args" and "kernel". -To configure Falcon mode for the first time, on U-Boot do the following commands: - -- Setup the IP server: - -# setenv serverip - -- Download dtb file: - -# dhcp ${fdt_addr} imx6q-sabresd.dtb - -- Download kernel image: - -# dhcp ${loadaddr} uImage - -- Write kernel at 2MB offset: - -# mmc write ${loadaddr} 0x1000 0x4000 - -- Setup kernel bootargs: - -# setenv bootargs "console=ttymxc0,115200 root=/dev/mmcblk1p1 rootfstype=ext4 rootwait quiet rw" - -- Prepare args: - -# spl export fdt ${loadaddr} - ${fdt_addr} - -- Write args 1MB data (0x800 sectors) to 1MB offset (0x800 sectors) - -# mmc write 18000000 0x800 0x800 - -- Press KEY_VOL_UP key, power up the board and then SPL binary will -launch the kernel directly. diff --git a/doc/board/freescale/index.rst b/doc/board/freescale/index.rst index cc079cadce..716bb1e3ac 100644 --- a/doc/board/freescale/index.rst +++ b/doc/board/freescale/index.rst @@ -15,3 +15,4 @@ Freescale imxrt1020-evk imxrt1050-evk mx6sabreauto + mx6sabresd diff --git a/doc/board/freescale/mx6sabresd.rst b/doc/board/freescale/mx6sabresd.rst new file mode 100644 index 0000000000..fe15ba7b79 --- /dev/null +++ b/doc/board/freescale/mx6sabresd.rst @@ -0,0 +1,132 @@ +.. SPDX-License-Identifier: GPL-2.0+ + +mx6sabresd +========== + +How to use and build U-Boot on mx6sabresd +----------------------------------------- + +The following methods can be used for booting mx6sabresd boards: + +1. Booting from SD card + +2. Booting from eMMC + +3. Booting via Falcon mode (SPL launches the kernel directly) + + +1. Booting from SD card via SPL +------------------------------- + +mx6sabresd_defconfig target supports mx6q/mx6dl/mx6qp sabresd variants. + +In order to build it: + +.. code-block:: bash + + $ make mx6sabresd_defconfig + $ make + +This will generate the SPL and u-boot-dtb.img binaries. + +- Flash the SPL binary into the SD card: + +.. code-block:: bash + + $ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 conv=notrunc && sync + +- Flash the u-boot-dtb.img binary into the SD card: + +.. code-block:: bash + + $ sudo dd if=u-boot-dtb.img of=/dev/sdX bs=1K seek=69 conv=notrunc && sync + +2. Booting from eMMC +-------------------- + +.. code-block:: bash + + $ make mx6sabresd_defconfig + $ make + +This will generate the SPL and u-boot-dtb.img binaries. + +- Boot first from SD card as shown in the previous section + +In U-boot change the eMMC partition config:: + + => mmc partconf 2 1 0 0 + +Mount the eMMC in the host PC:: + + => ums 0 mmc 2 + +- Flash SPL and u-boot-dtb.img binaries into the eMMC: + +.. code-block:: bash + + $ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 conv=notrunc && sync + $ sudo dd if=u-boot-dtb.img of=/dev/sdX bs=1K seek=69 conv=notrunc && sync + +Set SW6 to eMMC 8-bit boot: 11010110 + +3. Booting via Falcon mode +-------------------------- + +.. code-block:: bash + + $ make mx6sabresd_defconfig + $ make + +This will generate the SPL image called SPL and the u-boot-dtb.img. + +- Flash the SPL image into the SD card + +.. code-block:: bash + + $ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 oflag=sync status=none conv=notrunc && sync + +- Flash the u-boot-dtb.img image into the SD card + +.. code-block:: bash + + $ sudo dd if=u-boot-dtb.img of=/dev/sdX bs=1K seek=69 oflag=sync status=none conv=notrunc && sync + +Create a partition for root file system and extract it there + +.. code-block:: bash + + $ sudo tar xvf rootfs.tar.gz -C /media/root + +The SD card must have enough space for raw "args" and "kernel". +To configure Falcon mode for the first time, on U-Boot do the following commands: + +- Setup the IP server:: + + # setenv serverip + +- Download dtb file:: + + # dhcp ${fdt_addr} imx6q-sabresd.dtb + +- Download kernel image:: + + # dhcp ${loadaddr} uImage + +- Write kernel at 2MB offset:: + + # mmc write ${loadaddr} 0x1000 0x4000 + +- Setup kernel bootargs:: + + # setenv bootargs "console=ttymxc0,115200 root=/dev/mmcblk1p1 rootfstype=ext4 rootwait quiet rw" + +- Prepare args:: + + # spl export fdt ${loadaddr} - ${fdt_addr} + +- Write args 1MB data (0x800 sectors) to 1MB offset (0x800 sectors):: + + # mmc write 18000000 0x800 0x800 + +- Press KEY_VOL_UP key, power up the board and then SPL binary will launch the kernel directly. From patchwork Wed Oct 14 09:12:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 317743 Delivered-To: patch@linaro.org Received: by 2002:a92:d603:0:0:0:0:0 with SMTP id w3csp215280ilm; Wed, 14 Oct 2020 01:48:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLCBBtG0WNnc79Il5QKA/KyxyFysqVOkHDoPUXQLjEOa/a0LcbjOBqzIDo9E4ns4GeC5Uy X-Received: by 2002:a17:906:4048:: with SMTP id y8mr4121134ejj.466.1602665289977; Wed, 14 Oct 2020 01:48:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1602665289; cv=pass; d=google.com; s=arc-20160816; b=aTIkfTmI0zdZCbGBq22PLjJ2NG5uFYDVLGNV/sCrGncuKAok6PiEzfxdrbkkoU6il9 0aZ6JFY+kPTFoG9wqqq/qCBUQzRtIzl2K01z6PFhqQEW6Bl6Ye9GKDY2F42sm2I3g0P/ YUzUobID0c0BFUL0nf3pBkoGXP4Cmy/4nODI04iFsoKokMelsNbqFOE5xLor+l1GW8dq Di0FgsphO+xDxDdgPjigMO0BTVKESFMfz0gWYWdQVZv/Audh49nMa/vWFlu6IsntHC2V w9nWf8l5i4evHyUyoNRmt96qz/Z3qp7txHX9l9VOu3a3L79e8wQmjC3SiOjZQqpCzzhr 1HvA== 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=Jh2GuE1hsc1nmACwgyYqDqBfSxD1XcdV9A8TTJSIRrg=; b=cv/+Fg4z/qPS/Ga2JAFk90BzbAhyiH19XWMY+BxB/K+37ZwYUuexPDC8sElwnpA8S7 VvvP/W/u8ymw249k/0/WXRIBZ2fOPDQp9H0KOHl6GsN4ENvmyssWEaGJSjMfNErNkCkV vLQhxfqXxjiKAHK91592iu246XprBgIl5TXUr2YojZeCth9MzabqhblGYPf/VTVylkK2 +wNELasSerW+s51hc3inmDaDQamswgS2pMx4DV+yg/Jlx9qsCHsR+bdeMijxJBb0EJD1 xsz5V/VLB5/UUln34uX8OWpWMzCRkjwe1vAiXnGoSOV9dMq0JSgF0KKCTSDGpMZQCU8l Qo3Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=c78k0Soh; 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 e30si1628647edj.442.2020.10.14.01.48.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Oct 2020 01:48:09 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=c78k0Soh; 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 8315A82495; Wed, 14 Oct 2020 10:46:09 +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="c78k0Soh"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A241D82478; Wed, 14 Oct 2020 10:46:03 +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 EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on060f.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1f::60f]) (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 E01A582474 for ; Wed, 14 Oct 2020 10:45:59 +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=DGFLsA0khO8tRMpXBgE77iHTRN2EumZ3U6mz5NTgFQrP4UF671y8vUkaJ3ita1EqC0NNG3BHQ9Vg+cW+FHyGzZC+zQw7TaWFHC5s2caI0w2MHYoVvXJsf6uAICe+JXetXgTG2N0VOT/W3mtM0S9J8LLIGp4x5ZjNFAP1+8SOrjqMERWfTaz34rrWkzhLMAnbR1soifhP9Jkz8O8eDpxd1Y/PKPbpEceYiPXsLuQ+HrehSzZH6K0OHs09IcLRQ94AamnSoAEWWmDxuf4fWY3msjCsEeMCItPurA1LPbqwcW+xO8a9CLSTkimB/NOgBewHY9zucpq7JiaGIPNr9aH1NA== 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=Jh2GuE1hsc1nmACwgyYqDqBfSxD1XcdV9A8TTJSIRrg=; b=ls01tD28WaOOif9v46VhC0XuqCLYiFaRw8We66Zp9WPb7iuu6cHCZY5UHPB0psRKqenSsSITLQ3qKH9CnMX49AznwCBOVu8v7hN9YUcRgYT7oG+jXwjZb1x1qyx9xYOLmenlixyloXgTdj7vOXBHZJnTvnaEF6KTHU7aSbtzmQu9CrLhCdFjsIoISZI23YlBrTU0ubhQVpGQr9wX5NVBcA3YzZomFmjHZq6arnWQW2KGiD3tp2aYiOw/Z5s+5+aruk8mnCPD/SrFHMoV5P6XOiMOuKMusmbKcHrfL0nNmJyVJNXfE+ca2fbduvSJkYkXxMvqXSaCnn1as+US6QFQbg== 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=Jh2GuE1hsc1nmACwgyYqDqBfSxD1XcdV9A8TTJSIRrg=; b=c78k0SohQ0AZnkuW7qJTGk8Z71xT+pAvxYDhiKuhGnGSNic9TNJXC9FG3x1Ab4IorCN1InJjYxdoE2wTqavYRKmSaZQtv9S9xIg9JFhjVkD4LF0V8Fmc5QEBasRVlRJch7Bm4356HiJx9xeD/cR7g66/aLmFJ8Lpk+Lc73yKWCo= 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:58 +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:58 +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 11/12] doc: board: Convert i.MX6UL 14x14 EVK README to reST Date: Wed, 14 Oct 2020 17:12:09 +0800 Message-Id: <20201014091210.12113-12-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:56 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 61596645-670a-4c26-4e8d-08d8701d924e X-MS-TrafficTypeDiagnostic: DB6PR0402MB2760: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: K3flMEzV3LPhJnflx9DDMYaD43mtB8gw2KRD4GQFV7t5uM2d49LHoLXI9IKEcgh5HdggZtuauFRxK4xuyq2PGvUPcSWL1sgJUSTA8rUXVQCLg0WpP2dQnn2TpGIW06A6uLcDH8LiS0aNlDHi1D5U3wxv1wj3zKoao9b5eL9WodOyqNxBP6dELqM22bO8VkjHazx8CC3EP10g9Lp+SSfq14aU4CG9N+QFrZCvxQ4IQbwOPiRt/ncF2vBrReqMVRzYipKH9NVOpolqw0Lo0OyM52b8tnZz6voGIVfPv16hVt0ZDRf/acXNJ0YKJHnzHeFbxxDd1VbjWkM4c4jsa6YU5NM+TdBRK8OfdsOQFFJ9IT2Yt1zhcPvlJT9kyDcpKXaqHPw7Q4OkOWFAPjRsgkaDfA== 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: TRBOfSjREWDxO0ALjpJR30/IiwOxYo5xSw4Q1TYGOX6XViKWEJLnJIkOc/KLVlddYBzyYM7caIdN6RCHafR1BSKB10dnC6bOMsdMI6dN3PhxgrVggX5P8IYR55ytganIfIDERtoi3WYcsywP2UTh4WRAgC+orBmgNpg80o5iuASRRXkmTukwJulyZCRJuB5QmLDc8Pk7h00Sp3SN//btR/QYMu+AR63FNMgMPjJStyq94gY5GAKsIoRRjEjCcFJG1BhVHi3CbthzyKq9TRFEDqnNTFURbmBHDQ7lIqajxa2ZUJz+7oiEHpxXPKvuOj6drLWQkLg3GDOqJ5KvPCJ06tDfWjnXneMKCJFza3urj9yNeuhJL+4GcbhnuIp15oW9Um5S0j+rI7Dq8VNV9McAmz0cMuQ39s98V1m+9jDImr0uHBuL8Pfkm9K0HyYhNz/lulVzB0Soy9DcUxeAok2f8oeouwVku5+kgF8R5gATGagpsy42dFvxBwOMbg8eziE2jjp7fj3gAzr93/7wQL0VKUBhEjg+WPIUATsJCKGrue7zGdPW27PGdjYigKH2y3qODO/ccK+aaXgz66G9WcV2XGzrdw1TScat9YNjX6UeZmTDTAjc4Ao6GurM9X7w/rP1k0BzBxqZcLzQ1PES83phKA== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 61596645-670a-4c26-4e8d-08d8701d924e 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:58.6621 (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: WVnBAUJ5IaSD5IphR+NcxPmbXw0ortStUqusZL/j0x+3OIB4PYaqJt0iNHgamjSLU2TX3dyRr1W7Tt9UbLQP3Q== 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 --- doc/board/freescale/index.rst | 1 + .../board/freescale/mx6ul_14x14_evk.rst | 62 ++++++++++++------- 2 files changed, 40 insertions(+), 23 deletions(-) rename board/freescale/mx6ul_14x14_evk/README => doc/board/freescale/mx6ul_14x14_evk.rst (65%) -- 2.28.0 diff --git a/doc/board/freescale/index.rst b/doc/board/freescale/index.rst index 716bb1e3ac..046a839a52 100644 --- a/doc/board/freescale/index.rst +++ b/doc/board/freescale/index.rst @@ -16,3 +16,4 @@ Freescale imxrt1050-evk mx6sabreauto mx6sabresd + mx6ul_14x14_evk diff --git a/board/freescale/mx6ul_14x14_evk/README b/doc/board/freescale/mx6ul_14x14_evk.rst similarity index 65% rename from board/freescale/mx6ul_14x14_evk/README rename to doc/board/freescale/mx6ul_14x14_evk.rst index 70eb86efba..8298bf8e1e 100644 --- a/board/freescale/mx6ul_14x14_evk/README +++ b/doc/board/freescale/mx6ul_14x14_evk.rst @@ -1,11 +1,18 @@ +.. SPDX-License-Identifier: GPL-2.0+ + +mx6ul_14x14_evk +=============== + How to use U-Boot on Freescale MX6UL 14x14 EVK ----------------------------------------------- - Build U-Boot for MX6UL 14x14 EVK: -$ make mrproper -$ make mx6ul_14x14_evk_defconfig -$ make +.. code-block:: bash + + $ make mrproper + $ make mx6ul_14x14_evk_defconfig + $ make This will generate the SPL image called SPL and the u-boot.img. @@ -14,35 +21,38 @@ This will generate the SPL image called SPL and the u-boot.img. - Flash the SPL image into the micro SD card: -sudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1 conv=notrunc; sync +.. code-block:: bash + + sudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1 conv=notrunc; sync - Flash the u-boot.img image into the micro SD card: -sudo dd if=u-boot.img of=/dev/mmcblk0 bs=1k seek=69 conv=notrunc; sync +.. code-block:: bash -- Jumper settings: + sudo dd if=u-boot.img of=/dev/mmcblk0 bs=1k seek=69 conv=notrunc; sync -SW601: 0 0 1 0 -Sw602: 1 0 +- Jumper settings:: + + SW601: 0 0 1 0 + Sw602: 1 0 where 0 means bottom position and 1 means top position (from the switch label numbers reference). - Connect the USB cable between the EVK and the PC for the console. -(The USB console connector is the one close the push buttons) + The USB console connector is the one close the push buttons -- Insert the micro SD card in the board, power it up and U-Boot messages should -come up. +- Insert the micro SD card in the board, power it up and U-Boot messages should come up. 2. Booting via Serial Download Protocol (SDP) --------------------------------------------- The mx6ulevk board can boot from USB OTG port using the SDP, target will enter in SDP mode in case an SD Card is not connect or boot switches are -set as below: +set as below:: -Sw602: 0 1 -SW601: x x x x + Sw602: 0 1 + SW601: x x x x The following tools can be used to boot via SDP, for both tools you must connect an USB cable in USB OTG port. @@ -54,13 +64,15 @@ https://github.com/NXPmicro/mfgtools The following script should be created to boot SPL + u-boot-dtb.img binaries: - $ cat uuu_script - uuu_version 1.1.4 +.. code-block:: bash + + $ cat uuu_script + uuu_version 1.1.4 - SDP: boot -f SPL - SDPU: write -f u-boot-dtb.img -addr 0x877fffc0 - SDPU: jump -addr 0x877fffc0 - SDPU: done + SDP: boot -f SPL + SDPU: write -f u-boot-dtb.img -addr 0x877fffc0 + SDPU: jump -addr 0x877fffc0 + SDPU: done Please note that the address above is calculated based on SYS_TEXT_BASE address: @@ -68,7 +80,9 @@ Please note that the address above is calculated based on SYS_TEXT_BASE address: Power on the target and run the following command from U-Boot root directory: - $ sudo ./uuu uuu_script +.. code-block:: bash + + $ sudo ./uuu uuu_script - Method 2: imx usb loader tool (imx_usb): @@ -78,5 +92,7 @@ https://github.com/boundarydevices/imx_usb_loader Build the source code and run the following commands from U-Boot root directory: - $ sudo ./imx_usb SPL - $ sudo ./imx_usb u-boot-dtb.img +.. code-block:: bash + + $ sudo ./imx_usb SPL + $ sudo ./imx_usb u-boot-dtb.img From patchwork Wed Oct 14 09:12:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 317744 Delivered-To: patch@linaro.org Received: by 2002:a92:d603:0:0:0:0:0 with SMTP id w3csp215366ilm; Wed, 14 Oct 2020 01:48:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwKw615ZY3G+/7PNSriWgoyE+GGTrOiDph+IibKoewoHG6ISaGsNA6F7ztOeAJQVPCkzX8m X-Received: by 2002:aa7:c68b:: with SMTP id n11mr3849604edq.340.1602665300549; Wed, 14 Oct 2020 01:48:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1602665300; cv=pass; d=google.com; s=arc-20160816; b=daBCtGA7IYf8xCE2sh2gsbdHEanDRPw5Y0EiUsWfNIpoCRGZ8Bnxve8KCWQ+Xs7C2R 7Ak+yL04mmI10CpiyC5AG0Gf8aN7UDx/5KqLMLu1epZi8lwuerE5dYe2ceRFVrPGK6cs 15NvZQ6dpfEhf+Xwp7poYeS6MgFPzNHHnJZLXQemTdLdEW/0qp0VVrlSOLEPGN9IFV+4 9f+sAIcdvRtyK+7zoi1egZaYcQAbP3dEbOTsNLBiWsn5R72FfS3m99wPmy73pyO9/44U R/4OIiwu3J0fO79GCGHVTNkKvSA1CQNLpdKPJkehdEIzCMQj/75LMkOY8oFjsV9dGvlF c+gQ== 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=E6Quk/ODM+wT5pMN+NY22IGwbJ5wjufN9fD0ZOaSZTk=; b=E81YXlORex7gAbogGxYbeLeeGHGvdJcuI4rmivPGFcS979E1eeyIRZPN72sW5diHsJ 07j/R6EuAsB7t/GoqX6MGnhBTLV4ka5Yez3liOuyPPbT8GQD2/FbVQGLbxTqJKFj3Wv9 4UJwGO3F+u14pfw2cH9tdyvsHMxocIdQPFmrDWTYQnv7udHPD6thinK3P3R4DIzztfyn 2/aRkkzigrW52C5YLQ1VCsJohk8sKjz9nKSEDa1F8aqlhAOHEWpm74/sJoyzNoGu8Fdl W+yGiaoRSPyH9ldJ6+Vq9TzmVU8yekDnN1XmsOWA1qI4CKe1g2MHM6RZFv2mQfdvcBrR //GQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=T55LLXsX; 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 f12si1650903ejh.192.2020.10.14.01.48.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Oct 2020 01:48: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=T55LLXsX; 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 E9634824A0; Wed, 14 Oct 2020 10:46:10 +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="T55LLXsX"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6387E82479; Wed, 14 Oct 2020 10:46:05 +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-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on20601.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1b::601]) (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 4DB5A8247D for ; Wed, 14 Oct 2020 10:46:02 +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=i+SCH7/4763WG6ef7Xrm+S3ATzCua/h2wCTUek+V5KV685ztskIyapt6vpxhFli7b6sOggzBVNmvbQm+DnDojJdcYYZM7K6PJ1gOsIr/D5vnfxcJKPClHsuqKS59pnu4KRX0ViVsd+RFN4yLbAK51EQjPBBRJfNb9jGL7St03lZpkiSOXYfa8H84hgpEw4yUadNVm1U3dZmIk3KK0BglVK8US0ZI+axVGm84FsR+/v7YWU1JPuwsmaFG3FnlDg3R8wS2oZfQlRjxHKcDt7dTeBdue0chgrdOOCSv4W1hzV7dZFXdx0eUWMyFWfne1tSjtHazPxt632WjilhQz6ebDA== 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=E6Quk/ODM+wT5pMN+NY22IGwbJ5wjufN9fD0ZOaSZTk=; b=AjsNdctOg2M9cRIrUIrKx6WlAXtkkR+4YmGsyL4FYpSgCNQtm+AC2sc5MEynpKi5ksOhenW60X2DV5VLOSJQOFr9vkHGM7YJqVPF2ZiuREZp6a0OFXI6+KPdSffrBizOSM2D/jE6p5+6qNom4KAoyfsEemLxGtRxa2/6JC08pdXAx/WW3PMc4+RhmGI4QTQX0a97gZXEOB/jWRUp1XedOsUMiLayMCzzk5PSA9qLd48/tpOo2CXj2MdFLFakrEMx9++JXUvzEhmVpYMInPD/U/6IO317o6MKWgjJMBHU5qtzvUQ58Fu+mzIknQt+D4mYZRhLO/C8MtMnBIDzvkzi2g== 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=E6Quk/ODM+wT5pMN+NY22IGwbJ5wjufN9fD0ZOaSZTk=; b=T55LLXsXo+uL2ns/S+Qak0tOB5RxhYhRpCnEMesiIlBJXvBfaCtIwMhQjtciOmda2vhMmiNlEYHT6qd5MlUfKlgewANxv0JYLuD4BCx57yTFp9XvOP5mNtdaQ8TZv2xIJTjGI4Byy/pL6Ae2a5woXaAUgZaxgwchXLkHvekv2mM= 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 DBBPR04MB6028.eurprd04.prod.outlook.com (2603:10a6:10:c1::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.21; Wed, 14 Oct 2020 08:46:01 +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:46:01 +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 12/12] doc: board: Convert i.MX6ULL EVK README to reST Date: Wed, 14 Oct 2020 17:12:10 +0800 Message-Id: <20201014091210.12113-13-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:59 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 6751c3ca-8376-4db6-ed57-08d8701d93c0 X-MS-TrafficTypeDiagnostic: DBBPR04MB6028: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5236; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zGjHhRXkIJ15m3aNKP3IdUPNz+APSUJLesqut3QOjJRzuy6zc5wkmdtgWhuYRT63T8skyqYdjYcQJZ8jrU1LSK4CwJzZo6MK45duQFxWt/PIBczE2ce4gaa1KOURSJIyLmBbVjdOl6ZYQT+g16ZppsR8OcFIxS8YLjDESkVW3+9DQSAZk2cm7v+UDiBI2qpqnmtVom+vVwlQGGiPVgJDxR0GHVJsREnXDRMPpObKWLI2o0oGibVhuOSVbMJCdrrDrC2mE13zsymv12GnkpiP/lR3ZegMCq9FD15eOckTktmhhcIHhfDSyIrgoYcM+guAm0OjWaS5yoeJpdN1bXufYw== 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)(376002)(366004)(136003)(39860400002)(478600001)(66946007)(2906002)(52116002)(86362001)(4326008)(44832011)(6666004)(16526019)(83380400001)(26005)(2616005)(186003)(956004)(6506007)(6512007)(6486002)(8676002)(66556008)(66476007)(316002)(1076003)(36756003)(8936002)(5660300002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: VT4sV8xNUyyGugRcKojCZ6gdzvH59zlkAJF6E6LfPzDdg9LKXC1Hyivk0nsREvuCiodziUJ+/kHHo+/zSrup1iztv9YVQwR/fiL6o7WcUAXenDDLYJv9+p0zumdeFIaBOpeGzAFUNBXu+ZyMTj9r+oYysS80u4Sh+CXi3clrJt0dU+yL9niCiXqXBm1k+XA7owMPryf62BTfNHNSYf0+CgHagnrbPwn6plTm7pNI30YQ9smUQe4jtdjP9P3po0vg48cakpfq29OSeOLNo61pqAOuJc65oEKGGXWHCYRoaprC3mCgrNn5CuyEf5z9aU6816GZ5CoD8bXnIoasI9KyjQ8a2rZiLqp3RdZd5elB1VKw5U5/W59xLCfzvij11djEUp44eDvq98Q+4KR9Dl9/P4kL8SYLSEeP5PF3pA20hCFEsJWaAEkPWCts3mOpT4Bi/RXmKqXLVYXWbNiUVK4OxzrsIHDpI2hM/ZHePuhvILKdBD55kVY1CEJWj3aCwV0fiHqNQFfx4H0Vlx8xDsT2n5CbqmZnLia5896LtCyVVFTPpxppgxi0V7QgI0vNkYR050fSsHdbfXmxHnzKT52cRM+85KtaFE0o2DXwQkDIqrkQCDKmHQ5/IGYH4kWsBMn3+2zLVgx3Bsx0PVcPbPxkCA== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6751c3ca-8376-4db6-ed57-08d8701d93c0 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:46:01.1240 (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: Ga3EmGDForBGCljsrgxd45SbWODDU9gsc0tHiJY0qpM+5H6QTTcCaok0s8gTdSOqOThkaAI/8YLfXssqx7TcgA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB6028 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 --- doc/board/freescale/index.rst | 1 + .../board/freescale/mx6ullevk.rst | 29 +++++++++++++------ 2 files changed, 21 insertions(+), 9 deletions(-) rename board/freescale/mx6ullevk/README => doc/board/freescale/mx6ullevk.rst (66%) -- 2.28.0 diff --git a/doc/board/freescale/index.rst b/doc/board/freescale/index.rst index 046a839a52..313cf409a6 100644 --- a/doc/board/freescale/index.rst +++ b/doc/board/freescale/index.rst @@ -17,3 +17,4 @@ Freescale mx6sabreauto mx6sabresd mx6ul_14x14_evk + mx6ullevk diff --git a/board/freescale/mx6ullevk/README b/doc/board/freescale/mx6ullevk.rst similarity index 66% rename from board/freescale/mx6ullevk/README rename to doc/board/freescale/mx6ullevk.rst index 47a35f61a2..a26248a1e3 100644 --- a/board/freescale/mx6ullevk/README +++ b/doc/board/freescale/mx6ullevk.rst @@ -1,26 +1,37 @@ +.. SPDX-License-Identifier: GPL-2.0+ + +mx6ullevk +========= + How to use U-Boot on Freescale MX6ULL 14x14 EVK ----------------------------------------------- +----------------------------------------------- - First make sure you have installed the dtc package (device tree compiler): -$ sudo apt-get install device-tree-compiler +.. code-block:: bash + + $ sudo apt-get install device-tree-compiler - Build U-Boot for MX6ULL 14x14 EVK: -$ make mrproper -$ make mx6ull_14x14_evk_defconfig -$ make +.. code-block:: bash + + $ make mrproper + $ make mx6ull_14x14_evk_defconfig + $ make This generates the u-boot-dtb.imx image in the current directory. - Flash the u-boot-dtb.imx image into the micro SD card: -$ sudo dd if=u-boot-dtb.imx of=/dev/sdb bs=1K seek=1 conv=notrunc && sync +.. code-block:: bash + + $ sudo dd if=u-boot-dtb.imx of=/dev/sdb bs=1K seek=1 conv=notrunc && sync -- Jumper settings: +- Jumper settings:: -SW601: 0 0 1 0 -Sw602: 1 0 + SW601: 0 0 1 0 + Sw602: 1 0 Where 0 means bottom position and 1 means top position (from the switch label numbers reference).