* [thud/master] [PATCH] branding: core: Autoload rpmsg_kdrv_switch for j7-evm
@ 2019-11-20 11:13 Nikhil Devshatwar
2019-11-21 18:16 ` Denys Dmytriyenko
2019-11-29 10:03 ` Nikhil Devshatwar
0 siblings, 2 replies; 4+ messages in thread
From: Nikhil Devshatwar @ 2019-11-20 11:13 UTC (permalink / raw)
To: meta-arago; +Cc: grygorii.strashko, nsekhar
rpmsg_kdrv_switch kernel module is needed for the cpsw9g virtual net
driver. Since there is no symbol dependency, rpmsg_kdrv_switch
does not get loaded automatically.
Add branding file override for j7-evm to autoload this module.
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
---
Fixes: LCPD-17113
meta-arago-distro/conf/distro/include/branding-core.inc | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/meta-arago-distro/conf/distro/include/branding-core.inc b/meta-arago-distro/conf/distro/include/branding-core.inc
index cab9831..c70f8d1 100644
--- a/meta-arago-distro/conf/distro/include/branding-core.inc
+++ b/meta-arago-distro/conf/distro/include/branding-core.inc
@@ -11,3 +11,8 @@ ALTERNATIVE_PRIORITY_pn-opencl-monitor-ipu = "1"
# Raise priority for sample IPC FW images
ALTERNATIVE_PRIORITY_pn-ti-ipc-rtos = "15"
+
+# Autoload the kernel module
+KERNEL_MODULE_AUTOLOAD_EXTRAS = ""
+KERNEL_MODULE_AUTOLOAD_EXTRAS_j7-evm += "rpmsg_kdrv_switch"
+KERNEL_MODULE_AUTOLOAD += "${KERNEL_MODULE_AUTOLOAD_EXTRAS}"
--
1.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [thud/master] [PATCH] branding: core: Autoload rpmsg_kdrv_switch for j7-evm
2019-11-20 11:13 [thud/master] [PATCH] branding: core: Autoload rpmsg_kdrv_switch for j7-evm Nikhil Devshatwar
@ 2019-11-21 18:16 ` Denys Dmytriyenko
2019-12-03 1:22 ` Denys Dmytriyenko
2019-11-29 10:03 ` Nikhil Devshatwar
1 sibling, 1 reply; 4+ messages in thread
From: Denys Dmytriyenko @ 2019-11-21 18:16 UTC (permalink / raw)
To: Nikhil Devshatwar; +Cc: meta-arago, grygorii.strashko, nsekhar
Nikhil,
This is the wrong place to do it. If rpmsg_kdrv_switch is in-tree module, then
simply add this to the kernel recipe:
KERNEL_MODULE_AUTOLOAD_append_j7-evm = " rpmsg_kdrv_switch"
--
Denys
On Wed, Nov 20, 2019 at 04:43:43PM +0530, Nikhil Devshatwar wrote:
> rpmsg_kdrv_switch kernel module is needed for the cpsw9g virtual net
> driver. Since there is no symbol dependency, rpmsg_kdrv_switch
> does not get loaded automatically.
>
> Add branding file override for j7-evm to autoload this module.
>
> Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
> ---
> Fixes: LCPD-17113
>
> meta-arago-distro/conf/distro/include/branding-core.inc | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/meta-arago-distro/conf/distro/include/branding-core.inc b/meta-arago-distro/conf/distro/include/branding-core.inc
> index cab9831..c70f8d1 100644
> --- a/meta-arago-distro/conf/distro/include/branding-core.inc
> +++ b/meta-arago-distro/conf/distro/include/branding-core.inc
> @@ -11,3 +11,8 @@ ALTERNATIVE_PRIORITY_pn-opencl-monitor-ipu = "1"
>
> # Raise priority for sample IPC FW images
> ALTERNATIVE_PRIORITY_pn-ti-ipc-rtos = "15"
> +
> +# Autoload the kernel module
> +KERNEL_MODULE_AUTOLOAD_EXTRAS = ""
> +KERNEL_MODULE_AUTOLOAD_EXTRAS_j7-evm += "rpmsg_kdrv_switch"
> +KERNEL_MODULE_AUTOLOAD += "${KERNEL_MODULE_AUTOLOAD_EXTRAS}"
> --
> 1.9.1
>
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [thud/master] [PATCH] branding: core: Autoload rpmsg_kdrv_switch for j7-evm
2019-11-21 18:16 ` Denys Dmytriyenko
@ 2019-12-03 1:22 ` Denys Dmytriyenko
0 siblings, 0 replies; 4+ messages in thread
From: Denys Dmytriyenko @ 2019-12-03 1:22 UTC (permalink / raw)
To: Nikhil Devshatwar; +Cc: meta-arago, grygorii.strashko, nsekhar
Pong.
On Thu, Nov 21, 2019 at 01:16:55PM -0500, Denys Dmytriyenko wrote:
> Nikhil,
>
> This is the wrong place to do it. If rpmsg_kdrv_switch is in-tree module, then
> simply add this to the kernel recipe:
>
> KERNEL_MODULE_AUTOLOAD_append_j7-evm = " rpmsg_kdrv_switch"
>
> --
> Denys
>
>
> On Wed, Nov 20, 2019 at 04:43:43PM +0530, Nikhil Devshatwar wrote:
> > rpmsg_kdrv_switch kernel module is needed for the cpsw9g virtual net
> > driver. Since there is no symbol dependency, rpmsg_kdrv_switch
> > does not get loaded automatically.
> >
> > Add branding file override for j7-evm to autoload this module.
> >
> > Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
> > ---
> > Fixes: LCPD-17113
> >
> > meta-arago-distro/conf/distro/include/branding-core.inc | 5 +++++
> > 1 file changed, 5 insertions(+)
> >
> > diff --git a/meta-arago-distro/conf/distro/include/branding-core.inc b/meta-arago-distro/conf/distro/include/branding-core.inc
> > index cab9831..c70f8d1 100644
> > --- a/meta-arago-distro/conf/distro/include/branding-core.inc
> > +++ b/meta-arago-distro/conf/distro/include/branding-core.inc
> > @@ -11,3 +11,8 @@ ALTERNATIVE_PRIORITY_pn-opencl-monitor-ipu = "1"
> >
> > # Raise priority for sample IPC FW images
> > ALTERNATIVE_PRIORITY_pn-ti-ipc-rtos = "15"
> > +
> > +# Autoload the kernel module
> > +KERNEL_MODULE_AUTOLOAD_EXTRAS = ""
> > +KERNEL_MODULE_AUTOLOAD_EXTRAS_j7-evm += "rpmsg_kdrv_switch"
> > +KERNEL_MODULE_AUTOLOAD += "${KERNEL_MODULE_AUTOLOAD_EXTRAS}"
> > --
> > 1.9.1
> >
> > _______________________________________________
> > meta-arago mailing list
> > meta-arago@arago-project.org
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [thud/master] [PATCH] branding: core: Autoload rpmsg_kdrv_switch for j7-evm
2019-11-20 11:13 [thud/master] [PATCH] branding: core: Autoload rpmsg_kdrv_switch for j7-evm Nikhil Devshatwar
2019-11-21 18:16 ` Denys Dmytriyenko
@ 2019-11-29 10:03 ` Nikhil Devshatwar
1 sibling, 0 replies; 4+ messages in thread
From: Nikhil Devshatwar @ 2019-11-29 10:03 UTC (permalink / raw)
To: meta-arago; +Cc: grygorii.strashko, nsekhar
ping
On 20/11/19 4:43 pm, Nikhil Devshatwar wrote:
> rpmsg_kdrv_switch kernel module is needed for the cpsw9g virtual net
> driver. Since there is no symbol dependency, rpmsg_kdrv_switch
> does not get loaded automatically.
>
> Add branding file override for j7-evm to autoload this module.
>
> Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
> ---
> Fixes: LCPD-17113
>
> meta-arago-distro/conf/distro/include/branding-core.inc | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/meta-arago-distro/conf/distro/include/branding-core.inc b/meta-arago-distro/conf/distro/include/branding-core.inc
> index cab9831..c70f8d1 100644
> --- a/meta-arago-distro/conf/distro/include/branding-core.inc
> +++ b/meta-arago-distro/conf/distro/include/branding-core.inc
> @@ -11,3 +11,8 @@ ALTERNATIVE_PRIORITY_pn-opencl-monitor-ipu = "1"
>
> # Raise priority for sample IPC FW images
> ALTERNATIVE_PRIORITY_pn-ti-ipc-rtos = "15"
> +
> +# Autoload the kernel module
> +KERNEL_MODULE_AUTOLOAD_EXTRAS = ""
> +KERNEL_MODULE_AUTOLOAD_EXTRAS_j7-evm += "rpmsg_kdrv_switch"
> +KERNEL_MODULE_AUTOLOAD += "${KERNEL_MODULE_AUTOLOAD_EXTRAS}"
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-12-03 1:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-20 11:13 [thud/master] [PATCH] branding: core: Autoload rpmsg_kdrv_switch for j7-evm Nikhil Devshatwar
2019-11-21 18:16 ` Denys Dmytriyenko
2019-12-03 1:22 ` Denys Dmytriyenko
2019-11-29 10:03 ` Nikhil Devshatwar
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.