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