TP Link WDR4900 (was NXP p1010se device trees only correct for P1010E/P1014E, not P1010/P1014 SoCs).

2018-07-20 Thread Tim Small
On 09/07/18 23:21, Scott Wood wrote: Thanks for your email. The device in question ships an old uboot (a vendor fork of U-Boot 2010.12-svn15934). This was added by commit 6b70ffb9d1b2e, committed in July 2008... maybe there's a problem with the old U-Boot finding the crypto node on this parti

Re: NXP p1010se device trees only correct for P1010E/P1014E, not P1010/P1014 SoCs.

2018-07-09 Thread Scott Wood
tree properly... > > or: > > In the case (such as OpenWRT) where the preferred installation method is > to retain the vendor bootloader, then the distro kernel should handle > the device tree fixup itself? The NXP PPC device trees in the kernel are meant to be complet

Re: NXP p1010se device trees only correct for P1010E/P1014E, not P1010/P1014 SoCs.

2018-07-09 Thread Tim Small
On 06/07/18 19:41, Scott Wood wrote: My openwrt patch just does a: /delete-node/ crypto@3; after the p1010si-post.dtsi include. U-Boot should already be removing the node on non-E chips -- see ft_cpu_setup() in arch/powerpc/cpu/mpc85xx/fdt.c Hi Scott, Thanks for your email. The devic

NXP p1010se device trees only correct for P1010E/P1014E, not P1010/P1014 SoCs.

2018-07-06 Thread Tim Small
without the SEC4 module. The P1010 errata at: https://media.digikey.com/pdf/PCNs/Freescale/P1010CE_RevL.pdf (table 2 on page 2), says that the P1010 and P1014 don't have the SEC4 module, only the P1010E and P1014E models do. So, I think there should probably be device trees for p101xE (wit

Re: NXP p1010se device trees only correct for P1010E/P1014E, not P1010/P1014 SoCs.

2018-07-06 Thread Scott Wood
the P1010 and P1014 don't have the SEC4 > module, only the P1010E and P1014E models do. > > So, I think there should probably be device trees for p101xE (with SEC) > and p101x (without SEC). > > Any thoughts? Not really sure how best to do that... My openwrt patch >

[PATCH v8 10/13] powerpc: Add code to work with device trees in kexec_file_load.

2016-09-05 Thread Thiago Jung Bauermann
kexec_file_load needs to set up the device tree that will be used by the next kernel and check whether it provides a console that can be used by the purgatory. [a...@linux-foundation.org: coding-style fixes] Signed-off-by: Thiago Jung Bauermann Signed-off-by: Andrew Morton --- arch/powerpc/incl

[PATCH v7 10/13] powerpc: Add code to work with device trees in kexec_file_load.

2016-08-30 Thread Thiago Jung Bauermann
kexec_file_load needs to set up the device tree that will be used by the next kernel and check whether it provides a console that can be used by the purgatory. [a...@linux-foundation.org: coding-style fixes] Signed-off-by: Thiago Jung Bauermann Signed-off-by: Andrew Morton --- arch/powerpc/incl

[PATCH v6 09/12] powerpc: Add code to work with device trees in kexec_file_load.

2016-08-19 Thread Thiago Jung Bauermann
kexec_file_load needs to set up the device tree that will be used by the next kernel and check whether it provides a console that can be used by the purgatory. Signed-off-by: Thiago Jung Bauermann --- arch/powerpc/include/asm/kexec.h | 3 + arch/powerpc/kernel/machine_kexec_64.c | 220 ++

[PATCH v5 09/13] powerpc: Add code to work with device trees in kexec_file_load.

2016-08-11 Thread Thiago Jung Bauermann
kexec_file_load needs to set up the device tree that will be used by the next kernel and check whether it provides a console that can be used by the purgatory. Signed-off-by: Thiago Jung Bauermann --- arch/powerpc/include/asm/kexec.h | 3 + arch/powerpc/kernel/machine_kexec_64.c | 222 ++

Re: arch/PPC:B4860qds/B4420qds: Updates to device trees for B4860 for DSP clusters and their L2 caches

2016-03-08 Thread Scott Wood
On Thu, Jan 28, 2016 at 06:47:39PM +0530, Ashish kumar wrote: > B4860 has 1 PPC core cluster and 3 DSP core clusters. > Similarly B4420 has 1 PPC core cluster and 1 DSP core cluster. > > Each DSP core cluster consists of 2 SC3900 cores and a shared L2 cache. > > Add DSP clusters for B4420 > The L

[PATCH] arch/PPC:B4860qds/B4420qds: Updates to device trees for B4860 for DSP clusters and their L2 caches

