| 16 Jun 2023 |
misuzu | In reply to @j-k:matrix.org
thanks. I'll need to take some time to set this up!
I think I saw you mention the cache has some native bits cached right? So if I'm using the matching nixpkgs in the flake & helpers etc I shouldn't be rebuilding absolutely everything right?
https://github.com/misuzu/nixos-vf2/blob/master/flake.nix#L3 | 11:27:16 |
misuzu | Vendor u-boot doesn't support booting from nvme out of box, you'll have too type stuff to the console via uart :D | 11:28:29 |
misuzu | * Vendor u-boot doesn't support booting from nvme out of box, you'll have to type stuff to the console via uart :D | 11:30:01 |
misuzu | I've my efi partition on an sd card and root on an nvme | 11:30:44 |
j-k | In reply to @misuzu:matrix.org I've my efi partition on an sd card and root on an nvme would this still be required after using the bootloader flashing step at the top of the repo? | 11:31:34 |
misuzu | In reply to @j-k:matrix.org would this still be required after using the bootloader flashing step at the top of the repo? Yes, it will flash vendor u-boot | 11:31:59 |
misuzu | There's flash-visionfive2-upstream, but it's not working properly | 11:33:00 |
j-k | ah I see. for VF1 as far as I remember we were flashing a non-vendor u-boot because they had a weird setup and couldn't boot anything other than their silly ISOs | 11:33:06 |
raitobezarius | In reply to @misuzu:matrix.org There's flash-visionfive2-upstream, but it's not working properly hm why? | 11:33:24 |
raitobezarius | I tried it and it worked | 11:33:26 |
j-k | In reply to @misuzu:matrix.org Yes, it will flash vendor u-boot ok right, yeah it does say recovery 🤦 | 11:33:29 |
misuzu | In reply to @raitobezarius:matrix.org hm why? *for nvme boot | 11:33:42 |
Alex | Newer versions of the vendor's bootloader might support NVMe boot.
https://github.com/starfive-tech/VisionFive2/blob/8b7a21b808e02d996dc166d70f2675a059c2e1ed/conf/vf2_nvme_uEnv.txt | 11:33:49 |
raitobezarius | In reply to @misuzu:matrix.org *for nvme boot ah yes yes correct | 11:34:13 |
misuzu | In reply to @alex:tunstall.xyz Newer versions of the vendor's bootloader might support NVMe boot.
https://github.com/starfive-tech/VisionFive2/blob/8b7a21b808e02d996dc166d70f2675a059c2e1ed/conf/vf2_nvme_uEnv.txt Their distroboot config doesn't support nvme | 11:36:00 |
| 17 Jun 2023 |
Lotte (it/its)/Cinny (she/her) θΔ& | I ended up moving the install to iscsi | 15:44:44 |
Lotte (it/its)/Cinny (she/her) θΔ& | but it works now 🦀 | 15:44:50 |
Lotte (it/its)/Cinny (she/her) θΔ& | semi related thing i just noticed, the vf2 apparently supports the Zbb extension | 15:45:35 |
Lotte (it/its)/Cinny (she/her) θΔ& | and then i noticed that gcc was outputting suboptimal assembly for a test case but it’s fixed already | 15:46:08 |
Lotte (it/its)/Cinny (she/her) θΔ& | https://godbolt.org/z/eEvcbqGYn | 15:46:08 |
Alex | In reply to @lotte:chir.rs semi related thing i just noticed, the vf2 apparently supports the Zbb extension Yes, it also has Zba despite neither being mentioned in the vendor's documentation. | 15:52:38 |
Lotte (it/its)/Cinny (she/her) θΔ& | iirc the core ip they licensed does advertise support for the “B extension” | 15:53:18 |
Lotte (it/its)/Cinny (she/her) θΔ& | and so does the IPL/firmware | 15:53:28 |
Alex | For the SiFive U74, Zba and Zbb appear to be optional, so I'm not sure every CPU variant have them. | 15:54:39 |
Lotte (it/its)/Cinny (she/her) θΔ& | yeah | 15:57:38 |
Lotte (it/its)/Cinny (she/her) θΔ& | okay i just verified that, Zbc and Zbc are not supported | 16:17:17 |
Lotte (it/its)/Cinny (she/her) θΔ& | * okay i just verified that; Zbc and Zbc are not supported | 16:17:24 |
Lotte (it/its)/Cinny (she/her) θΔ& | * okay i just verified that; Zbc and Zbs are not supported | 16:17:31 |
Alex | In reply to @lotte:chir.rs iirc the core ip they licensed does advertise support for the “B extension” By the way, SiFive call it "RV64GBC", but it's actually "RV64GC_Zba_Zbb"; only the latter works with GCC's -march flag (GCC >=12). | 17:09:09 |
Lotte (it/its)/Cinny (she/her) θΔ& | yeah it’s why i put it in quotes | 17:09:40 |