[U-Boot] Bootm command

Marek Vasut marek.vasut at gmail.com
Tue Aug 30 12:39:40 CEST 2011


On Tuesday, August 30, 2011 12:08:00 PM smitha.vanga at wipro.com wrote:
> 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);
> 		}

You certainly have some very old stuff here. The load addr 0x1000000 and 
0xfe340000 seem quite far from each other. Maybe that's the case, you're loading 
the stuff from some strange place?

> 
> 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.

Can you disable this ? :-(

> 
> www.wipro.com
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot


More information about the U-Boot mailing list