How to override default Kernel config

Henbin Chang henbinchang at gmail.com
Wed Jul 4 12:20:00 AEST 2018


Hi Lei Yu,

After following your instructions, the CONFIG_DEVMEM is still not set in
the below '.config'

workspace/sources/linux-aspeed/.config

It did work if I directly
modified meta-openbmc-bsp/meta-aspeed/recipes-kernel/linux/linux-aspeed/ast2500/defconfig

Thanks.

2018-07-04 10:06 GMT+08:00 Lei YU <mine260309 at gmail.com>:

> On Wed, Jul 4, 2018 at 10:03 AM Henbin Chang <henbinchang at gmail.com>
> wrote:
> >
> > Thanks Lei Yu.
> >
> > Actually, I want to enable CONFIG_DEVMEM in my specific machine.
> > I added the below config to my machine.cfg
> > CONFIG_DEVMEM=y
> > CONFIG_HWMON=y
> > CONFIG_SENSORS_TMP421=y
> >
> > But I still saw the line in the ".config" after devtool modify
> linux-aspeed.
> > # CONFIG_DEVMEM is not set
> >
> > How should I do?
>
> OK, you are using devtool. Then the simplest you can do is to reset and
> modify the recipe again:
>
>     devtool reset linux-aspeed
>     # Manullay delete the linux-aspeed dir in workspace
>     devtool modify linux-aspeed
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20180704/89839563/attachment.html>


More information about the openbmc mailing list