{"id":13648817,"url":"https://github.com/jiegec/cs140e","last_synced_at":"2026-03-16T00:10:31.589Z","repository":{"id":68569602,"uuid":"119933296","full_name":"jiegec/cs140e","owner":"jiegec","description":"CS140e without Rust is not CS140e. Sergio Benitez plz come back.","archived":false,"fork":false,"pushed_at":"2020-04-01T08:12:35.000Z","size":754,"stargazers_count":75,"open_issues_count":0,"forks_count":15,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-08-07T19:00:40.391Z","etag":null,"topics":["cs140e","kernel","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jiegec.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-02-02T04:48:39.000Z","updated_at":"2025-02-07T10:29:16.000Z","dependencies_parsed_at":"2023-09-13T15:02:57.463Z","dependency_job_id":null,"html_url":"https://github.com/jiegec/cs140e","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jiegec/cs140e","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiegec%2Fcs140e","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiegec%2Fcs140e/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiegec%2Fcs140e/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiegec%2Fcs140e/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jiegec","download_url":"https://codeload.github.com/jiegec/cs140e/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiegec%2Fcs140e/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30556567,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-15T23:30:23.986Z","status":"ssl_error","status_checked_at":"2026-03-15T23:28:43.564Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cs140e","kernel","rust"],"created_at":"2024-08-02T01:04:34.078Z","updated_at":"2026-03-16T00:10:29.557Z","avatar_url":"https://github.com/jiegec.png","language":"Rust","readme":"cs140e\n=======================================\n\nMy code for Stanford cs140e. See [archived copy of CS140e](https://cs140e.sergio.bz/).\n\nUsing `alias code-rust=\"env RUST_TARGET_PATH=(pwd) RUST_LOG=rls=debug CARGO_INCREMENTAL=0 code-insiders\"` in my fish config.\n\nSetup\n==================================\n\nSetup Rust toolchain:\n\n```\nrustup toolchain install nightly-2019-01-01\nrustup component add rustfmt-preview rls-preview rust-src rust-analysis\n# in cs140e directory\ncargo install cargo-xbuild\n```\n\nBuild bootloader first, then\n\n```\ncp os/bootloader/build/bootloader.bin /Volumes/boot/kernel8.img\ncp os/bootloader/ext/config.txt /Volumes/boot/config.txt\ncd os/kernel\nmake install; and screen /dev/tty.SLAB_USBtoUART 115200\n```\n\nUp and running\n================================\n\nTo run kernel in QEMU, build kernel and then run it:\n\n```\ncd os/kernel\nmake QEMU=1\nqemu-system-aarch64 -machine raspi3 -serial null -serial mon:stdio -kernel build/kernel.bin -s -sd ../../2-fs/files/resources/mock1.fat32.img\n```\n\nTo run in Raspberry Pi 3, please refer to cs140e webpage.\n\n\nSee also\n==============================\n\n1. [My series blog posts on cs140e in Chinese](https://jiege.ch/programming/2018/02/04/thoughts-on-stanford-cs140e/).\n2. [Original CS140e](https://cs140e.sergio.bz/).\n","funding_links":[],"categories":["Rust"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiegec%2Fcs140e","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjiegec%2Fcs140e","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiegec%2Fcs140e/lists"}