{"id":13613567,"url":"https://github.com/librerpi/lk-overlay","last_synced_at":"2025-04-13T15:33:24.307Z","repository":{"id":43856980,"uuid":"353545782","full_name":"librerpi/lk-overlay","owner":"librerpi","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-26T19:13:51.000Z","size":1916,"stargazers_count":87,"open_issues_count":4,"forks_count":8,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-08-02T20:45:40.162Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/librerpi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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-04-01T02:13:08.000Z","updated_at":"2024-07-24T12:00:49.000Z","dependencies_parsed_at":"2024-10-25T15:44:44.448Z","dependency_job_id":"9c73d71b-83f3-423d-a310-d30ea7860e16","html_url":"https://github.com/librerpi/lk-overlay","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/librerpi%2Flk-overlay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/librerpi%2Flk-overlay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/librerpi%2Flk-overlay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/librerpi%2Flk-overlay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/librerpi","download_url":"https://codeload.github.com/librerpi/lk-overlay/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248736260,"owners_count":21153565,"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-01T20:00:50.565Z","updated_at":"2025-04-13T15:33:21.464Z","avatar_url":"https://github.com/librerpi.png","language":"C","funding_links":[],"categories":["Projects","IoT","C"],"sub_categories":["Nextcloud"],"readme":"\n![](./librerpi-without-text.png)\n\nEverything is licensed under the GPLv2 or later unless stated otherwise\n\n# developing with this lk overlay:\n```\n[clever@system76:~/apps/rpi]$ git clone --recurse-submodules git@github.com:librerpi/lk-overlay.git\n[clever@system76:~/apps/rpi]$ cd lk-overlay/\n[clever@system76:~/apps/rpi/lk-overlay]$ nix-shell -A shell\n[nix-shell:~/apps/rpi/lk-overlay]$ make PROJECT=rpi3-bootcode\n[nix-shell:~/apps/rpi/lk-overlay]$ ls -lh build-rpi3-bootcode/lk.bin\n-rwxr-xr-x 1 clever users 113K Mar 31 23:27 build-rpi3-bootcode/lk.bin\n```\n\n# what features work\n\n| Feature                                                  | rpi1 | rpi2 | rpi3 | rpi4 |\n| -------------------------------------------------------- | ---- | ---- | ---- | ---- |\n| composite NTSC video                                     | [x]  | [x]  | [x]  | ?    |\n| DSI video                                                | [ ]  | [ ]  | [ ]  | [ ]  |\n| HDMI video                                               | [ ]  | [ ]  | [ ]  | [ ]  |\n| DPI video, partially tested                              | [x]  | [x]  | [x]  | ?    |\n| v3d partially working                                    | [x]  | [x]  | [x]  | ?    |\n| full 2d composition under firmware control               | [x]  | [x]  | [x]  | ?    |\n| CSI, untested                                            | [ ]  | [ ]  | [ ]  | [ ]  |\n| i2c host (under linux)                                   | ?    | [x]  | [x]  | ?    |\n| SPI, untested                                            | [ ]  | [ ]  | [ ]  | [ ]  |\n| ISP, lacking code                                        | [ ]  | [ ]  | [ ]  | [ ]  |\n| video decode accel, lacking code                         | [ ]  | [ ]  | [ ]  | [ ]  |\n| PWM audio, lacking code                                  | [ ]  | [ ]  | [ ]  | [ ]  |\n| booting Linux                                            | ?    | [x]  | ?    | ?    |\n| Ethernet (including mac address from rpi serial number)  | ?    | [x]  | ?    | ?    |\n| USB host (under linux)                                   | ?    | [x]  | ?    | ?    |\n| SD/MicroSD: works 95% of the time                        | ?    | [x]  | ?    | ?    |\n\n# projects:\n## rpi1-test\nbuilds LK for the armv6 found on the pi0 and pi1\n\ncurrently not working on this overlay\n\n## rpi2-test\nbuilds LK for the cortex-A7 found in a pi2\n\nuse lk.bin as your kernel.img file, with the official firmware\n\n## rpi3-test\nbuilds LK in aarch64 mode for the cortex-A53 found in a pi3\n\nuse lk.bin as your kernel.img file, with the official firmware\n\n## rpi3-bootcode\nbuilds LK for the VPU on any VC4 pi (pi0 to pi3), use lk.bin as bootcode.bin\n\n## rpi3-start\nbuids LK for the VPU on any VC4 pi (pi0 to pi3), use lk.elf as start.elf, with either the official bootcode.bin or vc4-stage1\n\n## rpi4-recovery\nbuilds LK for the VPU on a VC6 pi (pi4, pi400, CM4), use lk.bin as recovery.bin or bootcode.bin in spi flash, must be signed with https://github.com/librerpi/rpi-tools/tree/master/signing-tool\n\n## rpi4-start4\nbuilds LK for the VPU on a VC6 pi (pi4, pi400, CM4), use lk.elf as start4.elf, with the official SPI firmware\n\n## vc4-stage1\nbuilds LK as a bootcode.bin replacement, loads lk.elf from either an ext2 partition or xmodem over the uart\n\n## vc4-stage2\na test stage2 for use with vc4-stage1, currently it just brings the DPI online\n\n## vc4-start\na test stage2, that will embed rpi1-test into itself, and run LK on both the VPU and ARM\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibrerpi%2Flk-overlay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibrerpi%2Flk-overlay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibrerpi%2Flk-overlay/lists"}