[U-Boot] Bootm command
smitha.vanga at wipro.com
smitha.vanga at wipro.com
Tue Aug 30 13:06:01 CEST 2011
Hi Mark,
I didn't understand what you mean to say. Actually I have built a cramfs
image and programmed the file system at the location 0xfe340000(this is
flash address where it is programmed) in the flash .
I loaded uImage kernel image at 0x1000000 this is my ram area address. I
have loaded .dtb at 0x2000000
In ram. I have set my bootargs as
setenv bootargs console=ttyS0,9600 root=/dev/mtdblock4 rootfstype=cramfs
Now I try to boot the kernel image loaded at 0x1000000 address. As per
the log messages I see that
Kernel gets uncompressed and loaded at 0x00000000 address. It starts
loading the file system and
Then tries to read the header from the loaction 0xfe340000 and compare
the IH_MAGIC with the hdr->ih_magic the it says Bad Magic Number and
gets reseted.
Below is the piece of code where it fails.
if (hdr->ih_magic != IH_MAGIC) {
printf ("Bad Magic Number\n");
SHOW_BOOT_PROGRESS (-10);
/* do_reset (cmdtp, flag, argc, argv); */
if(auto_boot)
do_reset (cmdtp, flag, argc, argv);
else
return 1;
}
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