Re: -current and RPI 2/3

2020-07-19 Thread Michael Cheponis
I, too, am seeing this.



[   1.030] cpu_topology_init: info bogus, faking it
[   1.4812620] cpu3: 600 MHz Cortex-A53 r0p4 (Cortex V8A core)
[   1.4812620] cpu3: DC enabled IC enabled WB enabled EABT branch
prediction enabled
[   1.4912632] cpu3: 32KB/64B 2-way L1 VIPT Instruction cache
[   1.5012675] cpu3: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
[   1.5012675] cpu3: 512KB/64B 16-way write-through L2 PIPT Unified cache
[   1.5112645] vfp3 at cpu3: NEON MPE (VFP 3.0+), rounding, NaN
propagation, denormals



On Fri, Jul 17, 2020 at 6:01 AM Frank Kardel  wrote:

> I am having trouble to get Raspberries o boot recent -current (9.99.69).
>
> Raspberry Pi 2 Model B Rev 1.1
>
> [   1.030] genfb0 at simplebus1: switching to framebuffer console
> [   1.030] wsdisplay0 at genfb0 kbdmux 1: console (default, vt100
> emulation)
> [   1.030] vchiq0 at simplebus1: BCM2835 VCHIQ
> [   1.030] armpmu0 at simplebus0: Performance Monitor Unit
> [   1.030] gpioleds0 at simplebus0: ACT PWR
> [   1.030] bcmrng0 at simplebus1: RNG
> [   1.030] entropy: ready
>
> [   1.030] uvm_fault(0x80b2f3c8, 0, 1) -> e
> [   1.030] Fatal kernel mode data abort: 'Translation Fault (S)'
> [   1.030] trapframe: 0x80b68ea8
> [   1.030] FSR=0005, FAR=00c0, spsr=a153
> [   1.030] r0 =80808a00, r1 =0004, r2 =, r3 =
> [   1.030] r4 =809e6cc4, r5 =0001, r6 =809e6ccc, r7 =0004
> [   1.030] r8 =809e6cd4, r9 =809e6cc4, r10=809e6cc4, r11=80b68f34
> [   1.030] r12=80808a00, ssp=80b68ef8, slr=0004, pc =8046f66c
>
> Stopped in pid 0.0 (system) at  netbsd:cpu_topology_init+0x14c: ldr
> r1, [r3,
>
> Raspberry Pi 2 Model B Rev 1.2
>
> [   1.030] vchiq0 at simplebus1: BCM2835 VCHIQ
> [   1.030] armpmu0 at simplebus0: Performance Monitor Unit
> [   1.030] gpioleds0 at simplebus0: ACT PWR
> [   1.030] bcmrng0 at simplebus1: RNG
> [   1.030] entropy: ready
> [   1.030] cpu_topology_init: info bogus, faking it
> [   1.5549067] cpu3: 600 MHz Cortex-A53 r0p4 (Cortex V8A core)
> [   1.5749092] cpu3: DC enabled IC enabled WB enabled EABT branch
> prediction enabled
> [   1.6149103] cpu3: 32KB/64B 2-way L1 VIPT Instruction cache
> [   1.6449126] cpu3: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
> [   1.6749184] cpu3: 512KB/64B 16-way write-through L2 PIPT Unified cache
> [   1.7049206] vfp3 at cpu3: NEON MPE (VFP 3.0+), rounding, NaN
> propagation, denormals
> ### stuck here
>
> Raspberry Pi 3 Model B Plus Rev 1.3
>
> [   1.030] wsdisplay0 at genfb0 kbdmux 1: console (default, vt100
> emulation)
> [   1.030] vchiq0 at simplebus1: BCM2835 VCHIQ
> [   1.030] armpmu0 at simplebus0: Performance Monitor Unit
> [   1.030] gpioleds0 at simplebus0: ACT
> [   1.030] bcmrng0 at simplebus1: RNG
> [   1.030] entropy: ready
> [   1.030] cpu_topology_init: info bogus, faking it
> [   1.7022878] cpu3: 600 MHz Cortex-A53 r0p4 (Cortex V8A core)
> [   1.7222897] cpu3: DC enabled IC enabled WB enabled EABT branch
> prediction enabled
> [   1.7622915] cpu3: 32KB/64B 2-way L1 VIPT Instruction cache
> [   1.7922937] cpu3: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
> [   1.8222994] cpu3: 512KB/64B 16-way write-through L2 PIPT Unified cache
> [   1.8523009] vfp3 at cpu3: NEON MPE (VFP 3.0+), rounding, NaN
> propagation, denormals
> ### stuck here
>
> sometimes cpu2 makes it to show up.
>
> This happens with self compiles sources and the latest releng version
>
> [   1.000] NetBSD 9.99.69 (GENERIC) #0: Fri Jul 17 02:16:57 UTC 2020
> [   1.000]
> mkre...@mkrepro.netbsd.org:/usr/src/sys/arch/evbarm/compile/GENERIC
>
> Older -current versions manage to boot.
>
> Frank
>
>


Re: -current and RPI 2/3

2020-07-19 Thread Frank Kardel

Thanks: RPI2 and RPI3 boot again !

Frank


On 07/19/20 13:50, Nick Hudson wrote:

On 17/07/2020 14:00, Frank Kardel wrote:

I am having trouble to get Raspberries o boot recent -current (9.99.69).



Should be fixed now with

src/sys/arch/arm/arm/armv6_start.S:1.21
src/sys/arch/arm/include/asan.h:1.3


Raspberry Pi 3 Model B Plus Rev 1.3



Hoping my commit fixes this too - I didn't test.

Sorry for the breakage.

Nick




Re: -current and RPI 2/3

2020-07-19 Thread Frank Kardel

Thanks for looking into it - will test.

Frank


On 07/19/20 13:50, Nick Hudson wrote:

On 17/07/2020 14:00, Frank Kardel wrote:

I am having trouble to get Raspberries o boot recent -current (9.99.69).



Should be fixed now with

src/sys/arch/arm/arm/armv6_start.S:1.21
src/sys/arch/arm/include/asan.h:1.3


Raspberry Pi 3 Model B Plus Rev 1.3



Hoping my commit fixes this too - I didn't test.

Sorry for the breakage.

Nick




Re: -current and RPI 2/3

2020-07-19 Thread Nick Hudson

On 17/07/2020 14:00, Frank Kardel wrote:

I am having trouble to get Raspberries o boot recent -current (9.99.69).



Should be fixed now with

src/sys/arch/arm/arm/armv6_start.S:1.21
src/sys/arch/arm/include/asan.h:1.3


Raspberry Pi 3 Model B Plus Rev 1.3



Hoping my commit fixes this too - I didn't test.

Sorry for the breakage.

Nick


-current and RPI 2/3

2020-07-17 Thread Frank Kardel

I am having trouble to get Raspberries o boot recent -current (9.99.69).

Raspberry Pi 2 Model B Rev 1.1

[   1.030] genfb0 at simplebus1: switching to framebuffer console
[   1.030] wsdisplay0 at genfb0 kbdmux 1: console (default, vt100 
emulation)

[   1.030] vchiq0 at simplebus1: BCM2835 VCHIQ
[   1.030] armpmu0 at simplebus0: Performance Monitor Unit
[   1.030] gpioleds0 at simplebus0: ACT PWR
[   1.030] bcmrng0 at simplebus1: RNG
[   1.030] entropy: ready

[   1.030] uvm_fault(0x80b2f3c8, 0, 1) -> e
[   1.030] Fatal kernel mode data abort: 'Translation Fault (S)'
[   1.030] trapframe: 0x80b68ea8
[   1.030] FSR=0005, FAR=00c0, spsr=a153
[   1.030] r0 =80808a00, r1 =0004, r2 =, r3 =
[   1.030] r4 =809e6cc4, r5 =0001, r6 =809e6ccc, r7 =0004
[   1.030] r8 =809e6cd4, r9 =809e6cc4, r10=809e6cc4, r11=80b68f34
[   1.030] r12=80808a00, ssp=80b68ef8, slr=0004, pc =8046f66c

Stopped in pid 0.0 (system) at  netbsd:cpu_topology_init+0x14c: ldr 
r1, [r3,


Raspberry Pi 2 Model B Rev 1.2

[   1.030] vchiq0 at simplebus1: BCM2835 VCHIQ
[   1.030] armpmu0 at simplebus0: Performance Monitor Unit
[   1.030] gpioleds0 at simplebus0: ACT PWR
[   1.030] bcmrng0 at simplebus1: RNG
[   1.030] entropy: ready
[   1.030] cpu_topology_init: info bogus, faking it
[   1.5549067] cpu3: 600 MHz Cortex-A53 r0p4 (Cortex V8A core)
[   1.5749092] cpu3: DC enabled IC enabled WB enabled EABT branch 
prediction enabled

[   1.6149103] cpu3: 32KB/64B 2-way L1 VIPT Instruction cache
[   1.6449126] cpu3: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
[   1.6749184] cpu3: 512KB/64B 16-way write-through L2 PIPT Unified cache
[   1.7049206] vfp3 at cpu3: NEON MPE (VFP 3.0+), rounding, NaN 
propagation, denormals

### stuck here

Raspberry Pi 3 Model B Plus Rev 1.3

[   1.030] wsdisplay0 at genfb0 kbdmux 1: console (default, vt100 
emulation)

[   1.030] vchiq0 at simplebus1: BCM2835 VCHIQ
[   1.030] armpmu0 at simplebus0: Performance Monitor Unit
[   1.030] gpioleds0 at simplebus0: ACT
[   1.030] bcmrng0 at simplebus1: RNG
[   1.030] entropy: ready
[   1.030] cpu_topology_init: info bogus, faking it
[   1.7022878] cpu3: 600 MHz Cortex-A53 r0p4 (Cortex V8A core)
[   1.7222897] cpu3: DC enabled IC enabled WB enabled EABT branch 
prediction enabled

[   1.7622915] cpu3: 32KB/64B 2-way L1 VIPT Instruction cache
[   1.7922937] cpu3: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
[   1.8222994] cpu3: 512KB/64B 16-way write-through L2 PIPT Unified cache
[   1.8523009] vfp3 at cpu3: NEON MPE (VFP 3.0+), rounding, NaN 
propagation, denormals

### stuck here

sometimes cpu2 makes it to show up.

This happens with self compiles sources and the latest releng version

[   1.000] NetBSD 9.99.69 (GENERIC) #0: Fri Jul 17 02:16:57 UTC 2020
[   1.000] 
mkre...@mkrepro.netbsd.org:/usr/src/sys/arch/evbarm/compile/GENERIC


Older -current versions manage to boot.

Frank