devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: delicious quinoa <delicious.quinoa@gmail.com>
To: Pantelis Antoniou <panto@antoniou-consulting.com>
Cc: linux-doc@vger.kernel.org, Koen Kooi <koen@dominion.thruhere.net>,
	Russ Dill <Russ.Dill@ti.com>, Matt Porter <mporter@ti.com>,
	devicetree-discuss@lists.ozlabs.org,
	Rob Herring <rob.herring@calxeda.com>,
	linux-omap@vger.kernel.org, Matt Ranostay <mranostay@gmail.com>,
	linux-kernel@vger.kernel.org, Rob Clark <robdclark@gmail.com>,
	Joel A Fernandes <agnel.joel@gmail.com>
Subject: Re: [PATCH 0/6] Introducing Device Tree Overlays
Date: Fri, 22 Feb 2013 09:57:39 -0600	[thread overview]
Message-ID: <CANk1AXTji0CB8jsdTRg0+u56m_BiVoBQHaPQzHKoSA3Tr68ZEw@mail.gmail.com> (raw)
In-Reply-To: <3A37C4DA-4D4D-4370-8305-15625B923E67@antoniou-consulting.com>

Our use case is partial reconfiguration of the FPGA.  This will be
driven from userspace, so the bitstream to program the FPGA will come
from userspace, then the overlay for the DT, also from userspace.

So we want to take a compiled partial device tree and simply 'cat' it
to a point under /proc, such as 'cat new-ip.dtb > /proc/device-tree'

Alan Tull
Altera Corp.

