{"id":13648597,"url":"https://github.com/rustsbi/rustsbi-k210","last_synced_at":"2025-03-04T12:52:47.074Z","repository":{"id":42319651,"uuid":"372211237","full_name":"rustsbi/rustsbi-k210","owner":"rustsbi","description":"Kendryte K210 SBI support using RustSBI, provides privileged spec 1.12 environment by emulating it using 1.9.1","archived":false,"fork":false,"pushed_at":"2024-02-18T03:11:28.000Z","size":109,"stargazers_count":36,"open_issues_count":6,"forks_count":12,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-09T23:36:16.670Z","etag":null,"topics":["riscv","rust","rust-embedded","rustsbi","sbi"],"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/rustsbi.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-30T12:41:12.000Z","updated_at":"2024-10-23T10:04:06.000Z","dependencies_parsed_at":"2024-01-14T10:59:28.636Z","dependency_job_id":"76bd0ddb-f6b6-4210-8594-9107dc189768","html_url":"https://github.com/rustsbi/rustsbi-k210","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/rustsbi%2Frustsbi-k210","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustsbi%2Frustsbi-k210/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustsbi%2Frustsbi-k210/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustsbi%2Frustsbi-k210/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rustsbi","download_url":"https://codeload.github.com/rustsbi/rustsbi-k210/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241852145,"owners_count":20030969,"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":["riscv","rust","rust-embedded","rustsbi","sbi"],"created_at":"2024-08-02T01:04:22.783Z","updated_at":"2025-03-04T12:52:47.049Z","avatar_url":"https://github.com/rustsbi.png","language":"Rust","funding_links":[],"categories":["Rust","Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# RustSBI K210 平台支持包\n\n这个平台支持包包含较多的平台兼容功能，允许在K210上运行1.12版本标准的操作系统内核。\n\n## 二进制包下载\n\n请参阅发行页面：[这里](https://github.com/rustsbi/rustsbi-k210/releases)。\n\n## 使用说明\n\n请先下载[ktool.py](https://github.com/loboris/ktool)，放置在`xtask`目录下，即文件位置为`xtask/ktool.py`。\n\n运行以下指令，来直接在目标开发板运行代码。\n\n```\ncargo k210\n```\n\n这个平台支持包会启动位于`0x80020000`的操作系统内核，并在`a1`寄存器提供一个简单的设备树。\n操作系统内核应当使用《RISC-V指令集架构 第二卷：特权级指令》的1.12版本，而非芯片支持的1.9.1版本。\n\n## 兼容性使用文档\n\n稍后放出。包括`sfence.vma`指令、页异常编号转发等等。\n\n## 立即体验\n\n先下载代码，然后直接运行内核测试：\n\n```\ncargo test\n```\n\n## 版权声明\n\n项目的测试框架使用了[KTool](https://github.com/loboris/ktool)。这个项目使用Apache 2.0协议开源，感谢KTool项目和它的维护者们！\n\nReference implementaion K210 includes Kendryte K210 DTS file from Western Digital, this file is\n(C) Western Digital Corporation or its affiliates under BSD-2-Clause license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustsbi%2Frustsbi-k210","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frustsbi%2Frustsbi-k210","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustsbi%2Frustsbi-k210/lists"}