[PATCH v1] vexpress_ca9x4: Enable DM_SERIAL

Linus Walleij linus.walleij at linaro.org
Fri Jan 26 20:57:07 CET 2024


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?

> -       chosen { };
> +       chosen {
> +               stdout-path = &v2m_serial0;
> +       };

Can you please send this patch also to the Linux codebase.

Yours,
Linus Walleij


More information about the U-Boot mailing list