| 27 May 2023 |
misuzu | 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/ | 10:41:51 |
misuzu | And I'm using close-to-upstream u-boot https://github.com/misuzu/u-boot/commits/visionfive2 | 10:42:24 |
misuzu | 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 | 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 | 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 | 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 | Yes, pci scan didnt help | 11:25:36 |
misuzu | 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 | Ah, you need to call info | 12:59:47 |
| * colemickens 🏳️🌈 hopes rock5b and vf2 can get nvme support in upstream u-boot since the rest is starting to be there | 16:30:58 |
| NixOS Moderation Botchanged room power levels. | 16:40:02 |
| @tamtaram:chat.heizhaus.org joined the room. | 17:24:14 |
raitobezarius | For RISC-V people: https://github.com/NixOS/nixpkgs/pull/234495 this bring in RISC-V OVMF for QEMU :) | 20:33:08 |
raitobezarius | (only full "bios", not split vars/bios) | 20:33:14 |
raitobezarius | (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 | Out of curiosity. Is there someone in here running Nix on s390x? | 21:04:32 |
Snektron |  Download image.png | 21:05:37 |
Snektron | it works!! | 21:05:46 |
Alyssa Ross | out of curiosity, why do you ask? | 21:06:46 |
Snektron | (I used the starfive u-boot + the patches that I made earlier and the 6.4-rc3 based Linux from starfive) | 21:07:03 |
@tamtaram:chat.heizhaus.org | In reply to @qyliss:fairydust.space out of curiosity, why do you ask? Asking for a friend 😏 | 21:08:33 |
@tamtaram:chat.heizhaus.org | Nah I've seen some s390x related patches in upstream projects floating around and been wondering if Nix has support for s390x | 21:09:43 |
Alyssa Ross | It does! | 21:09:50 |
Alyssa Ross | Although possibly only for cross compilation? | 21:10:06 |
@tamtaram:chat.heizhaus.org | :o i also talked to LinuxOne group ppl | 21:10:08 |
Alyssa Ross | But I don't think native would be hard to add | 21:10:10 |
@tamtaram:chat.heizhaus.org | Haven't used an s390x before tho. | 21:10:40 |
Alyssa Ross | yeah, currently cross-only | 21:11:01 |
Alyssa Ross | but I'd be happy to guide somebody through adding native support, which is not hard | 21:11:48 |
@tamtaram:chat.heizhaus.org | I see. I know that openSUSE builds native | 21:11:56 |