| 1 Aug 2023 |
| [0x4A6F] changed the history visibility to "world_readable" from "shared". | 19:07:15 |
misuzu | In reply to @alex:tunstall.xyz Could this be because DMA isn't working properly? Who knows, dmesg says it's working
[ 4.115788] starfive-dwmac 16040000.ethernet: DMA HW capability register supported
[ 4.115960] starfive-dwmac 16040000.ethernet: Using 40/40 bits DMA host/device width
[ 38.844070] starfive-dwmac 16040000.ethernet: Failed to reset the dma
[ 38.850621] starfive-dwmac 16040000.ethernet end1: stmmac_hw_setup: DMA engine initialization failed
| 19:15:01 |
misuzu | I'm only using end0 | 19:15:25 |
Alex | starfive-dwmac 16040000.ethernet: Failed to reset the dma
starfive-dwmac 16040000.ethernet end1: stmmac_hw_setup: DMA engine initialization failed
starfive-dwmac 16040000.ethernet end1: __stmmac_open: Hw setup failed
Mine appears to be broken and I get poor network performance despite end1 also being 1Gb/s. | 19:20:22 |
Alex | Nevermind, I got confused: I'm also only using end0. | 19:21:56 |
raitobezarius | misuzu: | 22:36:49 |
raitobezarius |  Download image.png | 22:36:50 |
raitobezarius | on vendor firmware | 22:36:52 |
raitobezarius | with the nixos-cross-image-efi | 22:36:59 |
raitobezarius | same SD card that works with upstream firmware | 22:37:21 |
raitobezarius | I can ext2ls | 22:38:43 |
raitobezarius | ok testing on another VF2 with a eMMC instead of a SD card, this boots… | 23:11:13 |
raitobezarius | strange strange | 23:11:18 |
raitobezarius | but it has no NVMe | 23:11:23 |
raitobezarius | and on the other VF2, it seems like ethernet works | 23:11:52 |
| 2 Aug 2023 |
raitobezarius | misuzu: would you be open to a PR to add auto-growfs for the efi-image? | 00:42:18 |
raitobezarius | it seems like no pre-existing channel is created | 00:42:26 |
raitobezarius | making it hard to use it as a install media for nixos | 00:42:30 |
raitobezarius | and nix-channel --update will fail because it doesn't have enough place | 00:42:41 |
raitobezarius | pinged adoptium folks on the openjdk stuff that's probably a big blocker in nixos: https://github.com/adoptium/temurin-build/issues/2726#issuecomment-1661380917 | 02:10:46 |
raitobezarius | so we can get minecraft for free in riscv | 02:10:58 |
Alex | In the meantime, it isn't too hard to cross-compile OpenJDK and use it to bootstrap a native OpenJDK. | 05:11:03 |
misuzu | In reply to @raitobezarius:matrix.org misuzu: would you be open to a PR to add auto-growfs for the efi-image? https://github.com/misuzu/nixos-vf2/blob/master/efi-image.nix#L5 You have to resize the partition though. I usually just building on my laptop and nix copy'ing it to vf2 | 06:02:32 |
raitobezarius | got my hand on a 64C RISC-V access temporarily | 11:46:47 |
raitobezarius | masterancpp@riscv-02:~$ lscpu
Architecture: riscv64
Byte Order: Little Endian
CPU(s): 64
On-line CPU(s) list: 0-63
NUMA:
NUMA node(s): 4
NUMA node0 CPU(s): 0-7,16-23
NUMA node1 CPU(s): 8-15,24-31
NUMA node2 CPU(s): 32-39,48-55
NUMA node3 CPU(s): 40-47,56-63
| 11:46:50 |
raitobezarius | running Ubuntu 22.10 | 11:47:00 |
raitobezarius | 32GB of RAM though | 11:47:37 |