!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

207 Members
NixOS on RISC-V https://wiki.nixos.org/wiki/RISC-V https://pad.lassul.us/NixOS-riscv64-linux https://github.com/orgs/NixOS/teams/risc-v63 Servers

Load older messages


SenderMessageTime
11 Mar 2024
@joerg:thalheim.ioMic92I guess it was this one? https://github.com/sophgo/sophgo-edk219:52:43
@0x4a6f:matrix.org[0x4A6F]
In reply to @joerg:thalheim.io
How can I bootstrap the riscv64 nix binary tarball?
There is also a not yet opened PR from me here. Was able to get the tarball to that scaleway em-rv Debian install.
19:52:45
@0x4a6f:matrix.org[0x4A6F]
In reply to @fgaz:matrix.org
Scaleway now hosts RV servers based on the TH1520 https://labs.scaleway.com/en/em-rv1/

Oh no:

         .=@@@@@@@@=.
       @@@@@@@@@@@@@@@@
     @@@@@@        @@@@@@        ____         __                       __        __
   @@@@@              @@@@@     / __/______ _/ /__ _    _____ ___ __  / /  ___ _/ /  ___
  @@@@                  @@@@   _\ \/ __/ _ `/ / -_) |/|/ / _ `/ // / / /__/ _ `/ _ \(_-<
 @@@     @@@@@@@@@        @@@ /___/\__/\_,_/_/\__/|__,__/\_,_/\_, / /____/\_,_/_.__/___/
 @@@     @@@@@@@@@        @@@                                 /__/
 @@@     @@@@             @@@  --------------------------------------------------------
 @@@     @@@@    @@@@     @@@   The world's first on-demand RISC-V server by Scaleway.
 @@@     @@@@    @@@@     @@@  --------------------------------------------------------
 @@@             @@@@     @@@    Arch       : riscv64
 @@@        @@@@@@@@@     @@@    CPU        : 4 cores @ 1.848Ghz - isa rv64imafdcvsu
 @@@        @@@@@@@@@     @@@    Memory     : 16GiB
 @@@                      @@@    Storage    : 128GB
 @@@                      @@@    Network    : 100Mb/s
                               --------------------------------------------------------
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@     More details: https://labs.scaleway.com/en/em-rv1/
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@  --------------------------------------------------------

Linux vm-riscv64-linux 5.10.113+ #1 SMP PREEMPT Thu Feb 29 09:44:59 UTC 2024 riscv64


# curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
nix-installer: unknown CPU type: riscv64
# curl -sL https://nixos.org/nix/install | sh -s -- --daemon
sh: sorry, there is no binary distribution of Nix for your platform
19:53:03
@skeuchel:matrix.orgSteven Keuchelessentially you need to write a conf.ini to tell zsbl to load SG2042.fd, which is the edk2 blob19:53:24
@skeuchel:matrix.orgSteven Keuchelthat is what that page is about19:53:33
@skeuchel:matrix.orgSteven Keuchel

mine looks like this

[sophgo-config]

[devicetree]
name = mango-milkv-pioneer.dtb

[kernel]
name = SG2042.fd

[eof]

19:53:45
@joerg:thalheim.ioMic92Ok. Thanks, that's hopefully all information we need.19:54:04
@0x4a6f:matrix.org[0x4A6F]
In reply to @0x4a6f:matrix.org
There is also a not yet opened PR from me here. Was able to get the tarball to that scaleway em-rv Debian install.
Opened it: https://github.com/NixOS/nix/pull/10228
20:15:13
@alex:tunstall.xyzAlex
In reply to @joerg:thalheim.io
How can I bootstrap the riscv64 nix binary tarball?
It can be natively compiled from source if you have all the required dependencies installed.
It might also be possible to cross-compile the Nix installer, though I've never tried that.
20:17:53
@joerg:thalheim.ioMic92The flake in the nix repo probably just needs to be extended.20:47:08
@joerg:thalheim.ioMic92* The flake in the nix repo probably just needs to be extended. It already cross builds to armv720:47:30
@joerg:thalheim.ioMic92 Ah. [0x4A6F]: already did it 20:48:28
@0x4a6f:matrix.org[0x4A6F]
In reply to @joerg:thalheim.io
Ah. [0x4A6F]: already did it
Currently trying to do an nix run github:numtide/nixos-anywhere -- --no-reboot --flake .#vm-riscv64-linux --ssh-port 22 root@$IP and look where it fails.
20:50:10
@joerg:thalheim.ioMic92Kexec should work20:56:41
@joerg:thalheim.ioMic92The Linuxboot loader already does it20:56:59
@joerg:thalheim.ioMic92The milkv board might have enough ram to debug it as well.20:58:05
@joerg:thalheim.ioMic92Maybe I can also add riscv64 support to nixos-images / nixos-anywhere.21:06:02
@joerg:thalheim.ioMic92I should have the resources soon.21:06:13
@0x4a6f:matrix.org[0x4A6F]Yeah, the image was the problem last time I tried.21:07:04
@joerg:thalheim.ioMic92
In reply to @0x4a6f:matrix.org
Yeah, the image was the problem last time I tried.
you can provide your own kexec image
21:07:34
@joerg:thalheim.ioMic92for testing21:07:38
13 Mar 2024
@fgaz:matrix.orgfgaz At NixCon we talked about adding a github label for RISC-V. I just discovered that committers can create labels. So I just created 6.topic: riscv64! 14:25:02
@fgaz:matrix.orgfgaz * At NixCon we talked about adding a github label for RISC-V. I discovered that committers can create labels. So I just created 6.topic: riscv64! 14:25:19
@balintmaci:matrix.orgstartswithbalint joined the room.20:52:08
14 Mar 2024
@federicodschonborn:matrix.orgFederico Damián Schonborn left the room.02:04:27
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.18:44:17
@5m5z3q888q5prxkg:chat.lightnovel-dungeon.deKREYREN ⚡️🦀 (TH1520 in Licheepi 4A) changed their display name from Shane on Conduit.rs ⚡️ and Fractal 🦀️ to KREYREN ⚡️🦀 (TH1520 in Licheepi 4A).23:17:00
15 Mar 2024
@spacesbot:nixos.devspacesbot - keeps a log of public NixOS channels joined the room.04:05:46
@grahamc:nixos.org@grahamc:nixos.org joined the room.23:47:52
16 Mar 2024
@thefossguy:matrix.orgPratham Patel (you can mention me) https://www.theregister.com/2024/03/13/google_tpu_sifive_riscv/ 00:36:53

Show newer messages


Back to Room ListRoom Version: 10