Date: Tue, 2 May 2017 13:23:11 +0200 From: Emmanuel Vadot <manu@bidouilliste.com> To: aggaz <aggaz@paranoici.org> Cc: freebsd-arm@freebsd.org Subject: Re: FreeBSD 12-CURRENT on OrangePi One Message-ID: <20170502132311.26aa210165fc10f5435def80@bidouilliste.com> In-Reply-To: <64893df0-f9f7-d24b-8644-bc84824fc657@paranoici.org> References: <9e04f3cf-ddce-1b53-b9d6-2fe05ad1cc25@paranoici.org> <20170502105507.4c51a7323bd01903e402f551@bidouilliste.com> <64893df0-f9f7-d24b-8644-bc84824fc657@paranoici.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2 May 2017 12:43:41 +0200 aggaz <aggaz@paranoici.org> wrote: > Dear Emmanuel, > > In the last days I found and tried the dts file you are referring to > (the one in sys/gnu/.../...). > I compiled it using crochet, and I can confirm that it boots, it > supports USB but not Ethernet. > > It also seems to me that it is less stable than the other two I tried > (the one for OrangePi Plus 2E and the one from NanoPi Neo). Less stable in what way ? > Maybe it is not related to the dts, but I saw several random glitches > after boot that make me think that this Linux-imported dts is not 100% > compatible. Random glitches of what exactly ? > I hope you find the dts with both ethernet and usb. > > A question: would it be possible to integrate the ethernet portion of > the dts for NanoPi to the dts for OrangePiPlus 2E? I don't think I have the Plus 2E so I won't be able to test, I think the only difference would be the regulator for the PHY (or the usage of internal PHY). > I am trying to do so in the last days, but I do not really understand > how to write a DTS file... > > I am also looking for documentation, without so much luck, if you have > some link/book/manual you feel like sharing, please do. There is none afaik, just read the binding docs from the Linux kernel Documentation. > Regards > Aggaz Cheers, > Il 02/05/2017 10:55, Emmanuel Vadot ha scritto: > > On Sun, 30 Apr 2017 12:27:04 +0200 > > aggaz <aggaz@paranoici.org> wrote: > > > >> Dear list, > >> > >> as I previously wrote, I am trying to use FreeBSD 12-CURRENT on OrangePi > >> One by using crochet. > >> > >> One problem is that there are no dtb files available specific for this > >> board. > > > > There is one in sys/gnu/dts, I was sure that I added it to the list of > > DTS we compile but ... > > > >> Now I compared two dtb files for the same SoC (H3): one for NanoPi Neo > >> (/boot/dtb/nanopi-neo.dtb) and one for OrangePi Plus 2E > >> (/boot/dtb/orangepi-plus-2e.dtb). > >> > >> Both makes the board boot fine without issues, but: > >> > >> 1) dtb file for NanoPi Neo makes the network interface available and > >> working, but not the USB port. > >> > >> 2) dtb file for OrangePi Plus 2E makes the USB port available and > >> working, but not the network interface. > > > > Please note that ethernet DTS bindings aren't standardized yet and > > since I don't want us to heavily patches the DTS or derive to much from > > the Linux one if I add the OrangePi One DTS to the build it will > > probably be without ethernet support. > > > > Anyway, I have one somewhere with USB and ethernet support, I'll look > > to commit/share that soon. > > > >> > >> At this point I don't really know what I can do to make both interfaces > >> working at the same time, and I am writing this to ask you some suggestions. > >> > >> Any idea would be greatly appreciated. > >> > >> Regards > >> Aggaz > >> _______________________________________________ > >> freebsd-arm@freebsd.org mailing list > >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm > >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > > > > -- Emmanuel Vadot <manu@bidouilliste.com>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170502132311.26aa210165fc10f5435def80>