!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
10 Mar 2024
@raitobezarius:matrix.orgraitobezarius
In reply to @alex:tunstall.xyz
It is necessary for certain packages.
(e.g. the Zig compiler, unless that's now been updated to a less memory-intensive version?)
how much RAM the Zig compiler take in your experience?
17:17:03
* @5m5z3q888q5prxkg:chat.lightnovel-dungeon.deKREYREN ⚡️🦀 (TH1520 in Licheepi 4A) submitted https://github.com/NixOS/nixpkgs/issues/294775 | Build failure: coreutils (riscv64-linux) 17:16:32
@raitobezarius:matrix.orgraitobezariusjust to have a rough idea17:17:06
@5m5z3q888q5prxkg:chat.lightnovel-dungeon.deKREYREN ⚡️🦀 (TH1520 in Licheepi 4A)https://github.com/misuzu/nixos-vf2/blob/master/flake.nix#L3 Is this binary cache usable?17:19:33
@raitobezarius:matrix.orgraitobezariusit'd be interesting to collect that data tbh17:17:10
@sorear:matrix.orgsoreari feel like "know who runs it" is the bare minimum security-wise for a binary cache17:49:02
@alex:tunstall.xyzAlex
In reply to @raitobezarius:matrix.org
how much RAM the Zig compiler take in your experience?
Last time I tried to build it, it got OoM killed (8 GiB VF2), so I have no idea.
18:59:11
@alex:tunstall.xyzAlexIIRC I also tried with a lot of swap (can't remember how much), but it thrashed and still eventually failed.19:00:55
11 Mar 2024
@joerg:thalheim.ioMic92 joined the room.19:21:12
@joerg:thalheim.ioMic92How can I bootstrap the riscv64 installer?19:22:18
@joerg:thalheim.ioMic92I got this guy here, that needs NixOS: https://github.com/milkv-pioneer/19:22:33
@joerg:thalheim.ioMic92 * How can I bootstrap the riscv64 nix binary tarball?19:22:47
@joerg:thalheim.ioMic92
In reply to @skeuchel:matrix.org
For the pioneer: the sg2042-dev vendor kernel is not stable, and the PCIe support is a bit wonky which I would consider as a bigger issue at this point. But hopefully those can be resolved.
Ah. do you own the hardware?
19:24:07
@skeuchel:matrix.orgSteven KeuchelYes19:25:05
@joerg:thalheim.ioMic92What OS did you put on it?19:25:55
@skeuchel:matrix.orgSteven KeuchelNixOS :D19:26:05
@joerg:thalheim.ioMic92Cool. What do I need?19:26:25
@joerg:thalheim.ioMic92I saw it's booting the firmware from the SPI.19:26:51
@skeuchel:matrix.orgSteven KeuchelI have started packaging the stuff here https://github.com/skeuchel/nixos-hardware/commit/46033abd4332bc39c3d716e71ebfab6bad4ce0f019:27:52
@skeuchel:matrix.orgSteven KeuchelI have trouble with LinuxBoot though.19:28:07
@skeuchel:matrix.orgSteven Keuchelyou can cross-compile a basic system first. boot it and then natively compile a proper one19:29:11
@joerg:thalheim.ioMic92How did you format and place all those files? Do I just need to put things into fat?19:30:15
@rmrs:matrix.orgS. Reimers joined the room.19:31:09
@skeuchel:matrix.orgSteven Keucheldo you want to boot from SPI or SD?19:31:45
@joerg:thalheim.ioMic92Either is fine.19:31:54
@skeuchel:matrix.orgSteven Keuchelyou have to use a newer bootloader than the pre-flashed one19:32:22
@skeuchel:matrix.orgSteven Keuchelso to boot from SPI you would have to flash from an existing image first19:32:37
@joerg:thalheim.ioMic92 S. Reimers: order some sdcard :) 19:32:53
@rmrs:matrix.orgS. ReimersI think we have one (:19:33:16
@skeuchel:matrix.orgSteven Keuchelbest grab the bootloader from https://github.com/sophgo/bootloader-riscv/actions19:33:17

Show newer messages


Back to Room ListRoom Version: 10