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 07-23-2010, 01:38 PM   #1
yifanlu
Kindle Dissector
yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.
 
Posts: 662
Karma: 475607
Join Date: Jul 2010
Device: Amazon Kindle 3
Compiling the Linux Kernel for the Kindle

After three days and tons of googleing, I've compiled, set up, and installed the kernel for Kindle. Directions as follows:

Part 1: Prerequisites
  • Get a root shell of your Kindle. If you don’t know, Google “usbNetworking”
  • A Linux computer for compiling code
  • Amazon’s sources for your version of the Kindle: http://www.amazon.com/gp/help/custom...deId=200203720
  • An ARM cross-compiler. You can compile Amazon’s code, or if you’re lazy, use CodeSourcery’s precompiled toolchain: http://www.codesourcery.com/sgpp/lite/arm
  • The following packages, get them from your distro’s repo: libncurses-dev (for menuconfig), uboot-mkimage (for making the kernel image), and module-init-tools (depmod)

Part 2: Compiling the kernel
  1. Extract the source to anywhere. If you can’t decide, use “~/src/kernel/” and “cd” to the source files.
  2. Now, you need to configure for the Kindle, type “make mario_mx_defconfig“
  3. Edit the “.config” file and look for the line that starts with “CONFIG_INITRAMFS_SOURCE“. We don’t need that, delete that line or comment (#) it out.
  4. Here’s the part were you make all your modifications to the kernel. You might want to do “make menuconfig” and add extra drivers/modules. I’ll wait while you do that.
  5. Back? Let’s do the actual compiling. Type the following: “make ARCH=arm CROSS_COMPILE=~/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi- uImage”. This will make the kernel image. I assume you installed CodeSourcery’s cross compiler to your home folder (default). If your cross compiler is elsewhere, change the command to match it.
  6. Compile the modules into a compressed TAR archive (for easy moving to the kindle): “make ARCH=arm CROSS_COMPILE=~/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi- targz-pkg” (again, if your cross compiler is installed to a different location, change it).
  7. For some reason, depmod refuses to run with the compile script, so we’re going to do it manually. Do the following “depmod -ae -F System.map -b tar-install -r 2.6.22.19-lab126 -n > modules.dep” Change 2.6.22.19-lab126 to your compiled kernel version.
  8. Open modules.dep up with a text editor and do a search & replace. Replace all instances of “kernel/” with “/lib/modules/2.6.22.19-lab126/kernel/” (again, use your version string). I’m not sure this is needed, but better safe then brick.
  9. Now copy arch/arm/boot/uImage, linux-2.6.22.19-lab126.tar.gz (or whatever your version is), and modules.dep to an easy to access location.

Part 3: Installing on Kindle
  1. Connect the Kindle to your computer, and open up the storage device. Copy the three files you moved from the previous part to your Kindle via USB.
  2. This part is mostly commands, so get a root shell to your Kindle, and do the following commands line by line. Again, anywhere the version string “2.6.22.19-lab126” is used, change it to your kernel’s version. Explanation follows.
Code:
mv /mnt/us/linux-2.6.22.19-lab126.tar.gz /mnt/us/modules.dep /mnt/us/uImage /tmp
mv /lib/modules /lib/modules.old
cd /tmp & tar xvzf /tmp/linux-2.6.22.19-lab126.tar.gz
mv lib/modules /lib/
chmod 644 modules.dep
mv modules.dep /lib/modules/2.6.22.19-lab126/
/test/flashtools/update-kernel-both uImage
sync
shutdown -r now
Wow, that’s a lot of commands. What did that do? Well, line by line:
  1. Move the files we compiled to the temp folder. That way, we don’t have to clean up.
  2. Back up the old kernel modules
  3. Go to the temp folder and untar the modules
  4. Install the modules
  5. Correct the permissions for the modules.dep file (in case something happened after copying from your computer)
  6. Move the module dependencies list to it’s correct folder.
  7. Flash the kernel (I don’t know why it has to be flashed twice to two different partitions, but if you don’t, it won’t load, maybe sig checks?)
  8. Make sure everything is finished writing
  9. Reboot

Source: Myself (http://www.yifanlu.com/2010/07/26/ha...ng-the-kernel/)

EDIT: Deleted question, inserted directions

Last edited by yifanlu; 07-26-2010 at 05:07 PM. Reason: Deleted question, inserted directions
yifanlu is offline   Reply With Quote
Old 07-23-2010, 10:08 PM   #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: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Haven't tried.

One fun thing to try would be the ethernet+mass storage combo gadget USB driver. (Not sure it was there @ 2.6.22 though, but that shouldn't be too messy to backport).
NiLuJe is offline   Reply With Quote
Old 07-25-2010, 01:26 PM   #3
yifanlu
Kindle Dissector
yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.
 
Posts: 662
Karma: 475607
Join Date: Jul 2010
Device: Amazon Kindle 3
Ok, I almost have the kernel compiled (amazon adds some extra files (I don't know what yet) to the initramfs that isn't included with the source, in order to get them, I need a copy of Kindle's current kernel). Anyways, bigger question, how do I get the kernel to load after compiling it? Do I HAVE to do a serial connection and give it to uBoot, or can something be done within shell to load it?
yifanlu is offline   Reply With Quote
Old 07-25-2010, 02:21 PM   #4
yifanlu
Kindle Dissector
yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.
 
Posts: 662
Karma: 475607
Join Date: Jul 2010
Device: Amazon Kindle 3
In case anyone wants to compile the kernel, here's what you have to do (I might do a big write up one day, but for now):

I'm assuming you're a developer or linux hacker and have all the usual development tools and dev packages installed and knows how to compile stuff.

1. Get a cross compiler for ARM, you can compile your own with Amazon's provided source (gcc, libc, binutils, etc), or install a pre-compiled one: http://www.codesourcery.com/sgpp/lite/arm
2. Get uboot-mkimage from any repository
3. Set to compile for Kindle's MX3 arch, do the following command
Quote:
make mario_mx_defconfig
4. Amazon adds some extra files to the initramfs, I can't find these files right now, and I don't know the side effect of not having them. For now, just ignore those files. Edit ".config"
Look for
Quote:
CONFIG_INITRAMFS_SOURCE="../../initramfs/skeleton.list ../../initramfs/image/"
Change to
Quote:
CONFIG_INITRAMFS_SOURCE=""
5. Do whatever you want to the kernel, the most popular choice would be to add additional drivers and modules to the kernel, so to do that, do:
Quote:
make menuconfig
6. Compile the kernel, do the following
Quote:
make ARCH=arm CROSS_COMPILE=~/CodeSourcery/Sourcery_G++_Lite/bin/arm-none-linux-gnueabi- uImage
7. Compile the modules
Quote:
make modules
8. Copy everything over to the kindle, install modules to their respective locations (/lib/modules/) and copy uImage to root (/)
9. do
Quote:
/test/flashtools/update-kernel-both /uImage
Reboot and pray

Last edited by yifanlu; 07-25-2010 at 10:27 PM.
yifanlu is offline   Reply With Quote
Old 07-25-2010, 04:52 PM   #5
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: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Not sure. I seem to remember that they're stored in a dedicated partition, and that there's two (maybe three?) different kernels (one for the recovery/update process). But you'd better check yourself .

I guess a usbnet shell should be enough to extract the current initramfs, but, yeah, it's probably safer to have a serial console available in case things don't go as planned .
NiLuJe is offline   Reply With Quote
Old 07-25-2010, 08:47 PM   #6
yifanlu
Kindle Dissector
yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.
 
Posts: 662
Karma: 475607
Join Date: Jul 2010
Device: Amazon Kindle 3
Ok, I got it, kernel compiled into correct format and flashed.
yifanlu is offline   Reply With Quote
Old 07-25-2010, 09:03 PM   #7
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: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Nice! Thanks for the info
NiLuJe is offline   Reply With Quote
Old 07-25-2010, 09:12 PM   #8
zetareticuli
Addict
zetareticuli doesn't litterzetareticuli doesn't litterzetareticuli doesn't litter
 
Posts: 367
Karma: 228
Join Date: Jan 2010
Device: Aztak Mentor
How can you add wifi support via a kernel compilation? Does the hardware support it? Just wondering...
zetareticuli is offline   Reply With Quote
Old 07-25-2010, 09:46 PM   #9
yifanlu
Kindle Dissector
yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.
 
Posts: 662
Karma: 475607
Join Date: Jul 2010
Device: Amazon Kindle 3
So, yea, after dumping messages, I see "Linux version 2.6.22.19-lab126 (root@ubuntu) (gcc version 4.4.1 (Sourcery G++ Lite 2010q1-202) ) #1 PREEMPT Sun Jul 25 12:25:32 UTC 2010"

Yeah, my kernel is loaded! Then

Quote:
100725:211602 ppp_generic: disagrees about version of symbol skb_copy_bits
100725:211602 ppp_generic: Unknown symbol skb_copy_bits
100725:211602 ppp_generic: disagrees about version of symbol __netif_schedule
100725:211602 ppp_generic: Unknown symbol __netif_schedule
100725:211602 ppp_generic: disagrees about version of symbol unregister_netdev
100725:211602 ppp_generic: Unknown symbol unregister_netdev
100725:211602 ppp_generic: disagrees about version of symbol skb_dequeue
100725:211602 ppp_generic: Unknown symbol skb_dequeue
100725:211602 ppp_generic: disagrees about version of symbol skb_pull_rcsum
100725:211602 ppp_generic: Unknown symbol skb_pull_rcsum
100725:211602 ppp_generic: disagrees about version of symbol skb_under_panic
100725:211602 ppp_generic: Unknown symbol skb_under_panic
100725:211602 ppp_generic: disagrees about version of symbol kfree_skb
100725:211602 ppp_generic: Unknown symbol kfree_skb
100725:211602 ppp_generic: disagrees about version of symbol __alloc_skb
100725:211602 ppp_generic: Unknown symbol __alloc_skb
100725:211602 ppp_generic: disagrees about version of symbol skb_queue_tail
100725:211602 ppp_generic: Unknown symbol skb_queue_tail
100725:211602 ppp_generic: disagrees about version of symbol skb_over_panic
100725:211602 ppp_generic: Unknown symbol skb_over_panic
100725:211602 ppp_generic: disagrees about version of symbol register_netdev
100725:211602 ppp_generic: Unknown symbol register_netdev
100725:211602 ppp_generic: disagrees about version of symbol free_netdev
100725:211602 ppp_generic: Unknown symbol free_netdev
100725:211602 ppp_generic: disagrees about version of symbol skb_queue_purge
100725:211602 ppp_generic: Unknown symbol skb_queue_purge
100725:211602 ppp_generic: disagrees about version of symbol __pskb_pull_tail
100725:211602 ppp_generic: Unknown symbol __pskb_pull_tail
100725:211602 ppp_generic: disagrees about version of symbol netif_rx
100725:211602 ppp_generic: Unknown symbol netif_rx
100725:211602 ppp_generic: disagrees about version of symbol alloc_netdev
100725:211602 ppp_generic: Unknown symbol alloc_netdev
100725:211602 ppp_generic: disagrees about version of symbol skb_queue_head
100725:211602 ppp_generic: Unknown symbol skb_queue_head
100725:211602 modprobe: FATAL: Error inserting ppp_generic (/lib/modules/2.6.22.19-lab126/kernel/drivers/net/ppp_generic.ko): Unknown symbol in module, or unknown parameter (see dmesg)
100725:211602 lipc-get-prop[2969]: I lipc:giprop=localTimeOffset, source=com.lab126.wan:Get int property
100725:211602 system: I loginfo:ltoget:lto=-18000: local time offset has been read
100725:211602 lipc-set-prop[2978]: I lipc:siprop=wakeUp, source=com.lab126.powerd, value=1:Set int property
100726:021602 powerd[1767]: W def:unhandle:state=e_wake_up, evt=ACTIVE:Unhandled event e_wake_up in state ACTIVE
100725:211602 lipc-set-prop[2978]: I lipc:ssprop=wakeUp, source=com.lab126.powerd:Set string property
100725:211602 powerd[1767]: W lipctrop=setwakeUpStr:Property found but with a differnt type
100725:211602 lipc-set-prop[2978]: E def:fail:source=com.lab126.powerd, prop=wakeUp:Failed to set property
100725:211603 pppd[2925]: This system lacks kernel support for PPP. This could be because the PPP kernel module could not be loaded, or because PPP was not included in the kernel configuration. If PPP was included as a module, try `/sbin/modprobe -v ppp'. If that fails, check that ppp.o exists in /lib/modules/`uname -r`/net. See README.linux file in the ppp distribution for more details.
Dammit, I forgot to copy the new modules.


@zetareticuli, before compiling the kernel, if you do "make menuconfig", you get a screen with everything you want supported. However, it has to work with the hardware, and so far I only see USB ports and a mini pci-e port (for the wwan). So, let's say I have a custom WWAN card that I want to use on the kindle. I select it in menuconfig, and install it, then the kindle will see it.

Last edited by yifanlu; 07-25-2010 at 10:26 PM.
yifanlu is offline   Reply With Quote
Old 07-26-2010, 12:39 AM   #10
yifanlu
Kindle Dissector
yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.
 
Posts: 662
Karma: 475607
Join Date: Jul 2010
Device: Amazon Kindle 3
Ugh, I need to restore the original kernel before installing the new one. Can someone give me. Quick guide to kindle firmware tool? I understand it's something like this:
1) create. .sh file
2) add other files
3) use tool with m option
However, what do I name the sh file?

Last edited by yifanlu; 07-26-2010 at 11:14 AM.
yifanlu is offline   Reply With Quote
Old 07-26-2010, 08:13 AM   #11
zetareticuli
Addict
zetareticuli doesn't litterzetareticuli doesn't litterzetareticuli doesn't litter
 
Posts: 367
Karma: 228
Join Date: Jan 2010
Device: Aztak Mentor
Yifanlu, thanks for the info. I wouldn't mind collaborating with you on these projects but I have to get a Kindle first. Which one do you have?
zetareticuli is offline   Reply With Quote
Old 07-26-2010, 08:48 AM   #12
yifanlu
Kindle Dissector
yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.
 
Posts: 662
Karma: 475607
Join Date: Jul 2010
Device: Amazon Kindle 3
Quote:
Originally Posted by zetareticuli View Post
Yifanlu, thanks for the info. I wouldn't mind collaborating with you on these projects but I have to get a Kindle first. Which one do you have?
Kindle 2 US
yifanlu is offline   Reply With Quote
Old 07-26-2010, 09:44 AM   #13
zetareticuli
Addict
zetareticuli doesn't litterzetareticuli doesn't litterzetareticuli doesn't litter
 
Posts: 367
Karma: 228
Join Date: Jan 2010
Device: Aztak Mentor
Alright. So I just bought a refurbished Kindle 2 to start testing all this. One thing that I really want to work on is the addition of a virtual SD card. With a virtual SD card, there would be little need for a real SD port. You just mount the virtual SD card that would read from, say, a web folder. Also, I would like to create a better PDF viewer. Something as close as possible to the PDF viewers that run on personal PCs.
zetareticuli is offline   Reply With Quote
Old 07-26-2010, 01:00 PM   #14
yifanlu
Kindle Dissector
yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.yifanlu ought to be getting tired of karma fortunes by now.
 
Posts: 662
Karma: 475607
Join Date: Jul 2010
Device: Amazon Kindle 3
Quote:
Originally Posted by zetareticuli View Post
Alright. So I just bought a refurbished Kindle 2 to start testing all this. One thing that I really want to work on is the addition of a virtual SD card. With a virtual SD card, there would be little need for a real SD port. You just mount the virtual SD card that would read from, say, a web folder. Also, I would like to create a better PDF viewer. Something as close as possible to the PDF viewers that run on personal PCs.
Why would you need a virtual SD card? Kindle mounts on the computer as a FAT32 storage device. Also, the frontend is coded in Java, so it has nothing to do with the kernel.
yifanlu is offline   Reply With Quote
Old 07-26-2010, 01:47 PM   #15
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: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@yifanlu: I guess you can extract the latest default kernel from the official update file, if you haven't got a backup.

As for the packer, the shell script don't need to have a specific name, AFAICT, the update tool run *every* sh file in the binfile, sequentially (ie. 0000-patches.sh, then 5555-kernel.sh).

@zetareticuli: Also, unless you're using a custom SIM, that would, again, break Amazon's terms, because you're hijacking the 3G connexion. And, btw, you don't need to touch the kernel to do 'virtual' (userland) mounts, Fuse is installed (and used by Amazon).

Last edited by NiLuJe; 07-26-2010 at 01:49 PM.
NiLuJe 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
Downgrade Kindle 3.x Kernel to 3.0.2 (on linux k3flasher) to provide forensic 3.3 twobob Kindle Developer's Corner 45 02-26-2013 08:32 PM
PRS-T1 How-to: Compiling the kernel and kernel modules altruizine Sony Reader Dev Corner 9 09-03-2012 09:12 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


All times are GMT -4. The time now is 08:33 AM.


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