{"repo":"johang/sd-card-images","free":true,"listed":false,"github":"https://github.com/johang/sd-card-images","clone":"git clone https://github.com/johang/sd-card-images.git","description":"Scripts to build bootable SD card images with Debian for various single-board computers","language":"Shell","stars":288,"topics":["debian","linux","single-board-computers","u-boot","sd-card","allwinner","amlogic","broadcom","raspberry-pi","rockchip"],"license":"GPL-3.0","category":"self-hosted-apps","readme_excerpt":"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 available 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 D","default_branch":null,"files":null,"tree":[],"storefront":"/r/johang","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/johang/sd-card-images/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}