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=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 59F0BC4338F for ; Sat, 7 Aug 2021 17:45:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2A7B861052 for ; Sat, 7 Aug 2021 17:45:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229590AbhHGRoY (ORCPT ); Sat, 7 Aug 2021 13:44:24 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:38342 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229464AbhHGRoX (ORCPT ); Sat, 7 Aug 2021 13:44:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=BRK5L6T4KuYFCyZr+/n2UE9YDeqkKvXCisEuYuPGvUs=; b=InQaQiNJv8HWTKxhzlTwvkfd1B McuJ/iSsPysKDwhbDgPHVxutMzrMVvKfX0anqHSGTLgg6mtCcPt7Vb34TfMHpGeH1tU9sVC208CkA g7reFzTvn6uLAUU7OWFEUMvCcwInwyELk8Z3/KmtHoiLVqXFDDz6b7GR9PDs2IVhmKy0=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1mCQMf-00GVj9-0S; Sat, 07 Aug 2021 19:44:05 +0200 Date: Sat, 7 Aug 2021 19:44:04 +0200 From: Andrew Lunn To: Dario Alcocer Cc: netdev@vger.kernel.org Subject: Re: Marvell switch port shows LOWERLAYERDOWN, ping fails Message-ID: References: <527bcc43-d99c-f86e-29b0-2b4773226e38@helixd.com> <59790fef-bf4a-17e5-4927-5f8d8a1645f7@helixd.com> <11b81662-e9ce-591c-122a-af280f1e1f59@helixd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Thu, Aug 05, 2021 at 02:44:32PM -0700, Dario Alcocer wrote: > On 7/28/21 12:37 PM, Dario Alcocer wrote: > > On 7/28/21 12:24 PM, Andrew Lunn wrote: > > > Take a look at: > > > > > > https://github.com/lunn/mv88e6xxx_dump/blob/master/mv88e6xxx_dump.c > > > > > > > Many thanks for the link; I will build and install it on the target. > > Hope it will work with the older kernel (5.4.114) we're using. > > I've got a dumb question: is mv88e6xxx_dump intended to be built on the > target, or do I use a cross compiler? I've always built it on the target. In order to make kernel development work easy, i generally use Debian on everything. Sometimes with a USB stick, or a big MMC card, sometimes NFS root. Once the kernel works, then i will move to the production environment, which generally makes a poor development environment, so should be avoided as much as possible. It should be possible to cross compile it, since it uses autotools. Andrew