All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-raspberrypi] how to customize kernel config?
@ 2014-06-12  6:48 Jonatan Magnusson
  2014-06-12  6:55 ` Jens Lucius
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jonatan Magnusson @ 2014-06-12  6:48 UTC (permalink / raw)
  To: yocto


Hi

I’m trying to use the meta-raspberrypi BSP with Yocto (1.6, Daisy).

It works great, except I have no idea how to use a custom kernel config!

I have a custom kernel recipe that bbappends to the meta-raspberrypi kernel recipe.

I’ve tried using defconfig as well as configuration fragments, but neither work.

I’ve also tried using the kernel_configure_variable function, and that almost works, except if I try to disable an option that is enabled earlier in the the config file, the option is still enabled since kernel_configure_variable only appends to the config file.

Example:

do_configure_append() {
  kernel_configure_variable SPI_SPIDEV n
}

So I wonder: how is this supposed to work?

In my case I need to enable CONFIG_IEEE802154_MRF24J40 and it’s dependencies and disable CONFIG_SPI_SPIDEV and a few more.

I’ve found no help on IRC and all Google comes up with is this old discussion, which does not lead to a solution:

https://lists.yoctoproject.org/pipermail/yocto/2013-November/017113.html

I would be very happy to get any hints on how this is supposed to work!

Regards,
Jonatan Magnusson

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

end of thread, other threads:[~2014-08-14 17:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-12  6:48 [meta-raspberrypi] how to customize kernel config? Jonatan Magnusson
2014-06-12  6:55 ` Jens Lucius
2014-06-12  7:31 ` Alex J Lennon
2014-06-12 20:47 ` Alex J Lennon
2014-08-14 17:51   ` Andrei Gherzan

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.