public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Doubt regarding bootm in Uboot
@ 2007-08-06  4:59 Yasothabalan
  2007-08-06  5:32 ` Grant Likely
  0 siblings, 1 reply; 10+ messages in thread
From: Yasothabalan @ 2007-08-06  4:59 UTC (permalink / raw)
  To: u-boot


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 

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-08-10 10:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-06  4:59 [U-Boot-Users] Doubt regarding bootm in Uboot Yasothabalan
2007-08-06  5:32 ` Grant Likely
2007-08-06  6:39   ` Yasothabalan
2007-08-06 11:13     ` Wolfgang Denk
2007-08-07  7:55     ` [U-Boot-Users] Linux hangs just at the beginning raul.moreno at telvent.abengoa.com
2007-08-08 16:54       ` Detlev Zundel
2007-08-09  7:22         ` raul.moreno at telvent.abengoa.com
2007-08-09 11:42           ` Wolfgang Denk
2007-08-10 10:19           ` Detlev Zundel
2007-08-06  6:41   ` [U-Boot-Users] Doubt regarding bootm in Uboot Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox