Re: [armv7] 13.1-BETA2 boots on beaglebone, 14-CURRENT snapshot panics
Matteo Riondato <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.arm |
|---|---|
| Message-ID | <[email protected]> |
On 2022-04-13 at 08:58 EDT, Matteo Riondato <[email protected]> wrote: >On 2022-04-12 at 18:09 EDT, Oskar Holmlund <[email protected]> wrote: >>2022-04-12 15:48 skrev Matteo Riondato: >>>While trying to make my beaglebone enhanced boot with the >>>am335x-sancloud-bbe.dtb (no success so far), I tried booting it >>>with the am335x-boneblack.dtb, loaded at the loader prompt. >>> >>>The publicly available 13.1-BETA2 GENERICSD image boots into >>>multi-user (boot -v log available at >>>http://rionda.to/files/boot-13.1-BETA2-boneblack.log), while the >>>14-CURRENT 20220407 snapshot panics as follows: >>>[SNIP] >>>I can also build my own image trying to bisect the problem, but >>>wonder if anyone has any hint of what commit(s) could be causing >>>this issue. >>> >>>(I also wonder whether I should be posting on freebsd-current@, >>>rather than freebsd-arm@ . Suggestions accepted) > >>Read this thread >>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 >>use today. I hope I find some time to do a testbuild tomorrow and >>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 you for creating them. Some details below: * I uploaded the bootverbose log at 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 cleanly (I'm not entirely sure why, it seems that very little has changed since it was created), but it was easy to apply the rejs. The patch at https://reviews.freebsd.org/D31311 applied cleanly. * I enabled building am335x-sancloud-bbe.dtb in sys/modules/dtb/am335x/Makefile, and I managed to boot to multiuser by loading it at the loader prompt. While the BBE was able to boot 13.x to multiuser by loading am335x-boneblack.dtb, that's no longer the case for 14. * The onboard Wi-Fi does not seem to be recognized out of the box. It should be supported by rtwn(4), as it is a rtwn over usb. I see 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 appreciated. * I'm also trying to configure the pcf8563 RTC clock that is connected to the i2c bus. From https://cgit.freebsd.org/src/tree/sys/dev/iicbus/rtc/pcf85063.c, it seems it would be supported. I'll likely need something like pcf8563: pcf8563@51 { compatible = "nxp,pcf8563"; reg = <0x51>; }; in the &i2c0 section of the dts, but we'll see whether that's enough (I bet not, I'm still learning my way around dts.) Thanks, Matteo
signature.asc
(application/pgp-signature, 862 B)
-----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-----