2016-01-28 Thread Ashish Kumar
B4860 has 1 PPC core cluster and 3 DSP core clusters. Similarly B4420 has 1 PPC core cluster and 1 DSP core cluster. Each DSP core cluster consists of 2 SC3900 cores and a shared L2 cache. Add DSP clusters for B4420 The L2 cache nodes such that they now appear in only the soc specific dtsi files(

RE: [PATCH] B4860qds/B4420qds: Updates to device trees for B4860 for DSP clusters and their L2 caches

2016-01-28 Thread Ashish Kumar
/B4420qds: Updates to device trees for B4860 for DSP clusters and their L2 caches B4860 has 1 PPC core cluster and 3 DSP core clusters. Similarly B4420 has 1 PPC core cluster and 1 DSP core cluster. Each DSP core cluster consists of 2 SC3900 cores and a shared L2 cache. 1. Add DSP clusters for

[PATCH] B4860qds/B4420qds: Updates to device trees for B4860 for DSP clusters and their L2 caches

2016-01-28 Thread Ashish Kumar
B4860 has 1 PPC core cluster and 3 DSP core clusters. Similarly B4420 has 1 PPC core cluster and 1 DSP core cluster. Each DSP core cluster consists of 2 SC3900 cores and a shared L2 cache. 1. Add DSP clusters for B4420 2. Reorganized the L2 cache nodes such that they now appear in only the soc sp

[PATCH v2] powerpc/fsl: Updated device trees for platforms with corenet version 2

2014-05-05 Thread Diana Craciun
From: Diana Craciun Updated the device trees according to the corenet-cf binding definition. Signed-off-by: Diana Craciun --- arch/powerpc/boot/dts/b4860emu.dts | 7 ++- arch/powerpc/boot/dts/fsl/b4420si-post.dtsi | 4 arch/powerpc/boot/dts/fsl/b4420si-pre.dtsi | 2

Re: [PATCH] powerpc/fsl: Updated device trees for platforms with corenet version 2

2014-04-23 Thread Diana Craciun
On 04/19/2014 01:07 AM, Scott Wood wrote: On Fri, 2014-04-18 at 18:21 +0300, Diana Craciun wrote: From: Diana Craciun Updated the device trees according to the corenet-cf binding definition. Signed-off-by: Diana Craciun --- arch/powerpc/boot/dts/b4860emu.dts | 2 +- arch/powerpc

Re: [PATCH] powerpc/fsl: Updated device trees for platforms with corenet version 2

2014-04-18 Thread Scott Wood
On Fri, 2014-04-18 at 18:21 +0300, Diana Craciun wrote: > From: Diana Craciun > > Updated the device trees according to the corenet-cf > binding definition. > > Signed-off-by: Diana Craciun > --- > arch/powerpc/boot/dts/b4860emu.dts | 2 +- > arch/p

[PATCH] powerpc/fsl: Updated device trees for platforms with corenet version 2

2014-04-18 Thread Diana Craciun
From: Diana Craciun Updated the device trees according to the corenet-cf binding definition. Signed-off-by: Diana Craciun --- arch/powerpc/boot/dts/b4860emu.dts | 2 +- arch/powerpc/boot/dts/fsl/b4420si-post.dtsi | 4 arch/powerpc/boot/dts/fsl/b4860si-post.dtsi | 4 arch

Re: [PATCH 2/3] [v2] powerpc/85xx: add Freescale P5040 SOC and SEC v5.2 device trees

2012-07-26 Thread Kumar Gala
On Jul 26, 2012, at 10:08 AM, Timur Tabi wrote: > From: Kim Phillips > > Add device tree (dtsi) files for the Freescale P5040 SOC. Since this > SOC introduces SEC v5.2, add the dtsi file for that also. > > Signed-off-by: Kim Phillips > Signed-off-by: Timur Tabi > --- > arch/powerpc/boot/dts

[PATCH 2/3] [v2] powerpc/85xx: add Freescale P5040 SOC and SEC v5.2 device trees

2012-07-26 Thread Timur Tabi
From: Kim Phillips Add device tree (dtsi) files for the Freescale P5040 SOC. Since this SOC introduces SEC v5.2, add the dtsi file for that also. Signed-off-by: Kim Phillips Signed-off-by: Timur Tabi --- arch/powerpc/boot/dts/fsl/p5040si-post.dtsi | 320 + arch/pow

Re: [PATCH 2/3] powerpc/85xx: add Freescale P5040 SOC and SEC v5.2 device trees

2012-07-25 Thread Tabi Timur-B04825
On Jul 25, 2012, at 5:38 PM, "Phillips Kim-R1AAHA" wrote: > On Wed, 25 Jul 2012 16:59:49 -0500 > Timur Tabi wrote: > >> Add device tree (dtsi) files for the Freescale P5040 SOC. Since this >> SOC introduces SEC v5.2, add the dtsi file for that also. >> >> Signed-off-by: Timur Tabi >> --- >

Re: [PATCH 2/3] powerpc/85xx: add Freescale P5040 SOC and SEC v5.2 device trees

2012-07-25 Thread Kim Phillips
On Wed, 25 Jul 2012 16:59:49 -0500 Timur Tabi wrote: > Add device tree (dtsi) files for the Freescale P5040 SOC. Since this > SOC introduces SEC v5.2, add the dtsi file for that also. > > Signed-off-by: Timur Tabi > --- mind retaining the original authors' signoffs? Kim

[PATCH 2/3] powerpc/85xx: add Freescale P5040 SOC and SEC v5.2 device trees

2012-07-25 Thread Timur Tabi
Add device tree (dtsi) files for the Freescale P5040 SOC. Since this SOC introduces SEC v5.2, add the dtsi file for that also. Signed-off-by: Timur Tabi --- arch/powerpc/boot/dts/fsl/p5040si-post.dtsi | 320 + arch/powerpc/boot/dts/fsl/p5040si-pre.dtsi| 111 +

Re: [PATCH] powerpc/85xx: remove P1020RDB and P2020RDB CAMP device trees

2012-07-17 Thread Kumar Gala
On Jul 13, 2012, at 5:40 PM, Timur Tabi wrote: > We only need two examples of CAMP device trees in the upstream kernel. > > Co-operative Asymmetric Multi-Processing (CAMP) is a technique where two > or more operating systems (typically multiple copies of the same Linux kernel) >

[PATCH] powerpc/85xx: remove P1020RDB and P2020RDB CAMP device trees

2012-07-13 Thread Timur Tabi
We only need two examples of CAMP device trees in the upstream kernel. Co-operative Asymmetric Multi-Processing (CAMP) is a technique where two or more operating systems (typically multiple copies of the same Linux kernel) are loaded into memory, and each kernel is given a subset of the available

Re: [PATCH 08/29] powerpc/85xx: Rework MPC8536DS device trees

2011-11-17 Thread Scott Wood
On Thu, Nov 17, 2011 at 01:16:00AM -0600, Kumar Gala wrote: > Utilize new split between board & SoC, and new SoC device trees split > into pre & post utilizing 'template' includes for SoC IP blocks. > > Other changes include: > * Moved to specifying interrupt-par

[PATCH 28/29] powerpc/85xx: Rework P4080DS device trees

2011-11-17 Thread Kumar Gala
Utilize new split between board & SoC, and new SoC device trees split into pre & post utilizing 'template' includes for SoC IP blocks. Other changes include: * Adding of MPIC timer blocks * Dropping "fsl,p4080-IP..." from compatibles for standard blocks * Removed mpi

[PATCH 10/29] powerpc/85xx: Rework MPC8548CDS device trees

2011-11-16 Thread Kumar Gala
Utilize new split between board & SoC, and new SoC device trees split into pre & post utilizing 'template' includes for SoC IP blocks. Other changes include: * Moved to a standard 2 #address-cells & #size-cells at top-level * Moved to specifying interrupt-parent for mpic at

[PATCH 08/29] powerpc/85xx: Rework MPC8536DS device trees

2011-11-16 Thread Kumar Gala
Utilize new split between board & SoC, and new SoC device trees split into pre & post utilizing 'template' includes for SoC IP blocks. Other changes include: * Moved to specifying interrupt-parent for mpic at root * Moved to 4-cell mpic interrupt cells to support MPIC timers * A

[RFC][PATCH 23/30] powerpc/85xx: Rework P4080DS device trees

2011-11-10 Thread Kumar Gala
Signed-off-by: Kumar Gala --- arch/powerpc/boot/dts/fsl/p4080si-post.dtsi | 342 arch/powerpc/boot/dts/fsl/p4080si-pre.dtsi | 145 + arch/powerpc/boot/dts/p4080ds.dts | 14 +- arch/powerpc/boot/dts/p4080si.dtsi | 755 --- 4 files c

[RFC][PATCH 22/30] powerpc/85xx: Rework MPC8548CDS device trees

2011-11-10 Thread Kumar Gala
Signed-off-by: Kumar Gala --- arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi | 143 +++ arch/powerpc/boot/dts/fsl/mpc8548si-pre.dtsi | 62 +++ arch/powerpc/boot/dts/mpc8548cds.dts | 505 ++--- 3 files changed, 327 insertions(+), 383 deletions(-) create mode 1

[RFC][PATCH 20/30] powerpc/85xx: Rework MPC8536DS device trees

2011-11-10 Thread Kumar Gala
Signed-off-by: Kumar Gala --- arch/powerpc/boot/dts/fsl/mpc8536si-post.dtsi | 248 ++ arch/powerpc/boot/dts/fsl/mpc8536si-pre.dtsi | 63 arch/powerpc/boot/dts/mpc8536ds.dts | 456 + arch/powerpc/boot/dts/mpc8536ds.dtsi | 141 ++

[RFC][PATCH 00/30] Rework FSL MPC85xx/Pxxxx device trees

2011-11-10 Thread Kumar Gala
Posting this to get any feedback and review while I cleanup commit messages and the such. The general idea is to split out the SoC and IP blocks into their own files that can be included to build up a board level device tree. This allows us to reduce overall duplication and forward looking mainte

Re: [PATCH v3] powerpc/85xx: Adding DCSR node to dtsi device trees

2011-10-11 Thread Kumar Gala
On Sep 16, 2011, at 10:36 AM, Kumar Gala wrote: > From: Stephen George > > Adding new device tree binding file for the DCSR node. Modifying device > tree dtsi files to add DCSR node for P2041, P3041, P3060, P4080, & P5020. > > Signed-off-by: Stephen George > Signed-off-by: Kumar Gala > ---

[PATCH v3] powerpc/85xx: Adding DCSR node to dtsi device trees

2011-09-16 Thread Kumar Gala
From: Stephen George Adding new device tree binding file for the DCSR node. Modifying device tree dtsi files to add DCSR node for P2041, P3041, P3060, P4080, & P5020. Signed-off-by: Stephen George Signed-off-by: Kumar Gala --- v3: * fix IRQs #, (should be +16 because of external IRQs starting

[PATCH v2] powerpc/85xx: Adding DCSR node to dtsi device trees

2011-09-02 Thread Kumar Gala
From: Stephen George Adding new device tree binding file for the DCSR node. Modifying device tree dtsi files to add DCSR node for P2041, P3041, P3060, P4080, & P5020. Signed-off-by: Stephen George Signed-off-by: Kumar Gala --- v2: * include dscr.txt binding spec * moved around dcsr nodes to k

[PATCH 4/4] powerpc/85xx: Adding DCSR node to dtsi device trees

2011-09-01 Thread Kumar Gala
From: Stephen George Adding new device tree binding file for the DCSR node. Modifying device tree dtsi files to add DCSR node for P2041, P3041, P3060, P4080, & P5020. Signed-off-by: Stephen George Signed-off-by: Kumar Gala --- arch/powerpc/boot/dts/p2041rdb.dts |4 ++ arch/powerpc/boot/d

Re: [PATCH v3 0/7] Fixup booting with device trees and uImage/elf on ppc32

2010-07-29 Thread Simon Horman
On Mon, Jul 26, 2010 at 11:22:58PM -0500, Matthew McClintock wrote: > > On Jul 26, 2010, at 9:55 PM, Simon Horman wrote: > > > [Cced linuxppc-dev] > > > > On Tue, Jul 20, 2010 at 11:42:57PM -0500, Matthew McClintock wrote: > >> This patch series adds full support for booting with a flat device t

Re: [PATCH v3 0/7] Fixup booting with device trees and uImage/elf on ppc32

2010-07-26 Thread Matthew McClintock
On Jul 26, 2010, at 9:55 PM, Simon Horman wrote: > [Cced linuxppc-dev] > > On Tue, Jul 20, 2010 at 11:42:57PM -0500, Matthew McClintock wrote: >> This patch series adds full support for booting with a flat device tree >> with either uImage or elf file formats. Kexec and Kdump should work, and >>

Re: [PATCH v3 0/7] Fixup booting with device trees and uImage/elf on ppc32

2010-07-26 Thread Maxim Uvarov
2010/7/27 Simon Horman > [Cced linuxppc-dev] > > On Tue, Jul 20, 2010 at 11:42:57PM -0500, Matthew McClintock wrote: > > This patch series adds full support for booting with a flat device tree > > with either uImage or elf file formats. Kexec and Kdump should work, and > > you should also be able

Re: [PATCH v3 0/7] Fixup booting with device trees and uImage/elf on ppc32

2010-07-26 Thread Simon Horman
[Cced linuxppc-dev] On Tue, Jul 20, 2010 at 11:42:57PM -0500, Matthew McClintock wrote: > This patch series adds full support for booting with a flat device tree > with either uImage or elf file formats. Kexec and Kdump should work, and > you should also be able to use ramdisks or reuse your curre

Re: [PATCH] kexec-tools, ppc64: Fix segfault on parsing of large device trees.

2010-05-10 Thread Simon Horman
On Mon, May 10, 2010 at 02:55:03PM +1000, Michael Neuling wrote: > > > In message <4be78e06.6080...@ozlabs.org> you wrote: > > > > ppc64's fs2dt used to use a fixed-size array into which the device tree > > was parsed. There was no bounds checking, so with a large device tree other > > heap dat

Re: [PATCH] kexec-tools, ppc64: Fix segfault on parsing of large device trees.

2010-05-09 Thread Michael Neuling
In message <4be78e06.6080...@ozlabs.org> you wrote: > > ppc64's fs2dt used to use a fixed-size array into which the device tree > was parsed. There was no bounds checking, so with a large device tree other > heap data ended up getting stomped -- SIGSEGV time. > > This patch adds a function, 'd

Re: device trees.

2009-05-14 Thread David H. Lynch Jr.
David Gibson wrote: >> >> It is not THE dtb, it is A dtb. Our systems support and typically use >> multiple FPGA bit streams. >> > > Ah, ok. And those multiple bitstreams all inhabit the same NOR flash? > From what I read below I'm guessing not.. > In my work they virtually always do,

Re: device trees.

2009-05-13 Thread David Gibson
On Wed, May 13, 2009 at 02:11:22PM -0400, David H. Lynch Jr. wrote: > David Gibson wrote: > > > > > > Ok. If you have NOR flash, why couldn't you just put the dtb in a > > separate partition of the NOR? > > > > > It is not THE dtb, it is A dtb. Our systems support and typically use > multiple F

Re: device trees.

2009-05-13 Thread David H. Lynch Jr.
David Gibson wrote: > > > Ok. If you have NOR flash, why couldn't you just put the dtb in a > separate partition of the NOR? > > It is not THE dtb, it is A dtb. Our systems support and typically use multiple FPGA bit streams. Clients are That means each bitstream must have its own dtb, clients

RE: device trees.

2009-05-13 Thread Stephen Neuendorffer
>> Um.. one thing I'm missing in this discussion of attaching the dtb to >> the bitstream: I don't see how the bitstream becomes accessible to >> the kernel at runtime. Unless you were exposing the dtb as part of >> the fpga programming, but I thought you explicitly weren't doing that >> because

Re: device trees.

2009-05-12 Thread David Gibson
On Wed, May 13, 2009 at 02:11:33AM -0400, David H. Lynch Jr. wrote: > David Gibson wrote: > > On Tue, May 12, 2009 at 05:10:46PM -0700, Stephen Neuendorffer wrote: > > > >> Another possibility is to pad the DTB with a DESYNC command and the > >> correct pad frame, just in case it cannot be preve

Re: device trees.

2009-05-12 Thread David H. Lynch Jr.
David Gibson wrote: > On Tue, May 12, 2009 at 05:10:46PM -0700, Stephen Neuendorffer wrote: > >> Another possibility is to pad the DTB with a DESYNC command and the >> correct pad frame, just in case it cannot be prevented. >> > > Um.. one thing I'm missing in this discussion of attaching t

Re: device trees.

2009-05-12 Thread Grant Likely
On Tue, May 12, 2009 at 8:36 PM, David Gibson wrote: > On Tue, May 12, 2009 at 05:10:46PM -0700, Stephen Neuendorffer wrote: >> >> Another possibility is to pad the DTB with a DESYNC command and the >> correct pad frame, just in case it cannot be prevented. > > Um.. one thing I'm missing in this d

Re: device trees.

2009-05-12 Thread David Gibson
es, but if someone could enlighten me...? > > -Original Message- > > From: Grant Likely [mailto:grant.lik...@secretlab.ca] > > Sent: Monday, May 11, 2009 10:30 PM > > To: Stephen Neuendorffer > > Cc: David H. Lynch Jr.; linuxppc-dev@ozlabs.org > > Subje

Re: device trees.

2009-05-12 Thread David Gibson
On Tue, May 12, 2009 at 08:13:19PM -0400, David H. Lynch Jr. wrote: > > > Are we all using the same meaning of firmware ? > > While firmware == BIOS is the norm for PC's Well, BIOS, or bootloader is what I'm meaning here. > atleast in the embedded FPGA space firmware could mean th

Re: device trees.

2009-05-12 Thread Grant Likely
Whenever I say firmware I mean executable code that executes when the processor comes out of reset. When I mean the FPGA bitstream, I say bitstream. :-) g. On Tue, May 12, 2009 at 6:13 PM, David H. Lynch Jr. wrote: > > >    Are we all using the same meaning of firmware ? > >    While firmware

