From owner-freebsd-arm@freebsd.org Tue May 2 10:43:53 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6036BD581DA for ; Tue, 2 May 2017 10:43:53 +0000 (UTC) (envelope-from aggaz@paranoici.org) Received: from perdizione.investici.org (perdizione.investici.org [IPv6:2001:41d0:2:33d0::19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.autistici.org", Issuer "Autistici/Inventati Certification Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 26C3FFE7 for ; Tue, 2 May 2017 10:43:52 +0000 (UTC) (envelope-from aggaz@paranoici.org) Received: from [94.23.50.208] (perdizione [94.23.50.208]) (Authenticated sender: aggaz@paranoici.org) by localhost (Postfix) with ESMTPSA id 4F88E120154; Tue, 2 May 2017 10:43:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paranoici.org; s=stigmate; t=1493721822; bh=INZEmpb4yd7GDwFpS36TNRmZzPyOVO+IOiFhlrlzabI=; h=Subject:To:References:Cc:From:Date:In-Reply-To; b=VNGAgrrcE0k4BaKWp4YP1jA1yDs4VRNLo1BpZ0gQ/Ayi96B61SdcaSzCVpdyVhqAn vJjmBBMdGHPkjjDntKhBD8v/ILlzK7NiAP3De7cJMq+Fhew3HDv7VvdVzw3wYUR2UB KEjTUj8llKnK7UqDz0VWQuW7+nmi4PhSLWClBwqU= Subject: Re: FreeBSD 12-CURRENT on OrangePi One To: Emmanuel Vadot References: <9e04f3cf-ddce-1b53-b9d6-2fe05ad1cc25@paranoici.org> <20170502105507.4c51a7323bd01903e402f551@bidouilliste.com> Cc: freebsd-arm@freebsd.org From: aggaz Message-ID: <64893df0-f9f7-d24b-8644-bc84824fc657@paranoici.org> Date: Tue, 2 May 2017 12:43:41 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170502105507.4c51a7323bd01903e402f551@bidouilliste.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 May 2017 10:43:53 -0000 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). 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. 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 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. Regards Aggaz Il 02/05/2017 10:55, Emmanuel Vadot ha scritto: > On Sun, 30 Apr 2017 12:27:04 +0200 > aggaz 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" > >