Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 02-27-2012, 09:45 AM   #1
zatix
Junior Member
zatix began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Feb 2012
Device: kindle 4
Custom kernel in Kindle 4 NT?

Has somebody been able to set up a custom custom kernel in this device?

I downloaded the source code from http://www.amazon.com/gp/help/custom...deId=200203720 and I thought it would be nice to test modified apps/kernel.
zatix is offline   Reply With Quote
Old 02-27-2012, 10:09 AM   #2
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by zatix View Post
Has somebody been able to set up a custom custom kernel in this device?

I downloaded the source code from http://www.amazon.com/gp/help/custom...deId=200203720 and I thought it would be nice to test modified apps/kernel.
You can test a custom kernel without flashing (writing) it to mmc, but instead by loading it directly into memory from the host PC in USB Downloader mode, which can run it after loading it, using MfgTool and a custom u-boot image that uses an in-memory kernel instead of loading one from mmc. That will boot your kindle with custom startup modules and custom startup options, while continuing the rest of the boot process from the main or diags partition (your choice). Be sure to compile the kernel with a version of arm-linux-gcc that is compatible with the kernel and libraries used in the kindle.

You can even go as far as loading a complete OS into memory and running it with no mmc changes (if it is small enough to fit in memory). This is a great way to test low-level code that could otherwise brick a kindle -- just reboot back to the unchanged mmc firmware.

Last edited by geekmaster; 02-27-2012 at 10:15 AM.
geekmaster is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Custom Kernel] Next/Prev page using any buttons seaniko7 Kindle Developer's Corner 30 07-05-2018 01:22 PM
Compiling the Linux Kernel for the Kindle yifanlu Kindle Developer's Corner 82 12-12-2016 10:35 PM
Custom kernel for Kindle 3 yifanlu Kindle Developer's Corner 61 07-06-2013 12:58 PM
extract initramfs from kindle dx kernel image chinaet Kindle Developer's Corner 16 04-19-2013 01:16 PM
Observations from Kindle 2 kernel sources TadW Kindle Developer's Corner 3 03-13-2009 06:29 PM


All times are GMT -4. The time now is 12:51 PM.


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