From nobody Mon Jan 09 18:08:18 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 4NrMPv31dMz2pBHk for ; Mon, 9 Jan 2023 18:08:35 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-54.consmr.mail.gq1.yahoo.com (sonic315-54.consmr.mail.gq1.yahoo.com [98.137.65.30]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4NrMPv049Rz4HdD for ; Mon, 9 Jan 2023 18:08:34 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1673287712; bh=JhXYF6ZY/DWXFRNn67B79lE3oBBzal+VWNIcG6p6zDQ=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=WuQbLOGehBUxC5UTdYsuS9LVzh+zZ6sceouX+fa8yklkvqphTwl8jzBfyPeJKaX9oXsri+z2eFxty6BY4ecfsrPiqMmMRVp6qtSN5Qb/q3Q5XOoaChxIMnok5UPj9A/zH+F4gTiPl+2Ufi5saIrywGe8WxBaPwv4IuZa3nq+nr7bw9pZkXqO1fTQPUKDEZsLnBCXiNRmG3l1/Bj2d1uV8NGb5ZUxDko0ZO308wbIYa9etZQwO3JCSHn6RuYju0ugbTp5oxEJ5h+WX66zt9/7RQ3V4es0Wdh+78ov8bMML6+qBykr+2DXqtIHQlj6jidQOLXqmitS3q3j4/6s2zyAKQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1673287712; bh=nTcQNxE1sd7mw+Cr9AvKU7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iazeYbEPu1K4VdmxKJltPOwqEJmf3UBXRQC8pW2XVq36OeFO5nsbcckRQnKhbkSA0VzrwTgPH1v YY_2YSH1iqmNWNlR53qPDWP4rShKMxvXCGOF22cRSwR1Q2zwVdxuDInGcfqWB.lBcAo8EUIUqqPt D_mCzMl7GwPlTD6kFdWTg2W2VJ5sfrYXD3xfB1tumOr7Pi3lM_MIoRhMEy7GHjj1hmsDhR6lBqda oHh2W23an5mTqcQNPNncQrULq5B.xlZ4lROOwhTFfizghqs3pOjsLg03pCExwZDvwnDg8FgabxSZ IEU6NDVpX6nfU6EOgd7TU7fCcGJRp6eyzneYCyWZ2_YG_LCRLMOraybwWKr.8.sQMCZBOATXfD5m HrGKL24854XsPWeHl.rqEndRPVPq7a7Mi7Nza2t5n_ilzSN5kzSFiK9GJBuOvTl44Y86Spudz2WL PyTgli8btQUAg9U7kCWLUOpdotLTZMp6N9p1HqFemq4jRlnJdjLH9KYd8kpkdc6XLxrNt4B0aqd2 zLC1LsT5c9wXJ9nKxqAE1HtfN1G77uz6erMf4qeQgBn7jnCrT5n5jC4v8b41IIW2q5Aw47uQIidM - X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.gq1.yahoo.com with HTTP; Mon, 9 Jan 2023 18:08:32 +0000 Received: by hermes--production-ne1-7b69748c4d-g8q5j (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID d80df0da0ec52d783362db2a583ab15e; Mon, 09 Jan 2023 18:08:30 +0000 (UTC) Content-Type: text/plain; charset=us-ascii 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 (Mac OS X Mail 16.0 \(3731.300.101.1.3\)) Subject: Re: BeagleBone Black does not boot -current (DTB incompatibility?) From: Mark Millard In-Reply-To: <202301091649.309GnGi1055259@mail.karels.net> Date: Mon, 9 Jan 2023 10:08:18 -0800 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <202301091649.309GnGi1055259@mail.karels.net> To: mike@karels.net X-Mailer: Apple Mail (2.3731.300.101.1.3) X-Rspamd-Queue-Id: 4NrMPv049Rz4HdD X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Jan 9, 2023, at 08:49, Mike Karels wrote: > 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.) >=20 > 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. >=20 > 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. >=20 > Mike >=20 > ... > . . . >=20 I mounted based on: FreeBSD-13.1-STABLE-arm-armv7-GENERICSD-20230107-1149f0ec2b18-253362.img doing: # mount -onoatime -tmsdosfs /dev/da0s1 /mnt # dtc -o am335x-boneblack-13.1.dts -O dts -I dtb -s = /mnt/dtb/am335x-boneblack.dtb to generate a sorted, overall .dts source. I then dismounted and did similarly for based on: = FreeBSD-14.0-CURRENT-arm-armv7-GENERICSD-20230107-11b5b9e8a520-259967.img generating a sorted, overall .dts source via: # dtc -o am335x-boneblack-main.dts -O dts -I dtb -s = /mnt/dtb/am335x-boneblack.dtb (The -s sorts for making the source produced more useful for diff activity.) Then: # diff -u am335x-boneblack-*.dts | more but the diff was rather large. So: # diff -u am335x-boneblack-*.dts | grep "^-" | wc 933 4250 36379 # diff -u am335x-boneblack-*.dts | grep "^+" | wc 1318 5774 50377 13.1 (and stable/13) are back at something like linux 5.9=20 for .dt* source but main [so: 14] is at linux 6.0 now, the 11th import after 13.1 if I counted right. =3D=3D=3D Mark Millard marklmi at yahoo.com