Hi Jyijyi,
I would like to compile and update one kernel module into mangOH Red board with WP7608. Could you please provide compilation procedure for Linux kernel module?.
I am using Release 16. I am trying to include CONFIG_USB_LAN78XX and gpio module CONFIG_GPIO_MAX732X.
Compilation steps:
cd yocto
make dev
build_bin# bitbake linux-quic -c menuconfig
I selected the gpio-max732x as a built-in kernel module. I can see CONFIG_GPIO_MAX732X=y in “./build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi/linux-quic/3.18.140-r1/build/.config” file as well.
After this i have done following.
Open another Linux terminal in Linux machine
cd yocto
make
Update the image in target board by “swiflash -m “WP76XX” -i yocto_wp76xx.4k.cwe”
I have included one debug print in driver’s probe function. But that debug print is not appearing.
Other way:
I configured as CONFIG_GPIO_MAX732X=m as well. I can not find gpio-max732x.ko file. Where can i find that?