Dragonboard: kernel file modification


#1

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

this is my snapcraft.yaml for kernel part

kernel:
plugin: kernel
source: .
kdefconfig: [defconfig, distro.config]
kconfigs:
- CONFIG_LOCALVERSION="-96boards"
- CONFIG_DEBUG_INFO=n

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?


#2

@vinaysimha

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


#3

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