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@gmail.com>:
On Wed, Jul 4, 2018 at 10:03 AM Henbin Chang <henbinchang@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