I need someone to help me on this.
I checkout the yocto jethro repo from BoundaryDevice (https://boundarydevices.com/jethro-release-of-yocto/), And followed their instruction to build SD card image, very thing is fine.
But I need to make some debugging into the yocto kernel source, so I inserted some printk statements into a kernel source file, in this instance, the "~/jethro/boundary-eval-image/tmp/work-shared/nitrogen6x/kernel-source/drivers/net/phy/micrel.c" file. However, I don't know how to recompile and get my modifications into a new build SD image.
I tried the the below three instructions
bitbake -c clean virtual/kernel
bitbake -c compile virtual/kernel
bitbake -c install virtual/kernel
but these instructions always reverts my modifications and put the source back to original. Can someone help me to overcome this?