From nobody Tue Jan 31 22:18:20 2023 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P5zw91wc7z3cSRh for ; Tue, 31 Jan 2023 22:18:33 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (cross.sbone.de [195.201.62.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE Root Certificate Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P5zw82tw8z3ty1 for ; Tue, 31 Jan 2023 22:18:32 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 195.201.62.131 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net; dmarc=none Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id BF2088D4A15D; Tue, 31 Jan 2023 22:18:24 +0000 (UTC) Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id D9EFA5C3A833; Tue, 31 Jan 2023 22:18:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id mGRROcXg-t8p; Tue, 31 Jan 2023 22:18:22 +0000 (UTC) Received: from strong-iwl0.sbone.de (strong-iwl0.sbone.de [IPv6:fde9:577b:c1a9:4902:b66b:fcff:fef3:e3d2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id BC1BE5C3A830; Tue, 31 Jan 2023 22:18:21 +0000 (UTC) Date: Tue, 31 Jan 2023 22:18:20 +0000 (UTC) From: "Bjoern A. Zeeb" To: Mike Karels cc: freebsd-arm@freebsd.org Subject: Re: BeagleBone Black does not boot -current (DTB incompatibility?) In-Reply-To: <202301091649.309GnGi1055259@mail.karels.net> Message-ID: <43o429qq-q777-60-84q3-33r9qns4605o@mnoonqbm.arg> References: <202301091649.309GnGi1055259@mail.karels.net> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Spamd-Result: default: False [-3.29 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.99)[-0.990]; R_SPF_ALLOW(-0.20)[+ip4:195.201.62.131]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:24940, ipnet:195.201.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; DMARC_NA(0.00)[zabbadoz.net]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; SUBJECT_HAS_QUESTION(0.00)[] X-Rspamd-Queue-Id: 4P5zw82tw8z3ty1 X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N 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: > ti_sysc0: 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