djwillis/meta-raspberrypi

Is there anyway to configure the kernel using menuconfig

xandhen opened this issue · 4 comments

Hi,

I recently started playing around with Yocto and I'm using my Raspberry Pi Model B board as a reference platform. As I've managed to build to default rpi-basic-image I've started to venture deeper into Yocto and wanted to customize the kernel modules etc. Using vanilla Yocto and their provided kernels you can use "bitbake linux-yocto -c kernel_configme -f" or "bitbake linux-yocto -c menuconfig" to do so. For the raspberry pi images this does not seem to work however. I'm guessing this is because of the "overriden" linux kernel used in the BSP.

Is there any way to run menuconfig to configure the raspberrypi kernel used in the BSP as with the yocto or vanilla kernel?

Another question is if there is any reason for this BSP to use the yocto kernel and "patch" the kernel in the BSP rather than use a completely different kernel? I'm guessing the delta patches is hard to extract from the official raspberry pi kernel though which would be one answer.

Hi,

First of all please read README and use the mailing list stated there for discussions and other stuff.

To manage the rpi spacific patches would be a time eater and it's probably out of the layer's scope. But what we did is have a yocto style kernel recipe. Somebody already worked on it and we were hoping for some testing before merging it. Maybe you can give it a spin and tell us your thoughts?https://lists.yoctoproject.org/pipermail/yocto/2014-August/021176.html

Probably the patch is not applying cleanly anymore some please rebase it on top of current master.

Thanks in advance,
Andrei

Hi,

Sorry for posting this here, but as the mailing list was only mentioned for contribution I didn't give it much thought for this question. I'm also more of a fan of issue trackers over mailing lists since I find the archives hard to search and browse while can serve as a good FAQ sometimes.

The patch looks like a good way to go for enabling yocto style configurations while keeping the rpi kernel. I'll give it a spin and hopefully I can report some progress on the mailing list.

Thanks

Andreas

Thanks Andreas.

Andrei