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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C8A43C433F5 for ; Sun, 10 Oct 2021 17:30:50 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CA25D60F23 for ; Sun, 10 Oct 2021 17:30:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org CA25D60F23 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 278B383616; Sun, 10 Oct 2021 19:30:46 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 48C2483475; Sun, 10 Oct 2021 19:30:44 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by phobos.denx.de (Postfix) with ESMTP id EC0628312F for ; Sun, 10 Oct 2021 19:30:40 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=andre.przywara@arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id AB0291FB; Sun, 10 Oct 2021 10:30:39 -0700 (PDT) Received: from slackpad.fritz.box (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id BC88A3F694; Sun, 10 Oct 2021 10:30:38 -0700 (PDT) Date: Sun, 10 Oct 2021 18:29:06 +0100 From: Andre Przywara To: Chukun Pan Cc: u-boot@lists.denx.de, Jagan Teki , Chen-Yu Tsai Subject: Re: [PATCH v2 0/1] sunxi: Add support for FriendlyARM NanoPi R1S H5 Message-ID: <20211010182906.2a3980b9@slackpad.fritz.box> In-Reply-To: <20211010133657.6370-1-amadeus@jmu.edu.cn> References: <20211010133657.6370-1-amadeus@jmu.edu.cn> Organization: Arm Ltd. X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.31; x86_64-slackware-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On Sun, 10 Oct 2021 21:36:56 +0800 Chukun Pan wrote: > Hi Andre, > > > Please don't include not-yet-merged parts in here. Make a verbatim copy > > of the version in Linus' tree. > > Okay, I remove the not-yet-merged parts in dts. > > > who is reading the MAC address out of the EEPROM, and how > > does it land in the kernel (if it lands there)? > > There is a rtl8153 usb network card on this machine, and it will > randomly generate a mac address when it bootup. I think the mac > address on the eeprom is for this rtl8153 usb network card. Well, fair enough, but how does this MAC address end up in the USB MAC? I guess this misses some code, but IIUC Chen-Yu pointed you to the solution already in the Linux thread. > > So why is CONFIG_MACPWR missing from the defconfig? > > This is my mistake, I'm very sorry about that. Many thanks for the quick turnaround, that looks alright now. I will push it as part of the sunxi PR for v2022.01. > > Thanks, > Chukun > > Chukun Pan (1): > sunxi: Add support for FriendlyARM NanoPi R1S H5 Reviewed-by: Andre Przywara Cheers, Andre > > arch/arm/dts/Makefile | 1 + > arch/arm/dts/sun50i-h5-nanopi-r1s-h5.dts | 195 +++++++++++++++++++++++ > board/sunxi/MAINTAINERS | 5 + > configs/nanopi_r1s_h5_defconfig | 14 ++ > 4 files changed, 215 insertions(+) > create mode 100644 arch/arm/dts/sun50i-h5-nanopi-r1s-h5.dts > create mode 100644 configs/nanopi_r1s_h5_defconfig >