| 11 Mar 2024 |
Mic92 | I guess it was this one? https://github.com/sophgo/sophgo-edk2 | 19:52:43 |
[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] | 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 |
Steven Keuchel | essentially you need to write a conf.ini to tell zsbl to load SG2042.fd, which is the edk2 blob | 19:53:24 |
Steven Keuchel | that is what that page is about | 19:53:33 |
Steven Keuchel | mine looks like this
[sophgo-config]
[devicetree]
name = mango-milkv-pioneer.dtb
[kernel]
name = SG2042.fd
[eof]
| 19:53:45 |
Mic92 | Ok. Thanks, that's hopefully all information we need. | 19:54:04 |
[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 | 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 |
Mic92 | The flake in the nix repo probably just needs to be extended. | 20:47:08 |
Mic92 | * The flake in the nix repo probably just needs to be extended. It already cross builds to armv7 | 20:47:30 |
Mic92 | Ah. [0x4A6F]: already did it | 20:48:28 |
[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 |
Mic92 | Kexec should work | 20:56:41 |
Mic92 | The Linuxboot loader already does it | 20:56:59 |
Mic92 | The milkv board might have enough ram to debug it as well. | 20:58:05 |
Mic92 | Maybe I can also add riscv64 support to nixos-images / nixos-anywhere. | 21:06:02 |
Mic92 | I should have the resources soon. | 21:06:13 |
[0x4A6F] | Yeah, the image was the problem last time I tried. | 21:07:04 |
Mic92 | 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 |
Mic92 | for testing | 21:07:38 |
| 13 Mar 2024 |
fgaz | 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 | * 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 |
| startswithbalint joined the room. | 20:52:08 |
| 14 Mar 2024 |
| Federico Damián Schonborn left the room. | 02:04:27 |
| NixOS Moderation Botchanged room power levels. | 18:44:17 |
| KREYREN ⚡️🦀 (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 - keeps a log of public NixOS channels joined the room. | 04:05:46 |
| @grahamc:nixos.org joined the room. | 23:47:52 |
| 16 Mar 2024 |
Pratham Patel (you can mention me) | https://www.theregister.com/2024/03/13/google_tpu_sifive_riscv/ | 00:36:53 |