{"id":13567486,"url":"https://github.com/AgentD/diy-linux-guide","last_synced_at":"2025-04-04T01:32:13.511Z","repository":{"id":140894056,"uuid":"233093570","full_name":"AgentD/diy-linux-guide","owner":"AgentD","description":"An LFS like guide for cross-bootstrapping a small system for the Raspberry Pi","archived":false,"fork":false,"pushed_at":"2021-04-17T21:07:02.000Z","size":2593,"stargazers_count":36,"open_issues_count":0,"forks_count":6,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-04T22:37:13.128Z","etag":null,"topics":["cross-compiler","cross-toolchain","embedded","lfs","linux","raspberry","raspberry-pi","raspberrypi","rpi"],"latest_commit_sha":null,"homepage":null,"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/AgentD.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}},"created_at":"2020-01-10T17:06:18.000Z","updated_at":"2024-07-15T18:00:33.000Z","dependencies_parsed_at":"2023-04-11T02:28:18.005Z","dependency_job_id":null,"html_url":"https://github.com/AgentD/diy-linux-guide","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/AgentD%2Fdiy-linux-guide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgentD%2Fdiy-linux-guide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgentD%2Fdiy-linux-guide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgentD%2Fdiy-linux-guide/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AgentD","download_url":"https://codeload.github.com/AgentD/diy-linux-guide/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247107816,"owners_count":20884793,"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":["cross-compiler","cross-toolchain","embedded","lfs","linux","raspberry","raspberry-pi","raspberrypi","rpi"],"created_at":"2024-08-01T13:02:32.680Z","updated_at":"2025-04-04T01:32:08.478Z","avatar_url":"https://github.com/AgentD.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# Building a small Raspberry Pi System from Scratch\n\nWhat you are looking at right now is a collection of instructions on how to\nbootstrap a tiny system for a Raspberry Pi 3 board.\n\nWe will bootstrap the system by building our own cross compiler toolchain\nand then using it to cross compile everything we need for a working Linux\nbased OS.\n\nIn contrast to similar guides, I try to explain why we are doing the things\nthe way we are doing them, instead of just throwing a bunch of copy-paste\ncommand lines around (I'm looking at you, LFS).\n\nThis guide is divided into the following parts:\n\n* [Basic Setup](00_setup.md). Lists some tools that you should have\n  installed and walks through the steps of setting up the directory tree that\n  we work in, as well as a few handy environment variables.\n* [Building a cross compiler toolchain](01_crosscc.md).\n* [Cross compiling a statically linked BusyBox and the kernel](02_kernel.md).\n  The BusyBox is packaged into a small initramfs. We will make it boot on the\n  Rapsberry Pi and explore some parts of the Linux boot process.\n* [Building a simple userland](03_basic_usr.md). Mostly a\n  Linux-From-Scratch-Style walkthrough to building some packages for a simple\n  GNU userland. The userland is packed into a SquashFS image. The BusyBox\n  based initrd is modified to mount it and switch into it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAgentD%2Fdiy-linux-guide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAgentD%2Fdiy-linux-guide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAgentD%2Fdiy-linux-guide/lists"}