!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.orgsamueldrall u-boots pre-built by Hydra here: https://hydra.nixos.org/jobset/nixpkgs/trunk/jobs-tab?filter=uboot23:27:12
@samueldr:matrix.orgsamueldrlatest build for zero plus 2 (h5) https://hydra.nixos.org/job/nixpkgs/trunk/ubootOrangePiZeroPlus2H5.aarch64-linux/latest23:27:52
@samueldr:matrix.orgsamueldrwhich isn't getting you a binary23:28:05
@andi:kack.itandi-That page looks odd. Is it missing something or did I just never see that view of hydra?23:28:12
@samueldr:matrix.orgsamueldr andi-: xhr from this page https://hydra.nixos.org/jobset/nixpkgs/trunk#tabs-jobs 23:28:26
@andi:kack.itandi-ahh!23:28:34
@samueldr:matrix.orgsamueldrthere's no way to pre-seed it with a search term23:28:34
@samueldr:matrix.orgsamueldrbut it's probably the one page we should have easily linkable!23:28:47
@novmar:matrix.orgnovmarah, i got answer on other channel ...23:28:52
@samueldr:matrix.orgsamueldrindeed23:29:08
@samueldr:matrix.orgsamueldr I was going to say you can nix-store --realise it 23:29:13
@samueldr:matrix.orgsamueldr though there's another option, especially if you want to build it for another board 23:29:28
@novmar:matrix.orgnovmari am going to check that for orange pi zero 2 ...23:30:24
@samueldr:matrix.orgsamueldr
$ nix-build -A pkgsCross.aarch64-multiplatform.ubootOrangePiZeroPlus2H5

From a Nixpkgs checkout

23:30:30
@novmar:matrix.orgnovmar samueldr: can u do that ? 23:30:40
@samueldr:matrix.orgsamueldrthough using the wrong U-Boot on Allwinner might work... it's probably not going to be working right23:31:07
@samueldr:matrix.orgsamueldrit will basically be telling the system you're using another board, which may have things configured differently23:31:26
@novmar:matrix.orgnovmarhow hard is to create uboot for nixos for orange pi zero 2 ?23:31:44
@samueldr:matrix.orgsamueldrwith Allwinner designs it's probably not much of an issue for U-Boot, but for Linux it probably will be23:31:46
@samueldr:matrix.orgsamueldrfor an Allwinner board, it looks like this: https://github.com/NixOS/nixpkgs/blob/7cb8324a9124b0ee38c97d690e90d1ac571d8c69/pkgs/misc/uboot/default.nix#L267-L27223:32:12
@novmar:matrix.orgnovmarhttp://www.orangepi.org/Orange%20Pi%20Zero2/23:32:14
@samueldr:matrix.orgsamueldryou have to know how U-Boot calls it for the defconfig23:32:36
@samueldr:matrix.orgsamueldrAFAICT it'd be https://source.denx.de/u-boot/u-boot/-/blob/master/configs/orangepi_zero2_defconfig23:33:02
@samueldr:matrix.orgsamueldr well, orangepi_zero2_defconfig 23:33:08
@samueldr:matrix.orgsamueldr(what a bad attempt at highlighting :))23:33:20
@samueldr:matrix.orgsamueldr once added to this file, I can't link to it because GitHub has issues with the size of the file, but you need to add it to pkgs/top-level/all-packages.nix near where all the other U-Boot attributes are present 23:34:22
@novmar:matrix.orgnovmarok, at 1. i am not familiar with what u-boot is :-)23:34:28
@samueldr:matrix.orgsamueldr briefly explained, U-Boot is like a BIOS for many ARM platforms, in addition to knowing how to boot Linux 23:34:59
@novmar:matrix.orgnovmarok, but it is store on sd ...23:35:17
@novmar:matrix.orgnovmarso like mbr23:35:23

Show newer messages


Back to Room ListRoom Version: 6