Build the image on the Host Development System. This involves typing make in the uClinux-dist directory. For more information, see compiling the kernel.
Now it needs to be copied to the target system. You will have a variety of files in the images directory. For more information on these, see the images page. Here you will want a kernel image with a root filesystem attached.
In order to do all of this, you'll need:
$ cp ./images/linux /tftpboot/linux
bfin> dhcp Using MAC Address 00:E0:22:FE:47:7B BOOTP broadcast 1 DHCP client bound to address 192.168.1.99 bfin> setenv serverip 192.168.1.1 bfin> saveenvOR
bfin> setenv serverip 192.168.1.1 bfin> setenv ipaddr 192.168.1.99At this point issue a
saveenv command to save these values after a reset.bfin> tftp 0x1000000 linux bfin> bootelf 0x1000000
uImage and linux image are designed to be run at a starting address of 0x1000, they should not be loaded there, as both formats are relocated. The run address is not the load address. Care must be taken with both formats that the expanded, relocated image does not overlap with the load address. For example, if you have an image with a 16Meg root filesystem, you can not load it at 0x1000000 (16Meg), because as the filesystem is being uncompressed, it will overwrite the header of the downloaded file.
bfin> setenv tftpl “tftp 0x1000000 linux ; bootelf 0x1000000” bfin> saveenvIt is only necessary to set up the command one time, as long as you save it into the flash. Then the following command can be used to perform the download.
bfin> run tftpl
bfin> setenv bootcmd run tftplThen after a reset the system will attempt a tftp download and run the image.