From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.1 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DD4DDC433E0 for ; Sat, 26 Dec 2020 22:28:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A65F2221E8 for ; Sat, 26 Dec 2020 22:28:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726044AbgLZW2i (ORCPT ); Sat, 26 Dec 2020 17:28:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725986AbgLZW2i (ORCPT ); Sat, 26 Dec 2020 17:28:38 -0500 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFD23C0613C1 for ; Sat, 26 Dec 2020 14:27:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=t6QnT0fO9YPaSbnw8Fo1vB8CQDAjMp3+i2/ZDbmweNo=; b=yOPnEfyfkXe2dyyUyvuqFZ6tn qhzWIc6iN4LYzA52otj8XfbwbP2/6jDAuIn1o4ZGamejVWv8NVGxWt+KzqHnjMp7QfGRjeqXIT19I ZD9KlGms98JYr2rlVzK8IGnt72G7BFFvgoDmjZ6XO1H4fTRxr3utIumWH7V9so1vMkgDq7C97iMTK dsk5KwfTwLsUyWwTMMH5eT5dwgvsPr71PMI5+GHbpj9XJ4ehR6Lt4gt3uJDizTkn5x2p7CtK7ryMW JMcdqzQDatkUFOrM4TxOJ3Ss2gC95oG5xh/hjdL4oBasFGvlX2tgfrcxnVlTna6gQ4kvMVflgfyUL yQVCSpwhw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:44550) by pandora.armlinux.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ktI2G-0003dm-Vt; Sat, 26 Dec 2020 22:27:41 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1ktI2G-0007Av-HN; Sat, 26 Dec 2020 22:27:40 +0000 Date: Sat, 26 Dec 2020 22:27:40 +0000 From: Russell King - ARM Linux admin To: Hamza Mahfooz Cc: Heiner Kallweit , netdev@vger.kernel.org Subject: Re: Fwd: Solidrun ClearFog Base and Huawei MA5671A SFP Message-ID: <20201226222740.GE1551@shell.armlinux.org.uk> References: <8394f1c8-0b27-c1aa-37d4-77d65bdccade@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8394f1c8-0b27-c1aa-37d4-77d65bdccade@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: Russell King - ARM Linux admin Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Sorry, this will not work. The MA5671A modules are configured to use dying gasp on pin 7, and pin 7 is grounded on the Armada 388 Clearfog platforms, resulting in the module not booting. I'm sorry, I can't recommend a module; I don't use SFP GPON modules myself. On Sat, Dec 26, 2020 at 11:15:18PM +0100, Heiner Kallweit wrote: > Sounds like something where you may be able to help. > > Heiner > > -------- Forwarded Message -------- > Subject: Solidrun ClearFog Base and Huawei MA5671A SFP > Date: Sat, 26 Dec 2020 16:41:40 -0500 > From: Hamza Mahfooz > To: netdev@vger.kernel.org > > Hey, has anyone got the ClearFog (ARMADA 388 SoC) to work with the > MA5671A? I've to been trying to get the ClearFog to read the MA5671A's > EEPROM however it always throws the following error: > > > # dmesg | grep sfp > > [ 4.550651] sfp sfp: Host maximum power 2.0W > > [ 5.875047] sfp sfp: please wait, module slow to respond > > [ 61.295045] sfp sfp: failed to read EEPROM: -6 > > I've tried to increase the retry timeout in `/drivers/net/phy/sfp.c` > (i.e. T_PROBE_RETRY_SLOW) so far, any suggestions would be appreciated. > Also, I'm on kernel version 5.9.13. > > > -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!