Results 1 to 3 of 3
Hi!
I have got a set top box with linux kernel 2.6.9 installed (marusys, ibm powerpc stb04500).
I grabbed the linux kernel from hxxp://stb.marusys.com and built a cross compiler using ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-20-2010 #1Just Joined!
- Join Date
- Jun 2010
- Posts
- 2
Guessing kernel options for modules
Hi!
I have got a set top box with linux kernel 2.6.9 installed (marusys, ibm powerpc stb04500).
I grabbed the linux kernel from hxxp://stb.marusys.com and built a cross compiler using crosstool-ng.
I need loop support so I built it as a module, but the module won't load on the set top box:
How do I find the right configure options to build a proper kernel module?insmod: cannot insert `loop.ko': Invalid module format (-1): Exec format error
I have to say that I am not using the gcc, glibc and binutils which were used to build the "box software"- could this be a problem?
TIA,
Heiko.
- 06-22-2010 #2Just Joined!
- Join Date
- Nov 2006
- Posts
- 7
- 06-22-2010 #3Just Joined!
- Join Date
- Jun 2010
- Posts
- 2
I compiled the kernel with the crosstools-ng cross compiler (host: linux x86; target: linux ppc) on my desktop system, but the compiled modules won't load on the set top box.
Just now I found (on the same website
) a precompiled cross compiler for the box (host: linux x86; target: linux ppc). I built the kernel module and it loads!
So the gcc, glibc, binutils "combo" has influence on kernel modules...
Thanks,
Heiko.


Reply With Quote

