Re: [U-Boot] [RFC PATCH v2 2/6] fdt: Add support for embedded device tree (CONFIG_OF_EMBED)

2011-09-14 Thread Jason
Simon, On Tue, Sep 13, 2011 at 02:06:56PM -0700, Simon Glass wrote: Hi Jason, On Tue, Sep 13, 2011 at 7:37 AM, Jason u-b...@lakedaemon.net wrote: On Mon, Sep 12, 2011 at 05:12:37PM -0700, Simon Glass wrote: On Mon, Sep 12, 2011 at 4:37 PM, Jason u-b...@lakedaemon.net wrote: Do you have

Re: [U-Boot] [RFC PATCH v2 2/6] fdt: Add support for embedded device tree (CONFIG_OF_EMBED)

2011-09-14 Thread Simon Glass
Hi Jason, On Wed, Sep 14, 2011 at 6:47 AM, Jason u-b...@lakedaemon.net wrote: Simon, On Tue, Sep 13, 2011 at 02:06:56PM -0700, Simon Glass wrote: Hi Jason, On Tue, Sep 13, 2011 at 7:37 AM, Jason u-b...@lakedaemon.net wrote: On Mon, Sep 12, 2011 at 05:12:37PM -0700, Simon Glass wrote: On

Re: [U-Boot] [RFC PATCH v2 2/6] fdt: Add support for embedded device tree (CONFIG_OF_EMBED)

2011-09-14 Thread Jason
Simon, On Wed, Sep 14, 2011 at 08:47:25AM -0700, Simon Glass wrote: On Wed, Sep 14, 2011 at 6:47 AM, Jason u-b...@lakedaemon.net wrote: On Tue, Sep 13, 2011 at 02:06:56PM -0700, Simon Glass wrote: On Tue, Sep 13, 2011 at 7:37 AM, Jason u-b...@lakedaemon.net wrote: Added the remote,

Re: [U-Boot] [RFC PATCH v2 2/6] fdt: Add support for embedded device tree (CONFIG_OF_EMBED)

2011-09-14 Thread Grant Likely
On Mon, Sep 12, 2011 at 03:04:23PM -0700, Simon Glass wrote: This new option allows U-Boot to embed a binary device tree into its image to allow run-time control of peripherals. This device tree is for U-Boot's own use and is not necessarily the same one as is passed to the kernel. The

Re: [U-Boot] [RFC PATCH v2 2/6] fdt: Add support for embedded device tree (CONFIG_OF_EMBED)

2011-09-14 Thread Simon Glass
Hi Jason, On Wed, Sep 14, 2011 at 9:11 AM, Jason u-b...@lakedaemon.net wrote: Simon, On Wed, Sep 14, 2011 at 08:47:25AM -0700, Simon Glass wrote: On Wed, Sep 14, 2011 at 6:47 AM, Jason u-b...@lakedaemon.net wrote: On Tue, Sep 13, 2011 at 02:06:56PM -0700, Simon Glass wrote: On Tue, Sep

Re: [U-Boot] [RFC PATCH v2 2/6] fdt: Add support for embedded device tree (CONFIG_OF_EMBED)

2011-09-14 Thread Simon Glass
Hi Grant, On Wed, Sep 14, 2011 at 9:45 AM, Grant Likely grant.lik...@secretlab.ca wrote: On Mon, Sep 12, 2011 at 03:04:23PM -0700, Simon Glass wrote: This new option allows U-Boot to embed a binary device tree into its image to allow run-time control of peripherals. This device tree is for

Re: [U-Boot] [RFC PATCH v2 2/6] fdt: Add support for embedded device tree (CONFIG_OF_EMBED)

2011-09-14 Thread Grant Likely
On Wed, Sep 14, 2011 at 12:03 PM, Simon Glass s...@chromium.org wrote: if the fdt is not in the U-Boot tree, where does it go? When will the kernel fdt be set up? That sounds very promising. Into a separate git tree. Possibly on devicetree.org, git.secretlab.ca, or git.linaro.org. I don't

Re: [U-Boot] [RFC PATCH v2 2/6] fdt: Add support for embedded device tree (CONFIG_OF_EMBED)

2011-09-14 Thread Simon Glass
Hi Grant. On Wed, Sep 14, 2011 at 12:17 PM, Grant Likely grant.lik...@secretlab.ca wrote: On Wed, Sep 14, 2011 at 12:03 PM, Simon Glass s...@chromium.org wrote: if the fdt is not in the U-Boot tree, where does it go? When will the kernel fdt be set up? That sounds very promising. Into a

Re: [U-Boot] [RFC PATCH v2 2/6] fdt: Add support for embedded device tree (CONFIG_OF_EMBED)

2011-09-14 Thread Jason
Simon, On Wed, Sep 14, 2011 at 10:45:59AM -0700, Simon Glass wrote: On Wed, Sep 14, 2011 at 9:11 AM, Jason u-b...@lakedaemon.net wrote: On Wed, Sep 14, 2011 at 08:47:25AM -0700, Simon Glass wrote: On Wed, Sep 14, 2011 at 6:47 AM, Jason u-b...@lakedaemon.net wrote: On Tue, Sep 13, 2011 at

Re: [U-Boot] [RFC PATCH v2 2/6] fdt: Add support for embedded device tree (CONFIG_OF_EMBED)

2011-09-14 Thread Simon Glass
Hi Jason, On Wed, Sep 14, 2011 at 12:50 PM, Jason u-b...@lakedaemon.net wrote: Simon, On Wed, Sep 14, 2011 at 10:45:59AM -0700, Simon Glass wrote: [snip] 5.) run, then 'date' fails like so: find_alias_node: rtc0 fdt_decode_next_alias failed. Error decoding fdt for mvrtc. ## Get

