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 62CF7C7EE2F for ; Mon, 12 Jun 2023 19:02:20 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E90CA85FA5; Mon, 12 Jun 2023 21:02:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.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=kernel.org header.i=@kernel.org header.b="F9/WsX7B"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EA5BF8211C; Mon, 12 Jun 2023 21:02:14 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id F1BA2801AF for ; Mon, 12 Jun 2023 21:02:11 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=kabel@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A34D061E9A; Mon, 12 Jun 2023 19:02:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0110FC433D2; Mon, 12 Jun 2023 19:02:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686596530; bh=1Hucn9z4vukABdxTeVsEICTXIKDeHEexhjRuK/ts+p0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=F9/WsX7BUyBjpOZ/AnhEfQRphIBYME6M/T3PRj3l5gi7EYYlCxVC5NhGsA4uJrvGO uMdRCzVBMKgvtDmnq/zfzeJ41koSqRCOU+Tdzv8gJWnl/0UKlrJPnpV+KwKFb9LEMJ dDdtzMIkWlu0bCaUIR3w0RV+qv2OHsSBVIyWkXz0Oj1Mo7tYimhG8F5fjERJ80Qh3w l6Vg+F552jQzpd+Cqi9KWQWmgU5tUC0yhDEA8ihZE9kY97i5dCcTploiwEbbS9vRQD LEP2NXgzaz/h3JlGqy16vwz6U+xCIye7StDBMP7dFzrzYbW17mFTUoCnvlVHU60l4I 8jwaY9a6kGNRg== Date: Mon, 12 Jun 2023 21:02:02 +0200 From: Marek =?UTF-8?B?QmVow7pu?= To: Tom Rini Cc: Pali =?UTF-8?B?Um9ow6Fy?= , Priyanka Jain , Sinan Akman , u-boot@lists.denx.de Subject: Re: [PATCH v2] powerpc: Add support for CZ.NIC Turris 1.x routers Message-ID: <20230612210202.0988c57f@thinkpad> In-Reply-To: <20230612180724.GA2757833@bill-the-cat> References: <20220516090119.20217-1-pali@kernel.org> <20220817205622.26644-1-pali@kernel.org> <20230612180724.GA2757833@bill-the-cat> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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.8 at phobos.denx.de X-Virus-Status: Clean On Mon, 12 Jun 2023 14:07:24 -0400 Tom Rini wrote: > On Wed, Aug 17, 2022 at 10:56:22PM +0200, Pali Roh=C3=A1r wrote: >=20 > > CZ.NIC Turris 1.0 and 1.1 are open source routers, they have dual-core > > PowerPC Freescale P2020 CPU and are based on Freescale P2020RDB-PC-A bo= ard. > >=20 > > Hardware design is fully open source, all firmware and hardware design > > files are available at Turris project website: > >=20 > > https://docs.turris.cz/hw/turris-1x/turris-1x/ > > https://project.turris.cz/en/hardware.html > >=20 > > This patch adds full U-Boot support for CZ.NIC Turris 1.x routers. P2020 > > BootROM can load U-Boot either from NOR flash or from SD card. So there= is > > defconfig file turris_1x_nor_defconfig which builds NOR version and > > defconfig file turris_1x_sdcard_defconfig which builds SD card version. > >=20 > > Design of CZ.NIC Turris 1.x routers is based on Freescale P2020RDB-PC-A > > board, so common board code from boards/freescale/p1_p2_rdb_pc director= y is > > shared and linked also into Turris 1.x U-Boot board code. > >=20 > > Turris 1.x code in this patch uses modern distroboot and can boot Linux > > kernel from various locations, including NAND, SD card, USB flash disks, > > NVMe disks or SATA disks (connected to extra SATA/SCSI PCIe controllers= ). > >=20 > > Signed-off-by: Pali Roh=C3=A1r =20 >=20 > To be clear, this is something that if there's still interest in > upstreaming this platform, this patch needs to be rebased and re-tested > as it's non-trivially out of date. In addition: I promised Pali over a year ago that I will work on this - solve issues in how things changed in U-Boot and rebase so that it can be merged. It is very embarrasing for me that I still haven't done this, and I really get why Pali is frustrated :-( But I haven't forgotten about this, I simply really did not have enough time - I've been working on other things Turris related. We are currently in the process of hiring new people for kernel development. Hopefully this will enable me to look into this. Marek