AnsweredAssumed Answered

zImage for custom board

Question asked by Pratyush Tomar on Sep 1, 2016
Latest reply on Sep 1, 2016 by igorpadykov

We have a custom board and we were able to boot it successfully. But we are facing a problem.  The problem is that we created zImage  for our board by using this command "bitbake fsl-image-mfgtool-initramfs" and this zImage works for our board while the zImage generated by "bitbake linux-imx" doesn't work with our board. The board hangs in between if we use this zImage.

But if use mfg toom zImage and try to load a wifi driver after booting it shows following error


wilc3000: version magic '4.1.15-1.1.1+gd5d7c02 SMP preempt mod_unload modversions ARMv7 p2v8 ' should be '4.1.15-1.1.1-mfgtool+gd5d7c02 SMP preempt mod_unload modversions ARMv6 p2v8 '
insmod: ERROR: could not insert module wilc3000.ko: Invalid module format


if I run "modinfo wilc3000.ko" I get following information


filename: /lib/modules/4.1.15-1.1.1+gd5d7c02/kernel/drivers/net/wireless/atmel/wilc3000/wilc3000.ko
license: GPL
srcversion: 93E3E20B693C883C5F9FF0C
depends: at_pwr_dev
vermagic: 4.1.15-1.1.1+gd5d7c02 SMP preempt mod_unload modversions ARMv7 p2v8


while running "uname -a"

Linux imx6ulevk 4.1.15-1.1.1-mfgtool+gd5d7c02 #1 SMP PREEMPT Thu Aug 25 18:09:22 IST 2016 armv7l GNU/Linux


Thus their is a mismatch in vermagic of driver and kernel name version. How can I resolve this problem? only mfg tool zImage works with our custom board and not the other zImage.