{"id":13897832,"url":"https://github.com/johang/sd-card-images","last_synced_at":"2025-10-06T08:46:35.732Z","repository":{"id":47424342,"uuid":"175259057","full_name":"johang/sd-card-images","owner":"johang","description":"Scripts to build bootable SD card images with Debian for various single-board computers","archived":false,"fork":false,"pushed_at":"2025-03-16T21:11:38.000Z","size":436,"stargazers_count":175,"open_issues_count":46,"forks_count":38,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-03-28T09:06:38.901Z","etag":null,"topics":["allwinner","amlogic","broadcom","debian","linux","raspberry-pi","rockchip","sbc","sd-card","single-board-computers","u-boot"],"latest_commit_sha":null,"homepage":"https://sd-card-images.johang.se","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-03-12T16:57:55.000Z","updated_at":"2025-03-23T00:43:15.000Z","dependencies_parsed_at":"2023-10-01T23:14:57.359Z","dependency_job_id":"8a297176-322e-4a55-941f-6e75b392a615","html_url":"https://github.com/johang/sd-card-images","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/johang%2Fsd-card-images","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johang%2Fsd-card-images/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johang%2Fsd-card-images/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johang%2Fsd-card-images/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johang","download_url":"https://codeload.github.com/johang/sd-card-images/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247157108,"owners_count":20893215,"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":["allwinner","amlogic","broadcom","debian","linux","raspberry-pi","rockchip","sbc","sd-card","single-board-computers","u-boot"],"created_at":"2024-08-06T18:03:54.040Z","updated_at":"2025-10-06T08:46:30.702Z","avatar_url":"https://github.com/johang.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# Debian SD card images\n\nThis repository is a bunch of scripts to build SD card images that various [single-board computers](https://en.wikipedia.org/wiki/Single-board_computer) (SBC) can boot. Emphasis is on pureness; pure Debian and pure mainline U-boot.\n\n## Pre-built images\n\nPre-built images ready for download are availble at [sd-card-images.johang.se](https://sd-card-images.johang.se).\n\n## Usage\n\nThe generated SD card images are made up of two separate images:\n\n* **boot-BOARD.bin**: Boot image that contains partition table, U-Boot and chip-specific code. The boot image will only work on the board it's built for. The filename indicates which board it's built for.\n* **debian-ARCH-VERSION-PASSWORD.bin**: Debian ext4 root filesystem image that contains a complete Debian installation, including kernel, initrd and device tree. This Debian image is generic and will work on all chips and boards with the CPU architecture it's built for. The filename indicates Debian version, CPU architecture and default root password.\n\nThese two images are the concatenated to a single image, which is then written to SD card, for example like this:\n\n    $ zcat boot-raspberrypi_3b.bin.gz debian-buster-arm64-XXXXXX.bin.gz \u003e sd-card.img\n    # dd if=sd-card.img of=/dev/sdXXX\n\n### Build your own boot image\n\nTo build a boot image for Raspberry Pi 3 B:\n\n    docker build -t sd-images https://github.com/johang/sd-card-images.git\n    mkdir -p /tmp/sd-images\n    docker run --rm -v /tmp/sd-images:/artifacts sd-images build-boot raspberrypi_3b bcm2837 rpi_3_defconfig aarch64-linux-gnu\n\nThe image will end up in /tmp/sd-images on the host.\n\n### Build your own Debian ext4 root filesystem image\n\nTo build a Debian ext4 root filesystem image for arm64:\n\n    docker build -t sd-images https://github.com/johang/sd-card-images.git\n    mkdir -p /tmp/sd-images\n    docker run --rm -v /tmp/sd-images:/artifacts sd-images build-debian debian arm64 buster\n\nThe image will end up in /tmp/sd-images on the host.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohang%2Fsd-card-images","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohang%2Fsd-card-images","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohang%2Fsd-card-images/lists"}