[PATCH] bsps/zynqmp: Allow any or all CGEMs to be enabled

Gedare Bloom gedare at rtems.org
Tue Jun 29 15:21:12 UTC 2021


On Tue, Jun 29, 2021 at 7:50 AM Sebastian Huber
<sebastian.huber at embedded-brains.de> wrote:
>
> On 29/06/2021 15:48, Kinsey Moore wrote:
> > On 6/9/2021 00:27, Sebastian Huber wrote:
> >> On 08/06/2021 22:18, Kinsey Moore wrote:
> >>> Provide the options necessary to enable any combination of CGEM ethernet
> >>> interfaces in LibBSD. The default is still CGEM3, so this should
> >>> continue to operate as expected on typical Zynq Ultrascale+ MPSoC
> >>> development hardware.
> >>
> >> An alternative to this configuration approach would be to enable the
> >> device tree support for this BSP.
> >>
> > Sorry, I missed this earlier due to travel. Device tree support in
> > libbsd for if_cgem.c is currently #ifdef'd out and has been since it was
> > introduced. I had assumed that was the case for other FDT support as
> > well based on the comments in that initial commit.
>
> The device tree support is disabled since the original Zynq BSP was
> added before RTEMS had support for device trees in general. Nobody had
> the time/budget/need to change the BSP to support device trees so far.
>
I'm not sure anyone has the time/budget yet either. FDT support is
challenging for RTEMS because it requires a closer interaction between
a bootloader and RTEMS, which raises legal/license compliance
concerns.  Although I agree that FDT is a great solution, I'm not
certain about the scope (or creep) it implies in terms of the
relationship between RTEMS and Bootloaders/firmware, or whether we
need to produce our own "mini bootloader" that deals with FDT support
early in the RTEMS startup sequence.

Right now, the design eludes me, but I'm certain that requiring users
to U-Boot for FDT support is not the best solution for RTEMS.

> --
> embedded brains GmbH
> Herr Sebastian HUBER
> Dornierstr. 4
> 82178 Puchheim
> Germany
> email: sebastian.huber at embedded-brains.de
> phone: +49-89-18 94 741 - 16
> fax:   +49-89-18 94 741 - 08
>
> Registergericht: Amtsgericht München
> Registernummer: HRB 157899
> Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
> Unsere Datenschutzerklärung finden Sie hier:
> https://embedded-brains.de/datenschutzerklaerung/
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel


More information about the devel mailing list