Re: [U-Boot] [RFC PATCH v2 2/6] fdt: Add support for embedded device tree (CONFIG_OF_EMBED)

2011-09-14 Thread Wolfgang Denk
Dear Grant Likely, In message 20110914164528.gm3...@ponder.secretlab.ca you wrote: May I suggest an alternate approach? Rather than hard linking the dtb into the u-boot image, this would be so much more useful if the dtb can be concatenated to the u-boot binary so that it can be configured

Re: [U-Boot] [RFC PATCH v2 2/6] fdt: Add support for embedded device tree (CONFIG_OF_EMBED)

2011-09-14 Thread Jason
On Wed, Sep 14, 2011 at 01:05:58PM -0700, Simon Glass wrote: On Wed, Sep 14, 2011 at 12:50 PM, Jason u-b...@lakedaemon.net wrote: On Wed, Sep 14, 2011 at 10:45:59AM -0700, Simon Glass wrote: [snip] 5.) run, then 'date' fails like so: find_alias_node: rtc0 fdt_decode_next_alias

Re: [U-Boot] [RFC PATCH v2 2/6] fdt: Add support for embedded device tree (CONFIG_OF_EMBED)

2011-09-14 Thread Simon Glass
Hi Jason, On Wed, Sep 14, 2011 at 1:16 PM, Jason u-b...@lakedaemon.net wrote: On Wed, Sep 14, 2011 at 01:05:58PM -0700, Simon Glass wrote: On Wed, Sep 14, 2011 at 12:50 PM, Jason u-b...@lakedaemon.net wrote: On Wed, Sep 14, 2011 at 10:45:59AM -0700, Simon Glass wrote: [snip] 5.) run,

Re: [U-Boot] [RFC PATCH v2 2/6] fdt: Add support for embedded device tree (CONFIG_OF_EMBED)

2011-09-14 Thread Simon Glass
On Wed, Sep 14, 2011 at 1:11 PM, Wolfgang Denk w...@denx.de wrote: Dear Grant Likely, In message 20110914164528.gm3...@ponder.secretlab.ca you wrote: May I suggest an alternate approach?  Rather than hard linking the dtb into the u-boot image, this would be so much more useful if the dtb

Re: [U-Boot] [RFC PATCH v2 2/6] fdt: Add support for embedded device tree (CONFIG_OF_EMBED)

2011-09-14 Thread Jason
Simon, On Wed, Sep 14, 2011 at 01:24:31PM -0700, Simon Glass wrote: On Wed, Sep 14, 2011 at 1:16 PM, Jason u-b...@lakedaemon.net wrote: On Wed, Sep 14, 2011 at 01:05:58PM -0700, Simon Glass wrote: ... Yes, ideally I would like to keep SOC-specific things out of it at this stage, but I was

Re: [U-Boot] [RFC PATCH v2 2/6] fdt: Add support for embedded device tree (CONFIG_OF_EMBED)

2011-09-14 Thread Grant Likely
On Wed, Sep 14, 2011 at 2:11 PM, Wolfgang Denk w...@denx.de wrote: Dear Grant Likely, In message 20110914164528.gm3...@ponder.secretlab.ca you wrote: May I suggest an alternate approach?  Rather than hard linking the dtb into the u-boot image, this would be so much more useful if the dtb

Re: [U-Boot] [RFC PATCH v2 2/6] fdt: Add support for embedded device tree (CONFIG_OF_EMBED)

2011-09-13 Thread Jason
On Mon, Sep 12, 2011 at 05:12:37PM -0700, Simon Glass wrote: On Mon, Sep 12, 2011 at 4:37 PM, Jason u-b...@lakedaemon.net wrote: Do you have a git tree up that I could base off of?  git.chromium.org's version of u-boot doesn't seem to have your code... You probably need to look at a

Re: [U-Boot] [RFC PATCH v2 2/6] fdt: Add support for embedded device tree (CONFIG_OF_EMBED)

2011-09-13 Thread Simon Glass
Hi Jason, On Tue, Sep 13, 2011 at 7:37 AM, Jason u-b...@lakedaemon.net wrote: On Mon, Sep 12, 2011 at 05:12:37PM -0700, Simon Glass wrote: On Mon, Sep 12, 2011 at 4:37 PM, Jason u-b...@lakedaemon.net wrote: Do you have a git tree up that I could base off of?  git.chromium.org's version of

[U-Boot] [RFC PATCH v2 2/6] fdt: Add support for embedded device tree (CONFIG_OF_EMBED)

2011-09-12 Thread Simon Glass
This new option allows U-Boot to embed a binary device tree into its image to allow run-time control of peripherals. This device tree is for U-Boot's own use and is not necessarily the same one as is passed to the kernel. The device tree compiler output should be placed in the $(obj) rooted tree.

Re: [U-Boot] [RFC PATCH v2 2/6] fdt: Add support for embedded device tree (CONFIG_OF_EMBED)

2011-09-12 Thread Jason
On Mon, Sep 12, 2011 at 03:04:23PM -0700, Simon Glass wrote: This device tree is for U-Boot's own use and is not necessarily the same one as is passed to the kernel. Are there plans to keepup with being able to use a kernel generated fdt? eg effectively ignoring things we don't care about like

Re: [U-Boot] [RFC PATCH v2 2/6] fdt: Add support for embedded device tree (CONFIG_OF_EMBED)

2011-09-12 Thread Simon Glass
Hi Jason, On Mon, Sep 12, 2011 at 4:37 PM, Jason u-b...@lakedaemon.net wrote: On Mon, Sep 12, 2011 at 03:04:23PM -0700, Simon Glass wrote: This device tree is for U-Boot's own use and is not necessarily the same one as is passed to the kernel. Are there plans to keepup with being able to use