Re: BeagleBone Black does not boot -current (DTB incompatibility?)

From: Bjoern A. Zeeb <bzeeb-lists_at_lists.zabbadoz.net>
Date: Tue, 31 Jan 2023 22:18:20 UTC
On Mon, 9 Jan 2023, Mike Karels wrote:

Hi Mike,

> The last couple of snapshots of -current fail to boot on BeagleBone
> Black (armv7 GENERICSD).  I have no idea how long this has been failing.
> (13.1 runs.)
>
> It appears that a malloc from ti_sysc_attach or ti_sysc_attach_clocks
> is passing a size of 0, which maybe could happen if the FDT has a "clocks"
> node but no clocks are found.  The console output including backtrace is
> below.
>
> I replaced the dtb directory with the one from 13.1, and the system boots
> and seems to run.  I don't know my way around the armv7 DTS files, but
> I'm happy to investigate if someone can point me in the right direction.

This seems to go back and back ...  try starting here:

https://lists.freebsd.org/archives/freebsd-arm/2021-August/000414.html




> 		Mike
>
> ...
> No PSCI/SMCCC call function found
> Texas Instruments AM335x Processor, Revision ES2.1
> arc4random: WARNING: initial seeding bypassed the cryptographic random device because it was not yet seeded and the knob 'bypass_before_seeding' was enabled.
> random: entropy device external interface
> kbd0 at kbdmux0
> ofwbus0: <Open Firmware Device Tree>
> ti_sysc0: <TI SYSC Interconnect> on ofwbus0
> panic: Assertion size > 0 failed at /usr/src/sys/kern/subr_vmem.c:1332
> cpuid = 0
> time = 1
> KDB: stack backtrace:

-- 
Bjoern A. Zeeb                                                     r15:7