!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

333 Members
103 Servers

Load older messages


SenderMessageTime
4 Jun 2023
@raitobezarius:matrix.orgraitobezariusugh the eeprom thing doesn't seem to work12:35:22
@raitobezarius:matrix.orgraitobezariusurgh I realized pixiecore uses ipxe which is not ported to riscv yet :D12:45:14
@fgaz:matrix.orgfgazAaand I can't build anything https://github.com/NixOS/nixpkgs/issues/21112014:39:01
@fgaz:matrix.orgfgaz* Aaand I can't build anything. I get the same error as https://github.com/NixOS/nixpkgs/issues/21112014:40:02
@fgaz:matrix.orgfgazDid anyone else run into this issue? Or do you all cross compile?14:40:30
@fgaz:matrix.orgfgazHuh. I just patched those shebangs and everything works now. This doesn't seem specific to riscv so I wonder how stdenv is bootstrapped for other archs. No sandbox?17:25:03
@fgaz:matrix.orgfgaz* Huh. I just patched those shebangs and everything works now. This doesn't seem specific to riscv so I wonder how stdenv is bootstrapped for other archs. No sandbox? Or maybe riscv bootstrap-tools is broken?17:28:17
@federicodschonborn:matrix.org@federicodschonborn:matrix.org changed their profile picture.17:39:57
@fgaz:matrix.orgfgaz

https://nixos.org/manual/nix/stable/command-ref/conf-file.html?highlight=build-chroot-dirs#conf-sandbox-paths

Depending on how Nix was built, the default value for this option may be empty or provide /bin/sh as a bind-mount of bash.

W H Y

18:01:13
@ners:nixos.dev@ners:nixos.dev joined the room.18:01:26
@qyliss:fairydust.spaceAlyssa RossI don't think that's even accurate18:04:52
@qyliss:fairydust.spaceAlyssa Rossit's never bash18:04:55
@qyliss:fairydust.spaceAlyssa Rossif it exists, it's busybox sh18:05:08
@artemis:arty.chatartemisim not even sure that my pi2 is like... booting the nixos image im feeding it21:30:15
@artemis:arty.chatartemisat all21:30:18
@artemis:arty.chatartemisi have been struggling to get even serial output21:30:25
@artemis:arty.chatartemiscurrent state of the flake http://dpaste.com/5ZYQ2X66E21:30:45
@artemis:arty.chatartemis* i have been struggling to get even serial output and have so far failed21:30:56
@artemis:arty.chatartemisthe raspi wiki says the pi2 uses mainline kernel. maybe i should try and switch to downstream kernel though im not quite sure how to do that21:31:35
@artemis:arty.chatartemisoh wow sd-image-raspberrypi.nix is suuuuper barebones huh? cant even change config.txt with it21:46:17
5 Jun 2023
@misuzu:matrix.orgmisuzu
In reply to @artemis:arty.chat
so i am stuck with the accursed raspi boot process
Doesn't it have uefi support? https://github.com/ms-iot/RPi-UEFI#raspberrypi23-uefi
15:03:42
@qbit:tapenet.orgqbitdoes the standard installer for pi3 use uefi? 16:00:11
@gezz:matrix.orgGeraint Ballinger joined the room.16:47:53
@alex:tunstall.xyzAlex
In reply to @qbit:tapenet.org
does the standard installer for pi3 use uefi?

The installer SD image seems to use u-boot.

The hardware itself does not support UEFI, but there are firmware images you can put on the SD card to get UEFI support. If you need it, you may want to check whether Nixpkgs has packaged it already.

21:56:38
@emilytrau:matrix.orgemilytrauScreenshot from 2023-06-05 15-23-06.png
Download Screenshot from 2023-06-05 15-23-06.png
22:25:05
@emilytrau:matrix.orgemilytraunix compiles :oo22:25:28
@qbit:tapenet.orgqbitwhoa23:38:57
@qbit:tapenet.orgqbitnice23:38:58
7 Jun 2023
@networkexception:chat.upi.li@networkexception:chat.upi.li joined the room.08:01:26
@alex:tunstall.xyzAlex
In reply to @fgaz:matrix.org
Nix got a lot harder to compile than last time I tried. Lots of new dependencies with strict version requirements

I don't know if you're still struggling with it, but I've had great success cross-compiling the binary tarball for 2.16.1 on x86_64, copy it to the host, then extract and run as usual. It's been easier than trying to debug confusing autoreconf errors or figure out what Debian packages provide the needed libraries. (Though for some reason the nix commands only work for me when executed as root.)

You'll need to add riscv64 to the cross-compilation targets in the flake.nix for Nix (the package manager), then build hydraJobs.binaryTarballCross.x86_64-linux.riscv64-linux. Depending on your OS (my SBC is currently on Debian Sid), you may also need to add sandbox = false and/or filter-syscalls = false to /etc/nix/nix.conf.

10:42:24

Show newer messages


Back to Room ListRoom Version: 6