[PATCH v2] powerpc: Add support for CZ.NIC Turris 1.x routers

Marek Behún kabel at kernel.org
Mon Jun 12 21:02:02 CEST 2023


On Mon, 12 Jun 2023 14:07:24 -0400
Tom Rini <trini at konsulko.com> wrote:

> On Wed, Aug 17, 2022 at 10:56:22PM +0200, Pali Rohár wrote:
> 
> > 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 board.
> > 
> > Hardware design is fully open source, all firmware and hardware design
> > files are available at Turris project website:
> > 
> > https://docs.turris.cz/hw/turris-1x/turris-1x/
> > https://project.turris.cz/en/hardware.html
> > 
> > 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.
> > 
> > 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 directory is
> > shared and linked also into Turris 1.x U-Boot board code.
> > 
> > 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).
> > 
> > Signed-off-by: Pali Rohár <pali at kernel.org>  
> 
> 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


More information about the U-Boot mailing list