{"id":16988514,"url":"https://github.com/chaoyangnz/rvz","last_synced_at":"2025-07-27T10:06:57.545Z","repository":{"id":197356173,"uuid":"530486977","full_name":"chaoyangnz/rvz","owner":"chaoyangnz","description":"xv6 port on RISC-V VisionFive2 / Nezha in Zig","archived":false,"fork":false,"pushed_at":"2023-10-07T12:21:05.000Z","size":32354,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-10T17:19:46.674Z","etag":null,"topics":["d1-h","jh7110","risc-v","xv6","zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/chaoyangnz.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":"2022-08-30T03:49:22.000Z","updated_at":"2025-02-03T04:53:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"f4224c8a-2b55-4353-b3bf-b9f8e42abecf","html_url":"https://github.com/chaoyangnz/rvz","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"275b98dcdb29d55a421872af0664711f2f432804"},"previous_names":["chaoyangnz/rvz"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chaoyangnz/rvz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaoyangnz%2Frvz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaoyangnz%2Frvz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaoyangnz%2Frvz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaoyangnz%2Frvz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chaoyangnz","download_url":"https://codeload.github.com/chaoyangnz/rvz/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chaoyangnz%2Frvz/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267341305,"owners_count":24071674,"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","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["d1-h","jh7110","risc-v","xv6","zig"],"created_at":"2024-10-14T03:04:13.341Z","updated_at":"2025-07-27T10:06:57.473Z","avatar_url":"https://github.com/chaoyangnz.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RVZ\n\nA xv6 port on JH7110 / D1-H using Zig.\n\n\u003e Currently I run on VisionFive2. In [rvx](https://github.com/chaoyangnz/rvx), I managed to port on Nezha D1 in C.\n\n# Development (Ubuntu)\n\n## Prerequisite\n\n- [VisionFive2](https://rvspace.org)\n- [Nezha](https://d1.docs.aw-ol.com/en/d1_dev/)\n\nUnbuntu:\n- USB-UART driver: `sudo apt install libusb-1.0-0-dev`\n- packages: \n    - Zig: `snap install zig --classic --edge`\n    - toolchain: `npm i xpm \u0026 xpm i` \n    - (optional): `sudo apt-get install -y gcc-riscv64-linux-gnu`\n\n## Validation\n\n- `lsusb`\n\nBus 001 Device 004: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC\n\n`sudo adduser \u003cuser\u003e dialout`\n\n## Tools\n\nThese tools may be needed during build, so better to put them in `$PATH`.\n\n- [vf2flash](./tools/vf2flash/vf2flash)\n\nA utility to help load your kernel into DRAM and run and also flash your kernel into SPI Flash sector. It also can act as a Serial terminal.\n\n- [vf2-uboot-fit-imager](./tools/vf2-uboot-fit-imager/vf2-uboot-fit-imager)\n\n- [xfel](https://github.com/xboot/xfel/tree/master/docs#linux-platform-1)\n\nA CLI tool to build U-boot FIT image with visionfive ITS.\n\n## Build (test bare metal)\n\n```\n./dev\n```\n\nThe above will load the binary to DRAM 0x40000000 and run.\n\nYou should be able to see UART output at the end.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaoyangnz%2Frvz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchaoyangnz%2Frvz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaoyangnz%2Frvz/lists"}