Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934523AbdCVO2L (ORCPT ); Wed, 22 Mar 2017 10:28:11 -0400 Received: from mail-by2nam01on0064.outbound.protection.outlook.com ([104.47.34.64]:25600 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1759245AbdCVO2C (ORCPT ); Wed, 22 Mar 2017 10:28:02 -0400 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=fail action=none header.from=nxp.com; From: Leonard Crestez To: Shawn Guo , Sascha Hauer CC: Leonard Crestez , , Fabio Estevam , Fugang Duan , Octavian Purdila , Florian Fainelli , Subject: [PATCH] ARM: imx_v6_v7_defconfig: Select SMSC_PHY Date: Wed, 22 Mar 2017 16:27:37 +0200 Message-ID: <82d0aeeaed87ae5c9390b889cef4c54d715cde61.1490191972.git.leonard.crestez@nxp.com> X-Mailer: git-send-email 2.7.4 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131346664800240661;(91ab9b29-cfa4-454e-5278-08d120cd25b8);() X-Forefront-Antispam-Report: CIP:192.88.168.50;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(336005)(39450400003)(39400400002)(39840400002)(39850400002)(39380400002)(39860400002)(39410400002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(9170700003)(77096006)(118296001)(356003)(305945005)(33646002)(189998001)(5660300001)(106466001)(105606002)(50986999)(50466002)(48376002)(36756003)(47776003)(81166006)(4326008)(8936002)(38730400002)(39060400002)(8676002)(50226002)(2906002)(104016004)(5003940100001)(53936002)(6666003)(8656002)(86362001)(85426001)(54906002)(15760500002);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR03MB2794;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;MLV:ovrnspm;A:1;MX:1;PTR:InfoDomainNonexistent;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BN1BFFO11FD017;1:X3cTii+Z4byvWtaZ+hbAolxNusIHQLoHOBEaWUBa70vl61d6yvjlNSLIDipn3rVPsEWOGhRaWGG2E+9Ve8hO7ZOAgLze7zA8WWZUO5r7PaUv7fIzirn8BZcfzigyyfFGnJ0d2TmYhSTTC8ShoS81nvSw4YEitCxN8H7Pnj1nMREyK7G3MRY1F3acWTZSnRqqlyufVU5Dsg/EI6DDgWEFCtGIyJ4AEBoB0odWSsRoiu3SkZyBVGwW6jn2G9RMkg/KnpS05+Mp3hko5YO50i/agEKVyAHJ1ya6CuHsAUeGD7MADypPdg+UDug+d4NrEbOqA+gX7KsZy2ZdASIEp6EDlCX6uutq3x+dDAzEMh21GWtD6pMspRvC+s0kypneWUWxbZLN8D3+WihjXa8B1SwLFBIlTzs++QuLNudtlEP+pc/EoZrSZvGqo+ntxQythsK8qoD0XV8TbmdqcYtSkBIfEQSJIZ6Iu8nNZd3QFdzk7zG3eQhSjqWXoWH2gsv0u/dTJXMkqaR/Tpi6LER/RGhrhEw0V5vdLTje0lb/EgFK0FQlmn+meocU1P+T1zk9iPsa2Ffk0gNeJmnaVo2yfJnh6DK1s9poAT45tqJkci8+6vw= MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 7f1b0288-9d2b-4c14-b925-08d4712fa43d X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:DM5PR03MB2794; X-Microsoft-Exchange-Diagnostics: 1;DM5PR03MB2794;3:Hn/XUNHxKnJ9AzFJ+/veK6zHaR5aLnf4RIJDu3iXCx8Z8t7v293rjocNQoOyUJNxdN+TWUYhGZfWycaqU5wmRbLqPgPXJj8fMyLrxpsg09hMIp3wH/961itwhCAufPnTI3UoyYsuP3T+IHo9KgcYxE6E5PBrMJGS+ANX5GPtqvB3nSzgH7WSRZ92URE2FoDxx3QcEI07Jksnx5DiXOZGq7dYMFg3/D2COnaNddtuV4EVpYCJZ3tmFiwDmqzw2InH0vs74WYuipdRj1wjiej2K96e+OD8DsSgkuMd51tl0fELVNYadrOb4+eiNjN2JlePatq2MMfFF9Bh0aMj1u7hJ6BgUqN0waMdKULUfPKeFaa0yfYkyZPRg3RCL1OaFFDr;25:80fOOMs/n1cKcfjPSuXIaFR47pu7WhVmi+am3ZEnVH1SJqQoCovSRpjIo7/6S1I+6+aVA8uhZdi6iXLuxmu1fkpk8syRc9G2OJ1iXyNpdubnSqGMRa5B1mQtLZ36OmSFZcBGuk1CMUhYt4fvWzsVgY5lpjWKnkeCbry32ZUIMb3fL0VhMK9vBbGdgIDwoQ0oE8xRO7G2PDkL51/+RHKl6mDu0YGklk4VluORGfP07e3GMIW2f9o9cducBOXWsa5ITA+JhHDmm3M4clXp2aMROkqcUp5SeZX+HN+m+VshPs+c9DDhM8Z383Iif2/9ct94LTfU+4wL7e3xFKw2zR7+fa4Nr91+6wBlInPhWciSeLWFBaL8Pmf6RM7d2FY4zyuFjU75Rc2GTejy5/rTBL2Pd49F4bZYzDZ+2x9GRKDqAWLcW6uZ7H4ZJunOVyVVfIsSngseRxHD75NwKDnVTygf5w== X-Microsoft-Exchange-Diagnostics: 1;DM5PR03MB2794;31:Ra5sjS23MR2B8NEoJxqjeUdWBbogUpYvV5uA2R4iJ5GqP58DFRYNaZjJwya+GJG93f0+Odr+YtuV+SL4ll+kpSaO/wja56cl8pzhvjZ7DlMmfEwjjX2swL62ZUqAa3OgSrY17taB8XqKNOpN1I1Wx57jiPNn1dxS6hy8wsRBdmm8rhPhnS5kL0QbCshsgs+Nsif8zDM2mZ/ARN8J5hNNKl/huk8Odmhf4HXqAfjpO/nCCL7KzEsVaVGLo6+8r3UtvmWcYIQOOLgSjgcsd/nsfg== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6095060)(601004)(2401047)(8121501046)(13024025)(13017025)(13015025)(5005006)(13018025)(13023025)(10201501046)(3002001)(6055026)(6096035)(20161123561025)(20161123556025)(20161123559025)(20161123565025)(20161123563025);SRVR:DM5PR03MB2794;BCL:0;PCL:0;RULEID:(400006);SRVR:DM5PR03MB2794; X-Microsoft-Exchange-Diagnostics: 1;DM5PR03MB2794;4:kjkmb1g4GxCzw8s2Xe+6o7RGaobjjflvvBgayF4e3qhrCNNhVaClLxDF+GsQaUgG1vBVSJ0YPnyPHE4oR4EZAI/FmceSbd52+D94P40AGmnVrq4B0ke9WtFUsdY/K5dPaOMtLCXfpFsUWdLcLnqF2vUEhj4GAcDYrHnnYj0Utm072eW5XAOt0JWjWlU/adhH4ij68zDYMGiN4qorHhAes0+HehzyxBoHYcoRy13laLBvXdSePBqKdIoMxr+X4s5jx2lSn80SLiIpTjyAxPP65bgrw8BA8OSfgxF0swPdPArLUrRhc/9yxuueVvKhfUZPib9dgguTBp4l/N5HLNUDincoSp818tpud3E21QzUc8HjADWJ07+F0eiChFDAVrfdENu3kpK/pESNOFE8d9NAoBvEQBVOjtY+1cQesl9u0Jj5tDSlfxY+PWJYWCIY3bayhkuOTH+bD958z6YvOhLV05zxI+P/qAtu3bOTNbw8VBWB6K6M7yba+I2mwrM3vsf0AwrIrgCGiW9Gark166MQhwx1VSA53DNU8itcvtznFY8Yez9c1voN4Lhxesw2iX5Qu05ZTU3tmWyVboMrEW5RZBDfUCLvs057FvUqsnQZLPrMoS9CRXDQxyClGyglYYZeo3TWoHTsvi8244qS4EKcN7GoCLvSubkeAC5a89qVj/h2bGrmmg9SWirBQPrncJRpCv4JdX58PCLcXhh4trR8+iXekSdA8mX+glibdM2Mx6Zx9WC9J6RLbYO4DkLGQoUP X-Forefront-PRVS: 02543CD7CD X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;DM5PR03MB2794;23:C+t0aUbEEXp8zKebJO42IpG3yXIVkQYycDh5UkUaa?= =?us-ascii?Q?jwtmu8kPAdXJ9iow13DNhIeUkNj0pm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tZxc6huLZgsoWaa6PKv1Po= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;DM5PR03MB2794;7:rkwImzidkrqI1Uc2x66PEErhoHaAOIup9B6jtZDrlN8P3vSO7tjNAji8rw+QLjziZUbgE4CDhog2qFeJ500Xm7tw69PHjhjMSCbLzGwbcbA1Aimnp2xsfuo07ZkyyQs/kW4Wx73oR9rIvz1Wsx5w6dGIVamfgl/gdWR3xIlpMeQuLGO8MYzZ+li7jriiJ1OfwcZXbilUEaEIFLI7jQBDq2aVsfdnxXlK42tEegSwjFgVjeFN+hscVQXM4GDo/7mXKKFouxwfXgYSd+3tNJ7wgY33sT7UD0JmYa6D+OfUSb4RKmhA+1BjxEiM0u3Vk+LoRUZZNajKfIgTEjcDcrqE6Q== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Mar 2017 14:27:59.6808 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[192.88.168.50];Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR03MB2794 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2080 Lines: 57 The imx6sl-evk board has a LAN8720A ethernet phy supported by SMSC_PHY. Add this driver to the default imx config since the device is present on one of the evaluation boards. This used to work mostly fine with the generic phy driver but since commit 0878fff1f42c18e448ab5b8b4f6a3eb32365b5b6 that driver no longer performs a soft reset on startup. This causes netboot to sometimes timeout on DHCP because RX doesn't work right. DHCP is eventually retried and it works the second time but it takes 90+ seconds to get a login prompt. This was generated with "make savedefconfig" and it includes a few additional minor cleanups. Signed-off-by: Leonard Crestez --- I also tried to do some debugging in the fec driver and it apparently receives corrupted packets when this happens. If I hack it to go into promiscuous mode unconditionally it gets a whole bunch of rx errors (crc errors, length errors and so on). So the phy config is probably wrong and is confusing the mac? In theory it might be possible to make that driver "just work" with phy settings from uboot but it's not clear it's worthwhile. arch/arm/configs/imx_v6_v7_defconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index eaba3b1..e605389 100644 --- a/arch/arm/configs/imx_v6_v7_defconfig +++ b/arch/arm/configs/imx_v6_v7_defconfig @@ -143,6 +143,7 @@ CONFIG_SMSC911X=y # CONFIG_NET_VENDOR_STMICRO is not set CONFIG_AT803X_PHY=y CONFIG_MICREL_PHY=y +CONFIG_SMSC_PHY=y CONFIG_USB_PEGASUS=m CONFIG_USB_RTL8150=m CONFIG_USB_RTL8152=m @@ -152,7 +153,6 @@ CONFIG_BRCMFMAC=m CONFIG_WL12XX=m CONFIG_WLCORE_SDIO=m # CONFIG_WILINK_PLATFORM_DATA is not set -# CONFIG_INPUT_MOUSEDEV_PSAUX is not set CONFIG_INPUT_EVDEV=y CONFIG_INPUT_EVBUG=m CONFIG_KEYBOARD_GPIO=y @@ -376,7 +376,6 @@ CONFIG_NLS_ISO8859_1=y CONFIG_NLS_ISO8859_15=m CONFIG_NLS_UTF8=y CONFIG_PRINTK_TIME=y -CONFIG_DEBUG_FS=y CONFIG_MAGIC_SYSRQ=y # CONFIG_SCHED_DEBUG is not set CONFIG_PROVE_LOCKING=y -- 2.7.4