Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Apr 2022 17:14:09 -0400
From:      Matteo Riondato <matteo@freebsd.org>
To:        Oskar Holmlund <info@ohdata.se>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: [armv7] 13.1-BETA2 boots on beaglebone, 14-CURRENT snapshot panics
Message-ID:  <20220416211409.tafuqhgcwavmkzdc@ubertino.local>
In-Reply-To: <20220413125823.u4cpmnxutamtmql5@ubertino.local>
References:  <20220412134814.4m5cdgoqliol52gb@ubertino.local> <32c957088640343eae49e7e76d89ac0c@ohdata.se> <20220413125823.u4cpmnxutamtmql5@ubertino.local>

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

--mwvlmrecolqquyqn
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2022-04-13 at 08:58 EDT, Matteo Riondato <matteo@freebsd.org> wrote:
>On 2022-04-12 at 18:09 EDT, Oskar Holmlund <info@ohdata.se> wrote:=20
>>2022-04-12 15:48 skrev Matteo Riondato:=20
>>>While trying to make my beaglebone enhanced boot with the =20
>>>am335x-sancloud-bbe.dtb (no success so far), I tried booting it =20
>>>with the am335x-boneblack.dtb, loaded at the loader prompt.
>>>
>>>The publicly available 13.1-BETA2 GENERICSD image boots into =20
>>>multi-user (boot -v log available at =20
>>>http://rionda.to/files/boot-13.1-BETA2-boneblack.log), while the =20
>>>14-CURRENT 20220407 snapshot panics as follows:=20
>>>[SNIP]=20
>>>I can also build my own image trying to bisect the problem, but =20
>>>wonder if anyone has any hint of what commit(s) could be causing =20
>>>this issue.
>>>
>>>(I also wonder whether I should be posting on freebsd-current@, =20
>>>rather than freebsd-arm@ . Suggestions accepted)
>
>>Read this thread=20
>>https://lists.freebsd.org/archives/freebsd-arm/2021-August/000410.html
>>
>>I'm not sure the reviews mentioned in the last post are the one to =20
>>use today. I hope I find some time to do a testbuild tomorrow and =20
>>get back to you.
>
>Thank you, Oskar, I'll give it a shot in the next few days.

Hi Oskar,

The patches at the linked reviews made my BBE boot to multiuser. Thank=20
you for creating them. Some details below:

	* I uploaded the bootverbose log at=20
	 https://rionda.to/files/boot-14.0-CURRENT(patched)-sancloud-bbe.log
	 in case it may interest you.

	* The patch at https://reviews.freebsd.org/D27889 didn't apply=20
	cleanly (I'm not entirely sure why, it seems that very little has=20
	changed since it was created), but it was easy to apply the rejs.=20
	The patch at https://reviews.freebsd.org/D31311 applied cleanly.

	* I enabled building am335x-sancloud-bbe.dtb in=20
	sys/modules/dtb/am335x/Makefile, and I managed to boot to multiuser=20
	by loading it at the loader prompt. While the BBE was able to boot=20
	13.x to multiuser by loading am335x-boneblack.dtb, that's no longer=20
	the case for 14.

	* The onboard Wi-Fi does not seem to be recognized out of the box.=20
	It should be supported by rtwn(4), as it is a rtwn over usb. I see=20
	the following in dmesg:
	ugen1.3: <Realtek 802.11n WLAN Adapter> at usbus1
	I assume I'll have to play around with the device tree. Any hint is=20
	appreciated.

	* I'm also trying to configure the pcf8563 RTC clock that is=20
	connected to the i2c bus. From=20
	https://cgit.freebsd.org/src/tree/sys/dev/iicbus/rtc/pcf85063.c, it=20
	seems it would be supported. I'll likely need something like
	pcf8563: pcf8563@51 {
		compatible =3D "nxp,pcf8563";
		reg =3D <0x51>;
	};
	in the &i2c0 section of the dts, but we'll see whether that's enough=20
	(I bet not, I'm still learning my way around dts.)


Thanks,
Matteo

--mwvlmrecolqquyqn
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJHBAABCgAxFiEEa9uKZL0hP4E8Nl5vGwL9SVQlVQEFAmJbMZoTGGhrcHM6Ly9w
Z3AubWl0LmVkdQAKCRAbAv1JVCVVARNdD/9Cggqb0VyR+Pm/fJAdan1NdTqzlMhK
YAhlhDVUY5Tles9nf/OhlrW8zu6/L42L8HqhALNS1WYrhUWuoySzjLqLIckVh5Vi
2lDA+W+U9NzzleA8l0qaL5bNukyT72cpWAIV/MNSNi9lObPopK7O+YimPlv6z/nP
DnXJLZ2Z2xRggNkxG2lDtbjCv80N9863zE/CdHKBNa3tkqOJ2CmXz1PzostXvT7o
I4TBorYezRBwAsgrh09jKLn3VI5pXHlWX1xEafTeilJbKEVEnlYtRtwO2wypMsBa
vLkIXG2uaAFlD2wsIDaVmmwDN5gsi9xgXhq/SbSkJbpfE0vK3w+atf88KpMqQYrr
ipkqTpagEI7V/PWWdHHHRugi+6Z0JgASlqUNuqg3K+JWA4Ir1HZm34VAVhLkgrZV
yXZ1GUqknhlyrAQA9o3Q6Smyvm3xvVmLxC56p0Ds04SRzKyjvd1HwI6/UOKuK93U
UwyubZpZ3VxCZoMzERkNhoA7ZKKjJsckVvxfuD17lOp2wMwGAWbzxCYidOO5zO0v
c0k0meNiylVxV6nrGeiRWeHxiRoORMqTV0kEA175Z3PCCPKCAWvpJCD+6omuW9xc
DpE8n9Xt5c6/BI3UkDhAcpj2HbwlCvsVhyUSnEN+1sGbVekdghnPtWPYK+uMXhW7
6k/JE9+WPOXmOg==
=0C6G
-----END PGP SIGNATURE-----

--mwvlmrecolqquyqn--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220416211409.tafuqhgcwavmkzdc>