nixos-generators icon indicating copy to clipboard operation
nixos-generators copied to clipboard

RPi zero/1/2 support?

Open bensleveritt opened this issue 4 years ago • 5 comments

Is it possible to build RPi 0/1/2 images with this tool at the moment? I can only see a reference to RPi 3 devices at present.

bensleveritt avatar Jan 10 '21 21:01 bensleveritt

there is no image for arm6 raspberries right now. So basically no. As I also lack hardware to test that, someone else has to test/verify/contribute that.

Lassulus avatar Jan 11 '21 08:01 Lassulus

Ah! So not a technical limitation? I'm game for trying to set up arm6 support, any tips on how to start?

bensleveritt avatar Jan 11 '21 09:01 bensleveritt

technically it should work if it works with nixpkgs, you can try to follow this https://nixos.wiki/wiki/NixOS_on_ARM/Raspberry_Pi and "cross" compiling with binfmt should also be possible. Stuff could take a while to build, since I guess there is no binary cache for this architecture.

Lassulus avatar Jan 11 '21 11:01 Lassulus

Hey @bensleveritt did you already try smth here? I already need one for my PI 1 and 2 :D. Maybe you already started and succeeded or stuck somewhere?

Chris2011 avatar Feb 06 '23 18:02 Chris2011

I never managed it, but I'd be up for collaborating if you're interested

bensleveritt avatar Feb 12 '23 08:02 bensleveritt