9 Jul 2025 |
dramforever | although this could very well be a configuration issue, like clock being set slightly too high, or a one off hardware problem, or power supply issue ... | 14:31:39 |
zimward | sounds a lot like something like that. but yeah, if we get something it should be something that has been tested to keep running for thousands of hours without crashing | 14:32:38 |
dramforever | generally these things work is they sell them to us and get free testing and software dev work... | 14:33:32 |
zimward | i know, very much the pine64 development strategy. | 14:33:57 |
Alex | No amount of software dev will fix bad hardware though.
Not when the hardware flaws are unpatchably bad. | 14:55:22 |
zimward | the difference being that the inertia of riscv is unprecedented compared to any isa ever, so that situation is quickly changing | 14:56:41 |
10 Jul 2025 |
dramforever | @rosscomputerguy:matrix.org: random sigbus on 7700x is a known thing, there should be a firmware update that fixes it | 00:15:31 |
dramforever | maybe eio is the same thing | 00:15:45 |
Tristan Ross | Oh | 00:16:57 |
dramforever | also, ask and you shall receive, updates on the sg2044 https://www.reddit.com/r/RISCV/comments/1lvm7j7/sophgo_technology_newsletter_20250709/ | 02:15:10 |
dramforever | PLEASE do not make this a scuffed chip again | 02:15:27 |
dramforever | knocking on wood so much | 02:15:36 |
| Sol Astrius Phœnix joined the room. | 14:38:26 |
11 Jul 2025 |
| elitewhale75 joined the room. | 17:39:18 |
| elitewhale75 changed their display name from Vignesh Guruswami to elitewhale75. | 17:39:45 |
| elitewhale75 set a profile picture. | 17:39:55 |
15 Jul 2025 |
| 0xcafca joined the room. | 23:06:57 |
16 Jul 2025 |
| no-mood joined the room. | 09:22:12 |
no-mood | Hi all, is there any chance that the RISC-V toolchain will be packaged for Nix?
https://github.com/NixOS/nixpkgs/issues/376165 | 10:53:36 |
Alex | In reply to @no-mood:matrix.org Hi all, is there any chance that the RISC-V toolchain will be packaged for Nix? https://github.com/NixOS/nixpkgs/issues/376165 What for? | 10:58:19 |
no-mood | In reply to @alex:tunstall.xyz What for? I'm working on a LKM on (simulated) risc-v, and without the toolchain I'm kind of stuck.
I've tried to do it manully without success (first step of https://gem5.googlesource.com/public/gem5-resources/+/HEAD/src/riscv-fs/README.md) | 11:00:19 |
no-mood | Now I'm working on a debian container (where the first step is not needed since it is packaged there) but I'm having some problems getting the compile_commands.json to work | 11:01:29 |
Alex | In reply to @no-mood:matrix.org I'm working on a LKM on (simulated) risc-v, and without the toolchain I'm kind of stuck.
I've tried to do it manully without success (first step of https://gem5.googlesource.com/public/gem5-resources/+/HEAD/src/riscv-fs/README.md) Have you tried using GCC or clang? They support cross-compiling for freestanding environments too. | 11:02:07 |
no-mood | In reply to @alex:tunstall.xyz Have you tried using GCC or clang? They support cross-compiling for freestanding environments too. I've just read that debian ships with gcc-14-riscv64-linux-gnu, but I can't find the package for nix (?) | 11:04:49 |
Alex | In reply to @no-mood:matrix.org I've just read that debian ships with gcc-14-riscv64-linux-gnu, but I can't find the package for nix (?) pkgsCross can do pretty much anything imaginable, as long as it builds (most do). | 11:05:40 |
Alex | There is for example pkgsCross.riscv64.stdenv , which IIRC provides everything you need for C and assembly. | 11:06:54 |
no-mood | Oh good! Any flake you recommend? | 11:07:34 |
Alex | In reply to @no-mood:matrix.org Oh good! Any flake you recommend? For?
The above is in nixpkgs. | 11:07:55 |
no-mood | Sorry, this is my first time cross-compiling in NixOS :)
I'm missing how to use it | 11:14:08 |
Alex | In reply to @no-mood:matrix.org Sorry, this is my first time cross-compiling in NixOS :) I'm missing how to use it I can't go into much detail right now, but there is a NixOS wiki page that does.
You could also try checking the Nixpkgs manual. It should have a section about cross. | 11:16:23 |