From owner-freebsd-arm@freebsd.org Mon Nov 27 06:59:08 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 3D1D0DFABED for ; Mon, 27 Nov 2017 06:59:08 +0000 (UTC) (envelope-from freebsd-arm@dino.sk) Received: from mailhost.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A8A1766A99 for ; Mon, 27 Nov 2017 06:59:06 +0000 (UTC) (envelope-from freebsd-arm@dino.sk) Received: from zeta.dino.sk (fw3.dino.sk [84.245.95.254]) (AUTH: LOGIN milan) by mailhost.netlabit.sk with ESMTPA; Mon, 27 Nov 2017 07:59:03 +0100 id 00DE187E.5A1BB7B7.00014621 Date: Mon, 27 Nov 2017 07:59:03 +0100 From: Milan Obuch To: Eugene Sevastyanov Cc: freebsd-arm@freebsd.org Subject: Re: Allwinner H3/H2+ dts question - regression? Message-ID: <20171127075903.1ce9c40e@zeta.dino.sk> In-Reply-To: <20171127084355.1dabd642748f25cb87c16b44@iptk.ru> References: <20171126124217.2a512392@zeta.dino.sk> <20171127084355.1dabd642748f25cb87c16b44@iptk.ru> X-Mailer: Claws Mail 3.15.1 (GTK+ 2.24.31; i386-portbld-freebsd10.4) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Nov 2017 06:59:08 -0000 On Mon, 27 Nov 2017 08:43:55 +0400 Eugene Sevastyanov wrote: > Hi, > > Faced with exactly the same problem. Installed FreeBSD on the Orange > Pi Zero board, but in the regular dts there is no description for > emac. So I wrote my dts, partly taking information from the native > file, and partly from Linux. To avoid rebuilding the whole kernel for > the compilation of dtb, I created a separate project. In the attached > archive, the project with the original dts and the received dtb for > Orange Pi Zero. In fact, this is a copy of the structure of the > native FreeBSD source tree with only the necessary files for DTS > compilation. The script arm.sh takes care of all the work on creating > a bootable flash drive. Uncomment there only the necessary sections. > The script DOES NOT COPY the resulting dtb on the USB flash drive, be > careful. > Thank you, this helps a lot. I began to investigate the differences among various dtb's I have with some parts of system working and some not to suit my needs. As I am testing dtb provided by you, I see there is not aw_thermal working. On the positive side, both ethernet and usb are working, so I need just try to compile the dts myself to verify the process. One more question - do you have some devices connected to your board? I would like to know other people's experience attaching sensors and similar gadgets. Regards, Milan