TFTP based bootloader

OData support
Supervisor:
Raikovich Tamás
Department of Measurement and Information Systems

On the LOGSYS Spartan-6 board developed by the department MIT, can be found an FPGA circuit, which is also capable of running embedded operating systems. For this purpose, a microprocessor system containing the Xilinx MicroBlaze processor has been created, which is supported by certain versions of the Linux kernel (from 2.6.32.2). There has been a software so far, by which the Linux can be loaded from an SD card. The problem with this method is that if we need to modify the Linux image, then we have to replace the old image file with the new one and this process is sometimes inconvenient and can take a lot of time. The purpose of this thesis is to create a bootloader application that loads the Linux image from a network server using a relatively simple and fast protocol called the TFTP protocol. To do this, the Xilinx software development environment is available, by which these functions can be programmed in C language. But for the TFTP client, some other subprotocols (such as ARP, IP etc.) must be implemented, related to the TCP/IP model. Most of these protocols must be implemented for the correct operation, actually this gives the central part of the development. After that, the TFTP protocol can be implemented. During the development, the size of the program must be taken into consideration because the available memory in the microprocessor system is only 32 kB, where the code and data is placed. For testing purposes, a network traffic analyzer and a terminal emulator program were used.

Downloads

Please sign in to download the files of this thesis.