On Thu, Feb 21, 2013 at 3:53 PM, Pantelis Antoniou
<panto@antoniou-consulting.com> wrote:
> Hi Alan,
>
> On Feb 21, 2013, at 1:25 PM, delicious quinoa wrote:
>
>> I like where this is heading.  I'm interested in a use case where IP
>> can be loaded into a FPGA, then add a blob to the device tree and load
>> some drivers.
>>
>> I see your github tree.  If I wanted to cherry-pick your code and play
>> around with it, which branch should I use?  not-capebus-21?
>>
>
> not-capebus-v21 is the latest one and indeed that has it in.
>
> Please note that I had some other FPGA people interested with it.
> Perhaps we can go through use cases to come up with your requirements
>
>
>> Thanks,
>> Alan Tull
>> Altera Corp
>>
>
> Regards
>
> -- Pantelis
>
>> On Fri, Jan 4, 2013 at 1:31 PM, Pantelis Antoniou
>> <panto@antoniou-consulting.com> wrote:
>>> The following patchset introduces Device Tree overlays, a method
>>> of dynamically altering the kernel's live Device Tree.
>>>
>>> This patchset is against mainline as of Friday Jan 4 2013.
>>> (4956964 Merge tag 'driver-core-3.8-rc2' of \
>>>        git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core)
>>>
>>> Note that a separate patch for the DTC compiler has been posted and
>>> is required to compile the DTS files according to the documentation.
>>> The patch is "dtc: Dynamic symbols & fixup support"
>>>
>>> An implementation patchset for a beaglebone cape loader will follow,
>>> but if you want to check out a working kernel for the beaglebone please
>>> pull from:
>>>
>>> git://github.com/pantoniou/linux-bbxm.git branch not-capebus-v8
>>>
>>> Pantelis Antoniou (6):
>>>  OF: Introduce device tree node flag helpers.
>>>  OF: export of_property_notify
>>>  OF: Export all DT proc update functions
>>>  OF: Introduce utility helper functions
>>>  OF: Introduce Device Tree resolve support.
>>>  OF: Introduce DT overlay support.
>>>
>>> .../devicetree/dynamic-resolution-notes.txt        |  25 +
>>> Documentation/devicetree/overlay-notes.txt         | 179 +++++
>>> drivers/of/Kconfig                                 |  19 +
>>> drivers/of/Makefile                                |   4 +-
>>> drivers/of/base.c                                  | 114 +--
>>> drivers/of/overlay.c                               | 831 +++++++++++++++++++++
>>> drivers/of/resolver.c                              | 394 ++++++++++
>>> drivers/of/util.c                                  | 253 +++++++
>>> include/linux/of.h                                 | 243 ++++++
>>> 9 files changed, 2005 insertions(+), 57 deletions(-)
>>> create mode 100644 Documentation/devicetree/dynamic-resolution-notes.txt
>>> create mode 100644 Documentation/devicetree/overlay-notes.txt
>>> create mode 100644 drivers/of/overlay.c
>>> create mode 100644 drivers/of/resolver.c
>>> create mode 100644 drivers/of/util.c
>>>
>>> --
>>> 1.7.12
>>>
>>> _______________________________________________
>>> devicetree-discuss mailing list
>>> devicetree-discuss@lists.ozlabs.org
>>> https://lists.ozlabs.org/listinfo/devicetree-discuss
>

      reply	other threads:[~2013-02-22 15:57 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-04 19:31 [PATCH 0/6] Introducing Device Tree Overlays Pantelis Antoniou
2013-01-04 19:31 ` [PATCH 1/6] OF: Introduce device tree node flag helpers Pantelis Antoniou
2013-01-04 19:31 ` [PATCH 2/6] OF: export of_property_notify Pantelis Antoniou
2013-01-04 19:31 ` [PATCH 3/6] OF: Export all DT proc update functions Pantelis Antoniou
2013-03-16  9:45   ` Grant Likely
2013-03-19 11:42     ` Pantelis Antoniou
2013-03-19 17:08       ` Grant Likely
2013-03-16  9:53   ` Grant Likely
2013-01-04 19:31 ` [PATCH 4/6] OF: Introduce utility helper functions Pantelis Antoniou
2013-01-04 19:31 ` [PATCH 5/6] OF: Introduce Device Tree resolve support Pantelis Antoniou
     [not found]   ` <1357327870-13615-6-git-send-email-panto-wVdstyuyKrO8r51toPun2/C9HSW9iNxf@public.gmane.org>
2013-01-21  4:48     ` David Gibson
2013-01-21 10:59       ` Pantelis Antoniou
2013-01-22  4:05         ` David Gibson
     [not found]           ` <20130122040524.GG23500-W9XWwYn+TF0XU02nzanrWNbf9cGiqdzd@public.gmane.org>
2013-01-22 11:06             ` Pantelis Antoniou
2013-01-23  4:40               ` David Gibson
2013-01-23 10:58                 ` Pantelis Antoniou
2013-03-16  9:24                   ` Grant Likely
2013-03-19 11:51                     ` Pantelis Antoniou
2013-03-19 17:18                       ` Grant Likely
2013-03-21  9:12                         ` Pantelis Antoniou
     [not found] ` <1357327870-13615-1-git-send-email-panto-wVdstyuyKrO8r51toPun2/C9HSW9iNxf@public.gmane.org>
2013-01-04 19:31   ` [PATCH 6/6] OF: Introduce DT overlay support Pantelis Antoniou
     [not found]     ` <1357327870-13615-7-git-send-email-panto-wVdstyuyKrO8r51toPun2/C9HSW9iNxf@public.gmane.org>
2013-01-06  2:24       ` Rob Landley
2013-01-07 10:45         ` Pantelis Antoniou
2013-01-22  3:50     ` David Gibson
2013-01-22 11:08       ` Pantelis Antoniou
2013-01-23  5:12         ` David Gibson
2013-01-23 11:01           ` Pantelis Antoniou
2013-01-25  2:34             ` David Gibson
2013-01-05  3:35   ` [PATCH 0/6] Introducing Device Tree Overlays Richard Cochran
     [not found]     ` <20130105033541.GA2501-TJb37gCd1q6chkuNt9O67llkmcu1nq/N@public.gmane.org>
2013-01-05  6:16       ` Joel A Fernandes
2013-01-05  9:35         ` Richard Cochran
     [not found]           ` <20130105093558.GA31408-TJb37gCd1q6chkuNt9O67llkmcu1nq/N@public.gmane.org>
2013-01-05 10:13             ` Pantelis Antoniou
2013-01-06  4:37             ` Rob Landley
2013-02-21 21:25 ` delicious quinoa
     [not found]   ` <CANk1AXQ7ajnwTaHwwbyrri2YkX_60uC9xrQYWuR8u4eT2EQsew-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-02-21 21:53     ` Pantelis Antoniou
2013-02-22 15:57       ` delicious quinoa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CANk1AXTji0CB8jsdTRg0+u56m_BiVoBQHaPQzHKoSA3Tr68ZEw@mail.gmail.com \
    --to=delicious.quinoa@gmail.com \
    --cc=Russ.Dill@ti.com \
    --cc=agnel.joel@gmail.com \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=koen@dominion.thruhere.net \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=mporter@ti.com \
    --cc=mranostay@gmail.com \
    --cc=panto@antoniou-consulting.com \
    --cc=rob.herring@calxeda.com \
    --cc=robdclark@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).