Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1330640
| From | Danny Milosavljevic <dannym@scratchpost.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [linux-sunxi] Re: [PATCH 11/11] arm64: dts: add Pine64 support |
| Date | 2016-02-09 21:40 +0100 |
| Message-ID | <r0neO-MW-11@gated-at.bofh.it> (permalink) |
| References | <qXqCd-6ht-1@gated-at.bofh.it> <qXqLV-6lT-27@gated-at.bofh.it> <qYKyS-6DW-19@gated-at.bofh.it> <qYLuW-7gh-7@gated-at.bofh.it> <qZIlj-5T6-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi,
On Mon, 8 Feb 2016 11:55:43 +1100
Julian Calaby <julian.calaby@gmail.com> wrote:
> I believe that device tree overlays are the generally recommended method.
I agree. But last time I tried, the device tree compiler didn't
support overlays - neither in Debian nor in the in-kernel dtc ("-@" is
unsupported; last tried with linux-4.3-rc7).
And even if you could compile them, the platform has to support specifying which
overlays to use in the first place (for example as a Linux cmdline option).
For example Beaglebone Black (TI Sitara) does. I don't know whether sunxi does.
Also, the overlay dts files are very different from normal dts files, see
<http://www.patternagents.com/news/2015/01/29/devicetree-overlays.html>.
The original Linux device tree changeset patchset also introduced an in-kernel
interface for loading/unloading of DT overlays at runtime. AFAIK, this is still
not available to user space.
More info at <https://lwn.net/Articles/616859/>.
(I tried some 4 months ago - it wasn't integrated enough.
So now I just patch the main dts every time - which I probably shouldn't)
Regards,
Danny
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [linux-sunxi] Re: [PATCH 11/11] arm64: dts: add Pine64 support Danny Milosavljevic <dannym@scratchpost.org> - 2016-02-09 21:40 +0100
csiph-web