Saturday, September 29, 2007

Embedded Linux - Loading The Kernel

Now we are ready to operate the boardwe want to load the kernel inside the board flash memory and mount the file system in out host computer. this is very useful in the development process because the only thing we should do to download out application/driver to the target is to copy it from one directory to another on the host computer

restart the device and press a key to get u-boot shellthe easiest way to load files from host to target is to use tftp server on the host.start the tftp server and place the kernel image (uImage.cc) in the server directory

on the target uboot shell:

# setenvserverip [your tftp server ip address]# tftpboot 0x10000000 uImage.ccafter this you will get a number in hex format - REMEMBER IT