When even DEBUG_LL fails, uncompressed kernel image help you

I was copying the kernel image (uImage) for H6837WI camera using YMODEM protocol over serial to address 0x50C07FC0 (default u-boot address for the command ‘loady’ on this device) and even enabling “Early printk” (DEBUG_LL) didn’t help me.

Then I noticed the uImage entry point was 0x51008000, but even copying the uImage file to there didn’t print anything. Then I decided to try the uncompressed image (arch/arm/boot/Image).

Then I got early printk working and explaining the error I was getting:

object$ loady 0x51008000
## Ready for binary (ymodem) download to 0x51008000 at 115200 bps...
CxyzModem - CRC mode, 23007(SOH)/0(STX)/0(CAN) packets, 9 retries
## Total Size = 0x002cede8 = 2944488 Bytes
object$ go 0x51008000
## Starting application at 0x51008000 ...

Error: unrecognized/unsupported machine ID (r1 = 0x52f2026c).

Available machine support:

ID (hex) NAME
0000078d Solomon Magus ADS

Please check your kernel config and/or bootloader.