On Tue, Jun 16, 2020 at 10:02 AM Michael <youh...@us.ibm.com> wrote: > > Thank you for a quick respond Bruce. > > > __________________ > > On Mon, Jun 15, 2020 at 5:37 PM Michael <youh...@us.ibm.com> wrote: > >> > >> Hello all. > >> > >> I'm creating a yocto Warrior branch project to a fakeroot for powerpc > >> embedded system to replace my old non yocto project. I setup the yocto > >> project to use kernel 4.19.x. My old build used kernel 3.10.xx and hd > >> "./usr/lib/debug/lib/modules/<kernel>/vmlinux". However, my current yocto > >> build does not have the debug vmlinux file created. After doing some > >> digging, I found out that I missed kernel-debuginfo package. However, I > >> cannot find a recipe for kernel-debuginfo any where. > >> > >> Does any one know where I can find the recipe for kernel-debuginfo? > >> Is the kernel-debuginfo obsolete already? If it is obsolete, is there a > >> way to enable yocto project to create > >> "./usr/lib/debug/lib/modules/<kernel>/vmlinux" file? > > >vmlinux is packaged in: ${KERNEL_PACKAGE_NAME}-vmlinux > > >And you'll find the file on target in /boot : > >FILES_${KERNEL_PACKAGE_NAME}-vmlinux = > >"/boot/vmlinux-${KERNEL_VERSION_NAME}" > > >So if you have kernel-vmlinux in your image install, you'll have > >vmlinux available. > > >Bruce > > I do have the vmlinux-* in the /boot. What I'm looking for is a debug > version that was created under /usr/lib/debug/lib/modules/<kernel>/ directory > with the old kernel. Is there any thing in the recipe that I can set to make > that happen?
Nope. That's not how it is built and packaged in Yocto. But that file has the debug information, what exactly are you looking for ? Bruce > > Thank you. > > > > > > Thanks in advance. > > > > > > Best Regards, > > Michael Y. Lim > > > > Office: 045/C-08 > > Tie Line: 363-7244 > > Phone: (512) 286-7244 > > email: youh...@us.ibm.com > > > > > > > > -- > - Thou shalt not follow the NULL pointer, for chaos and madness await > thee at its end > - "Use the force Harry" - Gandalf, Star Trek II > > > > -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8754): https://lists.yoctoproject.org/g/linux-yocto/message/8754 Mute This Topic: https://lists.yoctoproject.org/mt/74904720/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-