Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Mar 2020 11:24:21 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Kyle Evans <kevans@freebsd.org>
Cc:        bob prohaska <fbsd@www.zefox.net>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: Panic on Rpi3 at r358976
Message-ID:  <4010D0B6-A82A-4946-8433-15EA3688822E@yahoo.com>
In-Reply-To: <CACNAnaH_g2bSV3J09WTW3i7VASMm8JV4bXfv9cs%2BULjqA9BftQ@mail.gmail.com>
References:  <20200315041203.GA55605@www.zefox.net> <CACNAnaGuXH%2B3sB7qexz9-eC87=WmZrhwvuyb%2BkEMVdXPxB6LHQ@mail.gmail.com> <90DE70B3-F3A5-4EFE-832C-7C412744D974@yahoo.com> <CACNAnaFjdJg29Oc=FXb6f=3Z0vVPbGvJ4fXA%2Bm7UVFFZrGURkA@mail.gmail.com> <5A11699F-7EDD-4541-82C0-62993C95EE72@yahoo.com> <CACNAnaH_g2bSV3J09WTW3i7VASMm8JV4bXfv9cs%2BULjqA9BftQ@mail.gmail.com>

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


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@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)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4010D0B6-A82A-4946-8433-15EA3688822E>