I’ve ordered a CM3588 (wiki for the board is here) from friendlyelec.com, and only realized after that there is no explicit NixOS support for it, at least none that I can find¹.
However, it’s an AArch64 board and there’s support for e.g. Ubuntu and OpenMediaVault, which means it has to be possible to get working without hardcore kernel hacking (i.e. implementing drivers).
Does anyone here have any experience on how to go about something like getting NixOS to run on the CM3588?
¹ But even if I’d known, that board currently looks like one of the best ways to build an energy efficient NAS. It’s expected energy use is around 7-10W idle, which is about half what you’d expect from a NAS from e.g. Synology.
Maybe someone has more knowledge to find out where those frequencies get set wrongly. I would assume the extra 1 wattage which nixos consumes could be related to the 2.5x minimum frequency of the cpu cores.
For me the extra watt NixOS isn’t even a huge deal, but the heat it generates even at its lowest frequency makes me very uneasy.
I’m starting to think using armbian is the better option until this (and booting from ZFS across 4 SSDs, which I can’t get to work for the life of me, while installing NixOS to, and then also booting from, the slower-and-more-fragile eMMC drive works fine) is fixed.
Some updates from my side: The “wrong” frequency values can be seen in the device tree with the dtc tool (dtc -I fs /proc/device-tree). So maybe it can be fixed by a small overload of the device-tree. I still need to check on debian how the device-tree looks there.
Its also important not to set the device-tree in hardware.deviceTree in your configuration, otherwise the HDMI output won’t work.
Out of curiosity: if not in hardware.deviceTree, then where should it be set? I ask because last time I didn’t set it at all, it resulted in an unbootable config.