summary refs log tree commit diff
path: root/nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix
Commit message (Collapse)AuthorAge
* installer: add deprecation warning about sd-card file moveDavid Arnold2021-02-19
|
* installer: add back-compat files for sd-card image folder moveDavid Arnold2021-02-19
|
* installer: move ./cd-dvd/sd-card* -> ./sd-card/David Arnold2021-02-19
|
* nixos/sd-image-*: use boot.loader.generic-extlinux-compatible.populateCmdFlorian Klink2020-06-21
| | | | | | While getting rid of the separate extlinux-conf-builder import, this now also honors boot.loader.timeout in the initial sd card image if specified.
* Various: Add support for raspberry pi 4.Thomas Kerber2019-09-17
|
* sd-image: don't use installer.cloneConfig option that is not importedBen Wolsieffer2019-09-01
| | | | | This once again allows sd-image.nix to imported standalone to build SD images of arbitrary NixOS systems.
* sd-image-raspberrypi: populateBoot -> populateFirmwareSamuel Dionne-Riel2019-06-25
| | | | Fixes an incomplete change from the last changes.
* sd-image: Switch /boot to the ext4 partitionSamuel Dionne-Riel2019-06-16
|
* sd-image: Moves `/boot` into rootfsSamuel Dionne-Riel2019-06-16
| | | | | | | | | The current FAT32 partition is kept as it is required for the Raspberry Pi family of hardware. It is where the firmware is kept. The partition is kept bootable, and the boot files kept in there until the following commits, to keep all commits of this series individually bootable.
* treewide: remove cross assertionsMatthew Bauer2019-01-02
| | | | | sd-image-raspberrypi, sd-image-aarch64, and sd-image-armv7l-multiplatform can all be cross compiled now.
* treewide: use buildPackages for config buildersMatthew Bauer2019-01-02
|
* reewide: Purge all uses `stdenv.system` and top-level `system`John Ericson2018-08-30
| | | | It is deprecated and will be removed after 18.09.
* set initialHashedPassword in installation-device.nixBob van der Linden2018-08-07
|
* nixos/modules/installer: users.extraUsers -> users.usersFlorian Klink2018-06-30
|
* nixos/sd-image-raspberrypi: Support Raspberry Pi ZeroTuomas Tynkkynen2018-06-01
|
* nixos/sd-image-*: Raspberry Pi firmware no longer falls under unfreeTuomas Tynkkynen2018-04-02
| | | | It's just unfreeRedistributableFirmware now.
* nixos/sd-image-*.nix: Bring back high consoleLogLevelTuomas Tynkkynen2018-01-24
| | | | | 3d040f93051866 removed it from installation-device.nix, but the default loglevel is just too low for ARM and the like.
* sd-image-*: Include profiles/base.nixTuomas Tynkkynen2017-10-25
| | | | | This brings useful goodies like lspci and lsusb that were missing previously.
* sd-image-*.nix: Drop minimal profileTuomas Tynkkynen2017-05-14
| | | | It's annoying to not have manpages when installing.
* sd-image-*: Copy all RPi firmware filesTuomas Tynkkynen2017-02-11
| | | | | | | Turns out all variants of start.elf and fixup.dat are needed (depending on what's in config.txt). I was under the mistaken impression that you were supposed to rename one of the variants to switch using them, but nope.
* installer: sd-image-*.nix: Document how to build themTuomas Tynkkynen2017-01-25
|
* nixos installer: don't log refused packets to consoleFranz Pletz2017-01-09
| | | | Fixes #19764.
* sd-image-*: Set verbose kernel loglevelTuomas Tynkkynen2016-07-03
| | | | Much easier to debug boot issues this way...
* ARM: Don't disable manual in installation imagesTuomas Tynkkynen2015-10-24
| | | | | | Since commits 89e9837 and 5b8dae8 the manual no longer depends on evaluation of any packages from nixpkgs, so all errors of the form "Package 'foo' is not supported on 'armv7l-linux'" are gone.
* nixos: Add derivations for SD card installation images on ARMTuomas Tynkkynen2015-07-26
The resulting image can be copied to a SD card with `dd` and is directly bootable by a suitably configured U-Boot. Though depending on the board, some extra steps are required for copying U-Boot itself to the SD card. Inside the image is a partition table, with a FAT32 /boot and a normal writable EXT4 rootfs. It's possible to directly reuse the SD image's partition layout and "install" NixOS on the same SD card by replacing the default configuration.nix and nixos-rebuild, and actually is the preferred way to use these images. To assist in this installation method, the boot scripts on the image automatically resize the rootfs partition to fit the SD card on the first boot. The SD images come in two flavors; one for the ARMv6 Raspberry Pi, and one multiplatform image for all the boards supported by the mainline kernel's multi_v7_defconfig config target. At the moment, these have been tested on: - Raspberry Pi Model B (512MB model) - NVIDIA Jetson TK1 - Linksprite pcDuino3 Nano To build, run: nix-build '<nixpkgs/nixos>' -A config.system.build.sdImage \ -I nixos-config='<nixpkgs/nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix>'