zImage for custom board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

zImage for custom board

860 Views
pratyushtomar
Contributor IV

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.

Labels (3)
0 Kudos
1 Reply

409 Views
igorpadykov
NXP Employee
NXP Employee

Hi  Pratyush

please follow below link and try to build minimal image

Freescale Yocto Project main page 

use AN4553 for debugging

http://www.nxp.com/files/32bit/doc/app_note/AN4553.pdf 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos