!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

236 Members
NixOS on RISC-V https://wiki.nixos.org/wiki/RISC-V https://pad.lassul.us/NixOS-riscv64-linux 68 Servers

Load older messages


SenderMessageTime
20 Nov 2024
@alex:tunstall.xyzAlex
In reply to @thing-han:matrix.org

Hi all,
Have anyone setup nix on bananapi bpi-f3 successfully ?

I'm running into a segmentation fault on building the bootstrap-tools derivation whenever I wanted to install a package, say nix run nixpkgs#nix-info -- -m

There was a regression in Linux 6.5 that causes segfaults in some programs, most notably rustc.

This could also be a new regression. You could try building an older version of Nixpkgs; e.g. I know for a fact that 5672bc9dbf9d88246ddab5ac454e82318d094bb8 works.

10:40:45
21 Nov 2024
@thing-han:matrix.orgLim, Thing-hanok I'll try it out! Thanks for the information!03:06:29
22 Nov 2024
@artemist:mildlyfunctional.gay@artemist:mildlyfunctional.gay joined the room.07:09:12
@hive:the-apothecary.clubMs. Connection changed their profile picture.20:25:49
23 Nov 2024
@davidak:matrix.orgdavidak left the room.17:35:06
@davidak:matrix.orgdavidak joined the room.17:36:21
24 Nov 2024
@fgaz:matrix.orgfgaz Milk-V Megrez is out 14:57:34
25 Nov 2024
@jfquesada:matrix.org@jfquesada:matrix.org changed their display name from Jose Quesada to ice9.18:38:13
@jfquesada:matrix.org@jfquesada:matrix.org left the room.19:06:11
26 Nov 2024
@qyliss:fairydust.spaceAlyssa RossCan somebody tell me whether pkgsStatic.virtiofsd builds natively on riscv64-linux?12:47:58
@skeuchel:matrix.orgSteven Keuchel Alyssa Ross: https://gist.github.com/skeuchel/1ab63cf9b523f3cac1fb10d9339ffbb2 21:42:12
@skeuchel:matrix.orgSteven KeuchelThis is using my overlay. Nothing that should impact this build though.21:43:33
@skeuchel:matrix.orgSteven Keuchel * This is using an overlay. Nothing that should impact this build though.21:44:47
@rosscomputerguy:matrix.orgTristan RossInteresting that it failed with missing functions 21:45:09
@qyliss:fairydust.spaceAlyssa RossIt's https://github.com/rust-lang/rust/issues/10971721:49:14
@qyliss:fairydust.spaceAlyssa RossSame thing happens cross compiling from x86_64. Just wanted to make sure it happened building from RISC-V too.21:49:35
@qyliss:fairydust.spaceAlyssa Ross

Thanks Steven Keuchel!

21:49:39
@rosscomputerguy:matrix.orgTristan Ross
In reply to @qyliss:fairydust.space
Same thing happens cross compiling from x86_64. Just wanted to make sure it happened building from RISC-V too.
Oh gotcha, does it fail on aarch64 too?
21:50:59
@qyliss:fairydust.spaceAlyssa RossAs build? I think so. But it only fails when building for riscv6421:51:23
@qyliss:fairydust.spaceAlyssa RosspkgsCross.virtiofsd builds fine on aarch64 and x86_6421:51:36
@rosscomputerguy:matrix.orgTristan RossAh, interesting 21:52:18
27 Nov 2024
@jellyterra:matrix.org@jellyterra:matrix.org joined the room.07:55:24
@jopejoe1:matrix.orgjopejoe1 changed their display name from jopejoe1 to jopejoe1 [4094].18:17:43
@thedragon44:matrix.orgTheDragon left the room.23:33:24
4 Dec 2024
@kagurachan:matrix.orgkagurachan joined the room.09:45:57
5 Dec 2024
@jellyterra:matrix.org@jellyterra:matrix.orgHi! Has anyone tried porting NixOS to Spacemit X60/K1/M1 (they are almost same)?17:23:17
@jellyterra:matrix.org@jellyterra:matrix.orgTeach me how to port if not. (x17:23:53
@jellyterra:matrix.org@jellyterra:matrix.orgI have one BananaPi F3 board.17:24:53
@alex:tunstall.xyzAlex
In reply to @jellyterra:matrix.org
Teach me how to port if not. (x

I recommend figuring out the board's UART interface if you haven't already. It's essential for debugging boot, network, or display problems.

  1. Boot the vendor's OS, to check that your board works.
  2. Figure out how the board boots, either from vendor documentation or from reverse engineering the vendor OS.
  3. Replicate that boot configuration using NixOS options.
  4. Do the same for the kernel configuration.

Good luck!

18:27:15
@jellyterra:matrix.org@jellyterra:matrix.orgSounds difficult. Give it a try!18:29:03

Show newer messages


Back to Room ListRoom Version: 10