From owner-freebsd-arm@freebsd.org Sun Sep 18 12:34:51 2016 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 405D7BDE3BB for ; Sun, 18 Sep 2016 12:34:51 +0000 (UTC) (envelope-from jmcneill@invisible.ca) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 26E01E5D for ; Sun, 18 Sep 2016 12:34:51 +0000 (UTC) (envelope-from jmcneill@invisible.ca) Received: by mailman.ysv.freebsd.org (Postfix) id 229BCBDE3BA; Sun, 18 Sep 2016 12:34:51 +0000 (UTC) Delivered-To: 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 224A1BDE3B9 for ; Sun, 18 Sep 2016 12:34:51 +0000 (UTC) (envelope-from jmcneill@invisible.ca) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [IPv6:2001:4b98:c:538::197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DE0ABE5C for ; Sun, 18 Sep 2016 12:34:50 +0000 (UTC) (envelope-from jmcneill@invisible.ca) Received: from mfilter49-d.gandi.net (mfilter49-d.gandi.net [217.70.178.180]) by relay5-d.mail.gandi.net (Postfix) with ESMTP id 4392541C08D; Sun, 18 Sep 2016 14:34:48 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter49-d.gandi.net Received: from relay5-d.mail.gandi.net ([IPv6:::ffff:217.70.183.197]) by mfilter49-d.gandi.net (mfilter49-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id fDQ9Amthhi6m; Sun, 18 Sep 2016 14:34:46 +0200 (CEST) X-Originating-IP: 156.57.52.82 Received: from dis (stjhnbsu1kw-156057052082.dhcp-dynamic.FibreOp.nb.bellaliant.net [156.57.52.82]) (Authenticated sender: jmcneill@invisible.ca) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id BC24841C08E; Sun, 18 Sep 2016 14:34:45 +0200 (CEST) Date: Sun, 18 Sep 2016 09:34:43 -0300 (ADT) From: Jared McNeill To: Daniel Braniss cc: Emmanuel Vadot , arm@freebsd.org Subject: Re: ALLWINNER/h3 malfunction In-Reply-To: <588E44BB-40BF-40B8-9C5A-BA025AB87E00@cs.huji.ac.il> Message-ID: References: <20160917171911.a2ec80da747ba373ba3d1b4a@bidouilliste.com> <5ADFE16E-FD60-45B1-8CF1-6FFC10BABBDE@cs.huji.ac.il> <20160917195544.a2a8bbdb113029700fa7642d@bidouilliste.com> <588E44BB-40BF-40B8-9C5A-BA025AB87E00@cs.huji.ac.il> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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: Sun, 18 Sep 2016 12:34:51 -0000 On Sun, 18 Sep 2016, Daniel Braniss wrote: > I couldn?t find any orange-one.dts, so I?m using the one I created, > adding the a83t-sid and a83t-ts got both recognized: Anything you add to the dts will be recognized if there is a driver for it -- that doesn't mean it will work. Here is an example of a thermal dt node for Allwinner H3 (note the different compatible string, base address, etc): https://github.com/jaredmcneill/freebsd/blob/allwinner-h3/sys/boot/fdt/dts/arm/orangepi-plus-2e.dts#L121 Your best bet is to merge any changes from that file into your own (working) dts. Copying from other SoCs dts files often doesn't work. Cheers, Jared