All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] of: export of_platform_populate()
@ 2012-06-07 23:57 Stephen Warren
       [not found] ` <1339113456-27089-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
  2012-06-11 14:26 ` [PATCH] of: export of_platform_populate() Rob Herring
  0 siblings, 2 replies; 6+ messages in thread
From: Stephen Warren @ 2012-06-07 23:57 UTC (permalink / raw)
  To: Grant Likely, Rob Herring
  Cc: devicetree-discuss, linux-kernel, Stephen Warren

From: Stephen Warren <swarren@nvidia.com>

Without this, modules can't use this API, leading to build failures.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
This is useful in 3.5.

 drivers/of/platform.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/of/platform.c b/drivers/of/platform.c
index 343ad29..3132ea0 100644
--- a/drivers/of/platform.c
+++ b/drivers/of/platform.c
@@ -462,4 +462,5 @@ int of_platform_populate(struct device_node *root,
 	of_node_put(root);
 	return rc;
 }
+EXPORT_SYMBOL_GPL(of_platform_populate);
 #endif /* CONFIG_OF_ADDRESS */
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Booting MX28-EVK without bootloader support
  2012-06-08  1:12     ` Rob Herring
@ 2012-06-08  5:54       ` Subodh Nijsure
  0 siblings, 0 replies; 6+ messages in thread
From: Subodh Nijsure @ 2012-06-08  5:54 UTC (permalink / raw)
  To: kernelnewbies


I am using git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git 
for-next branch to get familiar with device tree.

I am following procedure described in following thread --

http://lists.ozlabs.org/pipermail/devicetree-discuss/2012-April/014600.html

Turn on CONFIG_ARM_APPENDED_DTB,  CONFIG_ARM_ARAG_DTB, then appending 
imx28-evk.dtb and constructing zImage_dtb

However this image never initializes network interfaces, I can't mount 
nfs as rootfs. Is the appended DTB supposed to work from above 
referenced git repo & branch?

Is there a device-tree newbies mailing list by any chance?

-Subodh

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120607/693a7981/attachment.html 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Booting MX28-EVK without bootloader support
       [not found] ` <1339113456-27089-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
@ 2012-06-08  7:53   ` Subodh Nijsure
  0 siblings, 0 replies; 6+ messages in thread
From: Subodh Nijsure @ 2012-06-08  7:53 UTC (permalink / raw)
  To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ


