I've been trying to compile a custom kernel for my Kindle 4 NT (black edition) but have run into some problems.
I used the latest crosstool-ng with NiLuJe's ct-ng-kindle-config and the amazon 2.6.31 kindle 4.1.1 kernel release (with a few missing header files added from newer releases).
I used the kernel config from /proc/config.gz from the running kernel from the kindle with the only change being that I disabled initramfs by setting CONFIG_INITRAMFS_SOURCE="".
I have a serial console connection and when i use kexec to load my custom kernel, i don't get anything after the "Bye!" line. This is all I get:
Code:
[root@kindle us]# ./kexec -e
MX50 Accessory shutdown
MXC Watchdog # 0 shutdown
Starting new kernel
Bye!
After a few minutes the kindle reboots.
I'm not sure if the kernel is not loading correctly, or if somehow console output is not working.
Could it be because I'm using the wrong crosstool-ng config? Should i be using ct-ng-kindle5-config instead?
I know it's a problem with my custom kernel image, because I do get serial console output after loading the original kindle kernel (dumped with the getgernels script) using kexec.
Any ideas / suggestions would be greatly appreciated.