{"id":13339102,"url":"https://github.com/no92/uefi-bare-bones","last_synced_at":"2025-05-06T03:30:40.722Z","repository":{"id":107301751,"uuid":"143520724","full_name":"no92/uefi-bare-bones","owner":"no92","description":"UEFI \"Hello World\"","archived":false,"fork":false,"pushed_at":"2023-03-10T16:13:50.000Z","size":7,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-02T03:47:10.447Z","etag":null,"topics":["barebones","kernel","osdev","uefi"],"latest_commit_sha":null,"homepage":"https://wiki.osdev.org/User:No92/UEFI_Bare_Bones","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/no92.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2018-08-04T10:47:57.000Z","updated_at":"2024-06-16T23:30:36.000Z","dependencies_parsed_at":"2023-04-06T13:49:39.091Z","dependency_job_id":null,"html_url":"https://github.com/no92/uefi-bare-bones","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/no92%2Fuefi-bare-bones","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/no92%2Fuefi-bare-bones/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/no92%2Fuefi-bare-bones/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/no92%2Fuefi-bare-bones/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/no92","download_url":"https://codeload.github.com/no92/uefi-bare-bones/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252616016,"owners_count":21776900,"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":["barebones","kernel","osdev","uefi"],"created_at":"2024-07-29T19:19:01.266Z","updated_at":"2025-05-06T03:30:40.453Z","avatar_url":"https://github.com/no92.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UEFI Bare Bones\nA minimal \"Hello World\" kernel.\n\n## Prerequisites\n\n* git, wget, meson, the text editor of your choice, …\n* clang with lld-link\n\n## Building\n\nSet up a build directory. Run `meson setup --cross-file uefi.cross-file \u003cyour build directory\u003e`. In the build directory, run `ninja`.\n\nExample:\n\n```sh\nmkdir -p build\nmeson setup --cross-file=uefi.cross-file build\ncd build\nninja\n```\n\n## Running\n\nMake sure you have a `OVMF.fd` ready. If you have a OVMF package installed, it can usually be copied from a path like `/usr/share/ovmf/x64/`.\n\nSet up an ESP in the build directory like this:\n\n```sh\ncp /usr/share/ovmf/x64/OVMF.fd .\nmkdir -p esp/EFI/BOOT/\ncp BOOTX64.EFI esp/EFI/BOOT\n```\n\nAfter this, you can run QEMU. A recommended setup looks like this:\n\n```sh\nqemu-system-x86_64 -drive if=pflash,format=raw,file=OVMF.fd -M accel=kvm:tcg -net none -serial stdio -drive format=raw,file=fat:rw:esp\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fno92%2Fuefi-bare-bones","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fno92%2Fuefi-bare-bones","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fno92%2Fuefi-bare-bones/lists"}