From: Denys Dmytriyenko <denys@ti.com>
To: Nikhil Devshatwar <nikhil.nd@ti.com>
Cc: meta-arago@arago-project.org, grygorii.strashko@ti.com, nsekhar@ti.com
Subject: Re: [thud/master] [PATCH] branding: core: Autoload rpmsg_kdrv_switch for j7-evm
Date: Thu, 21 Nov 2019 13:16:55 -0500 [thread overview]
Message-ID: <20191121181655.GD27719@beryl> (raw)
In-Reply-To: <1574248423-156560-1-git-send-email-nikhil.nd@ti.com>
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
next prev parent reply other threads:[~2019-11-21 18:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2019-12-03 1:22 ` Denys Dmytriyenko
2019-11-29 10:03 ` Nikhil Devshatwar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191121181655.GD27719@beryl \
--to=denys@ti.com \
--cc=grygorii.strashko@ti.com \
--cc=meta-arago@arago-project.org \
--cc=nikhil.nd@ti.com \
--cc=nsekhar@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.