Booting the Linux Kernel Using U-Boot
3-4
3.4
Booting the Linux Kernel Using U-Boot
Booting the Linux kernel requires a valid kernel image (uImage) and a
target file system. A pre-built kernel image named
uImage
is included in
the PSP_02_20_#_#/bin directory of the PSP installation. File systems of
various kinds are supported by Linux kernel. A pre-built RAM Disk image
can be found in your MontaVista tools installation at
<
linux_install_dir
>/pro/devkit/arm/v5t_le/images/ramdisk.gz. A target file
system hierarchy suitable for export through NFS is found in the
<
linux_install_dir
>/pro/devkit/arm/v5t_le/target/ directory.
To boot the Linux kernel, use the U-Boot tftp command to download the
kernel uImage to SDRAM. You can then choose to directly boot the newly
downloaded kernel or to write it to non-volatile memory using U-Boot
commands and then copy the kernel to SDRAM from this memory for
subsequent boots. Please see Section A.2 of this user guide for
information on setting up a TFTP server.
To use TFTP download, you must first set up the DUT IP parameters.
The easiest way to do this is to use the DHCP server on your network.
1) Use DHCP to set the EVM IP address.
U-Boot>
setenv autoload no
U-Boot>
dhcp
2) Set the IP address of the server (this may also be obtained from
DHCP).
U-Boot>
setenv serverip <
ip addr of server
>
3) Set the name of the image to be downloaded (this may also be
obtained from DHCP).
U-Boot>
setenv bootfile <
Linux kernel image file name
>
You can save the environment variable settings you have made into
persistent storage using the
saveenv
command.
You can get help on U-Boot commands by using the U-Boot "help"
command. Typing
help
at the U-Boot command prompt gives a list of
supported commands. Typing "help" followed by a command name gives
help for that command. Help for U-Boot commands is also available at
http://www.denx.de/wiki/view/DULG/UBoot.
Summary of Contents for DA8xx EVM PSP
Page 1: ...DA8xx EVM PSP User s Guide Literature Number SPRUGL9 March 2009...
Page 16: ...2 6...
Page 26: ...3 10...
Page 42: ...A 4...