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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 94C64C5479D for ; Mon, 9 Jan 2023 13:31:00 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DF88185602; Mon, 9 Jan 2023 14:30:41 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=endlessos.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=endlessos.org header.i=@endlessos.org header.b="HCnSDM4W"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4C99B82F69; Mon, 9 Jan 2023 09:18:54 +0100 (CET) Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 935138039E for ; Mon, 9 Jan 2023 09:18:51 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=endlessos.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jhp@endlessos.org Received: by mail-pj1-x1036.google.com with SMTP id bj3so4761101pjb.0 for ; Mon, 09 Jan 2023 00:18:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=endlessos.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7424oeTAP/xeL6z3LNWP64IWcXhMvcSVmfX6s9AWnK4=; b=HCnSDM4W8bKS5EIUu7if1ayu5pck4KbvseVEvpBfEOuf2dca6F00Rh70ZnRCjVL6AU qrAFa/2RlexyClKrhzC0TVjWyxFe1HZNuCUJIQOI14Jh3ikArNQwpYabVVTnt3QULUhC uDjnf8yGHnib8DNw9fAiTVC61ZP4jcR5kGHiKXl8enchjyKX7WAz7yc2gzj4FHCqlrVG fNGDDvevchkE18kpDZaKpP7MESEijFlZgEhmukfkwXm4lBJbLvHBMdRZnlw33I72+z84 h4qzkzM3LMjSVCLP39DgzSEHJ+9vTcbPoNFXvyIlOtDXwFLZoTBf3w5ZHkO9VoB2uXza /fUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7424oeTAP/xeL6z3LNWP64IWcXhMvcSVmfX6s9AWnK4=; b=NVEfJqoZmLk4cyQ2/Z+VciiOi0p2IlcWG56s8rKXSeXU2giGmaJwQrd8OXom0eJtnT ZWGke8UreRDQ8I/+f/f8T7xRafZ6HoRnijMq7+NOEdZIsmBgdeqLi2Yb2F6k4CvXIjht 5cgY8gX660/dS/AakvVTUkf6LfNL15e0KGn6/ZiqLn4kdBjdCe/VP5Zd09HtyvcyHNDe XZ/0kroVTpNqMIYjX3ZJwBvfr3T2tDLhBOQZs+PgmS4GWnTgW6qcRU+ximxXVzaOxGOk jSC+epUhm1HujzYbWPwlRYMdQPPt1g+2M/L5YDmIsTBJdHp0CuvBHJG7cA/4Zl2QMIYr Jp0g== X-Gm-Message-State: AFqh2krStUUUost+yoIlfydGaYi4F9WfeKVfVBLgMYguGm3UCR2jXIMT qek9igtBFND3LkdWsgmm0aSwrw== X-Google-Smtp-Source: AMrXdXsoO3ytKfFZsrEY68Acu4ToYJVl9mbecwdCdluUhfofufCnqE+jNaY9vgkMhGVtZZ1XU5143A== X-Received: by 2002:a17:90a:af91:b0:219:de9b:f397 with SMTP id w17-20020a17090aaf9100b00219de9bf397mr67941631pjq.3.1673252329688; Mon, 09 Jan 2023 00:18:49 -0800 (PST) Received: from localhost.localdomain (1-171-155-210.dynamic-ip.hinet.net. [1.171.155.210]) by smtp.googlemail.com with ESMTPSA id on16-20020a17090b1d1000b0020b21019086sm12206372pjb.3.2023.01.09.00.18.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Jan 2023 00:18:49 -0800 (PST) From: Jian-Hong Pan To: Antoine Mazeas Cc: Peter Robinson , Mattias Brugger , u-boot@lists.denx.de, Sjoerd Simons , Stefan Wahren , linux@endlessos.org, Jian-Hong Pan Subject: Re: [RESEND,0/2] rpi: Copy eth PHY address from fw DT to loaded DT Date: Mon, 9 Jan 2023 16:18:15 +0800 Message-Id: <20230109081815.18624-1-jhp@endlessos.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20220819085646.341575-1-antoine@karthanis.net> References: <20220819085646.341575-1-antoine@karthanis.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Mon, 09 Jan 2023 14:30:29 +0100 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean > Sjoerd Simons submitted the original patch (0001) to carry over some > firmware-provided properties into the loaded device tree. This did not fix > an issue with Raspberry Pi 400 rev 1.1 boards which would not be able to > find the ethernet PHY device at the address specified by the kernel device > tree. > > Patch 0002 expands on Sjoerd's design to also carry over the real ethernet > PHY address, enabling the kernel to find and enable a working ethernet on > pi 400 rev 1.1 boards. > > > Antoine Mazeas (2): > rpi: Copy properties from firmware dtb to the loaded dtb > rpi: Copy eth PHY address from fw DT to loaded DT > > board/raspberrypi/rpi/rpi.c | 51 +++++++++++++++++++++++++++++++++++++ > 1 file changed, 51 insertions(+) Thanks!!! These patches help u-boot boot Endelss OS on RPi 400. Tested-by: Jian-Hong Pan