From patchwork Thu Jul 18 14:43:24 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: 1133754 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="AK5QoU7W"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45qH1w1h1sz9s8m for ; Fri, 19 Jul 2019 00:43:32 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id D97BEC21FB2; Thu, 18 Jul 2019 14:43:29 +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 E0054C21DED; Thu, 18 Jul 2019 14:43:27 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 9B638C21DED; Thu, 18 Jul 2019 14:43:26 +0000 (UTC) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80089.outbound.protection.outlook.com [40.107.8.89]) by lists.denx.de (Postfix) with ESMTPS id 10950C21C8B for ; Thu, 18 Jul 2019 14:43:26 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HSY8s10bmdOufbhaxAvSw7AdTV339hBZ8YzQ3Hu6CdFxIt48VsNCzyxGEgIIeXtQSbXwYET52POMhmHEMSauwUppemywlCvLJz5xYxheD3/0H4cspCguFmbhQ4/yA+RHX+CLhLqcF3/mIb+mOHeN9/HC0TWQJeRnvC5hpJ9lr5Shwl5IvNUZhJHEhTJ0N8WSZ8diY8kPKa7Q0vIJYpYa9mwHPSpJokkehuGR0tJC8aBeuB6pNUDUkRboy6u5TW+CsvwLqggkydK4PS7FVZ0hojNEvkciz2Wc3+9XKG2sT+1An40uxiNHq02POr4fv6AnmpSVCrgNLNGv7bhclphiNg== 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=0uEkXkoLaSH8b54g+wrA9aIH/9X/IiPEAlNdEculbeg=; b=Mou7afaOnIVnLSXWG+gbElcQr8QuIZvDji8fgdfwQ1Eb6okKCntTOjESLKTBOyITYkftciBvyQ5ttHp4Lh3+HoyLwSrym1FmxF6JJJVNF9rzxvOOuGtSPUttYc1M7H+SNW9QGQZFlBrYP2FdXRRHF47KlG+y6t+QTfDrD1nJJkVA5Ul3gi5Uh7kyz9kzi0rZz9ds8iZ2+sImtpnFicY5gXr8vcMy17f3rV/tjrBhZc4LAI3ca4DAYSY3ewHHoReQEx2x2RDPcrUoOhwrFmmoDb7JwLn1jprX32DCkbhbcVr8aI4V8OQK+k41AHjihyv9GlocW5YtIjOKgHqYNsdsgA== 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=0uEkXkoLaSH8b54g+wrA9aIH/9X/IiPEAlNdEculbeg=; b=AK5QoU7WPMmCrwVKN1AAQIDf8JrfvHGC8iKT1MwgDK2KtUSjGZXIT+dxPvD+bYnjoEGJanB1kUUGLN18LjWjFRiBhRu15/TpE2z8wQ1Ip95gHy+sJQ6PNYLXXGGWKXnRSGrhvYjQ5t+iawPvZ2ebLTzlri69iOS6YTp0bYLzU+s= Received: from DB7PR04MB4636.eurprd04.prod.outlook.com (52.135.134.158) by DB7PR04MB4697.eurprd04.prod.outlook.com (20.176.233.26) 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 14:43:25 +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 14:43:24 +0000 From: Breno Matheus Lima To: "festevam@gmail.com" , "sbabic@denx.de" Thread-Topic: [PATCH] mx6ulevk: Add support for SDP boot in SPL target Thread-Index: AQHVPXcnXxk79jz3/U+sa1RSnMh55g== Date: Thu, 18 Jul 2019 14:43:24 +0000 Message-ID: <1563460986-345-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: AM6PR10CA0080.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:209:8c::21) 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: 0e5cf1e5-7f19-4551-2e86-08d70b8e49a9 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:DB7PR04MB4697; x-ms-traffictypediagnostic: DB7PR04MB4697: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:309; x-forefront-prvs: 01026E1310 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(346002)(376002)(136003)(396003)(366004)(189003)(199004)(4326008)(52116002)(66066001)(186003)(316002)(102836004)(86362001)(486006)(6506007)(2616005)(26005)(386003)(476003)(6436002)(53936002)(6486002)(14444005)(6512007)(71200400001)(64756008)(71190400001)(256004)(25786009)(99286004)(110136005)(478600001)(81156014)(305945005)(7736002)(2501003)(2906002)(54906003)(36756003)(5660300002)(66446008)(66476007)(14454004)(8936002)(8676002)(6116002)(68736007)(66946007)(3846002)(66556008)(81166006)(50226002)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR04MB4697; H:DB7PR04MB4636.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: gopTSaTvk78Qh8bkE6o0D05urNiG1Cug8a+3IOdFI6Ov9ML9hj7drEofCx+2GOYpdrfmOdFdnOxd69dNuJnfEq9PTYv5350bf5QLK22ua+05W2dowNT0u6sE586yFhE+1lSOXDeZJuhfgfTkUGVRLju/1w9dhrMISrPZticMcUVVXFWBmw5RH+HP7uwtxjkWa+VZ9m7EnVvzvJk7DLgVqJEbSXxZ1aJ95IWqE3C+z/hUd2P1JuVzbo0VANlWlC6l3BFE219wXhjaDcxDt6RWDRedEW1eSKUw5WyxYxLMt76OhEOdhKaDpWjce1FJOx/kaWnZ5DjNeONaITVep2i5RcGKRAiIvYP3H1WpxRcWNMZKdLle8smSc30ZJyuXor1oLxD8E1G30iaK5JanBMw+JZRcpT7/FbIKbmkyV7Zp+a4= MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0e5cf1e5-7f19-4551-2e86-08d70b8e49a9 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jul 2019 14:43:24.8828 (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: DB7PR04MB4697 Cc: Breno Matheus Lima , "u-boot@lists.denx.de" Subject: [U-Boot] [PATCH] mx6ulevk: Add support for SDP boot in SPL target 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" Currently it's not possible to boot mx6ulevk board using imx_usb_loader tool: U-Boot SPL 2018.03 (Jul 18 2019 - 10:05:17 -0300) SPL: Unsupported Boot Device! SPL: failed to boot from all boot devices Enable necessary configuration in defconfig file. Signed-off-by: Breno Lima Reviewed-by: Fabio Estevam --- configs/mx6ul_14x14_evk_defconfig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/configs/mx6ul_14x14_evk_defconfig b/configs/mx6ul_14x14_evk_defconfig index 1d777b5fb2..4d12a7cb16 100644 --- a/configs/mx6ul_14x14_evk_defconfig +++ b/configs/mx6ul_14x14_evk_defconfig @@ -19,9 +19,13 @@ CONFIG_BOARD_EARLY_INIT_F=y CONFIG_SPL_TEXT_BASE=0x00908000 CONFIG_SPL_FS_EXT4=y CONFIG_SPL_I2C_SUPPORT=y +CONFIG_SPL_USB_HOST_SUPPORT=y +CONFIG_SPL_USB_GADGET=y +CONFIG_SPL_USB_SDP_SUPPORT=y CONFIG_SPL_WATCHDOG_SUPPORT=y CONFIG_HUSH_PARSER=y CONFIG_CMD_BOOTZ=y +CONFIG_CMD_SPL=y CONFIG_CMD_MEMTEST=y CONFIG_CMD_GPIO=y CONFIG_CMD_I2C=y @@ -67,4 +71,9 @@ CONFIG_FSL_QSPI=y CONFIG_USB=y CONFIG_DM_USB=y CONFIG_USB_STORAGE=y +CONFIG_USB_GADGET=y +CONFIG_USB_GADGET_MANUFACTURER="FSL" +CONFIG_USB_GADGET_VENDOR_NUM=0x0525 +CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5 +CONFIG_CI_UDC=y CONFIG_VIDEO=y