From owner-freebsd-arm@freebsd.org Wed Jul 25 19:49:41 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 5079E1052F51 for ; Wed, 25 Jul 2018 19:49:41 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from hraggstad.unrelenting.technology (hraggstad.unrelenting.technology [71.19.146.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hraggstad.unrelenting.technology", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BEA6C8BE91 for ; Wed, 25 Jul 2018 19:49:40 +0000 (UTC) (envelope-from greg@unrelenting.technology) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=unrelenting.technology; h=date:from:subject:to:message-id; s=default; bh=dN9WlHYTURLVPlwz0sUhzM3+wQe/bPGOmKyo+zkMfMo=; b=oWhsjS+jarvrxymFe7NHRfpaiz19sPiCJoHSzZhrj8ZJP0EB5pNMwRfi0gk0Yjlqs9m66hb2YZoEZ6wjCxieOZeGxFr9RLdR9dy+IcHSuUqXNRV09f7FqE32bWQDpL1j/V7JFmLFZkSACd17rNT3PNUKLuV2yJ7UGQ7+QSbhkBk= Received: by hraggstad.unrelenting.technology (OpenSMTPD) with ESMTPSA id feb04b8c TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO for ; Wed, 25 Jul 2018 19:49:29 +0000 (UTC) Date: Wed, 25 Jul 2018 22:49:23 +0300 From: Greg V Subject: Allwinner dtb overlays on CURRENT. Also, flashrom SPI! To: freebsd-arm@freebsd.org Message-Id: <1532548163.59286.0@hraggstad.unrelenting.technology> X-Mailer: geary/0.12.2 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251; format=flowed 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 19:49:41 -0000 Hi, One thing I have noticed with CURRENT on an Orange Pi PC: since we're=20 using device trees imported from Linux, some drivers are not accessible=20 out of the box. So I wrote a couple overlays: Thermal sensor: https://github.com/freebsd/freebsd/pull/162 SPI: https://github.com/freebsd/freebsd/pull/166 But not everyone would figure out how to make and even just use=20 overlays=85 (if anyone is wondering: place them into /boot/dtb/overlays and add a=20 list of them (filenames including extension) to /boot/loader.conf like=20 so: fdt_overlays=3D"sun8i-h3-sid.dtbo,sun8i-h3-ts.dtbo,sun8i-h3-spi.dtbo"=20 =97 and reboot) Can someone commit these overlays / add more for other SoCs maybe? P.S. I also wrote spigen support for flashrom:=20 https://github.com/flashrom/flashrom/pull/53 With this, I can flash and verify a Winbond W25Q32.V flash chip from my=20 Orange Pi! :) =