Skip to content

Real-Time Microkernel for Marklin Trainset running on aarch64

Notifications You must be signed in to change notification settings

trevoryao/cs452-kernel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS 452 -- Kernel

Developed by Niclas Heun (nheun) and Trevor J. Yao (t27yao).

Documentation

Documentation for compiling and running each Assignment (i.e. K1, K2, ...) can be found in the docs directory. Compilation instructions are the same for all, and are reproduced below. Kernel Assignment READMEs are also found there, and mostly reproduce this document. However, note that different targets need to be specified, and must be made from the user directory. Train Control Assignments need not.

Compilation

Build the program from the root directory by running one of make, make all. The prebuilt image is located in the repo root, titled kernel.img. It may be necessary to set the XDIR variable to point to the directory containing the cross-compiler. For example, in the linux.student.cs environment, XDIR should be /u/cs452/public/xdev (i.e. before the bin directory). Therefore, the program can be compiled in the linux.student.cs environment by changing directory to the program root and executing:

make XDIR=/u/cs452/public/xdev

Execution

As usual. That is, upload to the TFTP server to the desired RPi, and power on the corresponding RPi.

About

Real-Time Microkernel for Marklin Trainset running on aarch64

Resources

Stars

Watchers

Forks

Packages

No packages published