All of lore.kernel.org
 help / color / mirror / Atom feed
* Possible to build-in backports modules into kernel
@ 2015-04-17 13:30 Petr Vorel
  2015-04-17 16:14 ` Larry Finger
  0 siblings, 1 reply; 7+ messages in thread
From: Petr Vorel @ 2015-04-17 13:30 UTC (permalink / raw)
  To: backports; +Cc: Petr Vorel

Hi there,

is it possible to build-in to backports modules into kernel (link them into kernel, not
build them as separate modules).

Thanks for any info.

Kind regards,
Petr

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

* Re: Possible to build-in backports modules into kernel
  2015-04-17 13:30 Possible to build-in backports modules into kernel Petr Vorel
@ 2015-04-17 16:14 ` Larry Finger
  2015-04-17 17:28   ` Johannes Berg
  0 siblings, 1 reply; 7+ messages in thread
From: Larry Finger @ 2015-04-17 16:14 UTC (permalink / raw)
  To: Petr Vorel, backports

On 04/17/2015 08:30 AM, Petr Vorel wrote:
> Hi there,
>
> is it possible to build-in to backports modules into kernel (link them into kernel, not
> build them as separate modules).

It is possible to build most drivers into the kernel, but it must be done when 
the kernel is compiled and linked. Once the kernel is built, you can only build 
new drivers as modules.

The short answer is no for the backports code. If you want them built-in, grab 
the mainline 4.0 or 3.19.4 source, configure, and build a complete new kernel.

Larry



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

* Re: Possible to build-in backports modules into kernel
  2015-04-17 16:14 ` Larry Finger
@ 2015-04-17 17:28   ` Johannes Berg
  2015-04-17 18:03     ` Luis R. Rodriguez
  0 siblings, 1 reply; 7+ messages in thread
From: Johannes Berg @ 2015-04-17 17:28 UTC (permalink / raw)
  To: Larry Finger; +Cc: Petr Vorel, backports

On Fri, 2015-04-17 at 11:14 -0500, Larry Finger wrote:

> The short answer is no for the backports code. If you want them built-in, grab 
> the mainline 4.0 or 3.19.4 source, configure, and build a complete new kernel.

Technically this is not true any more - the backports gentree.py script
now supports kernel integration where it copies the backport into
another kernel tree :)

johannes


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

* Re: Possible to build-in backports modules into kernel
  2015-04-17 17:28   ` Johannes Berg
@ 2015-04-17 18:03     ` Luis R. Rodriguez
  2015-04-17 18:22       ` Larry Finger
  0 siblings, 1 reply; 7+ messages in thread
From: Luis R. Rodriguez @ 2015-04-17 18:03 UTC (permalink / raw)
  To: Johannes Berg; +Cc: Larry Finger, Petr Vorel, backports@vger.kernel.org

On Fri, Apr 17, 2015 at 10:28 AM, Johannes Berg
<johannes@sipsolutions.net> wrote:
> Technically this is not true any more - the backports gentree.py script
> now supports kernel integration where it copies the backport into
> another kernel tree :)

Indeed:

https://backports.wiki.kernel.org/index.php/Documentation/integration

 Luis

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

* Re: Possible to build-in backports modules into kernel
  2015-04-17 18:03     ` Luis R. Rodriguez
@ 2015-04-17 18:22       ` Larry Finger
  2015-04-17 18:26         ` Johannes Berg
  0 siblings, 1 reply; 7+ messages in thread
From: Larry Finger @ 2015-04-17 18:22 UTC (permalink / raw)
  To: Luis R. Rodriguez, Johannes Berg; +Cc: Petr Vorel, backports@vger.kernel.org

On 04/17/2015 01:03 PM, Luis R. Rodriguez wrote:
> On Fri, Apr 17, 2015 at 10:28 AM, Johannes Berg
> <johannes@sipsolutions.net> wrote:
>> Technically this is not true any more - the backports gentree.py script
>> now supports kernel integration where it copies the backport into
>> another kernel tree :)
>
> Indeed:
>
> https://backports.wiki.kernel.org/index.php/Documentation/integration

Just to clarify, the entire kernel will need to be built from some tree. In my 
reading of the original post, I got the impression that Petr wanted to use a 
pre-built kernel.

Larry



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

* Re: Possible to build-in backports modules into kernel
  2015-04-17 18:22       ` Larry Finger
@ 2015-04-17 18:26         ` Johannes Berg
  2015-04-17 21:42           ` Petr Vorel
  0 siblings, 1 reply; 7+ messages in thread
From: Johannes Berg @ 2015-04-17 18:26 UTC (permalink / raw)
  To: Larry Finger; +Cc: Luis R. Rodriguez, Petr Vorel, backports@vger.kernel.org

On Fri, 2015-04-17 at 13:22 -0500, Larry Finger wrote:
> On 04/17/2015 01:03 PM, Luis R. Rodriguez wrote:
> > On Fri, Apr 17, 2015 at 10:28 AM, Johannes Berg
> > <johannes@sipsolutions.net> wrote:
> >> Technically this is not true any more - the backports gentree.py script
> >> now supports kernel integration where it copies the backport into
> >> another kernel tree :)
> >
> > Indeed:
> >
> > https://backports.wiki.kernel.org/index.php/Documentation/integration
> 
> Just to clarify, the entire kernel will need to be built from some tree. In my 
> reading of the original post, I got the impression that Petr wanted to use a 
> pre-built kernel.

Yes, indeed, that's not possible - and doesn't really make sense anyway,
since if you have access to the kernel image and sources to build
against, you might as well rebuild the whole kernel.

johannes


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

* Re: Possible to build-in backports modules into kernel
  2015-04-17 18:26         ` Johannes Berg
@ 2015-04-17 21:42           ` Petr Vorel
  0 siblings, 0 replies; 7+ messages in thread
From: Petr Vorel @ 2015-04-17 21:42 UTC (permalink / raw)
  To: Johannes Berg; +Cc: Larry Finger, Luis R. Rodriguez, backports@vger.kernel.org

Hi there,

> > > https://backports.wiki.kernel.org/index.php/Documentation/integration
thanks for your comments and the link. I skip that before as I thought it's actually for
backports developers, not users. I'll read it more carefully.

> > Just to clarify, the entire kernel will need to be built from some tree. In my 
> > reading of the original post, I got the impression that Petr wanted to use a 
> > pre-built kernel.

> Yes, indeed, that's not possible - and doesn't really make sense anyway,
> since if you have access to the kernel image and sources to build
> against, you might as well rebuild the whole kernel.

I'm stack with very old kernel (2.6.37 for arm TI's DM365). No pre-built kernel , I've
built the kernel as well, everything is working nice. But as I use embedded device, it
would be nice to have the drivers build-in (performance).

For some of modules I get message: "This feature depends on another which has been
configured as a module. As a result, this feature will be built as a module.". I'll try to
find the dependency, but is there any hint, how to search?

Thanks a lot for backports, it helped me already :-).

Kind regards,
Petr

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

end of thread, other threads:[~2015-04-17 21:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-17 13:30 Possible to build-in backports modules into kernel Petr Vorel
2015-04-17 16:14 ` Larry Finger
2015-04-17 17:28   ` Johannes Berg
2015-04-17 18:03     ` Luis R. Rodriguez
2015-04-17 18:22       ` Larry Finger
2015-04-17 18:26         ` Johannes Berg
2015-04-17 21:42           ` Petr Vorel

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.