Talk:NixOS on ARM: Difference between revisions

From NixOS Wiki
Latest comment: 29 November 2017 by Samueldr in topic QEMU support
imported>Dezgeg
No edit summary
imported>Samueldr
m Adds note for qemu-system support comeback.
Line 21: Line 21:


--[[User:Dezgeg|Dezgeg]] ([[User talk:Dezgeg|talk]]) 08:25, 11 September 2017 (UTC)
--[[User:Dezgeg|Dezgeg]] ([[User talk:Dezgeg|talk]]) 08:25, 11 September 2017 (UTC)
It's coming back soon, I'll let [[User:Dezgeg|Dezgeg]] do the write-up when ready.
Don't want to wait? [https://botbot.me/freenode/nixos/2017-11-29/?msg=94029070&page=1 Here's the IRC log on #nixos with instructions.]
--[[User:Samueldr|— samueldr]] ([[User talk:Samueldr|talk]]) 01:14, 29 November 2017 (UTC)


== Native support for raspi in nixpkgs ==
== Native support for raspi in nixpkgs ==

Revision as of 01:15, 29 November 2017

QEMU support

As of June 2016, the versatile build of u-boot isn't built anymore.

Furthermore, the pre-built image is not present anymore on the mirror.

U-Boot: Drop Versatile build

I had broken this at some point and the patch conflicts quite often. Hopefully soon the Raspberry Pi 2 emulation in QEMU can be used instead.

https://github.com/NixOS/nixpkgs/commit/18572e23590f7407be60926e6d98d1a3580571c1

Relevant edit: https://nixos.wiki/index.php?title=NixOS_on_ARM&diff=647&oldid=505

--Samueldr (talk) 20:01, 3 September 2017 (UTC)Reply

Hopefully, there will soon (U-Boot 2018.01 release, I hope) an easy way to do this: https://lists.denx.de/pipermail/u-boot/2017-August/304302.html

--Dezgeg (talk) 08:25, 11 September 2017 (UTC)Reply

It's coming back soon, I'll let Dezgeg do the write-up when ready.

Don't want to wait? Here's the IRC log on #nixos with instructions.

--— samueldr (talk) 01:14, 29 November 2017 (UTC)Reply

Native support for raspi in nixpkgs

Since a couple of months hydra also builds nixpkgs for arm64. Additionally some configuration is already in nixpkgs for raspi2 and raspi1, however no binary cache is available.

Raspi3 should be natively supported but right now there is no guide on how to build an image and install it. There is https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix but the image really is nowhere to be found. --Makefu (talk) 08:51, 11 September 2017 (UTC)Reply

Added now. --Dezgeg (talk) 18:07, 16 September 2017 (UTC)Reply