Re: device trees.

2009-05-12 Thread David H. Lynch Jr.
Are we all using the same meaning of firmware ? While firmware == BIOS is the norm for PC's atleast in the embedded FPGA space firmware could mean the FPGA programing that creates the hardware. For an FPGA based system a dtb generated by the same software that created the "firmw

RE: device trees.

2009-05-12 Thread Stephen Neuendorffer
gt; Cc: David H. Lynch Jr.; linuxppc-dev@ozlabs.org > Subject: Re: device trees. > > On Mon, May 11, 2009 at 10:27 PM, Stephen Neuendorffer > wrote: > >> > OK, so the key question seems to be *when* the bitstream is > > associated > >> > with the >

Re: device trees.

2009-05-12 Thread Grant Likely
On Tue, May 12, 2009 at 5:24 PM, David Gibson wrote: > On Mon, May 11, 2009 at 11:22:21PM -0600, Grant Likely wrote: >> ... but I do agree that hard linking the .dtb into firmware, or making >> the .dtb hard to upgrade is the way of madness. > > Ah, we're talking at cross purposes a bit then.  Yea

Re: device trees.

2009-05-12 Thread David Gibson
On Mon, May 11, 2009 at 11:22:21PM -0600, Grant Likely wrote: > On Mon, May 11, 2009 at 7:12 PM, David Gibson > wrote: > > On Mon, May 11, 2009 at 05:09:27PM -0600, Grant Likely wrote: > >> In other words; having your bootloader support FDT is preferred, but > >> not required. > > > > I wouldn't e

