[U-Boot] [PATCH v2 11/11] riscv: Add SiFive FU540 board support

Anup Patel Anup.Patel at wdc.com
Thu Jan 24 10:43:24 UTC 2019



> -----Original Message-----
> From: Andreas Schwab [mailto:schwab at suse.de]
> Sent: Thursday, January 24, 2019 3:24 PM
> To: Atish Patra <Atish.Patra at wdc.com>
> Cc: Anup Patel <anup at brainfault.org>; Anup Patel <Anup.Patel at wdc.com>;
> Joe Hershberger <joe.hershberger at ni.com>; U-Boot Mailing List <u-
> boot at lists.denx.de>; Palmer Dabbelt <palmer at sifive.com>; Alexander Graf
> <agraf at suse.de>; Christoph Hellwig <hch at infradead.org>; Paul Walmsley
> <paul.walmsley at sifive.com>
> Subject: Re: [U-Boot] [PATCH v2 11/11] riscv: Add SiFive FU540 board support
> 
> On Jan 23 2019, Atish Patra <atish.patra at wdc.com> wrote:
> 
> > or you can try to edit the DT directly and update the FSBL if you are
> > comfortable with it.
> 
> I think it would make sense to add the node in the board init function.
> That way it would work whether or not the FSBL is updated.

Best way is to either fix in DTS itself or BBL/OpenSBI.

For BBL it is difficult due to lack of matured FDT manipulation APIs.
My bad for previous misinformation about BBL. I thought Atish had
hacked this in BBL but he had hacked U-Boot.

We already have taken care of this in OpenSBI using LibFDT so with
OpenSBI no hacks would be required.

We are just few days away from OpenSBI being made public so no point
of adding work-around for "stdout-path" in U-Boot as well.

Regards,
Anup


More information about the U-Boot mailing list