All Projects β†’ jiegec β†’ Cs140e

jiegec / Cs140e

CS140e without Rust is not CS140e. Sergio Benitez plz come back.

Programming Languages

rust
11053 projects

Labels

Projects that are alternatives of or similar to Cs140e

Svm kernel
x86_64 AMD kernel optimized for performance & hypervisor usage
Stars: ✭ 32 (-43.86%)
Mutual labels:  kernel
Pmbootstrap
Repository has been moved! https://postmarketos.org/move.html#/pmbootstrap 🚚 🚚 🚚
Stars: ✭ 1,010 (+1671.93%)
Mutual labels:  kernel
Pvekclean
Easily remove old/unused PVE kernels on your Proxmox VE system
Stars: ✭ 54 (-5.26%)
Mutual labels:  kernel
Awesome Unix
All the UNIX and UNIX-Like: Linux, BSD, macOS, Illumos, 9front, and more.
Stars: ✭ 973 (+1607.02%)
Mutual labels:  kernel
Sos
Sian's Operating System
Stars: ✭ 40 (-29.82%)
Mutual labels:  kernel
Hidamari
Modern operating system aimed at running WebAssembly code.
Stars: ✭ 49 (-14.04%)
Mutual labels:  kernel
Sparkmagic
Jupyter magics and kernels for working with remote Spark clusters
Stars: ✭ 954 (+1573.68%)
Mutual labels:  kernel
Linux On Pixel C
Documentation on how to run a Linux Distro on the Google Pixel C (2015)
Stars: ✭ 55 (-3.51%)
Mutual labels:  kernel
Proton zf6
Proton Kernel for the Asus Zenfone 6 (2019), codename Kirin and also known as I01WD and ZS630KL.
Stars: ✭ 42 (-26.32%)
Mutual labels:  kernel
Mylinux
myLinux is a small UNIX like OS for embedded systems based on Westermo NetBox
Stars: ✭ 53 (-7.02%)
Mutual labels:  kernel
Prettyos
A Preemptive Hard Real Time kernel for embedded devices.
Stars: ✭ 36 (-36.84%)
Mutual labels:  kernel
Smash
A unix like kernel
Stars: ✭ 40 (-29.82%)
Mutual labels:  kernel
Cuteos
A 64-bit SMP-safe kernel for the PC architecture.
Stars: ✭ 51 (-10.53%)
Mutual labels:  kernel
H Encore
Fully chained kernel exploit for the PS Vita on firmwares 3.65-3.68
Stars: ✭ 968 (+1598.25%)
Mutual labels:  kernel
Turtlebot3
Autonomous delivery robot with turtlebot3 and Jetson TX2
Stars: ✭ 54 (-5.26%)
Mutual labels:  kernel
Canvas Img Process
html5 canvas image process ( 3*3 kernel ) canvas卷积核桋试 canvasε›Ύη‰‡εŽζœŸ
Stars: ✭ 31 (-45.61%)
Mutual labels:  kernel
Cilium
eBPF-based Networking, Security, and Observability
Stars: ✭ 10,256 (+17892.98%)
Mutual labels:  kernel
Redshirt
πŸ§‘β€πŸ”¬ Operating system
Stars: ✭ 1,082 (+1798.25%)
Mutual labels:  kernel
Skift
πŸ₯‘ A simple, handmade, operating system with a graphical user interface.
Stars: ✭ 1,068 (+1773.68%)
Mutual labels:  kernel
Dennix
Dennix is a unix-like hobbyist operating system written from scratch.
Stars: ✭ 53 (-7.02%)
Mutual labels:  kernel

cs140e

My code for Stanford cs140e. See archived copy of CS140e.

Using alias code-rust="env RUST_TARGET_PATH=(pwd) RUST_LOG=rls=debug CARGO_INCREMENTAL=0 code-insiders" in my fish config.

Setup

Setup Rust toolchain:

rustup toolchain install nightly-2019-01-01
rustup component add rustfmt-preview rls-preview rust-src rust-analysis
# in cs140e directory
cargo install cargo-xbuild

Build bootloader first, then

cp os/bootloader/build/bootloader.bin /Volumes/boot/kernel8.img
cp os/bootloader/ext/config.txt /Volumes/boot/config.txt
cd os/kernel
make install; and screen /dev/tty.SLAB_USBtoUART 115200

Up and running

To run kernel in QEMU, build kernel and then run it:

cd os/kernel
make QEMU=1
qemu-system-aarch64 -machine raspi3 -serial null -serial mon:stdio -kernel build/kernel.bin -s -sd ../../2-fs/files/resources/mock1.fat32.img

To run in Raspberry Pi 3, please refer to cs140e webpage.

See also

  1. My series blog posts on cs140e in Chinese.
  2. Original CS140e.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].