All of lore.kernel.org
 help / color / mirror / Atom feed
From: binhancntt <binhancntt@iritech.com>
To: yocto@yoctoproject.org
Subject: Deploy new driver
Date: Tue, 18 Aug 2015 15:27:45 +0900	[thread overview]
Message-ID: <55D2D061.8080201@iritech.com> (raw)

Hi all,
I'm deploying a customized usb gadget as following ways:
1. create a new recipes and specify MACHINE_ESSENTIAL_EXTRA_RDEPEND += 
"mygadget". I expect it is loaded with kernel but the .KO is included 
only to /lib/modules/3.14.28-1.0.0_ga+g91cf351/extra. I tried with 
KERNEL_MODULE_AUTOLOAD += "mygadget" but it does not help.

2. Kernel source code is extracted to 
build/tmp/work-shared/<MACHINE>/kernel-source. I intended to add my 
driver to drivers/usb/gadget/ but whenever I tried 'bitbake linux-imx -c 
menuconfig', this source is removed completely.

Can you please show me what wrong I have made and what direction should 
I follow to add a new driver to kernel?
Thank you!!!


                 reply	other threads:[~2015-08-18  6:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=55D2D061.8080201@iritech.com \
    --to=binhancntt@iritech.com \
    --cc=yocto@yoctoproject.org \
    /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.