Releases: AllenHeartcore/ECE391_UIUC22fa
MP3: ZinixOS
ZinixOS (Online Demo)
SHA256 checksum of ZinisOS.img
: 59b575c8d7c56c17542e4dc00bff9796a3f5cd168e14146ba1243f9e25dd590c
SHA256 checksum of bootimg
: 8445846288d79f25b32bf687dda02c87990a6721022fab322c461a8230f82577
Boot the image
Boot in QEMU with specifications -hda "<PATH>\ZinixOS.img" -m 256 -name ZinixOS -soundhw pcspk
Build from relocatable files
- Download and extract
ZinixOS.zip
- Build the file system with
./createfs -i fsdir -o filesys_img
- Mount the disk image with
su -c ./mount.sh
MP3: ZinixOS (5)
Scheduling
SHA256 checksum of bootimg
: dbc01b8509383cf1e20d0c9356ede90dd01e3e8a5beb90d7e58fd6d90479feb9
Booting the OS Image
- Download
bootimg
(differs between checkpoints),filesys_img
,mp3.img
, andmount.sh
- Put the four files under the same directory
[DIR]
- Build the disk image with
su -c ./mount.sh
- Launch
mp3.img
in QEMU with specifications
-hda "[DIR]\mp3.img" -m 256 -gdb tcp:127.0.0.1:1234 -name mp3
MP3: ZinixOS (4)
System Calls (Cont'd)
SHA256 checksum of bootimg
: b8ca9de433a807de5c3119df9cab5137db8cbdb50c3179622e7c9d6fc777b9ad
See Checkpoint 5 Release for guidelines to boot the OS image
MP3: ZinixOS (3)
System Calls
SHA256 checksum of bootimg
: 96c3ce56bbac4d5400ce485b78b8da1dec13bad4c08eaaa2fcd194fb82ba51a4
See Checkpoint 5 Release for guidelines to boot the OS image
MP3: ZinixOS (2)
Device Drivers
SHA256 checksum of bootimg
: e333997e238952ca75b105f9fa190964eda334ca7267da023b396fb545b532ec
See Checkpoint 5 Release for guidelines to boot the OS image
MP3: ZinixOS (1)
Processor Initialization
SHA256 checksum of bootimg
: 3ba23eb676a82833dd72303b25af4b805819ac12c6161381013f5885c8775109
See Checkpoint 5 Release for guidelines to boot the OS image
MP2: Adventure Game (2)
TUX controller driver, octree
cd module
make
sudo /sbin/insmod ./tuxctl.ko
cd ..
make
su -c ./adventure
Press ` (backtick) anytime to quit the game.
Specification
Version -ckpt2a
enables octree, while -ckpt2b
adds support for TUX.
Make sure images
are in the same folder as the executables!
The QEMU launcher should be configured with -redir tcp:2022::22
to support the TUX emulator.
MP2: Adventure Game (1)
VGA ModeX text, status bar
make
su -c ./adventure
Press ` (backtick) anytime to quit the game.
MP1: Missile Command
[MP1]
, [LINUX]
, [LINUX_BUILD]
refer to directories.
User Test (runs on devel.qcow
)
make
su -c ./utest
Kernel Test (runs on test.qcow
)
cp mp1.S [LINUX]/drivers/char
cp mp1.diff [LINUX]
cd [LINUX]
cat mp1.diff | patch -p1
cd [LINUX_BUILD]
make
cd [MP1]
make
su -c ./ktest