On Fri, Apr 29, 2011 at 10:10:08PM -0600, Stephen Warren wrote:
> Without this, none of the devicetree devices in tegra-harmony.dts can
> map interrupts, and the system fails to boot.
>
> Signed-off-by: Stephen Warren
Merged into arm/dt: full tegra devicetree support patch, thanks.
g.
> ---
>
On Fri, Apr 29, 2011 at 08:37:24PM -0400, Nicolas Pitre wrote:
> On Fri, 29 Apr 2011, Grant Likely wrote:
>
> > diff --git a/Documentation/devicetree/booting-without-of.txt
> > b/Documentation/devicetree/booting-without-of.txt
> > index 50619a0..31d7e8a 100644
> > --- a/Documentation/devicetree/b
On Fri, Apr 29, 2011 at 08:28:47PM -0400, Nicolas Pitre wrote:
> On Fri, 29 Apr 2011, Grant Likely wrote:
>
> > It is now implemented by core code.
> >
> > Signed-off-by: Grant Likely
> > ---
> > arch/arm/kernel/devtree.c | 14 --
> > 1 files changed, 0 insertions(+), 14 deletions
The SDHCI driver assigns dynamic device numbers (mmcblk0/1/...) to
devices based on when they get probed, which IDs are free at that time,
etc. Many boards have e.g. 1 fixed MMC soldered onto the board, and 1
SD slot. There may or may not be a card in the SD slot at probe time,
which can then cause
tegra250.dts describes everything within the Tegra SoC, but leaves all
optional devices disabled.
tegra-harmony.dts is now the configuration of the SoC for the board,
i.e. it enables the optional devices that are required for the board,
and provides any required platform data for those devics.
Th
Signed-off-by: Stephen Warren
---
arch/arm/boot/dts/tegra-seaboard.dts | 33 +
arch/arm/mach-tegra/Makefile.boot|1 +
2 files changed, 34 insertions(+), 0 deletions(-)
create mode 100644 arch/arm/boot/dts/tegra-seaboard.dts
diff --git a/arch/arm/boot/dt
Without this, none of the devicetree devices in tegra-harmony.dts can
map interrupts, and the system fails to boot.
Signed-off-by: Stephen Warren
---
v2: Add a Tegra-specific compatible value, search by that value, minor
formatting fixes.
arch/arm/boot/dts/tegra-harmony.dts |3 +++
arch
On Fri, 29 Apr 2011, Grant Likely wrote:
> diff --git a/Documentation/devicetree/booting-without-of.txt
> b/Documentation/devicetree/booting-without-of.txt
> index 50619a0..31d7e8a 100644
> --- a/Documentation/devicetree/booting-without-of.txt
> +++ b/Documentation/devicetree/booting-without-of.t
On Fri, 29 Apr 2011, Grant Likely wrote:
> It is now implemented by core code.
>
> Signed-off-by: Grant Likely
> ---
> arch/arm/kernel/devtree.c | 14 --
> 1 files changed, 0 insertions(+), 14 deletions(-)
Maybe this should be folded in the patch that introduced this instead?
N
On Fri, Apr 29, 2011 at 04:31:33PM -0600, Stephen Warren wrote:
> Without this, none of the devicetree devices in tegra-harmony.dts can
> map interrupts, and the system fails to boot.
>
> Signed-off-by: Stephen Warren
> ---
> Note: This patch is based on Grant's latest
> git://git.secretlab.ca/gi
Without this, none of the devicetree devices in tegra-harmony.dts can
map interrupts, and the system fails to boot.
Signed-off-by: Stephen Warren
---
Note: This patch is based on Grant's latest
git://git.secretlab.ca/git/linux-2.6 devicetree/test
plus all the Tegra fixes I recently posted to lina
On Fri, 29 Apr 2011, Russell King - ARM Linux wrote:
> On Fri, Apr 29, 2011 at 09:16:39AM -0400, Nicolas Pitre wrote:
> > On Fri, 29 Apr 2011, Tony Lindgren wrote:
> >
> > > If the compressed image is smaller than BSS, then we end up
> > > having DT data in the BSS area. In this case the compress
On Fri, Apr 29, 2011 at 06:16:33PM +0200, Sebastian Andrzej Siewior wrote:
> Grant Likely wrote:
> >I'd really like to get patches 1-4 merged into 2.6.40. Please test.
> >I'm also running through build testing here, and when it's complete
> >I'll push it out to a 'devicetree/irq-domain' branch on
On Fri, 29 Apr 2011 17:27:06 +
Kushwaha Prabhakar-B32579 wrote:
>
>
> > > Hi,
> > >
> > > I have no comments about coding and architecture. It looks fine.
> > >
> > > Only have a query about its use case..
> > >"Any application intended to use message interrupt requires to know
> > reg_
> > Hi,
> >
> > I have no comments about coding and architecture. It looks fine.
> >
> > Only have a query about its use case..
> >"Any application intended to use message interrupt requires to know
> reg_num because of struct mpic_msgr* mpic_msgr_get(unsigned int reg_num)
> API"
> >
> > It w
On 04/28/2011 10:00 PM, Kushwaha Prabhakar-B32579 wrote:
Hi,
I have no comments about coding and architecture. It looks fine.
Only have a query about its use case..
"Any application intended to use message interrupt requires to know reg_num
because of struct mpic_msgr* mpic_msgr_get(unsigne
Grant Likely wrote:
I'd really like to get patches 1-4 merged into 2.6.40. Please test.
I'm also running through build testing here, and when it's complete
I'll push it out to a 'devicetree/irq-domain' branch on
git://git.secretlab.ca/git/linux-2.6
I pulled this, built and booted my x86-dt box
On 04/29/2011 04:48 PM, Jon Loeliger wrote:
> > Consider this the candidate for a 1.3.0 release!
>
> Don't forget to bump the version number.;)
Yeah. You want that now for testing? Or just with the release?
It should be done for a proper rc of course; anyway I did that myself
for testing
> On 04/29/2011 03:48 PM, Jon Loeliger wrote:
> > Applied with last-minute mod and pushed out.
> >
> > Consider this the candidate for a 1.3.0 release!
>
> Don't forget to bump the version number. ;)
Yeah. You want that now for testing? Or just with the release?
jdl
___
On Fri, Apr 29, 2011 at 09:16:39AM -0400, Nicolas Pitre wrote:
> On Fri, 29 Apr 2011, Tony Lindgren wrote:
>
> > If the compressed image is smaller than BSS, then we end up
> > having DT data in the BSS area. In this case the compressed
> > image is about 2.3 MB for LZMA.
> >
> > The uncompress c
On 04/29/2011 03:48 PM, Jon Loeliger wrote:
Applied with last-minute mod and pushed out.
Consider this the candidate for a 1.3.0 release!
Don't forget to bump the version number. ;)
Paolo
___
devicetree-discuss mailing list
devicetree-discuss@lists.
> On Tue, Apr 26, 2011 at 01:16:27PM +0200, Paolo Bonzini wrote:
> > On 04/26/2011 12:45 PM, David Gibson wrote:
> > >
> > > libfdt: include version number in soname
> > >
> > > From: Paolo Bonzini
> > >
> > > The libfdt shared library is only installed by its unversioned name.
> > > Including i
On Fri, 29 Apr 2011, Tony Lindgren wrote:
> * Grant Likely [110429 05:59]:
> > On Fri, Apr 29, 2011 at 4:26 AM, Tony Lindgren wrote:
> > > * Tony Lindgren [110427 07:41]:
> > >
> > > If the compressed image is smaller than BSS, then we end up
> > > having DT data in the BSS area. In this case t
On Fri, 29 Apr 2011, Tony Lindgren wrote:
> If the compressed image is smaller than BSS, then we end up
> having DT data in the BSS area. In this case the compressed
> image is about 2.3 MB for LZMA.
>
> The uncompress code does not know about the kernel BSS,
> and does not necessarily relocate a
* Grant Likely [110429 05:59]:
> On Fri, Apr 29, 2011 at 4:26 AM, Tony Lindgren wrote:
> > * Tony Lindgren [110427 07:41]:
> >
> > If the compressed image is smaller than BSS, then we end up
> > having DT data in the BSS area. In this case the compressed
> > image is about 2.3 MB for LZMA.
> >
>
On Fri, Apr 29, 2011 at 7:02 AM, Grant Likely wrote:
> On Fri, Apr 29, 2011 at 4:26 AM, Tony Lindgren wrote:
>> We could do it based on estimated BSS size in uncompress code,
>> or based on the real BSS size in __mmap_switched before BSS
>> gets reset.
>
> How about telling the wrapper what the f
On Fri, Apr 29, 2011 at 4:26 AM, Tony Lindgren wrote:
> * Tony Lindgren [110427 07:41]:
>> * Nicolas Pitre [110427 07:37]:
>> > On Wed, 27 Apr 2011, Tony Lindgren wrote:
>> > >
>> > > I guess the issue is that when setup_machine_fdt gets called we only
>> > > have minimal MMU mapping done.
>> >
* Tony Lindgren [110427 07:41]:
> * Nicolas Pitre [110427 07:37]:
> > On Wed, 27 Apr 2011, Tony Lindgren wrote:
> > >
> > > I guess the issue is that when setup_machine_fdt gets called we only
> > > have minimal MMU mapping done.
> >
> > In head.S (the final kernel image one) there is a 1MB map
of_irq_domain_add_simple() is an easy way to generate an irq translation
domain for simple irq controllers. It assumes a flat 1:1 mapping from
hardware irq number to an offset of the first linux irq number assigned
to the controller
Signed-off-by: Grant Likely
---
Following on from the irq_doma
v5: clarified that dtb should be aligned on a 64 bit boundary in RAM.
v3: added details to Documentation/arm/Booting
Signed-off-by: Grant Likely
---
Documentation/arm/Booting | 33 ++--
Documentation/devicetree/booting-without-of.txt | 48 +++
This patch adds adds very basic support for booting tegra with a
device tree. It simply allows the existing machine_descs to match
against the tegra compatible values so that the kernel can boot.
Kernel parameters and the initrd pointer is read out of the tree
instead of atags.
This is not comple
This patch adds adds very basic support for booting versatile with a
device tree. It simply allows the existing machine_descs to match
against the versatile ab & pb compatible values so that the kernel can
boot. Kernel parameters and the initrd pointer is read out of the
tree instead of atags.
T
It is now implemented by core code.
Signed-off-by: Grant Likely
---
arch/arm/kernel/devtree.c | 14 --
1 files changed, 0 insertions(+), 14 deletions(-)
diff --git a/arch/arm/kernel/devtree.c b/arch/arm/kernel/devtree.c
index a701e42..1e0b613 100644
--- a/arch/arm/kernel/devtree.c
If a dtb is passed to the kernel then the kernel needs to iterate
through compiled-in mdescs looking for one that matches and move the
dtb data to a safe location before it gets accidentally overwritten by
the kernel.
This patch creates a new function, setup_machine_fdt() which is
analogous to the
In preparation for adding device tree support, this patch consolidates
all of the atag-specific setup into a single function.
v5: - drop double printk("Machine; %s\n", ...); call.
- leave copying boot_command_line in setup_arch() since it isn't
atags specific.
v4: - adapt to the removal
Add some basic empty infrastructure for DT support on ARM.
v5: - Fix off-by-one error in size calculation of initrd
- Stop mucking with cmd_line, and load command line from dt into
boot_command_line instead which matches the behaviour of ATAGS booting
v3: - moved cmd_line export and init
The dtb is passed to the kernel via register r2, which is the same
method that is used to pass an atags pointer. This patch modifies
__vet_atags to not clear r2 when it encounters a dtb image.
v2: fixed bugs pointed out by Nicolas Pitre
Signed-off-by: Grant Likely
---
arch/arm/kernel/head-comm
Well, it's been a while since I've posted these, so it's probably
about time to circulate them again.
v5 rebases on top of 2.6.39-rc5 plus one patch to allow arch code
to pass in a pointer to the command_line buffer, and the virq rework
series that (finally!) implements devicetree irq mapping supp
38 matches
Mail list logo