Report: FreeBSD on Rpi4 8 GB model

Klaus Küchemann maciphone2 at googlemail.com
Sat Jun 6 19:29:29 UTC 2020



> Am 06.06.2020 um 21:19 schrieb Kyle Evans <kevans at freebsd.org>:
> 
> On Sat, Jun 6, 2020 at 2:13 PM Klaus Küchemann via freebsd-arm
> <freebsd-arm at freebsd.org> wrote:
>> 
>> 
>> 
>>> Am 06.06.2020 um 20:15 schrieb Robert Crowston via freebsd-arm <freebsd-arm at freebsd.org>:
>>> 
>>> …...
>>> 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).
>>> 
>>> ……
>>> 
>> 
>> 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“ for the first try .
>> 
> 
> No, SPIN_PAGES=2 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.
> 
> You should be able to just add CONFIG_NR_DRAM_BANKS=8 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.
> 
> Thanks,
> 
> Kyle Evans


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


More information about the freebsd-arm mailing list