Project4Report Ece 4730
Project4Report Ece 4730
10582308
ECE 4730
Project 4
INTRODUCTION
The purpose of this week’s project is to experiment with the Zybo board and learn how
to install an operating system onto an SD card that the board is capable of booting up from.
PROCEDURE
First we needed to initialize a processing system with the peripherals of the board and
the multiply function from previous labs. This provided us with the SDK and Hardware wrapper
from which we obtained the boot file.
We then compiled a u-boot file using Linux. From there we generated boot.bin from the
FSBL and the bitstream from the first part. This boot bin is essentially the bootable portion of
the file. Then we needed to compile the Linux kernel image that gives us the operating system
itself.
Once we had the necessary files, we loaded them onto a Fat32 formatted micro sd card
and installed it into the board. When booting the board while connected to putty, we were
about to explore and use the Linus software on the board.
RESULTS
We were able to display a Linux system that was running from the Zybo board and
migrate through the directories and such typical of a Linus system.
CONCLUSION
It takes a bit of finagling to get the operating system functioning in a way so the board
can boot. It was a bit difficult to do, but the updated documentation assisted greatly.
QUESTIONS
1. Compared to project 3, the project 4 microprocessor system shown in Figure 1 has 512 MB
of SDRAM. However, our system still includes a small amount of local memory. What is the
function of the local memory? Does this ‘local memory” exist on a standard motherboard?
If so, where?
• Yes, this local memory exists on the motherboard in the form of cache memory.
2. After your Linux system boots, navigate through the various directories. Determine which of
these directories are writable. (Note that the man page for ‘ls’ may be helpful). Test the
permissions by typing ‘touch <filename>‘ in each of the directories. If the file, <filename>, is
created, that directory is writable. Suppose you are able to create a file in one of these
directories. What happens to this file when you restart the ZYBO board? Why?
• If you are able to create a temporary file system, you’d be creating it on RAM memory. This
would mean that it is temporary and would be lost when the board is restarted.
3. If you were to add another peripheral to your system after compiling the kernel, which of
the above steps would you have to repeat? Why?
• You will have to recreate the PS at the very beginning with the desired peripheral added
and connected. You would also need to update the boot.bin file since that is what tells the
device what to boot up.
*We did not change any of the code from what was provided in the instructions thus I did not
include the code in this project report. This project was more focused on actually setting up
Linux on the board.