Hi Bruce,

On 6/8/20 8:49 PM, Bruce Ashfield wrote:
On Mon, Jun 8, 2020 at 1:39 AM Yu, Mingli <mingli...@windriver.com> wrote:

Hi Bruce,

On 6/4/20 9:04 PM, Bruce Ashfield wrote:
On Thu, Jun 4, 2020 at 12:52 AM Yu, Mingli <mingli...@windriver.com> wrote:

Hi Bruce,

Currently, the change pointed to by a .scc file not detected when
compile kernel, for example:

1, add DISTRO_FEATURES_append = " virtualization" to conf/local.conf to
enable virtualization DISTRO_FEATURES and also add meta-virtualization
layer to conf/bblayers.conf

2, bitbake -cconfigure linux-yocto

3,
$ grep -Rn CONFIG_IO_DELAY_0XED
tmp/work/qemux86_64-wrs-linux/linux-yocto/5.4.43+gitAUTOINC+aafb8f095e_9e1b13d7f9-r0/linux-qemux86_64-standard-build/.config
5367:# CONFIG_IO_DELAY_0XED is not set

4, modify the lxc.cfg which introduced by lxc.scc under
meta-virtualization layer
$ git diff
diff --git a/recipes-kernel/linux/linux-yocto/lxc.cfg
b/recipes-kernel/linux/linux-yocto/lxc.cfg
index 3fefc03..b7a19a8 100644
--- a/recipes-kernel/linux/linux-yocto/lxc.cfg
+++ b/recipes-kernel/linux/linux-yocto/lxc.cfg
@@ -1,3 +1,4 @@
+CONFIG_IO_DELAY_0XED=y
    CONFIG_CGROUP_DEVICE=y
    CONFIG_CPUSETS=y
    CONFIG_PROC_PID_CPUSET=y


5, bitbake -cconfigure linux-yocto

6,
$ grep -Rn CONFIG_IO_DELAY_0XED
tmp-glibc/work/qemux86_64-wrs-linux/linux-yocto/5.4.43+gitAUTOINC+aafb8f095e_9e1b13d7f9-r0/linux-qemux86_64-standard-build/.config
5367:# CONFIG_IO_DELAY_0XED is not set

The change for CONFIG_IO_DELAY_0XED doesn't take effect.

Does the same thing happen with a cleanall ? There's an open bug about
the checksuming of those SRC_URI elements, and you are likely hitting
it if there's no cleansstate or cleanall happening.

No, it works if execute a cleanall before the step 6. But it should work
even if we don't execute cleanall.

BTW, what's the status of the bug you mentioned?

It's waiting on some input from Richard, its on the fix list for the
coming release though.

Thanks for your respond, waiting for your update for the fix.

Thanks,
Mingli


Cheers,

Bruce


Thanks,
Mingli


Also, you've confirmed that CONFIG_IO_DELAY_0XED isn't missing any
config options that it has as dependencies ?

Bruce


Thanks,
Mingli






-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#139387): 
https://lists.openembedded.org/g/openembedded-core/message/139387
Mute This Topic: https://lists.openembedded.org/mt/74665912/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to