Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 May 2015 20:37:29 -0700
From:      Oleksandr Tymoshenko <gonzo@freebsd.org>
To:        "freebsd-arm@freebsd.org List" <freebsd-arm@freebsd.org>
Subject:   TI platforms code update: switching to vendor FDT data
Message-ID:  <C9791C97-D5B1-433A-9AC0-CA2707C6137F@freebsd.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C9791C97-D5B1-433A-9AC0-CA2707C6137F>