[U-Boot-Users] Doubt regarding bootm in Uboot

Yasothabalan Ramaswamy-TLS,Chennai yasothabalanr at hcl.in
Mon Aug 6 06:59:52 CEST 2007


Hi all,    

 

I want to know how to transfer the control from Uboot to Linux Kernel. I
am using MPC5200B powerpc and ICECUBE board.

Where exactly the Linux Kernel should be loaded?

 

In cmd_bootm.c file,

 

U_BOOT_CMD(

            bootm,  CFG_MAXARGS,           1,         do_bootm,

            "bootm   - boot application image from memory\n",

            "[addr [arg ...]]\n    - boot application image stored in
memory\n"

            "\tpassing arguments 'arg ...'; when booting a Linux
kernel,\n"

            "\t'arg' can be the address of an initrd image\n"

#ifdef CONFIG_OF_FLAT_TREE

            "\tWhen booting a Linux kernel which requires a flat
device-tree\n"

            "\ta third argument is required which is the address of the
of the\n"

            "\tdevice-tree blob. To boot that kernel without an initrd
image,\n"

            "\tuse a '-' for the second argument. If you do not pass a
third\n"

            "\ta bd_info struct will be passed instead\n"

#endif

);

 

What do these lines signify? 

 

For what U_BOOT_CMD is used? I have read the source code fully. 

Please get me some idea.

 

 

 

 

 

 

Regards,

Yasotha Balan R



DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have 
received this email in error please delete it and notify the sender immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20070806/9a432a0d/attachment.htm 


More information about the U-Boot mailing list