Re: device trees.

2009-05-12 Thread Wolfram Sang
On Mon, May 11, 2009 at 06:04:16PM -0600, Grant Likely wrote: > > David: If you would like to have a discussion regarding particular > > design tradeoffs, I'd be happy to, but since I doubt there is anyone on > > this list who is interested in the vagaries of FPGA configuration > > methods, I sugg

Re: device trees.

2009-05-11 Thread Grant Likely
On Mon, May 11, 2009 at 10:27 PM, Stephen Neuendorffer wrote: >> > OK, so the key question seems to be *when* the bitstream is > associated >> > with the >> > device tree.  If at bitstream generation time, you can prepend the > .dtb >> > to the bitstream.  As long as the dtb doesn't contain the ma

Re: device trees.

2009-05-11 Thread Grant Likely
On Mon, May 11, 2009 at 7:12 PM, David Gibson wrote: > On Mon, May 11, 2009 at 05:09:27PM -0600, Grant Likely wrote: >> In other words; having your bootloader support FDT is preferred, but >> not required. > > I wouldn't even go so far as to say it's preferred.  IMO, people have > gone a bit prema

RE: device trees.

2009-05-11 Thread Stephen Neuendorffer
> -Original Message- > From: David H. Lynch Jr. [mailto:dh...@dlasys.net] > Sent: Monday, May 11, 2009 7:35 PM > To: Stephen Neuendorffer; linuxppc-dev@ozlabs.org > Subject: Re: device trees. > > Stephen Neuendorffer wrote: > > > >> Many of our sys

