From owner-freebsd-arm@freebsd.org Wed Jul 25 21:40:04 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 239261054D04 for ; Wed, 25 Jul 2018 21:40:04 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 781C38F568; Wed, 25 Jul 2018 21:40:02 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 537f85e9; Wed, 25 Jul 2018 23:40:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=EoZ+C/rJmYnsY7NLtwpCurL/S5s=; b=CLONHyCcfTdEN0DIZtWeYgZzOljh G0dR+tf5xhA8jfzzUsyQt6tlPdAoHO2IoNUMyLzVKYvepkNWalArssAGoAwvNDSL vctnuB+wDt49sGobFPH6AUMPHfNE86iU8x0qFdxm/Jq3DehgfIsj8+RlDHCZ+JSA MFO7Ol1tQ7ViMuM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=my1d2M89segc28z1CWaFiLXSmjdAxpt3aVUIZxppWfm9mkarjEGiHYwL nfrHmwzuZTZs8cU5MOqUFOU+h5z3xoiyFMayCEYnXFvFPLqvij5SIJH0+y7Ss3JJ TtBPn0xEDfTllvKbYcVrEDGRCC6ltGR+xFzX7aSyq59HnaV6q24= Received: from skull.home.blih.net (ip-9.net-89-3-105.rev.numericable.fr [89.3.105.9]) by mail.blih.net (OpenSMTPD) with ESMTPSA id a82aeef3 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Wed, 25 Jul 2018 23:40:01 +0200 (CEST) Date: Wed, 25 Jul 2018 23:40:00 +0200 From: Emmanuel Vadot To: Kyle Evans Cc: Greg V , "freebsd-arm@freebsd.org" Subject: Re: Allwinner dtb overlays on CURRENT. Also, flashrom SPI! Message-Id: <20180725234000.e917566724f997319f8fe2fd@bidouilliste.com> In-Reply-To: References: <1532548163.59286.0@hraggstad.unrelenting.technology> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2018 21:40:04 -0000 On Wed, 25 Jul 2018 15:14:29 -0500 Kyle Evans wrote: > On Wed, Jul 25, 2018 at 2:49 PM, Greg V wro= te: > > Hi, > > > > One thing I have noticed with CURRENT on an Orange Pi PC: since we're u= sing > > device trees imported from Linux, some drivers are not accessible out o= f the > > box. > > > > So I wrote a couple overlays: > > > > Thermal sensor: https://github.com/freebsd/freebsd/pull/162 > > This is wrong bindings. Yes I know that it's working with our driver for ths but this is wrong. 1) ths module isn't in ahb but apb. 2) We need nvmem framework to get the sensor calibration data, please see https://reviews.freebsd.org/D16419 > > SPI: https://github.com/freebsd/freebsd/pull/166 What is the point of the spigen interface ? If aw_spi is working on H3 (I haven't check but it should), if you have a good dtb with the spi flash described you can use it directly. > > But not everyone would figure out how to make and even just use overlay= s? > > > > (if anyone is wondering: place them into /boot/dtb/overlays and add a l= ist > > of them (filenames including extension) to /boot/loader.conf like so: > > fdt_overlays=3D"sun8i-h3-sid.dtbo,sun8i-h3-ts.dtbo,sun8i-h3-spi.dtbo" ?= and > > reboot) >=20 > Just FYI- omitting the extension should also work fine here. If it > doesn't, that's another bug on its own. =3D) >=20 > > Can someone commit these overlays / add more for other SoCs maybe? >=20 > I think manu was working on some thermal sensor stuff earlier (though > my memory may be wrong), so we'll see what he says. I am, currently upstreaming bindings/dts changes. > > P.S. I also wrote spigen support for flashrom: > > https://github.com/flashrom/flashrom/pull/53 > > With this, I can flash and verify a Winbond W25Q32.V flash chip from my > > Orange Pi! :) > > > > _______________________________________________ > > 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" > _______________________________________________ > 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" --=20 Emmanuel Vadot