ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ltib] Fwd: i need some help..pls


From: malay jajodia
Subject: [Ltib] Fwd: i need some help..pls
Date: Thu, 19 Aug 2010 14:18:54 -0700

Hi All,
 
Finally i was able to solve the issue i had earlier with using hello module example. So i thought it may help somebody else as well who are new to LPC32xx boards.
 
Initially i was able to compile and build the kernel UImage, U-boot and RFS for linux 2.6.34. Then i tried to mount the RFS on SD card (ext2 partitioned) and boot my PHY3250 board. Although my board was booting, i was not able to insert modules even the hello example that comes with the LTIB packages. The error i was getting 'Invalid module format'.
 
Although the error message was insinuating that the built module differed in version with the current kernel running on my board. But i was given the board with pre-setup u-boot and uImage and i had not even the slightest idea of how the u-boot and  uImage can be changed to match with my module's linux version.
 
i had the preconceived notion that the uImage and u-boot.bin present in the boot folder inside rootfs is automatically used by the S1L bootlaoder to boot up the system and run the linux kernel.  Actually, we need to use these two files to manually change the older u-boot and uImage, the documentation of them is well illustrated at www.lpclinux.com . This is how we can keep ourselves distant from such issues.
 
More than facing such errors, it is important to delve a bit deeper to understand how our board actually work and each of them differ quite a lot. So more we work on different platform more knowledge we gain on these subjects.
 
Finally, thanks to all the members of ltib forum especially to Kevin and Stuart.
 
-Malay


 
---------- Forwarded message ----------
From: malay jajodia <address@hidden>
Date: Wed, Aug 18, 2010 at 12:44 PM
Subject: i need some help..pls
To: address@hidden


Hi Everybody,

Though i am new to his forum i have been receiving help constantly from you all. Thanks a lot. But i need a little more favor.

I am simply trying to build hello_mod example and run it on my PHY3250 but every time i use insmod at directory misc, it shows me the error "cannot insert 'modexample.ko': invalid module format".
I have followed all the steps given in README file inside the hello module folder. Also i have selected the option of 'Leave the sources after building'. I have tried this module on both 2.6.27 and 2.6.34 kernel, but cannot find out what the real problem is. So please help me find the solution because i am stuck on it for a couple of days now.

I really appreciate your help.

Thanks,
Malay
Email: address@hidden



--
Malay Jajodia
Contact No: 618-303-4805
Email: address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]