OUR NETWORK:TiVoCommunity TechLore MyOpenRouter Dijit Community MediaSmart Home See all... About UsAdvertiseContact Us

 
Learn about scoring Forum's Raw Score: 216507.0
April 21, 2011 05:00 PM

Categories: PogoPlug Development

Rating (0 votes)
  • 1
  • 2
  • 3
  • 4
  • 5
Rate This!

Member Avatar

bramm

Member
Joined: 04/21/2011

Hi,

I've been trying to recompile the pogoplug pro 2.6.31.6 kernel to get some additional modules. This is my first try on crosscompiling so maybe I'm missing something.

I've installed codesourcery's G++ Lite 2009q3-67 for ARM GNU/Linux and it starts compiling, however I get the error:

CC      init/main.o
In file included from include/linux/proc_fs.h:5,
                 from init/main.c:14:
include/linux/fs.h:716: fatal error: mach/filemap_info.h: No such file or directory
compilation terminated.
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2

I did a make clean

make oldconfig

but nothing seems to help.

Can anyone maybe point out what I'm missing here?

Thanks in advance,

Bram

Discussion:    Add a Comment | Comments 1-5 of 5 | Latest Comment

April 22, 2011 11:45 AM updated: April 22, 2011 11:46 AM

My immediate guess is path resolution is failing somewhere. Until I get a chance to look, as I used a fresh make menuconfig, I can't say for certain.

The occasional problem here is that it keeps the old paths, so if you directory tree does not match that of the original build machine, this are going to be wonky.

April 22, 2011 5:56 PM updated: April 22, 2011 6:18 PM

Hi,

I assumed the default config was the one used for the pogoplug pro, but this was just a default kernel config file. The architecture wasn't configured right. so after some sleep I found the .config~ file and everything was ok

thanks anyway

Bram

May 30, 2011 6:30 AM

Hi,
I'm trying the same (ie recompile the kernel), but using the .config.old file instead of the .config~. The compile goes OK, but the resulted uImage does not boot.
I load the uImage via TFTP, it works, as the original kernel boots well via TFTP.
I compiled the kernel modules and placed them, also I copied the firmware files into the /lib/modules/.
So where you able to add additional kernel modules to the pogopro kernel?
What was the command line you used?
regards,
Jeno

May 30, 2011 12:34 PM

I assume you've got a serial connection if you have been tftp'ing kernels over.

If so, where does the kernel die off at? I'll have to have a look at where the firmware should actually reside on the CE install, and verify the full path for modules.

May 30, 2011 4:46 PM

Thank you for the quick reply. No, I don't have serial connection, I wanted to avoid the HW "work". :-). I modified the uboot variables via blparam, and kept the original kernel on the TFTP server and just moved the kernel images on the server to boot either the one compiled by me, or the original one.
Anyhow, the problem seems to be workarounded. Instead of using the new kernel, I just compiled the modules I need (to use my webcam). Fortunately these new modules load perfectly into the orig kernel, and allow motion to work perfectly. Motion is installed from optware.

Discussion:    Add a Comment | Back to Top | Comments 1-5 of 5 | Latest Comment

Add Your Reply

(will not be displayed)

Email me when comments are added to this thread

 
 

Please log in or register to participate in this community!

Log In

Remember

Not a member? Sign up!

Did you forget your password?

You can also log in using OpenID.

close this window
close this window