Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 1.18 KB

README.md

File metadata and controls

45 lines (34 loc) · 1.18 KB

#TinyComputer

This is a project about a tiny computer(I have not decided its name) based on MIPS and Nexys4 board.
This work is a graduation project instructed by Prof.Zhiyuan Shaw
The kernel is ported from ucore
The MIPS cpu comes from HUST's work with Prof.Diqing Hu
The transform tool is used to copy the kernel to the Nexys4 board.

Oslab


PS. you will be given a x86 kernel which can be launched in qemu-i386

###1. QEMU configuration

cd qemu
./configure --help : find info you want
./configure --target-list=i386-softmmu,mipsel-softmmu
sudo apt-get install zlib1g-dev
libglib2.0-dev
libtool
libpixman-1-deva
apt-get install libsdl1.2-dev or you will have graphics
make

PS. Add PATH

###2. x86 kernel

cd ucore/ucore
make ARCH=i386 defconfig
install libncurses5-dev
make ARCH=i386
make ARCH=i386 sfsimg
make ARCH=i386 swapimg
./uCore-run

###3. mips kernel

make clean
make ARCH=mips menuconfig : set you cross-compiler PATH
make ARCH=mips sfsimg : it will have been modified in future
make ARCH=mips kernel