{"id":15003522,"url":"https://github.com/mr-bossman/pi-pico2-linux","last_synced_at":"2026-01-07T23:14:00.352Z","repository":{"id":252552618,"uuid":"840480231","full_name":"Mr-Bossman/pi-pico2-linux","owner":"Mr-Bossman","description":"RISC-V linux on the raspberry pi pico 2","archived":false,"fork":false,"pushed_at":"2024-10-12T16:53:56.000Z","size":409,"stargazers_count":207,"open_issues_count":0,"forks_count":20,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-04-04T13:34:27.404Z","etag":null,"topics":["bootloader","buildroot","linux","linux-kernel","pi-pico","pi-pico2","pico2","psram","rp2350"],"latest_commit_sha":null,"homepage":"","language":"C","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/Mr-Bossman.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":"2024-08-09T20:04:34.000Z","updated_at":"2025-04-04T06:44:28.000Z","dependencies_parsed_at":"2024-08-25T20:22:20.018Z","dependency_job_id":"0fec3077-8502-422e-b31d-0e7ad3200146","html_url":"https://github.com/Mr-Bossman/pi-pico2-linux","commit_stats":null,"previous_names":["mr-bossman/pi-pico2-linux"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-Bossman%2Fpi-pico2-linux","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-Bossman%2Fpi-pico2-linux/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-Bossman%2Fpi-pico2-linux/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mr-Bossman%2Fpi-pico2-linux/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mr-Bossman","download_url":"https://codeload.github.com/Mr-Bossman/pi-pico2-linux/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247190233,"owners_count":20898700,"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":["bootloader","buildroot","linux","linux-kernel","pi-pico","pi-pico2","pico2","psram","rp2350"],"created_at":"2024-09-24T18:58:49.090Z","updated_at":"2026-01-07T23:14:00.342Z","avatar_url":"https://github.com/Mr-Bossman.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raspberry Pi Pico 2 Buildroot\n\nHow to build:\n\n```bash\ngit clone https://github.com/Mr-Bossman/pi-pico2-linux\n\ncd pi-pico2-linux\n\ngit submodule update --init\n\n# cd buildroot\n# make BR2_EXTERNAL=$PWD/../ raspberrypi-pico2_defconfig\nmake -C buildroot BR2_EXTERNAL=$PWD/ raspberrypi-pico2_defconfig\n\nmake -C buildroot\n\npicotool load -fu buildroot/output/images/flash-image.uf2\n```\n\n## Designed to work with [SparkFun Pro Micro - RP2350](https://www.sparkfun.com/products/24870)\n\n![Image of boot](images/booting.png)\n\n#### NOTES on Atomics\nOn page 307 of the RP2350 Datasheet MCAUSE register CODE 7 says:\n\u003e Store/AMO access fault. A store/AMO failed a PMP check, or\nencountered a downstream bus error. Also set if an AMO is attempted on a\nregion that does not support atomics (on RP2350, anything but SRAM).\n\nAtomics will only work in SRAM, the kernel is located PSRAM, not SRAM.\nThe `lr` and `sr` atomic load and store will always return error in this region causing most code using them to behave incorrectly.\nMost implementations assume `lr` and `sr` will eventually succeed.\n\n### Use on other boards\n\nThis only works on the RP2350 RISC-V cores.\n\nIf you want to run this on other boards, please change the psram CS pin with the `RP2350_XIP_CSI_PIN` macro in `package/pico2-bootloader/bootloader/src/main.c`.\nAs of now the only psram chip tested is the `APS6404L` and any others may not work.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-bossman%2Fpi-pico2-linux","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmr-bossman%2Fpi-pico2-linux","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-bossman%2Fpi-pico2-linux/lists"}