All of lore.kernel.org
 help / color / mirror / Atom feed
* Force rebuild to regenerate .ko
       [not found] <mailman.9.1539284401.19322.yocto@yoctoproject.org>
@ 2018-10-12  3:29 ` Raymond Yeung
  2018-10-13  9:01   ` Kosta Zertsekel
  0 siblings, 1 reply; 3+ messages in thread
From: Raymond Yeung @ 2018-10-12  3:29 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 401 bytes --]

I've a Intel Ethernet driver, ixgbe.ko.  I made some changes (debug logs) to the source file.  How do I force the .ko to be regenerated within yocto environment, without rebuilding the entire yocto code base?

I tried to do bitbake of the image name earlier, but bitbake decides that there's nothing to be done.  This is even after I'd removed the cache and sstate directories.

Thanks,
Raymond

[-- Attachment #2: Type: text/html, Size: 1277 bytes --]

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

* Re: Force rebuild to regenerate .ko
  2018-10-12  3:29 ` Force rebuild to regenerate .ko Raymond Yeung
@ 2018-10-13  9:01   ` Kosta Zertsekel
  2018-10-15 21:00     ` Raymond Yeung
  0 siblings, 1 reply; 3+ messages in thread
From: Kosta Zertsekel @ 2018-10-13  9:01 UTC (permalink / raw)
  To: Raymond Yeung, yocto

[-- Attachment #1: Type: text/plain, Size: 902 bytes --]

Please add more details.


For example, where ixgbe.ko resides (what layer)?

If it is in Linux kernel (linux-yocto package), then just:

$ bitbake linux-yocto -c cleanall

$ bitbake linux-yocto


--- Kosta Z.


________________________________
From: yocto-bounces@yoctoproject.org <yocto-bounces@yoctoproject.org> on behalf of Raymond Yeung <rksyeung@hotmail.com>
Sent: Friday, 12 October 2018 6:29:44
To: yocto@yoctoproject.org
Subject: [yocto] Force rebuild to regenerate .ko

I've a Intel Ethernet driver, ixgbe.ko.  I made some changes (debug logs) to the source file.  How do I force the .ko to be regenerated within yocto environment, without rebuilding the entire yocto code base?

I tried to do bitbake of the image name earlier, but bitbake decides that there's nothing to be done.  This is even after I'd removed the cache and sstate directories.

Thanks,
Raymond

[-- Attachment #2: Type: text/html, Size: 3037 bytes --]

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

* Re: Force rebuild to regenerate .ko
  2018-10-13  9:01   ` Kosta Zertsekel
@ 2018-10-15 21:00     ` Raymond Yeung
  0 siblings, 0 replies; 3+ messages in thread
From: Raymond Yeung @ 2018-10-15 21:00 UTC (permalink / raw)
  To: Kosta Zertsekel, yocto

[-- Attachment #1: Type: text/plain, Size: 1598 bytes --]

I've meta-intel and poky.  I'm not sure which layer it's in, as an attempt to find/grep files with ixgbe in the recipes directories doesn't turn up anything.  The source seems to be downloaded to work-shared sub-directory during the bitbake process.

The .ko file is located in the following path:
tmp/work/intel_corei7_64-poky-linux/core-image-sato/1.0-r0/rootfs/lib/modules/4.4.26-yocto-standard/kernel/drivers/net/ethernet/intel/ixgbe/ixgbe.ko

Thanks,
Raymond


________________________________
From: Kosta Zertsekel <KZertsekel@advaoptical.com>
Sent: Saturday, October 13, 2018 2:01 AM
To: Raymond Yeung; yocto@yoctoproject.org
Subject: Re: Force rebuild to regenerate .ko


Please add more details.


For example, where ixgbe.ko resides (what layer)?

If it is in Linux kernel (linux-yocto package), then just:

$ bitbake linux-yocto -c cleanall

$ bitbake linux-yocto


--- Kosta Z.


________________________________
From: yocto-bounces@yoctoproject.org <yocto-bounces@yoctoproject.org> on behalf of Raymond Yeung <rksyeung@hotmail.com>
Sent: Friday, 12 October 2018 6:29:44
To: yocto@yoctoproject.org
Subject: [yocto] Force rebuild to regenerate .ko

I've a Intel Ethernet driver, ixgbe.ko.  I made some changes (debug logs) to the source file.  How do I force the .ko to be regenerated within yocto environment, without rebuilding the entire yocto code base?

I tried to do bitbake of the image name earlier, but bitbake decides that there's nothing to be done.  This is even after I'd removed the cache and sstate directories.

Thanks,
Raymond

[-- Attachment #2: Type: text/html, Size: 5667 bytes --]

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

end of thread, other threads:[~2018-10-16 13:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.9.1539284401.19322.yocto@yoctoproject.org>
2018-10-12  3:29 ` Force rebuild to regenerate .ko Raymond Yeung
2018-10-13  9:01   ` Kosta Zertsekel
2018-10-15 21:00     ` Raymond Yeung

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.