Dragonboard: kernel file modification


i had pulled this git git://kernel.ubuntu.com/ubuntu/ubuntu-xenial.git

this is my snapcraft.yaml for kernel part

plugin: kernel
source: .
kdefconfig: [defconfig, distro.config]

i had added few printk in drivers/net/usb/smsc75xx.c . “git d” shows the git diffs

After building the kernel snap and merging with gadget, smsc75xx (usb2ethernet) driver is loading in target, but i do not see my kernel logs.
file modification to the driver file is not impacting in the target.

did i miss any method for modification of files in kernel and building?



Hi, I am trying to do something similar but did you figure out what the problem was?


file modifications will not work. you need to create a patch and apply the patch in snapcraft.yaml