[yocto] Kernel panic of "not syncing" occurs when booting on qemu with extracted code by devtool #yocto #devtool #qemu

2020-04-26 Thread Hao Qian
Hi, I'm trying to add some drivers to linux kernel and confirm it with qemu. I clone the poky repository, build and boot as below steps: 1. clone poky (poky only) $ git clone git://git.yoctoproject.org/poky 2. initia

Re: [yocto] Can not use wildcard in SRC_URI to apply patches #yocto

2020-04-26 Thread Hao Qian
On 2020/04/26 18:44, Richard Purdie wrote: The patch linked to from there: https://patchwork.openembedded.org/patch/8443/ gives some clues about when it might happen to work: "Wildcards in SRC_URI are not supported by oe-core and work only when last (or first?) FILESPATH element points to the

Re: [yocto] Can not use wildcard in SRC_URI to apply patches #yocto

2020-04-25 Thread Hao Qian
-yocto As you said, wildcard is not supported for patches in SRC_URI. So, do you mean the answers and replies in above issue of stackoverflow are wrong? Or did I miss something? Regards, Qian On Sat, Apr 25, 2020 at 11:54 PM Richard Purdie wrote: > > On Sat, 2020-04-25 at 17:30 +0900, Ha

[yocto] Can not use wildcard in SRC_URI to apply patches #yocto

2020-04-25 Thread Hao Qian
Hi, I'm trying to apply patches to source code of linux kernel. With devtool (modify and finish commands), I could apply patches sucessfully by specified each single patch with its file name, like: === FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" SRC_URI

[yocto] Kernel panic "not syncing" when booting on qemux86-64

2020-04-03 Thread Hao Qian
Hi, I'm trying to use qemu to boot generic linux image. I'm trying to add some custom drivers into kernel and confirm it on qemu. I clone the poky repository, build and boot as below steps: 1. clone poky (poky only)