Hi All,

I created a rule file to copy the compiled the kernel out of tree driver to 
rootFS home directory. I able to success copying the file using the command 
below.
@$(call install_copy, test-modules, 0, 0, 0755, 
$(TEST_MODULES_DIR)/$(TEST_MODULES)/test.ko, /home/test.ko)

when i run the image and do the insmod test.ko, it returns
"insmod: can't insert 'test.ko': invalid module format"

BUT if i copy the file manually using winscp to the running image, the insmod 
works perfectly.

Do you think i did wrong on using the install_copy? 

Thanks in advance.

-ian


                                          
_______________________________________________
oselas mailing list
oselas@community.pengutronix.de

Reply via email to