!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

345 Members
108 Servers

Load older messages


SenderMessageTime
27 May 2023
@qyliss:fairydust.spaceAlyssa Rosshow are you trying to do the cross compile?08:21:46
@colemickens:matrix.orgcolemickensI am currently looking at helix's flake.nix and zellij's in this repo: https://github.com/a-kenji/zellij-nix08:27:56
@colemickens:matrix.orgcolemickensafaict, zellij has only openssl and pkg-config as nativeBuildInputs, yet, helix cross-compiles to riscv64-linux, while zellij does not08:28:19
@colemickens:matrix.orgcolemickensthey both seem to use rust-overlay, though helix uses nci->rust-overlay08:28:39
@a-kenji:matrix.orga-kenji
In reply to @colemickens:matrix.org
I am currently looking at helix's flake.nix and zellij's in this repo: https://github.com/a-kenji/zellij-nix
I'll reply in the issue soon, trying to get the cross compilation building atm.
08:56:11
@misuzu:matrix.orgmisuzu
In reply to @snektron:matrix.org
misuzu: when you enter nvme scan in the u-boot console does it come up with anything?
You need to run pci probe or something first
10:12:42
@misuzu:matrix.orgmisuzu
In reply to @snektron:matrix.org
Also, that version of u-boot wont have internet because the ethernet nodes are missing from the device tree, I think. Also also, its missing the code that is required to fix up the memory node on models that have 8 GB memory
What do you mean by "fix up"? I have the 8 GB version
10:14:15
@snektron:matrix.orgSnektron
In reply to @misuzu:matrix.org
What do you mean by "fix up"? I have the 8 GB version
The device tree node, at least on the version that I have its hardcoded to 4GB even if i have the 8GB version
10:18:33
@snektron:matrix.orgSnektronSo free -h reports 4GB10:19:00
@misuzu:matrix.orgmisuzu
$ free -h
               total        used        free      shared  buff/cache   available
Mem:           7.8Gi       194Mi       6.2Gi       4.0Mi       1.4Gi       7.4Gi
Swap:          3.9Gi       1.0Mi       3.9Gi
10:20:14
@misuzu:matrix.orgmisuzuMaybe you have different kernel, I'm using this one https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_upstream10:21:20
@misuzu:matrix.orgmisuzuLooks like upstream u-boot already has the necessary logic for 2/4/8G versions https://patchwork.ozlabs.org/project/uboot/patch/20230329034224.26545-10-yanhong.wang@starfivetech.com/10:41:51
@misuzu:matrix.orgmisuzuAnd I'm using close-to-upstream u-boot https://github.com/misuzu/u-boot/commits/visionfive210:42:24
@misuzu:matrix.orgmisuzu
In reply to @misuzu:matrix.org
Looks like upstream u-boot already has the necessary logic for 2/4/8G versions https://patchwork.ozlabs.org/project/uboot/patch/20230329034224.26545-10-yanhong.wang@starfivetech.com/

DDR_SIZE_16G
VF2 16G confirmed?

10:43:46
@misuzu:matrix.orgmisuzu
In reply to @misuzu:matrix.org
Looks like upstream u-boot already has the necessary logic for 2/4/8G versions https://patchwork.ozlabs.org/project/uboot/patch/20230329034224.26545-10-yanhong.wang@starfivetech.com/
*

DDR_SIZE_16G

VF2 16G confirmed?

10:43:52
@snektron:matrix.orgSnektron
In reply to @misuzu:matrix.org
And I'm using close-to-upstream u-boot https://github.com/misuzu/u-boot/commits/visionfive2
Yea i built this onr but it didnt work there. Maybe it requires a newer kernel ill do that next, but using your fork i still wasnt able to see my nvme
11:15:27
@misuzu:matrix.orgmisuzu
In reply to @snektron:matrix.org
Yea i built this onr but it didnt work there. Maybe it requires a newer kernel ill do that next, but using your fork i still wasnt able to see my nvme
pcie needs to be initialized for nvme scan to work. It even loads the kernel, but then there's the issue with the kernel itself. I have my efi partition on sdcard for now for that reason
11:22:20
@snektron:matrix.orgSnektron Yes, pci scan didnt help 11:25:36
@misuzu:matrix.orgmisuzu
StarFive #pci enum
starfive_7110_pcie pcie@2C000000: Starfive PCIe bus probed.
StarFive #nvme scan
StarFive #nvme info
Device 0: Vendor: 0x1e0f Rev: ECFA12.7 Prod: 30IA80DGK4P1
            Type: Hard Disk
            Capacity: 238475.1 MB = 232.8 GB (488397168 x 512)

11:28:30
@snektron:matrix.orgSnektronAh, you need to call info12:59:47
* @colemickens:matrix.orgcolemickens hopes rock5b and vf2 can get nvme support in upstream u-boot since the rest is starting to be there16:30:58
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.16:40:02
@tamtaram:chat.heizhaus.org@tamtaram:chat.heizhaus.org joined the room.17:24:14
@raitobezarius:matrix.orgraitobezariusFor RISC-V people: https://github.com/NixOS/nixpkgs/pull/234495 this bring in RISC-V OVMF for QEMU :)20:33:08
@raitobezarius:matrix.orgraitobezarius(only full "bios", not split vars/bios)20:33:14
@raitobezarius:matrix.orgraitobezarius(I have a PR for this but figuring out the EDK2 build system seems to be another level of wizardry)20:33:25
@tamtaram:chat.heizhaus.org@tamtaram:chat.heizhaus.orgOut of curiosity. Is there someone in here running Nix on s390x?21:04:32
@snektron:matrix.orgSnektronimage.png
Download image.png
21:05:37
@snektron:matrix.orgSnektronit works!!21:05:46
@qyliss:fairydust.spaceAlyssa Ross out of curiosity, why do you ask? 21:06:46

Show newer messages


Back to Room ListRoom Version: 6