Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jun 2020 21:29:24 +0200
From:      =?utf-8?Q?Klaus_K=C3=BCchemann?= <maciphone2@googlemail.com>
To:        Kyle Evans <kevans@freebsd.org>, freebsd-arm@freebsd.org
Subject:   Re: Report: FreeBSD on Rpi4 8 GB model
Message-ID:  <D14EC630-3BE9-4E19-B76A-B721C2BBBF75@googlemail.com>
In-Reply-To: <CACNAnaGwsrgQsSGxxOTr4n6cxP_ts3Z07pmTwb8inGzNXR2B3w@mail.gmail.com>
References:  <kb9ZDoXeXjZQGaI_pHItcwGDLz9nl5FzAe-_mxkI1N9MAFSkDpvFbwt-JUy-YmoOg-3C9bFyiNYgUoGvAnJZvsxbbGVHP4ZlUC84EgCd6A0=@protonmail.com> <F6CF4F00-44EA-4980-9B45-F7EE92738351@googlemail.com> <CACNAnaGwsrgQsSGxxOTr4n6cxP_ts3Z07pmTwb8inGzNXR2B3w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


> Am 06.06.2020 um 21:19 schrieb Kyle Evans <kevans@freebsd.org>:
>=20
> On Sat, Jun 6, 2020 at 2:13 PM Klaus K=C3=BCchemann via freebsd-arm
> <freebsd-arm@freebsd.org> wrote:
>>=20
>>=20
>>=20
>>> Am 06.06.2020 um 20:15 schrieb Robert Crowston via freebsd-arm =
<freebsd-arm@freebsd.org>:
>>>=20
>>> =E2=80=A6...
>>> Edit board/raspberrypi/rpi/Kconfig, set RPI_EFI_NR_SPIN_PAGES to a =
larger number (I picked 10, probably too big, but it was easier than =
doing the arithmetic).
>>>=20
>>> =E2=80=A6=E2=80=A6
>>>=20
>>=20
>> You mean that https://reviews.freebsd.org/D24085  rpi4_fragment has =
to set SPIN_PAGES from 2 to 10 ?
>> This could be done in sysutils/u-boot-rpi4 , perhaps with something =
like  an  #ifdef RPI4/8GB=E2=80=9C for the first try .
>>=20
>=20
> No, SPIN_PAGES=3D2 is fine; the default in upstream is 1 because they
> don't need any more, so he would've needed to manually bump it to 2.
>=20
> You should be able to just add CONFIG_NR_DRAM_BANKS=3D8 to
> sysutils/u-boot-rpi4's rpi4_fragment and it 'just work' -- this was
> tested on IRC a couple days ago, and should be safe for all variants
> as far as I'm aware (but needed to test on my 4GB variant). Even
> without this setting, it should still largely boot; you'll just only
> have half the memory you wanted.
>=20
> Thanks,
>=20
> Kyle Evans


Ah, thanks a lot !
So it was too hasty from me to post to  =
https://reviews.freebsd.org/D24085 :-)
Regards
Klaus=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D14EC630-3BE9-4E19-B76A-B721C2BBBF75>