From patchwork Thu Jul 18 19:55:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Breno Matheus Lima X-Patchwork-Id: 1133831 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=nxp.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="BnBFKDoW"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45qPy86Whlz9s00 for ; Fri, 19 Jul 2019 05:55:42 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 400DCC21FD8; Thu, 18 Jul 2019 19:55:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_PASS, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 58E24C21E0D; Thu, 18 Jul 2019 19:55:33 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 04711C21E0D; Thu, 18 Jul 2019 19:55:31 +0000 (UTC) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80074.outbound.protection.outlook.com [40.107.8.74]) by lists.denx.de (Postfix) with ESMTPS id 662F6C21C8B for ; Thu, 18 Jul 2019 19:55:31 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B6bYiLVElmWGP4w1XHasF+jIcLQTSQBoTph1LPsBsmwv54mpL8XIlRQwlmJ93Zko85L94Jc4/IFk8gryrSJx37SDQLOjrBJAU2G66wEpxQ8sdHrgFE8j3wlgt1fewEwKdbjqRn+PAD9f9uRz/FvnUcmw77aPrtm4D759aEBqmis6y2LfgWfTI+y/g+503Y7Y3/mxvxBbUFtUrejGR3WNayPd6GvXGvTh7qnRD8eys0bIYuVYrbmvv0ZWgQcCSkDcnSrjRpfPYhTj97hrz94B2ZO8AfeGlY6fIY47kkz8uh+g/xs+a6vxz/P8uo4gDjJhqvUvCjAyDrhea3SbpUysTQ== 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=hPiYGuLv9jmLB6QpCjc+u3x+uQzsvWYuVdSESVkvMhY=; b=AIH+hxxnIstIneWlb04fw0SHuBFm1cU1p3GQzYgDaJ0Z7qI9Fv1xrGzUGGG1eRtRcaNbbBG7EN1v+mBp4VRUeyUhGWT60fzdq5z2itllFQ5Ll5YsRtEADPZm3fha6OrHDhoPwxzj0/kRqVo87mmFweXabhwcjLgNQFaXVksLwCFp/bge3R2hgjb5vxWZFH5UF+i3G+ISAEcfuQdnp55G+sv7mnRMpFiUkz70SGjaIa9627OIn6+7/Uw3cRJ4PmPgolRP/6TUbOVbbnYDxEdrXVl0RwsOAh+IWuuwJVtel4ZnogwP8ZePoY1IwDilCJG5w5Y6uwD9NIQ/As1mQGu89A== 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=hPiYGuLv9jmLB6QpCjc+u3x+uQzsvWYuVdSESVkvMhY=; b=BnBFKDoWoV8LE2dYahW+ArEzF9I6q9fZQ+DP8JOV7dJDH6HVjR5V8r/5JPKoylRjfbeAHVkHsXsTroXnlNKkgpPjAMylxpCvhFiqatXqAd6JXCfPIymb4BgPHW2jCC7VxqtU/x5AHA2RhN8YIZjy1eSOjTQMW8UPU2toTYW52MY= Received: from DB7PR04MB4636.eurprd04.prod.outlook.com (52.135.134.158) by DB7PR04MB4394.eurprd04.prod.outlook.com (52.135.141.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2073.14; Thu, 18 Jul 2019 19:55:29 +0000 Received: from DB7PR04MB4636.eurprd04.prod.outlook.com ([fe80::ed41:1ceb:290b:7fa4]) by DB7PR04MB4636.eurprd04.prod.outlook.com ([fe80::ed41:1ceb:290b:7fa4%6]) with mapi id 15.20.2094.011; Thu, 18 Jul 2019 19:55:29 +0000 From: Breno Matheus Lima To: "sbabic@denx.de" , "festevam@gmail.com" Thread-Topic: [PATCH] mx6ulevk: Include SDP boot instructions in README Thread-Index: AQHVPaLAfyOhoUFfHU228M0eWxFtpw== Date: Thu, 18 Jul 2019 19:55:29 +0000 Message-ID: <1563479713-401-1-git-send-email-breno.lima@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [82.144.34.2] x-clientproxiedby: LO2P265CA0262.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8a::34) To DB7PR04MB4636.eurprd04.prod.outlook.com (2603:10a6:5:2e::30) authentication-results: spf=none (sender IP is ) smtp.mailfrom=breno.lima@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.7.4 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f9db7ab3-ca62-44c1-6d98-08d70bb9e2a5 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:DB7PR04MB4394; x-ms-traffictypediagnostic: DB7PR04MB4394: x-ms-exchange-purlcount: 2 x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 01026E1310 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(136003)(396003)(366004)(376002)(346002)(39860400002)(199004)(189003)(6116002)(3846002)(2906002)(305945005)(8936002)(14454004)(7736002)(4326008)(478600001)(54906003)(316002)(386003)(25786009)(256004)(53936002)(50226002)(99286004)(81166006)(71200400001)(8676002)(14444005)(71190400001)(66556008)(66476007)(36756003)(64756008)(68736007)(66946007)(66446008)(26005)(186003)(102836004)(6506007)(6306002)(6512007)(66066001)(86362001)(486006)(52116002)(2501003)(476003)(81156014)(6436002)(5660300002)(6486002)(2616005)(110136005)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR04MB4394; H:DB7PR04MB4636.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: tVa2Lkymr2TfPjCTf4+uaPKGAo6CkJYPUn4bfB2UyoKMDIgZ+DHiVNzrqeF+/l/yspjyK3sSg9oJ5AF2RnsP/IKywDRVEraqXoVMWrr0aTHoWLMatdjH5F7nh07+x88LvfAZJ9aZdweEwgvELDjtcCHP36uNH8LYi8kQK+mSbOcXrAXnn1kRrxxBhyOM/N/B29Q95enddcX9Y9BPbwaS7KpvY34ZjbChoO0g5Ujh9a5ezILngjiWQF06ZQMcjW7R4ouzM+GbLXnC7UCoLyESWMUqhF0m/EetoRwlpZNYuWH2uWOyOeWQJ/7KeA8yDBtm0aEX5H59U+PhTUI9mI+aWaq1SkNT9EdCJ1e7XRzyOY0C+OQRnvWzfA4hSNI/vyhrwOsARx2VnAkKDl3596j4pMiLJqRrthbSLDDsmLPPDvQ= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f9db7ab3-ca62-44c1-6d98-08d70bb9e2a5 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jul 2019 19:55:29.7610 (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: breno.lima@nxp.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB4394 Cc: Breno Matheus Lima , "u-boot@lists.denx.de" Subject: [U-Boot] [PATCH] mx6ulevk: Include SDP boot instructions in README X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" Add instructions on how to boot mx6ul_14x14_evk_defconfig target using the Serial Download Protocol (SDP). Add examples for uuu and imx_usb_loader tools. Signed-off-by: Fabio Estevam Signed-off-by: Breno Lima --- board/freescale/mx6ul_14x14_evk/README | 46 ++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/board/freescale/mx6ul_14x14_evk/README b/board/freescale/mx6ul_14x14_evk/README index 1edccf688c..2d7ea2b902 100644 --- a/board/freescale/mx6ul_14x14_evk/README +++ b/board/freescale/mx6ul_14x14_evk/README @@ -9,6 +9,9 @@ $ make This will generate the SPL image called SPL and the u-boot.img. +1. Booting via SDCard +--------------------- + - Flash the SPL image into the micro SD card: sudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1; sync @@ -30,3 +33,46 @@ switch label numbers reference). - 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: + +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. + +- Universal Update Utility (uuu): + +The UUU binary can be downloaded in release tab from link below: +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 + + SDP: boot -f SPL + SDPU: write -f u-boot-dtb.img -addr 0x877fffc0 + SDPU: jump -addr 0x877fffc0 + SDPU: done + +Power on the target and run the following command from U-Boot root directory: + + $ sudo ./uuu uuu_script + +- imx_usb_loader tool: + +The imx_usb_loader tool can be downloaded in link below: +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