matthewbauer / nixiosk

Declarative Kiosk systems built with NixOS
MIT License
141 stars 12 forks source link

Support for other Boards (Banana PI) #9

Open vbrandl opened 4 years ago

vbrandl commented 4 years ago

How much work would it take to support other boards like the Banana PI?

The board is listed here as "community supported": https://nixos.wiki/wiki/NixOS_on_ARM

If you can point me to what is required to make other boards work, I can try implementing the support myself.

matthewbauer commented 4 years ago

It would be good to write some documentation on new devices.

The basic guidance is you should just have to copy hardware/rapsberrypi.nix to hardware/bananapi.nix and boot/uboot-raspberrypi.nix to boot/bananapi.nix, replacing and removing things that don't make sense. For instance, instead of pkgs.ubootRaspberryPi, use pkgs.ubootBananaPi. You also want the mali driver instead of vc4.