[-- Attachment #1.1: Type: text/plain, Size: 956 bytes --]


I am using git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git 
for-next branch to get familiar with device tree.

I am following procedure described in  thread --

http://lists.ozlabs.org/pipermail/devicetree-discuss/2012-April/014600.html

Turn on CONFIG_ARM_APPENDED_DTB,  CONFIG_ARM_ARAG_DTB, then appending 
imx28-evk.dtb and constructing zImage_dtb

However this image never initializes network interfaces, I can't mount 
nfs as rootfs. Is the appended DTB supposed to work from above 
referenced git repo & branch?

Pardon me, if this is too basic DT question on device tree 
initialization sequence. During initialization I see that - 
mxs_machine_init gets called which invokes of_platform_populate(). 
However I don't see the mx28evk_init() function never gets called, 
should that function be getting called?

If mx28evk_init shouldn't be called how is MXS ethernet driver supposed 
to get registered when using device tree?

-Subodh

[-- Attachment #1.2: Type: text/html, Size: 1952 bytes --]

[-- Attachment #2: Type: text/plain, Size: 192 bytes --]

_______________________________________________
devicetree-discuss mailing list
devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
https://lists.ozlabs.org/listinfo/devicetree-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] of: export of_platform_populate()
  2012-06-07 23:57 [PATCH] of: export of_platform_populate() Stephen Warren
       [not found] ` <1339113456-27089-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
@ 2012-06-11 14:26 ` Rob Herring
  2012-06-20 18:00   ` Stephen Warren
  1 sibling, 1 reply; 6+ messages in thread
From: Rob Herring @ 2012-06-11 14:26 UTC (permalink / raw)
  To: Stephen Warren; +Cc: Grant Likely, devicetree-discuss, linux-kernel

On 06/07/2012 06:57 PM, Stephen Warren wrote:
> From: Stephen Warren <swarren@nvidia.com>
> 
> Without this, modules can't use this API, leading to build failures.
> 
> Signed-off-by: Stephen Warren <swarren@nvidia.com>
> ---

Applied for 3.5.

Rob

> This is useful in 3.5.
> 
>  drivers/of/platform.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/of/platform.c b/drivers/of/platform.c
> index 343ad29..3132ea0 100644
> --- a/drivers/of/platform.c
> +++ b/drivers/of/platform.c
> @@ -462,4 +462,5 @@ int of_platform_populate(struct device_node *root,
>  	of_node_put(root);
>  	return rc;
>  }
> +EXPORT_SYMBOL_GPL(of_platform_populate);
>  #endif /* CONFIG_OF_ADDRESS */

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] of: export of_platform_populate()
  2012-06-11 14:26 ` [PATCH] of: export of_platform_populate() Rob Herring
@ 2012-06-20 18:00   ` Stephen Warren
  2012-06-20 19:32     ` Rob Herring
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen Warren @ 2012-06-20 18:00 UTC (permalink / raw)
  To: Rob Herring; +Cc: Grant Likely, devicetree-discuss, linux-kernel

On 06/11/2012 08:26 AM, Rob Herring wrote:
> On 06/07/2012 06:57 PM, Stephen Warren wrote:
>> From: Stephen Warren <swarren@nvidia.com>
>>
>> Without this, modules can't use this API, leading to build failures.
>>
>> Signed-off-by: Stephen Warren <swarren@nvidia.com>
>> ---
> 
> Applied for 3.5.

Thanks.

Do you know when it will show up in linux-next and/or 3.5 itself? The
patch hasn't rebased out of my local tree yet.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] of: export of_platform_populate()
  2012-06-20 18:00   ` Stephen Warren
@ 2012-06-20 19:32     ` Rob Herring
  0 siblings, 0 replies; 6+ messages in thread
From: Rob Herring @ 2012-06-20 19:32 UTC (permalink / raw)
  To: Stephen Warren; +Cc: Grant Likely, devicetree-discuss, linux-kernel

On 06/20/2012 01:00 PM, Stephen Warren wrote:
> On 06/11/2012 08:26 AM, Rob Herring wrote:
>> On 06/07/2012 06:57 PM, Stephen Warren wrote:
>>> From: Stephen Warren <swarren@nvidia.com>
>>>
>>> Without this, modules can't use this API, leading to build failures.
>>>
>>> Signed-off-by: Stephen Warren <swarren@nvidia.com>
>>> ---
>>
>> Applied for 3.5.
> 
> Thanks.
> 
> Do you know when it will show up in linux-next and/or 3.5 itself? The
> patch hasn't rebased out of my local tree yet.

Unless I missed it, Grant has not yet pulled my pull request with this.
I'm just the maillist patch monkey. :)

Rob

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-06-20 19:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-07 23:57 [PATCH] of: export of_platform_populate() Stephen Warren
     [not found] ` <1339113456-27089-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-06-08  7:53   ` Booting MX28-EVK without bootloader support Subodh Nijsure
2012-06-11 14:26 ` [PATCH] of: export of_platform_populate() Rob Herring
2012-06-20 18:00   ` Stephen Warren
2012-06-20 19:32     ` Rob Herring
  -- strict thread matches above, loose matches on Subject: below --
2012-06-06 22:02 [PATCH 0/2] EDAC support for Calxeda Highbank Rob Herring
2012-06-06 22:02 ` [PATCH 1/2] edac: add support for Calxeda highbank memory controller Rob Herring
2012-06-06 22:34   ` Mauro Carvalho Chehab
2012-06-08  1:12     ` Rob Herring
2012-06-08  5:54       ` Booting MX28-EVK without bootloader support Subodh Nijsure

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.