Re: device trees.

2009-05-11 Thread David H. Lynch Jr.
Stephen Neuendorffer wrote: > >> Many of our systems are LX systems but currently we are not running >> Linux on them. >> > > Master SelectMap, I presume? What FPGA family? > Does the FPGA have access to the CPLD after boot, other than through the > configuration pins? > > One of the skill

Re: device trees.

2009-05-11 Thread Michael Ellerman
Rather than starting from scratch. > > >>I am not looking to be convinced that I am approaching this all wrong. > > >>If you are happy with what you have - great. I am not. > > >> While I was not looking to restart a great debate over device trees > >

Re: device trees.

2009-05-11 Thread David Gibson
>> it can be generated from scratch (like with real OpenFirmware).  There > >> is lots of flexibility on how to handle it. > >> > >> > > First device trees are now the ONLY means of  passing information to the > > kernel. > > By defini

Re: device trees.

2009-05-11 Thread David Gibson
t does not meet a number of our needs, > and would require significant architectural changes to do so. The > difference between it and devicetrees is that u-boot is avaiable to us > if we want, I did port u-boot to our hardware at one point and it did > everything it promised, but u-boo

Re: device trees.

2009-05-11 Thread David Gibson
y the time the kernel is started the device tree > > must be fully formed and populated. It can be completely pre-canned > > (like simpleImage), it can be modified by firmware (like u-boot), or > > it can be generated from scratch (like with real OpenFirmware). There > > i

