Messages in this thread | | | From | Andreas Schwab <> | Subject | Re: [PATCH] serial/sifive: select SERIAL_EARLYCON | Date | Tue, 17 Sep 2019 09:43:25 +0200 |
| |
On Sep 16 2019, Palmer Dabbelt <palmer@sifive.com> wrote:
> but we don't set it for the HiFive Unleashed. I'd call that a bug, > something like this > > diff --git a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts > index 93d68cbd64fe..6d0ec76d93fe 100644 > --- a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts > +++ b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts > @@ -13,6 +13,7 @@ > compatible = "sifive,hifive-unleashed-a00", "sifive,fu540-c000"; > > chosen { > + stdout-path = &uart0; > }; > > cpus { > > should fix it. LMK if I've misunderstood something.
If that's how it's supposed to work, ok. Other platforms add it in u-boot.
Andreas.
-- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."
| |