Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4211838pxf; Tue, 6 Apr 2021 10:29:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqmdZZnMARhKnB5p01bnSSxYnWNlZaxardrvy4Sd2MqlQgYwBkEEYq8RVjfIEGKKFaIpA6 X-Received: by 2002:aa7:d3ca:: with SMTP id o10mr39303707edr.374.1617730166172; Tue, 06 Apr 2021 10:29:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617730166; cv=none; d=google.com; s=arc-20160816; b=bIOsD3YacRMKP8GxYuA2Q/zm/mPWTT6hHLnk2cBtm5OKqXvjZh/NNMywHsYl7m06xg Ua0o+rruMddd1czuu22ARe+A25frNFlsY6E74QPGNir5i5YsBrW0hAhdufOxuanJm+lI vNgJcrzD4UXyAqi3VoBuuV0PptYGr7fMG3Y/BqjMoOirVO2khlFy7ORWnXiXOSpbYWDT mBtmR9QcDg2XQvD1z93BREfEVdD10eBpMEcBaZQEPkqaFH1xhlAiS6FEEkET+VFW1pJ7 ewX8JUENuUR/1DZd4wixFLkveAbDvhvTbMVoTB6vih27lBJIrtE//3fOzHofxT27YceY EZ2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=bHkJf1wV3bHTr0oAvFB6Eaq8Z3cFS9G7NgxWG90yTjU=; b=kPBLQXE571zyzbdZ5qXEbwMhYksoWMyumkjuAaO4t8lgG7yg7ZzZZ+Afh+ac/2yC59 dQSTzl5GhtJPZgPIUCZ6AqHyKF/nQ1NMUlaDgAgJ/pO8VbFs36pouemJ392bdp1d7erO 2KcUDre8/0itXQjVFA2RzJ9G0Q9qByBjuVHocc1J1+Qlkzx68+0Lbr2ib8xN/Vxz8T3z NSSaWkQyyY4tlWukEGDpS6PK8kVVcR6BTbyuSz7ZwCfI7CQarB4T8hQbEJ3daGGa5uBL 7mH85kLFWBNdJpQZ/bye6XP0jjrMr7GWtDFImdh0+JJBxy2GSEqg2zpBYvh5T1qLADkx B6DA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cDJZHb05; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bq23si11588296edb.111.2021.04.06.10.29.03; Tue, 06 Apr 2021 10:29:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cDJZHb05; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240280AbhDFJHH (ORCPT + 99 others); Tue, 6 Apr 2021 05:07:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233581AbhDFJHH (ORCPT ); Tue, 6 Apr 2021 05:07:07 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B1C6C06174A for ; Tue, 6 Apr 2021 02:06:58 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id a6so7341318wrw.8 for ; Tue, 06 Apr 2021 02:06:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=bHkJf1wV3bHTr0oAvFB6Eaq8Z3cFS9G7NgxWG90yTjU=; b=cDJZHb05TlH/4GQelllIxqMgNAG5MjUer9+I8+DYMTKKgU7bQYLVIe19nMAVplaBMe zw0Sza4awUJHqE3sEfPuAvqpIOJILDLZu1FEuSFcqpgCfS4N85ikBrFZyp64Ba3uPrUe WZDa7/giao7LZwDHV63PoT2o0Du1gPoTs0C6sNtIsEG3Q76qVfpNAnvMKrWEzqcMIcFR 0cp48dqYVZjydPgjgxgh1YJE0czjOMv2apNHzMm15L/mVH6WZiHHGBU96mBtbQPz//9T /rUBy0o/x+Qsl+RZcbTMw50qnog/CYJFgHtvMqQsEd7GXAj5NxbUSA6wVltEs20iGt3D SpzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=bHkJf1wV3bHTr0oAvFB6Eaq8Z3cFS9G7NgxWG90yTjU=; b=p0OsSGjurY6fRqNzz2Pwcbf/19unq4CIveJrkwPFjTRIHIykahEHuApexLujkY0eaJ yGPPtpKPxuzJwSDoB8DuuAM80jOdU2orN1HmNiZIw8cWpq1oGLPgrR0E23N2w/JvRqmX HM23CtQC39hTxtP/BzUUGph3l/CvI4guMRUG+vyu4ZsZbU7rIDgdpQaUg3xu4yL+5a7z 5yh3AMDcq/00L2ULAKuaP2e/rp5vcYKv9JLmQxt3nO8LtREaUl75dRdji+gKyU5L66YJ g0k1vDwF2iA0KyhXhJmUcH5HhkoCWlU+9nv3koBykybrYAR/stGcHf5wBgEcwHyqUSE1 dD+w== X-Gm-Message-State: AOAM533aHLHwHxqVzZbK6NZeavnuUUMiL8knNWyOUngVj8UOjMjAz/eu dDNwrL1LQcdu94rNnodFU6s= X-Received: by 2002:adf:f608:: with SMTP id t8mr20320236wrp.104.1617700017248; Tue, 06 Apr 2021 02:06:57 -0700 (PDT) Received: from Red ([2a01:cb1d:3d5:a100:264b:feff:fe03:2806]) by smtp.googlemail.com with ESMTPSA id p12sm30783705wrx.28.2021.04.06.02.06.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Apr 2021 02:06:56 -0700 (PDT) Date: Tue, 6 Apr 2021 11:06:55 +0200 From: Corentin Labbe To: Andrew Lunn Cc: linus.walleij@linaro.org, ulli.kroll@googlemail.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: gemini: sl3516: Mainlining of NS 2502 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le Mon, Apr 05, 2021 at 10:36:32PM +0200, Andrew Lunn a ?crit : > On Mon, Apr 05, 2021 at 08:39:54PM +0200, Corentin Labbe wrote: [ ... ] > > libphy: Fixed MDIO Bus: probed > > mdio-gpio ethernet-phy: failed to get alias id > > That does not look too good. But it is just a warning. > > if (pdev->dev.of_node) { > bus_id = of_alias_get_id(pdev->dev.of_node, "mdio-gpio"); > if (bus_id < 0) { > dev_warn(&pdev->dev, "failed to get alias id\n"); > bus_id = 0; > } > > If you look at the example in the documentation, it has > > aliases { > mdio-gpio0 = &mdio0; > }; > > If you add that, i guess this will go away. > Hello Yes it go away with this > > gemini-ethernet-port 6000c000.ethernet-port: probe 6000c000.ethernet-port ID 1 > > gemini-ethernet-port 6000c000.ethernet-port: using a random ethernet address > > gemini-ethernet-port 6000c000.ethernet-port (unnamed net_device) (uninitialized): PHY init failed > > And now it seems to of all gone horribly wrong :-( > > This is the second Ethernet interface, the one you have commented as > > /* Not used in this platform */ > > I _think_ you just need to delete the entry, otherwise it tried to > probe it. And then that probe fails, it looks like it also fails the > working interface :-( Deleting the entry did no change. It still try to probe it. I will try to delete second interface in gemini.dtsi just in case... > > # udhcpc -i eth0 > > udhcpc: started, v1.33.0 > > udhcpc: socket: Address family not supported by protocol > > That suggests the kernel you have build does not have PF_PACKET. > Enable CONFIG_PACKET_DIAG. Yes adding it fixed this error message. Thanks