{"id":15020651,"url":"https://github.com/romainreignier/minimal_raspberrypi_buildroot","last_synced_at":"2025-09-07T02:08:51.427Z","repository":{"id":85052495,"uuid":"118685540","full_name":"romainreignier/minimal_raspberrypi_buildroot","owner":"romainreignier","description":"Minimal Linux and Buildroot configurations for the Raspberry Pi 3","archived":false,"fork":false,"pushed_at":"2019-07-04T05:44:10.000Z","size":20,"stargazers_count":59,"open_issues_count":2,"forks_count":12,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-11T00:27:11.030Z","etag":null,"topics":["buildroot","linux","linux-kernel","raspberry-pi","raspberry-pi-3"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/romainreignier.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":"2018-01-23T23:46:14.000Z","updated_at":"2025-06-18T13:05:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"bdc3ed07-5b3d-481f-844a-90d0ed0156f8","html_url":"https://github.com/romainreignier/minimal_raspberrypi_buildroot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/romainreignier/minimal_raspberrypi_buildroot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romainreignier%2Fminimal_raspberrypi_buildroot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romainreignier%2Fminimal_raspberrypi_buildroot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romainreignier%2Fminimal_raspberrypi_buildroot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romainreignier%2Fminimal_raspberrypi_buildroot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/romainreignier","download_url":"https://codeload.github.com/romainreignier/minimal_raspberrypi_buildroot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/romainreignier%2Fminimal_raspberrypi_buildroot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273986629,"owners_count":25202708,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["buildroot","linux","linux-kernel","raspberry-pi","raspberry-pi-3"],"created_at":"2024-09-24T19:55:23.493Z","updated_at":"2025-09-07T02:08:51.384Z","avatar_url":"https://github.com/romainreignier.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Minimal Raspberry Pi 3 Linux configuration and Buildroot image\n\nI was tired to get more than 100 MB of Linux modules by using the [`bcm2709`](https://github.com/raspberrypi/linux/blob/rpi-4.9.y/arch/arm/configs/bcm2709_defconfig) Linux kernel defconfig from the [Raspberry Pi official Linux repository](https://github.com/raspberrypi/linux), so I have created a *minimal* Linux configuration for the Raspberry Pi 3 and then adapted Buildroot 2018.02-git to get an embedded system with a small footprint.\n\nResult:\n\n- Kernel: 2.4 MB\n- Rootfs: 3.7 MB (651 kB for the kernel modules)\n\n## What do I have for that amount of bytes?\n\n- Working HDMI + serial consoles\n- Working Ethernet with DHCP\n- Working internal Wifi with `wpa_supplicant` and DHCP\n- A very simple GNU/Linux system that *boots* (from end of bootloader to start of init scripts) in 1.4 sec, you even have **vi** installed!\n\n## What is missing?\n\n- Bluetooth\n- Almost all modules, so you will have to had the ones you need\n- GPU related stuff\n\n## How to use it?\n\nInstead of making changes directly in [Buildroot's tree](https://github.com/buildroot/buildroot), I have prepared a simple `BR2_EXTERNAL` which can live alongside mainline Buildroot.\n\n### Get Buildroot\n\nDownload or clone Buildroot in the parent directory\n\n    $ git clone git://git.buildroot.net/buildroot\n\n### Build the image\n\nCreate a new directory for the build (to keep the Buildroot tree clean), next to the freshly cloned `buildroot` directory\n\n    $ mkdir build\n\nTo avoid duplicates in the downloaded files, I recommend using a separate directory for the downloads, so create another directory `buildroot_dl`\n\n    $ mkdir buildroot_dl\n\nSelect your config\n\n    $ cd build\n    $ make BR2_EXTERNAL=../minimal_raspberrypi_buildroot/ O=$PWD -C ../buildroot/ raspberrypi3_minimal_defconfig\n\nThen make\n\n    $ make\n\nAfter a while, the SD card image is ready in `images/sdcard.img`, you can then flash it with `dd` or [Etcher](https://etcher.io/) for example.\n\n## FAQ\n\n- Why stripping everything to get a system barely functional? *Just because we can*\n- Why using **musl** as C library? *Just to give it a try*\n- Why not using \"x, y\" repository already available? *Ah! interesting, I did not found it when I looked for it, please give me the URL to have a look*\n- I have tried you image and the system do not boot in 1.4 sec? *This time was measured with the `quiet` argument given to the kernel, otherwise, the logs through the serial line slow down the boot. And by boot, I only mean the kernel boot, not the userspace (load network drivers then DHCP...)*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromainreignier%2Fminimal_raspberrypi_buildroot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fromainreignier%2Fminimal_raspberrypi_buildroot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromainreignier%2Fminimal_raspberrypi_buildroot/lists"}