Re: device trees.

2009-05-11 Thread Grant Likely
On Mon, May 11, 2009 at 5:19 PM, Stephen Neuendorffer wrote: > >> >>    The best alternative to creating the device tree dynamically > would >> >> be to >> >>    append the devicetree to the bitimage in a way the boot loader > could >> >> always find it. >> >> >> > >> > That sounds like a good sol

RE: device trees.

2009-05-11 Thread Stephen Neuendorffer
> >>The best alternative to creating the device tree dynamically would > >> be to > >>append the devicetree to the bitimage in a way the boot loader could > >> always find it. > >> > > > > That sounds like a good solution to me. > > > I am glad you like it. If Xilinx would like to offe

Re: device trees.

2009-05-11 Thread Grant Likely
the kernel is started the device tree >> must be fully formed and populated.  It can be completely pre-canned >> (like simpleImage), it can be modified by firmware (like u-boot), or >> it can be generated from scratch (like with real OpenFirmware).  There >> is lots of flexibilit

Re: device trees.

2009-05-11 Thread Benjamin Herrenschmidt
On Mon, 2009-05-11 at 17:38 -0400, David H. Lynch Jr. wrote: > Not only is the device tree expected to pass static hardware > configuration information, but it is the sole means of passing > anything. > As an example Command lines are to be in the device tree. > Everything is supposed to be in the

Re: device trees.

2009-05-11 Thread Benjamin Herrenschmidt
> > Not pretty, but it does more or less what you're talking about. Would > > need some work to get it going on !pseries obviously. > > Heh, I didn't even know this existed. :-) > > Thinking about this more, it seems to me that the tricky bit would be > figuring out how to drop all references t

Re: device trees.

2009-05-11 Thread David H. Lynch Jr.
be completely pre-canned > (like simpleImage), it can be modified by firmware (like u-boot), or > it can be generated from scratch (like with real OpenFirmware). There > is lots of flexibility on how to handle it. > > First device trees are now the ONLY means of passing informati

Re: device trees.

2009-05-11 Thread Grant Likely
I was not specifically trying to criticize simple image. >    My problem is not with specific means of handling device trees. >    It is that it is a one size fits all solution, and it is not > sufficiently flexible for that. What do you mean by "one size fits all solution?" T

Re: device trees.

2009-05-11 Thread David H. Lynch Jr.
and devicetrees is that u-boot is avaiable to us if we want, I did port u-boot to our hardware at one point and it did everything it promised, but u-boot is optional, device trees are not. I do not have to re-architect u-boot to fit into 16k of bram, or load bit files or . If I want to

Re: device trees.

