On Sat, 7 Aug 2021 at 08:03, Adam Borowski <kilob...@angband.pl> wrote: > On Thu, Aug 05, 2021 at 12:26:57PM -0700, Tianon Gravi wrote: > > > On 2021-07-30, Adam Borowski wrote: > > > > The Unmatched has 16GB memory -- which works fine with the vendor u-boot > > > > it shipped with. Alas, with Debian u-boot from experimental, only 8GB > > > > is > > > > visible (at 0x0000000080000000-0x000000027fffffff). > > > I think it must be related to the combination of newer > > u-boot and new (upstream) kernel? > > In -next there's: > commit d09560435cb712c9ec1e62b8a43a79b0af69fe77 > Author: Qiu Wenbo <qiuwe...@kylinos.com.cn> > Date: Sun Jul 4 16:34:41 2021 +0800 > > riscv: dts: fix memory size for the SiFive HiFive Unmatched > > The production version of HiFive Unmatched have 16GB memory. > > Signed-off-by: Qiu Wenbo <qiuwe...@kylinos.com.cn> > Signed-off-by: Palmer Dabbelt <palmerdabb...@google.com> > > --- a/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts > +++ b/arch/riscv/boot/dts/sifive/hifive-unmatched-a00.dts > @@ -24,7 +24,7 @@ cpus { > > memory@80000000 { > device_type = "memory"; > - reg = <0x0 0x80000000 0x2 0x00000000>; > + reg = <0x0 0x80000000 0x4 0x00000000>; > }; > > soc { > > Applying that gives me the full memory back.
Confirmed, applying that works for me too -- I'm closing this bug accordingly. :) ♥, - Tianon 4096R / B42F 6819 007F 00F8 8E36 4FD4 036A 9C25 BF35 7DD4