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 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6DA8BC433EF for ; Thu, 28 Apr 2022 23:26:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) id 2A1C5C385AE; Thu, 28 Apr 2022 23:26:58 +0000 (UTC) Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id 6B47FC385A9; Thu, 28 Apr 2022 23:26:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.kernel.org 6B47FC385A9 Authentication-Results: smtp.kernel.org; dmarc=none (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.kernel.org; spf=pass smtp.mailfrom=lunn.ch 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=J2DaY/L9lR+odLjYmINpHt4Diez0fj7s9J9Uzcl4Ln0=; b=6KnF6zerY+KrTa1cLe6DCvGd5y GZXEPgoOzzmFz/0GOMR5X0/NE/IW7oooQM0FUyv7PT3kdCmG/0iOgB4LOA7uP54hHjJtmwc9dykRR wY9wL+iBkis6PnYNZHYEXfdUgoyOaJxaVyoBLbDGG3qHSlHFovaRahU8Ydcjs7QiQGog=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1nkDWz-000OOo-Bt; Fri, 29 Apr 2022 01:26:41 +0200 Date: Fri, 29 Apr 2022 01:26:41 +0200 From: Andrew Lunn To: Mauri Sandberg List-Id: Cc: Arnd Bergmann , SoC Team , Linux ARM , DTML , Olof Johansson , Rob Herring , Krzysztof Kozlowski , Sebastian Hesselbarth Subject: Re: [RFC RFT PATCH v1 0/1] ARM: orion5x: convert D-Link DNS-323 to the Device Tree Message-ID: References: <20220427162123.110458-1-maukka@ext.kapsi.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Apr 28, 2022 at 11:25:00PM +0300, Mauri Sandberg wrote: > Hello Andrew! > > On 28.4.2022 3.18, Andrew Lunn wrote: > > > > - there is no concensus on how to get ascii formatted MAC address from mtd > > > > partitions so eth is not fully functional without setting the MAC from > > > > userspace > > > > > > Ideally this is handled by the boot loader, but that requires being > > > able to update > > > it. > > > > The mv643xx Ethernet driver is happy if it finds the MAC address > > already in the hardware. The vendor uboot often does this. Does tftp > > boot work in uboot? That would indicate it has access to the MAC > > address. > > The u-boot is really limited and I am transferring new images over kermit. Ouch! If you can, try kexec. You can use wget or similar to grab the kernel from you host machine, and then something like: kexec --append 'rootwait ro earlyprintk console=ttyS0,115200n8' bzImage wget will be much faster then kernel. Andrew 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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 077A3C433F5 for ; Thu, 28 Apr 2022 23:27:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ZGAjNykoxUZB7sAWrefuW2e98jf889bmJ+6sRG8djcw=; b=tPGD4tnQYjwa5c 01XvwLeuizDq6vlnNoBwt0ozqAFcaBO+wokokyI8nlcl1f/VbLtHiofGDlvURTYR6rWdFnLYbSMn7 jjiyvnWcx6Or7DYj9eeCCAc2NLMm/Izdmiwqt5892M7x16Z3kUFInpyFIWmO1nKg4YRBacWQ1QuSm 25o+ZyHsx09P7Bo5mk6Jy4hVrfn8lAgOqW1v/5VKcPHkyZP2By/nd0rtAHK8fSdsk7LNQIx4ckPWz EyJVyGNX8AFr5QjGqAQlH29/po1qcX/aVrA3AA9jtX1s/0mzTP/baIhRO1WnzPtbFmEAOxFA/m93T +8B1uBouARK2Pnjm+RsA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nkDXA-0091Ca-3H; Thu, 28 Apr 2022 23:26:52 +0000 Received: from vps0.lunn.ch ([185.16.172.187]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nkDX7-0091CE-1y for linux-arm-kernel@lists.infradead.org; Thu, 28 Apr 2022 23:26:50 +0000 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=J2DaY/L9lR+odLjYmINpHt4Diez0fj7s9J9Uzcl4Ln0=; b=6KnF6zerY+KrTa1cLe6DCvGd5y GZXEPgoOzzmFz/0GOMR5X0/NE/IW7oooQM0FUyv7PT3kdCmG/0iOgB4LOA7uP54hHjJtmwc9dykRR wY9wL+iBkis6PnYNZHYEXfdUgoyOaJxaVyoBLbDGG3qHSlHFovaRahU8Ydcjs7QiQGog=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1nkDWz-000OOo-Bt; Fri, 29 Apr 2022 01:26:41 +0200 Date: Fri, 29 Apr 2022 01:26:41 +0200 From: Andrew Lunn To: Mauri Sandberg Cc: Arnd Bergmann , SoC Team , Linux ARM , DTML , Olof Johansson , Rob Herring , Krzysztof Kozlowski , Sebastian Hesselbarth Subject: Re: [RFC RFT PATCH v1 0/1] ARM: orion5x: convert D-Link DNS-323 to the Device Tree Message-ID: References: <20220427162123.110458-1-maukka@ext.kapsi.fi> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220428_162649_131656_8621F28C X-CRM114-Status: GOOD ( 14.83 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Apr 28, 2022 at 11:25:00PM +0300, Mauri Sandberg wrote: > Hello Andrew! > > On 28.4.2022 3.18, Andrew Lunn wrote: > > > > - there is no concensus on how to get ascii formatted MAC address from mtd > > > > partitions so eth is not fully functional without setting the MAC from > > > > userspace > > > > > > Ideally this is handled by the boot loader, but that requires being > > > able to update > > > it. > > > > The mv643xx Ethernet driver is happy if it finds the MAC address > > already in the hardware. The vendor uboot often does this. Does tftp > > boot work in uboot? That would indicate it has access to the MAC > > address. > > The u-boot is really limited and I am transferring new images over kermit. Ouch! If you can, try kexec. You can use wget or similar to grab the kernel from you host machine, and then something like: kexec --append 'rootwait ro earlyprintk console=ttyS0,115200n8' bzImage wget will be much faster then kernel. Andrew _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel