ltib
[Top][All Lists]
Advanced

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

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


From: Bangaragiri G
Subject: RE: [Ltib] Fwd: i need some help..pls
Date: Fri, 20 Aug 2010 18:20:20 +0200

Hi,

   There is a change in way of passing the MAC address in Ethernet driver 
between 2.6.27.8 & 2.6.34. 
   In 2.6.27.8 kernel, the ethernet driver MAC address was hardcoded in EA3250 
platform code (arch/arm/mach-lpc32xx/board-ea3250.c file).
   But this is changed in 2.6.34 kernel. Now you need to pass the MAC address 
for your Ethenet device in kernel command line.
   Pass the MAC address in kernel command line  as shown below:
   ethaddr=<MAC address>

With kind regards,
Giri
-----------------------------------------------------------------
Bangaragiri G


-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Mike Nelson
Sent: 2010 Aug 20 4:38 AM
To: malay jajodia
Cc: address@hidden
Subject: Re: [Ltib] Fwd: i need some help..pls

Greetings:

I tried to run Linux 2.6.34 on the Phytec 3250 board and found that it
did not have the ethernet configured.  I went back into LTIB, selected
Linux 2.6.27 and it worked fine with rootfs over NFS.  Did not circle
back to figure out what may be wrong with 2.6.34.

I have also had no success with using LTIB as a development
environment.  I followed the LTIB documentation to create a package
for a simple "hello world" application.  My goal was to have the
hello_world application appear in the rootfs.  LTIB could not find the
package.  LTIB seems to be hard-wired to look for packages in certain
directories, and changing the configuration file to point to a Local
Package Pool doesn't seem to work for picking up my package.

So, now we are using makefiles to build the kernel and u-boot.  We
simply overlay the rootfs with whatever user application files we want
and access rootfs over NFS to the host.

Regards:

Mike Nelson, http://michaeltnelson.com
mobile: 1-650-291-7343
office: 1-650-257-7565



On Thu, Aug 19, 2010 at 14:18, malay jajodia <address@hidden> wrote:
> 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
>
> _______________________________________________
> LTIB home page: http://ltib.org
>
> Ltib mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/ltib
>
>

_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib



reply via email to

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