What does the message "Bad Magic Number" mean?

I created a project which including “Web Server” and “FTP Server”. The application image.bin works well with Jtag debugger, but doesn’t work with the self-bootload after writing it into the flash.

After writing the image.bin file into the flash I turned off the power and then turned on the power again, the system doesn’t come up correctly, but with following message:


U-Boot 1.1.6 (Apr 23 2009 - 14:47:27) DUB-RevF1
for ConnectCore 9P 9360 on Development Board

DRAM: 32 MB
NAND: 32 MB
No splash partition found
CPU: NS9360 @ 176.947200MHz
SPI ID:2007/04/26, V1_5, CC9P9360, SDRAM 32MByte, CL2, 15.6us
Hit any key to stop autoboot: 0
Reading: complete
netos will be booted now

Booting image at 00500000 …

Bad Magic Number
command bootm 0x500000 failed
CC9P9360 #


What does the message “Bad Magic Number” here really mean? Could someone give me some advices?

Best Regards,

Hamundki

the ‘magic number’ is the location in RAM where the application is supposed to be loaded. Do a printenv_dynamic and post that. I think that your memory locations might be messed up.

Hello,

I found out the reason for this problem. The headerfile for the image.bin was something wrong.

Regards,

Jianwei Bao