Panic on Rpi3 at r358976

Mark Millard marklmi at yahoo.com
Mon Mar 16 18:24:30 UTC 2020



On 2020-Mar-16, at 07:17, Kyle Evans <kevans at freebsd.org> wrote:

> On Sun, Mar 15, 2020 at 11:11 PM Mark Millard <marklmi at yahoo.com> wrote:
>> 
>> 
>> . . .
>> 
>> I applied the patch and rebuilt and substituted
>> the new u-boot.bin for my hacked one. The context
>> is head -r358510 that was booting with my hack
>> okay. (I'll soon be updating to -r358966 .)
>> 
>> The result did not go well. Using boot -v
>> indicates that the 2nd page is not protected on
>> the RPi4:
>> 
>> [... snip ...]
> 
> Indeed- my apologies. In the config fragment,  it should read
> CONFIG_RPI_EFI_NR_SPIN_PAGES=2 rather than
> CONFIG_RPI_EFI_NR_SPIN_PAGES="2" (note the lack of quotes in the
> correct version) -- apparently I hadn't transcribed that properly when
> I was porting it from my initially tested patch to u-boot.

RPi4 head -r358966 context:

I removed the extra quotes ("), rebuilt, installed,
copied the u-boot.bin into place on the RPi4's
microsd card, booted with it, and logged in.

For reference from boot -v :

                   Type     Physical      Virtual   #Pages Attr
               Reserved 000000000000            0 00000002 WB 
. . .
Physical memory chunk(s):
  0x00002000 - 0x39f48fff,   927 MB ( 237383 pages)
. . .
Excluded memory regions:
  0x00000000 - 0x00001fff,     0 MB (      2 pages) NoAlloc 
. . .
module firmware already present!
Starting CPU 1 (1)
Starting CPU 2 (2)
Starting CPU 3 (3)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
random: read 4096 bytes from preloaded cache
random: unblocking device.
VIMAGE (virtualized network stack) enabled
ULE: setup cpu 0
ULE: setup cpu 1
ULE: setup cpu 2
ULE: setup cpu 3
. . .
psci0: <ARM Power State Co-ordination Interface Driver> on ofwbus0
psci0: PSCI version 0.2 compatible
. . .
Release APs...done
. . .
CPU  1: ARM Cortex-A72 r0p3 affinity:  1
CPU  2: ARM Cortex-A72 r0p3 affinity:  2
CPU  3: ARM Cortex-A72 r0p3 affinity:  3
. . .



===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)



More information about the freebsd-arm mailing list