From owner-freebsd-arm@freebsd.org Mon Nov 27 07:28:40 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 818A3DFB0C6 for ; Mon, 27 Nov 2017 07:28:40 +0000 (UTC) (envelope-from eval@iptk.ru) Received: from newmail.iptk.ru (newmail.iptk.ru [IPv6:2a00:d8c0:0:2:215:60ff:feed:ebc8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.iptk.ru", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3A313673CE for ; Mon, 27 Nov 2017 07:28:39 +0000 (UTC) (envelope-from eval@iptk.ru) Received: from localhost (localhost [127.0.0.1]) by newmail.iptk.ru (Postfix) with SMTP id BA6821B0066A for ; Mon, 27 Nov 2017 11:28:34 +0400 (+04) Received: from HP7320 (unknown [IPv6:2a00:d8c0:0:1:9885:68d4:8a50:284c]) by newmail.iptk.ru (Postfix) with ESMTPA id 41B9F1B000A4; Mon, 27 Nov 2017 11:28:34 +0400 (+04) Date: Mon, 27 Nov 2017 11:27:02 +0400 From: Eugene Sevastyanov To: Milan Obuch Cc: freebsd-arm@freebsd.org Subject: Re: Allwinner H3/H2+ dts question - regression? Message-Id: <20171127112702.7b945be0138484b05e517d49@iptk.ru> In-Reply-To: <20171127075903.1ce9c40e@zeta.dino.sk> References: <20171126124217.2a512392@zeta.dino.sk> <20171127084355.1dabd642748f25cb87c16b44@iptk.ru> <20171127075903.1ce9c40e@zeta.dino.sk> Reply-To: eval@iptk.ru Organization: IPTelecom Ltd. X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.23; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-DSPAM-Result: Innocent X-DSPAM-Processed: Mon Nov 27 11:28:34 2017 X-DSPAM-Confidence: 1.0000 X-DSPAM-Probability: 0.0023 X-DSPAM-Signature: 5a1bbea214691523687078 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 07:28:40 -0000 Currently, I'm trying to run a DS3231 real-time controller board. There are problems with I2C, but I'm still looking for a reason. At the moment, I checked the transmission protocol with an oscilloscope and made sure that the RTC is responding, i.e. ds3231 exactly working. However, the driver does not see the ACK signal sent by the device after sending the address. I continue to investigate this moment ... About aw_thermal - if you have a dts file where it is described, it can easily be added to my. This would be a useful feature for Zero. P.S. I installed on Orange Pi Zero FreeBSD 12.0-CURRENT > 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 > >