From owner-freebsd-arm@FreeBSD.ORG Fri May 22 04:17:56 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C5B57252 for ; Fri, 22 May 2015 04:17:56 +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 7F518152F for ; Fri, 22 May 2015 04:17:55 +0000 (UTC) Received: from [208.184.220.60] (helo=macbook-air-2.dolby.net) by id.bluezbox.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1YvdoU-000ITQ-Vg for freebsd-arm@freebsd.org; Thu, 21 May 2015 20:40:01 -0700 From: Oleksandr Tymoshenko Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: TI platforms code update: switching to vendor FDT data Message-Id: Date: Thu, 21 May 2015 20:37:29 -0700 To: "freebsd-arm@freebsd.org List" Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) X-Mailer: Apple Mail (2.2098) 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 committed (r283276) major code update for TI platforms support. It gets rid of custom-baked .dts files for Beaglebone/Pandaboard and switches to using FDT data provided by TI and/or boards/capes manufacturers. [...] Content analysis details: (-1.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -0.0 BAYES_40 BODY: Bayes spam probability is 20 to 40% [score: 0.2338] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 May 2015 04:17:56 -0000 Hello, I've just committed (r283276) major code update for TI platforms support. It gets rid of custom-baked .dts files for Beaglebone/Pandaboard and switches to using FDT data provided by TI and/or boards/capes manufacturers. Filenames for dtb files are the same but content is quite different so make sure to install new files as a part of kernel update process. I tried to maintain compatibility with existing systems as much as possible but difference is too large so several incompatibilities were introduced after all: GPIO addressing was changed: instead of one global /dev/gpioc0 there are per-bank instances of /dev/gpiocX. Each bank has 32 pins so for instance pin 121 on /dev/gpioc0 in old addressing scheme is now pin 25 on /dev/gpioc3. The reason for this is that each bank presented as FDT node and we do not have way to "glue" multiple GPIO controllers into one addressing space (at least yet). It affects both Pandaboard and Beaglebone-based systems. On Pandaboard serial console devices was changed from /dev/ttyu0 to /dev/ttyu2 so you'll have to update /etc/ttys to get login prompt on serial port in multiuser mode. Single user mode serial console should work as-is My testing was quite limited and real-life deployments may reveal more problems. If you happen to run into one - please send report to this mailing list (freebsd-arm) Thank you -- gonzo