{"id":25413675,"url":"https://github.com/EmbeddedOS/arm64_emulation_system","last_synced_at":"2025-10-31T07:31:27.558Z","repository":{"id":277309673,"uuid":"932000420","full_name":"EmbeddedOS/arm_build_linux_system","owner":"EmbeddedOS","description":"Build a complete bootable Linux image (bootloader, rootfs, kernel, etc.) for Aarch64.","archived":false,"fork":false,"pushed_at":"2025-02-13T08:19:06.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T09:25:06.226Z","etag":null,"topics":["aarch64","linux","qemu-system-aarch64","rootfs","uboot"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/EmbeddedOS.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":"2025-02-13T07:46:09.000Z","updated_at":"2025-02-13T08:19:09.000Z","dependencies_parsed_at":"2025-02-14T12:45:31.007Z","dependency_job_id":null,"html_url":"https://github.com/EmbeddedOS/arm_build_linux_system","commit_stats":null,"previous_names":["embeddedos/arm_build_linux_system"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmbeddedOS%2Farm_build_linux_system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmbeddedOS%2Farm_build_linux_system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmbeddedOS%2Farm_build_linux_system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmbeddedOS%2Farm_build_linux_system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EmbeddedOS","download_url":"https://codeload.github.com/EmbeddedOS/arm_build_linux_system/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239139716,"owners_count":19588246,"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":["aarch64","linux","qemu-system-aarch64","rootfs","uboot"],"created_at":"2025-02-16T14:21:25.223Z","updated_at":"2025-10-31T07:31:27.540Z","avatar_url":"https://github.com/EmbeddedOS.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AArch64 emulation system\n\nThis repository setup a simplest Yocto build system to emulate a complete aarch64 Linux system (trusted-firmware-a, u-boot, kernel, initrd, rootfs). This might be helpful for those who want to:\n\n- Understand all basic components in a Aarch64 Linux Embedded System and how they work together.\n- Develop your own Linux distro, write BSP layer, and port components (kernel, u-boot, trusted-firmware-a) to your platform.\n- Have hardware limitations or want to learn emulating with QEMU.\n\nFor more detail about the system, visit the [Main Blog](https://embeddedos.github.io/posts/simplest-emulation/).\n\n## `meta-lava` layer\n\nThis layer contains minimal components to build an Aarch64 Linux distro run QEMU platform. This includes:\n\n- 1 distro: `lava-distro`.\n- 1 machine: `lava-machine`.\n- And few recipes that build components from local sources.\n\nThe directory structure:\n\n```text\nmeta-lava/\n├── classes\n│   └── lava_src.bbclass\n├── conf\n│   ├── distro\n│   │   └── lava-distro.conf\n│   ├── layer.conf\n│   └── machine\n│       ├── include\n│       └── lava-machine.conf\n├── README.md\n├── recipes-bsp\n│   ├── tfa\n│   └── u-boot\n├── recipes-core\n│   └── images\n├── recipes-kernel\n│   └── linux\n└── wic\n    ├── lava-extlinux.cfg\n    └── lava.wks\n```\n\n## Build system\n\nTo clone external repos (tfa, u-boot, kernel):\n\n```bash\ngit submodule update --init\n```\n\nBuild system:\n\n```bash\nkas checkout\nkas build\n```\n\nAnd start emulating with `runqemu`:\n\n```bash\nsource openembedded-core/oe-init-build-env\nrunqemu nographic\n```\n\nThat's it 😛\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEmbeddedOS%2Farm64_emulation_system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FEmbeddedOS%2Farm64_emulation_system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEmbeddedOS%2Farm64_emulation_system/lists"}