!RjBlCIbsLDzHBIzmaA:nixos.org

NixOS on ARM

993 Members
NixOS on ARM: now with more ARM! — Support: AArch64; armv6 and armv7 are best effort, without any official cache. — Documentation: https://nixos.wiki/wiki/NixOS_on_ARM — Community build box: https://github.com/nix-community/aarch64-build-box → build box status: https://status.nixos.org/grafana/d/5LANB9pZk/per-instance-metrics?orgId=1&refresh=30s&var-instance=147.75.77.190 —245 Servers

Load older messages


SenderMessageTime
24 May 2021
@samueldr:matrix.orgsamueldron x86_64 it's kind of expected as cross-compilation is not necessarily all pre-built23:44:51
@ratsclub:matrix.orgratsclub I'm currently running a x86_64 host, is this setup the only possible way of building my image? I'm afraid I can't run an aarch64 image on Github Actions 23:46:02
@novmar:matrix.orgnovmar samueldr: ok, i am fetching mnixpkgs ... 23:47:23
@samueldr:matrix.orgsamueldroh, interesting, the orange pi zero2 apparently has an SPI Flash23:50:26
@samueldr:matrix.orgsamueldr(I wasn't familiar with it)23:50:36
@novmar:matrix.orgnovmar samueldr: yea it has :-) 23:51:01
@samueldr:matrix.orgsamueldr so in theory U-Boot could be written on there, and then it acts more "like a normal BIOS" 23:51:04
@novmar:matrix.orgnovmar samueldr: but at first, i have to write it there ... 23:52:12
@novmar:matrix.orgnovmarand create it23:52:20
@samueldr:matrix.orgsamueldryeah :)23:52:45
@novmar:matrix.orgnovmarok, i have last 10 minutes till go to sleep ...23:52:58
@novmar:matrix.orgnovmarok editet all-packages ...23:57:50
@novmar:matrix.orgnovmarpkgs/misc/uboot/default.nixnow 23:58:01
@novmar:matrix.orgnovmar * now edit: pkgs/misc/uboot/default.nixnow 23:58:09
25 May 2021
@novmar:matrix.orgnovmarand what else i need to prepare ?00:04:11
@samueldr:matrix.orgsamueldr with these two files edited, assuming they were edited right, you should be able to nix-build [...] it 00:04:39
@novmar:matrix.orgnovmarnix-build -A pkgsCross.aarch64-multiplatform.uBootOrangePiZero2 error: attribute 'uBootOrangePiZero2' in selection path 'pkgsCross.aarch64-multiplatform.uBootOrangePiZero2' not found00:04:55
@samueldr:matrix.orgsamueldr
$ nix-build -A pkgsCross.aarch64-multiplatform.ubootOrange[...]
00:05:01
@samueldr:matrix.orgsamueldr it was added as uBootOrangePiZero2 in all-packages.nix too, right? 00:05:27
@novmar:matrix.orgnovmari'll check ... some typo may be :-)00:05:40
@samueldr:matrix.orgsamueldr and you are running this command at the root of the nixpkgs checkout, right? 00:06:13
@novmar:matrix.orgnovmarof course not :-)00:06:17
@novmar:matrix.orgnovmaryeah right place, 00:06:26
@novmar:matrix.orgnovmaruBootOrangePiZero2i added orangepi_zero2_defconfig instead of 00:06:48
@novmar:matrix.orgnovmar * added orangepi_zero2_defconfig instead of uBootOrangePiZero200:07:02
@novmar:matrix.orgnovmarnow it is compiling :-)00:08:14
@novmar:matrix.orgnovmarhow long can that take on 8 cores some I7 old machine ?00:09:27
@novmar:matrix.orgnovmarminutes or hours ?00:09:31
@samueldr:matrix.orgsamueldrdepends on what it has to build00:09:56
@samueldr:matrix.orgsamueldr if it had to only build U-Boot and everything else was found in caches, maybe 2 minutes 00:10:10

Show newer messages


Back to Room ListRoom Version: 6