[U-Boot] is it mandatory for SPL to support DM

Simon Glass sjg at chromium.org
Tue May 26 14:36:05 CEST 2020


Hi Marek,

On Mon, 25 May 2020 at 13:06, Marek Vasut <marex at denx.de> wrote:
>
> On 5/25/20 6:59 PM, Simon Glass wrote:
> > Hi Marek,
> >
> > On Mon, 25 May 2020 at 09:56, Marek Vasut <marex at denx.de> wrote:
> >>
> >> On 5/25/20 5:48 PM, Simon Glass wrote:
> >>> Hi Marek,
> >>>
> >>> On Mon, 25 May 2020 at 09:43, Marek Vasut <marex at denx.de> wrote:
> >>>>
> >>>> On 5/25/20 5:36 PM, Simon Glass wrote:
> >>>>> Hi,
> >>>>>
> >>>>> On Mon, 25 May 2020 at 04:35, Marek Vasut <marex at denx.de> wrote:
> >>>>>>
> >>>>>> On 5/25/20 10:44 AM, Jagan Teki wrote:
> >>>>>>> SPL has a foot-print constraint, so fully switching a particular
> >>>>>>> subsystem like SPI or SPI Flash to DM would increase the size of it.
> >>>>>>>
> >>>>>>> Possible areas to look at are (assume SPL_DM supported)
> >>>>>>> 1) platdata
> >>>>>>> 2) implement board or platform specific spl device driver which
> >>>>>>> bypassed the actual framework ex: spl_spi_sunxi.c
> >>>>>>>
> >>>>>>> Do we have any other solutions? or any arguments on above step 2?
> >>>>>>
> >>>>>> SPL does not need to support DM until the size problem is solved.
> >>>>>
> >>>>> I don't think the problem will ever be 'solved'. It is an ongoing battle.
> >>>>>
> >>>>> But as it happens I've just sent a proposal for tiny-dm that I think will help.
> >>>>>
> >>>>> Jagan, which board are you trying to convert? If you are trying to
> >>>>> convert SPI flash, I think we need to remove the legacy code first.
> >>>>
> >>>> If you want a board which boots from SPI NOR and has some 14k or so
> >>>> limit on SPL, any of the R-Car Gen2 boards fit the bill.
> >>>
> >>> Thanks...do you have a link to one?
> >>
> >> https://elinux.org/R-Car/Boards/U-Boot-Gen2
> >
> > I mean a link to buy one...if not too expensive. The links on those
> > pages all go nowhere. Digikey lists it as a 'non-stock' item.
>
> Y-RCAR-E2-SILK-A is probably the one you want then. I got it from Mouser
> iirc.

It looks like it is obsolete and out of stock. I think I'll try rock2 for now.

Regards,
Simon


More information about the U-Boot mailing list