From: Savas P. <sa...@dp...> - 2011-11-03 11:31:58
|
Dear Dave, Thank you for your immediate response. The image on my gumstix FE COM is the 2011-03-25-1619 stable image (with the omap3-desktop-nand-image-overo-booted root file system and uImage), downloaded from the official gumstix web page a few monthes ago. In my development PC I built, a few days ago with updated git repositories, the omap3-console-image and so I found the Angstrom-omap3-console-image-glibc-ipk-2011.03-overo.rootfs.tar.bz2 root file system with uImage-3.0-r103-overo.bin and the other image files in the temp/deploy/glibs/images/overo OE directory. According to your diagnosis I should update the image on my gumstix FE COM with the one I have at my development PC. Is that so? Best Regards, Savas Dave Hylands wrote: > > Hi Savas, > > On Wed, Nov 2, 2011 at 8:49 AM, Savas Piperidis <sa...@dp...> wrote: >> >> Hello forum, >> Yesterday I built an omap3-console-image using the OE environment and the >> instructions from the Gumstix Developer web page. After that I cross >> compiled the omap3 pwm driver ( https://github.com/scottellis/omap3-pwm >> https://github.com/scottellis/omap3-pwm ). I got the following messages >> during the cross compilation of the pwm driver: >> >> ... >> savas@RobOfficeD1:~/Dropbox/PHD_DropBox/WEBOTS_C++/C_plus_plus/Libraries/Overo_PWM_Driver/scottelisPWMDriver/omap3-pwm$ >> make >> make -C >> /home/savas/overo-oe/tmp/sysroots/overo-angstrom-linux-gnueabi/kernel >> M=/home/savas/Dropbox/PHD_DropBox/WEBOTS_C++/C_plus_plus/Libraries/Overo_PWM_Driver/scottelisPWMDriver/omap3-pwm >> modules >> make[1]: Entering directory >> `/home/savas/overo-oe/tmp/sysroots/overo-angstrom-linux-gnueabi/kernel' >> CC [M] >> /home/savas/Dropbox/PHD_DropBox/WEBOTS_C++/C_plus_plus/Libraries/Overo_PWM_Driver/scottelisPWMDriver/omap3-pwm/pwm.o >> Building modules, stage 2. >> MODPOST 1 modules >> CC >> /home/savas/Dropbox/PHD_DropBox/WEBOTS_C++/C_plus_plus/Libraries/Overo_PWM_Driver/scottelisPWMDriver/omap3-pwm/pwm.mod.o >> LD [M] >> /home/savas/Dropbox/PHD_DropBox/WEBOTS_C++/C_plus_plus/Libraries/Overo_PWM_Driver/scottelisPWMDriver/omap3-pwm/pwm.ko >> make[1]: Leaving directory >> `/home/savas/overo-oe/tmp/sysroots/overo-angstrom-linux-gnueabi/kernel' > > Looks like it compiled and linked your module successfully. > >> ... >> Assuming that the compilation ended without any problems (?) I copied the >> pwm.ko file to my Gumstix Tobi board. I used insmod to load the module, >> following the instructions from, the above mentioned, Scott Ellis web >> page. >> Then I got the following error message: >> >> insmod: error inserting 'pwm.ko': -1 invalid module format > > This means that the module wasn't compiled using the same set of > parameters as the version of linux running on your gumstix. > > Typically, it's because you didn't build the kernel using the same > development environment that you used to build the module (so the > development environment is probably setup for a newer kernel than the > one running on your gumstix). > > -- > Dave Hylands > Shuswap, BC, Canada > http://www.davehylands.com > > ------------------------------------------------------------------------------ > RSA® Conference 2012 > Save $700 by Nov 18 > Register now! > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > -- View this message in context: http://old.nabble.com/Problem-with-omap3-pwm-driver-%28Scott-Ellis%29-tp32766661p32772084.html Sent from the Gumstix mailing list archive at Nabble.com. |