All of lore.kernel.org
 help / color / mirror / Atom feed
From: Henbin Chang <henbinchang@gmail.com>
To: Lei YU <mine260309@gmail.com>
Cc: OpenBMC Maillist <openbmc@lists.ozlabs.org>
Subject: Re: How to override default Kernel config
Date: Wed, 4 Jul 2018 13:47:40 +0800	[thread overview]
Message-ID: <CAG9c7cB7R1RQpUmsR8FKVzWD5fq6N6xs-DdKnZ9mc-zkN9OtQA@mail.gmail.com> (raw)
In-Reply-To: <CAG9c7cAWdGQRnTLCFK16UbBjLn7TodvgeTouu-nZD6OqpY+_pA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2031 bytes --]

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@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@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?
>>
>
>

[-- Attachment #2: Type: text/html, Size: 3302 bytes --]

      reply	other threads:[~2018-07-04  5:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-03  9:48 How to override default Kernel config Henbin Chang
2018-07-04  1:39 ` Lei YU
2018-07-04  2:03   ` Henbin Chang
2018-07-04  2:06     ` Lei YU
2018-07-04  2:20       ` Henbin Chang
2018-07-04  2:34         ` Lei YU
2018-07-04  2:57           ` Henbin Chang
2018-07-04  5:47             ` Henbin Chang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAG9c7cB7R1RQpUmsR8FKVzWD5fq6N6xs-DdKnZ9mc-zkN9OtQA@mail.gmail.com \
    --to=henbinchang@gmail.com \
    --cc=mine260309@gmail.com \
    --cc=openbmc@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.