my kernel does'nt boot: the magic of EARLY_PRINTK
I am subscribed to TI's e2e portal and this post peeked my interest. Since sometime in mainline kernel we've had issues with kernel not booting up due to some weird bugs. As a kernel developer, I have screwed up multiple times preventing kernel boot from happening. Typical build results in: ## Booting kernel from Legacy Image at c0700000 ... Image Name: Linux-2.6.32-rc6 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1939152 Bytes = 1.8 MB Load Address: c0008000 Entry Point: c0008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... And that's it - no useful messages for the kernel geeks to figure out where the boot sequence crashed, no real debug information at all! So the first question: why the kernel silence? The boot messages can only be printed once you have the serial port enabled. Now, serial port enablement itself could be pretty much later in the kernel boot sequence, if the system crashes(oops/data abort e...