brainix/README.md
2026-02-13 17:06:24 +09:00

741 B

Brain i.MX28 NixOS setup

This repo reconstructs a NixOS build environment for SHARP Brain (i.MX28 / armv5). It includes local clones of the upstream Brain projects and a Nix-based build configuration.

Contents

  • sources/ clones:
    • buildbrain (u-boot-brain, brainlilo, image scripts)
    • linux-brain (kernel)
    • sheevaplug-nix (reference for armv5 NixOS)
  • docs/brain-bootflow.md - boot chain + SD layout notes
  • docs/nixos-build.md - build steps
  • nix/ - NixOS config and build expressions
  • patches/ - u-boot extlinux patch
  • bootfiles/ - files copied to the SD FAT partition (BrainLILO, u-boot)

Quick start

  1. Read docs/brain-bootflow.md.
  2. Follow docs/nixos-build.md to build U-Boot and the SD image.