[U-Boot] Bootm command

smitha.vanga at wipro.com smitha.vanga at wipro.com
Tue Aug 30 12:08:00 CEST 2011


 
Hi Wolfgang,

I am trying to boot linux by using the bootm command. It fails when it
tries to compare the filesystem header with the IH_MAGIC  and fails and
gets reset. Could you let me know what should I need to change this
number. This in cmd_bootm.c file in do_bootm_linux () function. Below
are the logs.

EPN412> bootm 0x1000000 0xfe340000 0x2000000
## Booting image at 01000000 ...
   Image Name:   Linux-2.6.21.7-hrt1-cfs-v22-grse
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    1423080 Bytes = 1.4 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
## Loading RAMDisk Image at fe340000 ...
B


if (ntohl(hdr->ih_magic)  != IH_MAGIC) {
			puts ("Bad Magic Number\n");
			show_boot_progress (-10);
			do_reset (cmdtp, flag, argc, argv);
		}

Regards,
Smitha


Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com


More information about the U-Boot mailing list