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
Johan Gunnarsson 760716f703
docker build and deploy / build and deploy (push) Failing after 4m1s Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, bookworm) (push) Failing after 5m26s Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, bullseye) (push) Failing after 4m9s Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, sid) (push) Failing after 4m3s Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, trixie) (push) Failing after 5m25s Details
Delete packages / delete-packages (push) Failing after 51s Details
sd-card-images prebuilt / test ${{ matrix.debian }} (boot-qemu_aarch64_virt, debian-bookworm-arm64, /index-debians-arm64.txt) (push) Failing after 2m59s Details
sd-card-images prebuilt / test ${{ matrix.debian }} (boot-qemu_aarch64_virt, debian-sid-arm64, /index-debians-arm64.txt) (push) Failing after 3s Details
sd-card-images prebuilt / test ${{ matrix.debian }} (boot-qemu_aarch64_virt, debian-trixie-arm64, /index-debians-arm64.txt) (push) Failing after 11m38s Details
sd-card-images prebuilt / test ${{ matrix.debian }} (boot-qemu_aarch64_virt, ubuntu-jammy-arm64, /index-debians-arm64.txt) (push) Has been cancelled Details
sd-card-images prebuilt / test ${{ matrix.debian }} (boot-qemu_aarch64_virt, ubuntu-mantic-arm64, /index-debians-arm64.txt) (push) Has been cancelled Details
sd-card-images prebuilt / test ${{ matrix.debian }} (boot-qemu_aarch64_virt, ubuntu-noble-arm64, /index-debians-arm64.txt) (push) Has been cancelled Details
sd-card-images prebuilt / test ${{ matrix.debian }} (boot-qemu_arm_virt, debian-bookworm-armhf, /index-debians-armhf.txt) (push) Has been cancelled Details
sd-card-images prebuilt / test ${{ matrix.debian }} (boot-qemu_arm_virt, debian-sid-armhf, /index-debians-armhf.txt) (push) Has been cancelled Details
sd-card-images prebuilt / test ${{ matrix.debian }} (boot-qemu_arm_virt, debian-trixie-armhf, /index-debians-armhf.txt) (push) Has been cancelled Details
sd-card-images CI / build docker images (push) Has been cancelled Details
Rebuild debian-*.csv / rebuild-debian-csv (push) Has been cancelled Details
boards: Fix Banana Pi CM4IO DTB name
2024-07-05 11:04:41 +02:00
.github/workflows github: Drop Debian Experimental and Ubuntu Lunar 2024-04-21 15:57:16 +02:00
2nd-stage-files zz-update-uimg: Don't set kernel_comp_addr_r and kernel_comp_size 2023-07-25 20:50:11 +02:00
docs boards: Fix Banana Pi CM4IO DTB name 2024-07-05 11:04:41 +02:00
metascripts rebuild-debian-csv: LTS is 5 years 2024-04-01 18:45:39 +02:00
patches/u-boot patches: u-boot: Add patches 2023-07-25 20:50:11 +02:00
scripts Add support for Banana PI CM4IO (#133) 2024-05-21 19:12:19 +02:00
test test: Add sleep after losetup 2023-07-23 21:20:29 +02:00
Dockerfile Dockerfile: Drop Python 2 2024-03-24 12:03:09 +01:00
LICENSE Initial commit 2019-03-12 17:57:56 +01:00
README.md README: Fix Docker build instructions 2023-06-05 10:04:31 +02:00
boards.csv boards: Fix Banana Pi CM4IO DTB name 2024-07-05 11:04:41 +02:00
chips.csv Add Orange Pi Zero 3 2024-01-07 20:39:11 +01:00
debians-arm.csv debians: Update Debian/Ubuntu versions 2024-06-30 21:11:14 +00:00
debians-x86.csv debians: Update Debian/Ubuntu versions 2024-06-30 21:11:14 +00: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.