Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 09-21-2010, 10:53 AM   #1
gdkags
Junior Member
gdkags began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2010
Device: kindle3g
linux kernel module compilation + insertion

Hi,

has anyone ever compiled a custon kernel module for the Kindle 3 (i guess 2 or 1 whould be alright).

I used the Source linked from http://www.mobileread.com/forums/showthread.php?t=95968
But i am using firmware 3.0.2, this could be a problem because the kernelversion differs. Where did you get the link to the source from? I searched for it but came up with nothing.

regards.

//edit well, i just found the source code page. I guess, i might have to revert to 3.0.1 to build a custom kernel module

Last edited by gdkags; 09-21-2010 at 11:03 AM.
gdkags is offline   Reply With Quote
Old 09-21-2010, 11:37 AM   #2
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 4,505
Karma: 4440189
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2
The source should come out once the 3.0.2 becomes official, and not an early preview.

And, yes, several users already have replaced the kernel on K2 devices, check this forum .

(if you don't want to touch the core kernel, and just want to inject modules, your x-compile toolchain will have to match *exactly* the one used by the lab126 guys (ie. K 2.6.26, glibc 2.5, binutils 2.18.4 (not sure about binutils right now, something like that xD), gcc 4.1.2).
NiLuJe is offline   Reply With Quote
Old 09-21-2010, 11:58 AM   #3
gdkags
Junior Member
gdkags began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2010
Device: kindle3g
yaaay, building my own toolchain really sounds like loads of fun :/
I guess I have to do this, because i am not sure I would be able to recover my kindle if my comiled kernel goes haywire.
Are there any fallbacks for such a scenario? I mean, without soldering.

edit: maybe you/somebody want/s to tell me what the kernel expresses with:
module: no symbol version for struct_module

Last edited by gdkags; 09-21-2010 at 12:23 PM.
gdkags is offline   Reply With Quote
Old 09-21-2010, 05:27 PM   #4
yifanlu
Kindle Dissector
yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.yifanlu can program the VCR without an owner's manual.
 
Posts: 662
Karma: 170717
Join Date: Jul 2010
Device: Amazon Kindle 3
I wrote a guide on compiling the kernel for Kindle 2 here: http://www.mobileread.com/forums/showthread.php?t=91862

(I also linked to a pre-compiled toolchain)

The only differences for Kindle 3 is:
1) Download the Kindle 3 source (duh)
2) For step 2, instead of "make mario_mx_defconfig", do "make imx35_luigi_defconfig"
yifanlu is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PRS-600 Linux kernel doesn't detect PRS-600 external memory sinkpen Sony Reader 4 10-30-2009 01:50 PM
iLiad Linux Kernel flashing to iliad atmel iRex Developer's Corner 1 11-20-2007 09:55 AM
iLiad Linux kernel update! atmel iRex Developer's Corner 4 11-12-2007 11:06 AM
iLiad Linux 2.6 Kernel Port for the Iliad CommanderROR iRex Developer's Corner 6 08-21-2007 08:33 AM
iLiad Kernel module compilation howto? drazvan iRex Developer's Corner 2 04-23-2007 07:43 PM


All times are GMT -4. The time now is 06:20 AM.


MobileRead.com is a privately owned, operated and funded community.