[PATCH v1] vexpress_ca9x4: Enable DM_SERIAL

Ole Orhagen ole.orhagen at northern.tech
Mon Jan 29 12:41:31 CET 2024


On Fri, Jan 26, 2024 at 8:57 PM Linus Walleij <linus.walleij at linaro.org>
wrote:

> On Fri, Jan 26, 2024 at 1:48 PM Ole P. Orhagen
> <ole.orhagen at northern.tech> wrote:
>
> > This commit enables support for DM_SERIAL in the vexpress_ca9x4 boards.
> >
> > When running the board with the DM_SERIAL driver, the board ran out of
> > memory in SPL when initialising the DM serial driver.
> >
> > Thus this required an increase in the pre-allocated SRAM memory. I did
> > increase it to 0x800, and it now works graciously.
> >
> > It could probably be set lower, but I do not see any reason not to use
> the
> > available SRAM at this point.
> >
> > Also adds stdout-path to the 'chosen' node in the device tree.
> >
> > Signed-off-by: Ole P. Orhagen <ole.orhagen at northern.tech>
>
> Nice!
> Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
>
> Are you using the actual hardware, or QEMU?
>

I only have QEMU available, unfortunately.


>
> > -       chosen { };
> > +       chosen {
> > +               stdout-path = &v2m_serial0;
> > +       };
>
> Can you please send this patch also to the Linux codebase.
>

Sure can!


>
> Yours,
> Linus Walleij
>


-- 
*Ole P. Orhagen*
Software Engineer | Mender <https://mender.io>
Oslo, Norway
<https://www.linkedin.com/company/northern.tech>
<https://twitter.com/northerntechhq> <https://northern.tech> Northern.tech
<https://northern.tech> | Securing the world's connected devices


More information about the U-Boot mailing list