2009-05-11 Thread David H. Lynch Jr.
dtb is passed to it. > I was not aware that u-boot was currently doing that, but I was aware that was possible. It is the most useful alternative to simple image. I was not specifically trying to criticize simple image. My problem is not with specific means of handling device

Re: device trees.

2009-05-11 Thread David H. Lynch Jr.
Stephen Neuendorffer wrote: >> You *could* generate the device tree dynamically, but I think that is >> a path of diminishing returns considering that generating a .dts at >> the same time as bitstream creation time is cheap and it is small. At >> one time Steven Neuendorffer was playing with a sc

RE: device trees.

2009-05-11 Thread Stephen Neuendorffer
> You *could* generate the device tree dynamically, but I think that is > a path of diminishing returns considering that generating a .dts at > the same time as bitstream creation time is cheap and it is small. At > one time Steven Neuendorffer was playing with a scheme to preload a > section of

Re: device trees.

2009-05-11 Thread Timur Tabi
On Mon, May 11, 2009 at 1:32 AM, David H. Lynch Jr. wrote: >    We are very actively headed in the opposite direction. It is my/our > intention to have a single linux executable that works accross >    everyone of our cards and everyone of our bitfiles. This is the same direction that "we" are he

Re: device trees.

2009-05-11 Thread Grant Likely
On Mon, May 11, 2009 at 12:32 AM, David H. Lynch Jr. wrote: >    But partial reconfiguration is not the only way to encounter a > dynamic environment. >    A typical pico system has multiple bit files and multiple > executables stored in its flash file system. >    Power up and soft resets might e

Re: device trees.

2009-05-10 Thread David H. Lynch Jr.
I will have to look at the code referenced below, But my objective is not to address partial reconfiguration at this time. At Pico we have come to the conclusion that as it is currently done partial reconfiguration has extremely limited use. We are actively looking at other techniq

Re: device trees.

2009-05-10 Thread Grant Likely
On Sun, May 10, 2009 at 8:00 PM, Michael Ellerman wrote: > On Sat, 2009-05-09 at 14:51 -0600, Grant Likely wrote: >> On Fri, May 8, 2009 at 10:03 AM, David H. Lynch Jr. wrote: >> >    Is there an example somewhere that shows building a device tree on >> > the fly ? >> > >> >    As our products mo

Re: device trees.

2009-05-10 Thread Michael Ellerman
On Sat, 2009-05-09 at 14:51 -0600, Grant Likely wrote: > On Fri, May 8, 2009 at 10:03 AM, David H. Lynch Jr. wrote: > >Is there an example somewhere that shows building a device tree on > > the fly ? > > > >As our products move forward it becomes increasingly clear that > > static configur

Re: device trees.

2009-05-09 Thread Grant Likely
story, I assume you're talking about FPGA device trees here. Are you doing partial reconfiguration at runtime? Or are you talking about generating a device tree to match the FPGA design? For the later, there is a tool which works with EDK to generate a device tree based on an EDK design. Yo

Re: device trees.

2009-05-08 Thread Kumar Gala
you can look at the source to SLOF or u-boot to see cases of building nodes on the fly. - k On May 8, 2009, at 11:03 AM, David H. Lynch Jr. wrote: Is there an example somewhere that shows building a device tree on the fly ? As our products move forward it becomes increasingly clear th

Re: device trees.

2009-05-08 Thread Timur Tabi
On Fri, May 8, 2009 at 11:03 AM, David H. Lynch Jr. wrote: >    Is there an example somewhere that shows building a device tree on > the fly ? A whole device tree? I don't think so. U-Boot does manipulate quite a few properties, but it assume that the DTS lists all the devices. Remember, one o

device trees.

2009-05-08 Thread David H. Lynch Jr.
Is there an example somewhere that shows building a device tree on the fly ? As our products move forward it becomes increasingly clear that static configurations are not going to work. -- Dave Lynch DLA Systems Software Development:

Re: of_serial and device trees

2009-03-25 Thread Michael Ellerman
>lock); > > isf->ioaddr = ioremap(phys_addr.start, > > phys_addr.end - phys_addr.start); > > That looks good -- I'd have expected of_address_to_resource to fail, > though, when the ranges property was missing. The kernel's device tree

Re: of_serial and device trees

2009-03-25 Thread Scott Wood
(&isf->lock); isf->ioaddr = ioremap(phys_addr.start, phys_addr.end - phys_addr.start); That looks good -- I'd have expected of_address_to_resource to fail, though, when the ranges property was missing. The kernel's device tree parsing code c

Re: of_serial and device trees

2009-03-25 Thread Simon Kagstrom
d (and with some other issues). > Compatible should be of the form "vendor,device" -- and does "isf" > uniquely identify the specific FPGA logic, or are there other versions > out there (or likely to exist in the future)? Note that there are some > bad examples in existin

Re: of_serial and device trees

2009-03-24 Thread Scott Wood
clock-frequency, and device_type. Compatible should be of the form "vendor,device" -- and does "isf" uniquely identify the specific FPGA logic, or are there other versions out there (or likely to exist in the future)? Note that there are some bad examples in existing device trees

