Skip to content

thefloweringash/sheevaplug-nix

Repository files navigation

NixOS on the Sheevaplug in 2019

Build and install uboot

Read this first: Upgrading u-boot on SheevaPlug

You must manually preserve your ethernet address

$ nix-build uboot.nix -o uboot

Install from linux:

$ flash_erase /dev/mtd0 0 0
$ nandwrite -p /dev/mtd0 u-boot.kwb

If this goes wrong, you can recover via jtag with openocd.

Build and dump the sdImage

$ nix-build sheevaplug-system.nix -A config.system.build.sdImage -o sdImage
$ bzcat sdImage/sd-image/*.bz2 > /dev/$sdcard

The contents sd-image-sheevaplug.nix are almost identical to upstream sd-image-aarch64.nix and sd-image-armv7l-multiplatform.nix, the main differences are

  • no raspberry pi support
  • smaller set of dependencies required

About

NixOS fior the Sheevaplug

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages