From owner-freebsd-arm@FreeBSD.ORG Sat Apr 4 22:56:57 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 70AD5BB9 for ; Sat, 4 Apr 2015 22:56:57 +0000 (UTC) Received: from id.bluezbox.com (id.bluezbox.com [88.198.91.248]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1ED2A8E9 for ; Sat, 4 Apr 2015 22:56:56 +0000 (UTC) Received: from [208.184.220.60] (helo=macbook-air-3.dolby.net) by id.bluezbox.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1YeWze-00078v-5c for freebsd-arm@freebsd.org; Sat, 04 Apr 2015 15:56:48 -0700 From: Oleksandr Tymoshenko Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Call for testers: migrating to TI's DTS files Message-Id: <20292475-BBEF-4ACF-B130-24A7367E21E8@bluezbox.com> Date: Sat, 4 Apr 2015 15:56:14 -0700 To: "freebsd-arm@freebsd.org List" Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) X-Mailer: Apple Mail (2.2070.6) Sender: gonzo@id.bluezbox.com X-Spam-Level: / X-Spam-Report: Spam detection software, running on the system "id.bluezbox.com", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: Hello, I’ve just finished last stage of rewriting FreeBSD TI support so it can use TI's upstream DTS files. It makes much easier to use various DTS overlays for BBB shields. e.g. I managed to get 4DCAPE-43 working with drop-in dtb file generated from [1] and some manual gpio pin manipulations. [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0004] 2.7 DNS_FROM_AHBL_RHSBL RBL: Envelope sender listed in dnsbl.ahbl.org 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: github.com] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Apr 2015 22:56:57 -0000 Hello, I=E2=80=99ve just finished last stage of rewriting FreeBSD TI support so it can use TI's upstream DTS files. It makes much easier to use various DTS overlays for BBB shields. e.g. I managed to get=20 4DCAPE-43 working with drop-in dtb file generated from [1] and some manual gpio pin manipulations.=20 In order to maintain compatiblity (as much as it's possible) with existing setups we still use files in sys/boot/fdt/dts but they are wrappers around TI's DTS files in sys/gnu/ with some FreeBSD glue, namely: - PRUSS device node for beaglebone*.dts - Additional pandaboard-es.dts file for Pandaboard ES - global timer node for OMAP4 (Pandaboard). It is required for=20 event timer.=20 - /chosen node with uart2 as stdin/stdout for OMAP4 (Pandaboard) - FreeBSD-specific "non-removable" flag for mmc1 on OMAP4 - Disable mmc5 on OMAP4 which seems to have some problems with clock = setup The most disruptive change is that now each GPIO bank is addresses individually so when you access pin directly using gpioctl, intead of using /dev/gpioc0 and pin number 55, you should use=20 /dev/gpioc1 and pin 23 (each bank is 32 pins) I'd appreciate if you tested it with your setups. I tested it on Beaglebone Black and Pandaboard ES and it worked for me (c) Patch: = https://people.freebsd.org/~gonzo/arm/patches/ti-fdt-20150404.diff Review: https://reviews.freebsd.org/D2146 [1] = https://github.com/RobertCNelson/dtb-linux-dev/blob/master/src/arm/am335x-= boneblack-4dcape-70t.dts