Date: Sun, 22 Oct 2017 23:42:57 -0700 From: Mark Millard <markmi@dsl-only.net> To: Emmanuel Vadot <manu@bidouilliste.com>, freebsd-arm <freebsd-arm@freebsd.org> Subject: head -r323640 kernel+.dtb works on BPI-M3; did -r323641 and later remove some legacy dtb support? (same .dtb until -r324820 changed it) Message-ID: <68CB464E-6FC6-4CB9-963B-9E7A683041EB@dsl-only.net> In-Reply-To: <06B9A4AD-EA28-41A8-91B9-FE368EF622FE@dsl-only.net> References: <3AD6B1F8-512C-43BB-AC76-7721454AD02F@dsl-only.net> <20171021195812.5bdb902401b8e756b6abfe40@bidouilliste.com> <C9F6BF5E-28DB-4569-B71E-EDE2A042FC78@dsl-only.net> <20171021204356.47e3cd6066144bcd07f46699@bidouilliste.com> <50728566-11C2-45EB-8367-00CAF38D4548@dsl-only.net> <B3F39A7C-339B-4072-9E41-A3F9DA1F590B@dsl-only.net> <8696CCFA-AE7D-4324-90A8-BB73402FA124@dsl-only.net> <BF09EA6D-6DE8-4138-AD92-8836DFF28620@dsl-only.net> <06B9A4AD-EA28-41A8-91B9-FE368EF622FE@dsl-only.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[The notes here presume that mp_ncpu <=3D cpuid is considered valid for the BPI-M3. Otherwise what I'm running is a workaround allowing other aspects of things to be explored.] [Reminder: Most of the BPI-M3 *.dt* material is not from sys/gnu/dts/ at all but from sys/boot/fdt/dts/ instead: not updated with LINUX 4.?? updates. But some included *.dt* files are from sys/gnu/dts/ .] I was able to buildkernel for -r323640 and install and boot it on the BPI-M3. Basic operation seems okay so far. It appears to me that -r323641 and later can not interpret the same .dtb that -r323640 uses correctly. My guess is some legacy support has been (implicitly?) removed. (This may well be deliberate and more important than having the BPI-M3 working from an overall point of view.) FYI for what I've tried in order to show some context: Revision 320834 - Directory Listing=20 Modified Sun Jul 9 13:53:32 2017 UTC (3 months, 2 weeks ago) by manu Update DTS files from Linux 4.12 Notable changes: Allwinner: * H3/H5 were merged into a common dtsi file * include/dt-bindings/sun4i-a10.h is not included anymore in a lot of dts files * Add sun8i-h3-nanopi-neo-air board DTS file . . . Revision 323640 - Directory Listing=20 Modified Sat Sep 16 15:50:31 2017 UTC (5 weeks, 1 day ago) by manu A64 CCUNG: Correct gate and reset for OHCI0/1 Reported by: jmcneill Pointy Hat: manu Then the very next update changes some things about interpreting the .dtb greatly . . . Revision 323641 - Directory Listing=20 Modified Sat Sep 16 15:58:20 2017 UTC (5 weeks, 1 day ago) by manu Allwinner usb phy: Rework resource allocation The usbphy node for allwinner have two kind of resources, one for the phy_ctrl and one per phy. Instead of blindy allocating resources, alloc the phy_ctrl and pmu ones separately. Also add a configuration struct for all different phy that hold the = difference between them (number of phys, unknow needed register write etc ...). While here remove A83T code as upstream and FreeBSD dts don't have nodes for USB. This (plus 323640) re-enable OHCI on Pine64 on the bottom USB port. The top USB port is routed to the OHCI0/EHCI0 which is by default in OTG = mode. While the phy code can handle the re-route to standard OHCI/EHCI we = still need a driver for musb to probe and configure it in host mode. EHCI is still buggy on Pine64 (hang the board) so do not enable it for = now. Tested On: Bananapi (A20), BananapiM2 (A31S), OrangePi One (H3) = Pine64 (A64) . . . Revision 324820 - Directory Listing=20 Modified Sat Oct 21 15:47:40 2017 UTC (38 hours, 31 minutes ago) by manu dts: Update our device tree sources file fomr Linux 4.13 (I have not tried a .dtb partially based on -r324820 *.dts* material from sys/gnu/dts/ used with a -r323640 kernel.) =3D=3D=3D Mark Millard markmi at dsl-only.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?68CB464E-6FC6-4CB9-963B-9E7A683041EB>