How to override default Kernel config

Henbin Chang henbinchang at gmail.com
Wed Jul 4 15:47:40 AEST 2018


I just cloned the latest openbmc REPO and re-did the same modification in
the romulus machine.

I got the same result.

2018-07-04 10:57 GMT+08:00 Henbin Chang <henbinchang at gmail.com>:

> My machine isn't in the OpenBMC tree.
>
> I list the partial contents in my machine layer
>   ...
>   meta-aspeed \
>   meta-x86 \
>   meta-x86/meta-mct \
>   meta-x86/meta-mct/meta-tiogapass \ -> the last line in the bblayers.conf
>
> In the merge_config_build.log, I find the merging sequence is the below
>   Using .kernel-meta/configs//./tiogapass.cfg as base
>   Merging .kernel-meta/configs//./phosphor-gpio-keys.cfg
>   Merging .kernel-meta/configs//./phosphor-gpio-keys.cfg
>   Merging .kernel-meta/configs//./phosphor-vlan.cfg
>   Merging .kernel-meta/configs//./phosphor-vlan.cfg
>   Merging .kernel-meta/configs//./phosphor-wdt-on-panic.cfg
>   Merging .kernel-meta/configs//./phosphor-wdt-on-panic.cfg
>   Merging .kernel-meta/configs//./defconfig
>   ...
>
> Suppose the CONFIG_DEVMEM=y is removed while 'Merging
> .kernel-meta/configs//./defconfig'
>
> Thanks.
>
> 2018-07-04 10:34 GMT+08:00 Lei YU <mine260309 at gmail.com>:
>
>> > 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/r
>> ecipes-kernel/linux/linux-aspeed/ast2500/defconfig
>>
>> Then you need to make sure if your build config include the machine layer
>> by
>> checking the build configuration.
>>
>> E.g. below is meta-romulus' configuration, check if your meta-machine is
>> correctly included.
>>
>>     Build Configuration:
>>     ...
>>     meta
>>     meta-poky
>>     meta-oe
>>     meta-networking
>>     meta-perl
>>     meta-python
>>     meta-webserver
>>     meta-virtualization
>>     meta-phosphor
>>     meta-aspeed
>>     meta-openpower
>>     meta-ibm
>>     meta-romulus   <== Your meta-machine should appear here.
>>
>> Btw, what is your machine, is it in OpenBMC tree?
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20180704/0d55d942/attachment.html>


More information about the openbmc mailing list