{"id":13831016,"url":"https://github.com/riscv-software-src/riscv-pk","last_synced_at":"2025-12-18T04:43:24.596Z","repository":{"id":40380405,"uuid":"2276297","full_name":"riscv-software-src/riscv-pk","owner":"riscv-software-src","description":"RISC-V Proxy Kernel","archived":false,"fork":false,"pushed_at":"2025-04-30T01:01:38.000Z","size":1489,"stargazers_count":628,"open_issues_count":88,"forks_count":317,"subscribers_count":57,"default_branch":"master","last_synced_at":"2025-04-30T02:19:07.742Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/riscv-software-src.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2011-08-26T20:02:36.000Z","updated_at":"2025-04-30T01:01:42.000Z","dependencies_parsed_at":"2024-03-22T21:45:57.189Z","dependency_job_id":"b2dde169-6db0-477f-957d-8f53f7146e60","html_url":"https://github.com/riscv-software-src/riscv-pk","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riscv-software-src%2Friscv-pk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riscv-software-src%2Friscv-pk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riscv-software-src%2Friscv-pk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riscv-software-src%2Friscv-pk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/riscv-software-src","download_url":"https://codeload.github.com/riscv-software-src/riscv-pk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254235696,"owners_count":22036963,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-08-04T10:01:15.335Z","updated_at":"2025-12-18T04:43:19.527Z","avatar_url":"https://github.com/riscv-software-src.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"RISC-V Proxy Kernel and Boot Loader\n=====================================\n\nAbout\n---------\n\nThe RISC-V Proxy Kernel, `pk`, is a lightweight application execution\nenvironment that can host statically-linked RISC-V ELF binaries.  It is\ndesigned to support tethered RISC-V implementations with limited I/O\ncapability and thus handles I/O-related system calls by proxying them to\na host computer.\n\nThis package also contains the Berkeley Boot Loader, `bbl`, which is a\nsupervisor execution environment for tethered RISC-V systems.  It is\ndesigned to host the RISC-V Linux port.\n\nBuild Steps\n---------------\n\nWe assume that the RISCV environment variable is set to the RISC-V tools\ninstall path, and that the riscv-gnu-toolchain package is installed.\nPlease note that building the binaries directly inside the source\ndirectory is not supported; you need to use a separate build directory.\n\n    $ mkdir build\n    $ cd build\n    $ ../configure --prefix=$RISCV --host=riscv64-unknown-elf\n    $ make\n    $ make install\n\nAlternatively, the GNU/Linux toolchain may be used to build this package,\nby setting `--host=riscv64-unknown-linux-gnu`.\n\nBy default, 64-bit (RV64) versions of `pk` and `bbl` are built.  To\nbuilt 32-bit (RV32) versions, supply a `--with-arch=rv32i_zicsr_zifencei` flag to the\nconfigure command.\nTo process RVC binaries, supply a `--with-arch=rv32ic_zicsr_zifencei` flag, because the\nemulation code (floating point and miss-aligned load and store) is different in\nthe RVC case.\n\nThe `install` step installs 64-bit build products into a directory\nmatching your host (e.g. `$RISCV/riscv64-unknown-elf`). 32-bit versions \nare installed into a directory matching a 32-bit version of your host (e.g.\n`$RISCV/riscv32-unknown-elf`).\n\nOpenBSD Build Steps\n-------------------\n\nInstall the riscv-gnu-toolchain, and follow generic build steps.\n\n    # pkg_add riscv-elf-binutils riscv-elf-gcc riscv-elf-newlib\n\n   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friscv-software-src%2Friscv-pk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Friscv-software-src%2Friscv-pk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friscv-software-src%2Friscv-pk/lists"}