of_serial and device trees

2009-03-24 Thread Simon Kagstrom
printk(KERN_ERR "Could not find ISF PIC\n"); return; } and thereafter calling a custom setup function for the FPGA interrupt controller. That appears to work fine, but I'm wondering how to get the serial ports detected properly by of_serial. I suppose I c

Re: [PATCH 3/8] powerpc/5200: Trim cruft from device trees

2009-01-29 Thread Wolfram Sang
d in this > madness. Editorial changes were made to keep the all the > mpc5200 board device trees as similar as possible so that diffs > between them only show the real differences between the boards. > The pcm030 device tree was most affected by this because many > of the comments h

[PATCH 3/8] powerpc/5200: Trim cruft from device trees

2009-01-21 Thread Grant Likely
property out of device nodes and into top level parent node. This patch also include what looks to be just trivial editorial whitespace/format changes, but there is real method in this madness. Editorial changes were made to keep the all the mpc5200 board device trees as similar as possible so that

[PATCH add immr alias 4/4] powerpc: 8[56]xx: Add immr aliases to 8[56]xx device trees

2008-08-05 Thread John Rigby
Now that get_immrbase knows about immr aliases. Some chip docs call this ccsr for 8[56]xx platforms but we stick with immr for consistency across 8xxx. Signed-off-by: John Rigby <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/ksi8560.dts |3 ++- arch/powerpc/boot/dts/mpc8536ds.dts

[PATCH add immr alias 3/4] powerpc: 83xx: Add immr aliases to 83xx device trees.

2008-08-05 Thread John Rigby
Now that get_immrbase knows about immr aliases. Signed-off-by: John Rigby <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8313erdb.dts|3 ++- arch/powerpc/boot/dts/mpc8315erdb.dts|3 ++- arch/powerpc/boot/dts/mpc832x_mds.dts|3 ++- arch/powerpc/boot/dts/mpc832x_rdb.dts

Re: [PATCH 1/3] mpc83xx: fix usb phy_type in mpc837x rdb device trees

2008-03-28 Thread Kim Phillips
On Fri, 28 Mar 2008 14:37:51 -0500 Kumar Gala <[EMAIL PROTECTED]> wrote: > > On Mar 28, 2008, at 11:44 AM, Anton Vorontsov wrote: > > On Fri, Mar 28, 2008 at 10:51:25AM -0500, Kim Phillips wrote: > >> the mpc837x rdb board uses low pin count interfaces (ULPI) to connect > >> to the USB PHY. > > >

Re: [PATCH 1/3] mpc83xx: fix usb phy_type in mpc837x rdb device trees

2008-03-28 Thread Kumar Gala
On Mar 28, 2008, at 11:44 AM, Anton Vorontsov wrote: On Fri, Mar 28, 2008 at 10:51:25AM -0500, Kim Phillips wrote: the mpc837x rdb board uses low pin count interfaces (ULPI) to connect to the USB PHY. I've sent this fix two weeks ago... http://ozlabs.org/pipermail/linuxppc-dev/2008-March/052

Re: [PATCH 1/3] mpc83xx: fix usb phy_type in mpc837x rdb device trees

2008-03-28 Thread Anton Vorontsov
On Fri, Mar 28, 2008 at 10:51:25AM -0500, Kim Phillips wrote: > the mpc837x rdb board uses low pin count interfaces (ULPI) to connect > to the USB PHY. I've sent this fix two weeks ago... http://ozlabs.org/pipermail/linuxppc-dev/2008-March/052926.html > Signed-off-by: Kim Phillips <[EMAIL PROTEC

[PATCH 1/3] mpc83xx: fix usb phy_type in mpc837x rdb device trees

2008-03-28 Thread Kim Phillips
the mpc837x rdb board uses low pin count interfaces (ULPI) to connect to the USB PHY. Signed-off-by: Kim Phillips <[EMAIL PROTECTED]> --- arch/powerpc/boot/dts/mpc8377_rdb.dts |2 +- arch/powerpc/boot/dts/mpc8378_rdb.dts |2 +- arch/powerpc/boot/dts/mpc8379_rdb.dts |2 +- 3 files chan

Re: [PATCH 2/2] Add local bus device nodes to MPC837xMDS device trees.

2008-03-11 Thread Segher Boessenkool
This isn't a problem with this device tree, but it's probably time we started establishing some conventional generic names for nand flash and board-control devices. So, to start the ball rolling, I've seen several names for nand flash nodes, I'd suggest we standardise on "nand-flash". What's wr

Re: [PATCH 2/2] Add local bus device nodes to MPC837xMDS device trees.

2008-03-10 Thread David Gibson
On Tue, Mar 11, 2008 at 01:43:49AM +0100, Arnd Bergmann wrote: > On Tuesday 11 March 2008, David Gibson wrote: > > On Fri, Mar 07, 2008 at 04:39:30AM +0100, Segher Boessenkool wrote: > > > > This isn't a problem with this device tree, but it's probably time we > > > > started establishing some conv

  1   2   >