Unoffical, minimal, pure and up-to-date vanilla Debian/Ubuntu Linux SD card images for various ARM-based single board computers (SBCs). https://github.com/johang/sd-card-images | https://sd-card-images.johang.se/boards
Go to file
david 6aab11bc17
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, bullseye) (push) Has been cancelled Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, sid) (push) Has been cancelled Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, trixie) (push) Has been cancelled Details
sd-card-images CI / build docker images (push) Has been cancelled Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, bookworm) (push) Has been cancelled Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, bookworm) (pull_request) Failing after 5m25s Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, bullseye) (pull_request) Failing after 9m12s Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, sid) (pull_request) Failing after 10m6s Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, trixie) (pull_request) Failing after 8m45s Details
sd-card-images CI / build docker images (pull_request) Has been skipped Details
chore: build-debian: revert layout of debootstrap commands
2024-05-14 01:55:43 +01:00
.github/workflows
2nd-stage-files
docs docs: Regenerate boards 2024-05-05 21:09:23 +00:00
metascripts rebuild-debian-csv: Add Devuan Linux release names. 2024-05-13 22:00:17 +01:00
patches/u-boot
scripts chore: build-debian: revert layout of debootstrap commands 2024-05-14 01:55:43 +01:00
test Fix: 'truncate' work-around for git CI on COW files systems. 2024-05-13 19:39:36 +01:00
Dockerfile
Dockerfile.devuan Add Dockerfile to build Devuan Linux images. 2024-05-13 22:11:02 +01:00
LICENSE
README.md
README_devuan.md README_devuan.md: Get Dockerfile.devuan directly from a git branch. 2024-05-13 20:00:44 +01:00
boards.csv
chips.csv
debians-arm.csv rebuild-debian-csv: Add Devuan Linux release names. 2024-05-13 22:00:17 +01:00
debians-x86.csv rebuild-debian-csv: Add Devuan Linux release names. 2024-05-13 22:00:17 +01:00

README.md

Debian SD card images

This repository is a bunch of scripts to build SD card images that various single-board computers (SBC) can boot. Emphasis is on pureness; pure Debian and pure mainline U-boot.

Pre-built images

Pre-built images ready for download are availble at sd-card-images.johang.se.

Usage

The generated SD card images are made up of two separate images:

  • 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.
  • 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.

These two images are the concatenated to a single image, which is then written to SD card, for example like this:

$ zcat boot-raspberrypi_3b.bin.gz debian-buster-arm64-XXXXXX.bin.gz > sd-card.img
# dd if=sd-card.img of=/dev/sdXXX

Build your own boot image

To build a boot image for Raspberry Pi 3 B:

docker build -t sd-images https://github.com/johang/sd-card-images.git
mkdir -p /tmp/sd-images
docker run --rm -v /tmp/sd-images:/artifacts sd-images build-boot raspberrypi_3b bcm2837 rpi_3_defconfig aarch64-linux-gnu

The image will end up in /tmp/sd-images on the host.

Build your own Debian ext4 root filesystem image

To build a Debian ext4 root filesystem image for arm64:

docker build -t sd-images https://github.com/johang/sd-card-images.git
mkdir -p /tmp/sd-images
docker run --rm -v /tmp/sd-images:/artifacts sd-images build-debian debian arm64 buster

The image will end up in /tmp/sd-images on the host.