Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jun 2020 14:55:27 -0500
From:      Kyle Evans <kevans@freebsd.org>
To:        Robert Crowston <crowston@protonmail.com>
Cc:        =?UTF-8?Q?Klaus_K=C3=BCchemann?= <maciphone2@googlemail.com>,  "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: Report: FreeBSD on Rpi4 8 GB model
Message-ID:  <CACNAnaE8hvyRWZQQ6fXcy2HtEn6uDC5t_uR36zh1ba25=GT9ng@mail.gmail.com>
In-Reply-To: <TOfPYaU1tsGAVzQ8BHRMQKLpEJ3n-kGyxXrTnkciwTs5iQQlrRsN-ZfV_Dp2hbhfJR8mJHIaaPm6CTCW-Ga2kyA0cwG_IVWfq6wQZBWgiLA=@protonmail.com>
References:  <kb9ZDoXeXjZQGaI_pHItcwGDLz9nl5FzAe-_mxkI1N9MAFSkDpvFbwt-JUy-YmoOg-3C9bFyiNYgUoGvAnJZvsxbbGVHP4ZlUC84EgCd6A0=@protonmail.com> <F6CF4F00-44EA-4980-9B45-F7EE92738351@googlemail.com> <CACNAnaGwsrgQsSGxxOTr4n6cxP_ts3Z07pmTwb8inGzNXR2B3w@mail.gmail.com> <D14EC630-3BE9-4E19-B76A-B721C2BBBF75@googlemail.com> <TOfPYaU1tsGAVzQ8BHRMQKLpEJ3n-kGyxXrTnkciwTs5iQQlrRsN-ZfV_Dp2hbhfJR8mJHIaaPm6CTCW-Ga2kyA0cwG_IVWfq6wQZBWgiLA=@protonmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 6, 2020 at 2:45 PM Robert Crowston <crowston@protonmail.com> wrote:
>
> > No, SPIN_PAGES=2 is fine
>
> I confirm that CONFIG_RPI_EFI_NR_SPIN_PAGES 2 is sufficient.
>

Thanks for confirming. :-)

> > Even without this setting, it should still largely boot;
> > you'll just only have half the memory you wanted.
>
> Without raising the spin pages limit, the kernel panics while trying to start the secondary CPUs. I don't have a working JTAG so I can't diagnose exactly why, but the spin table thing seemed like an obvious thing to check.
>

Sorry, that was specifically referring to raising CONFIG_NR_DRAM_BANKS
-- an unmodified sysutils/u-boot-rpi4 (which uses
CONFIG_RPI_EFI_NR_SPIN_PAGES=2) should boot with half the RAM
recognized, and bumping CONFIG_NR_DRAM_BANKS in our fragment should
correct that.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACNAnaE8hvyRWZQQ6fXcy2HtEn6uDC5t_uR36zh1ba25=GT9ng>