!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

343 Members
107 Servers

Load older messages


SenderMessageTime
16 Jun 2023
@misuzu:matrix.orgmisuzuVendor u-boot doesn't support booting from nvme out of box, you'll have too type stuff to the console via uart :D11:28:29
@misuzu:matrix.orgmisuzu * Vendor u-boot doesn't support booting from nvme out of box, you'll have to type stuff to the console via uart :D11:30:01
@misuzu:matrix.orgmisuzuI've my efi partition on an sd card and root on an nvme11:30:44
@j-k:matrix.orgj-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:matrix.orgmisuzu
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:matrix.orgmisuzuThere's flash-visionfive2-upstream, but it's not working properly11:33:00
@j-k:matrix.orgj-kah 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 ISOs11:33:06
@raitobezarius:matrix.orgraitobezarius
In reply to @misuzu:matrix.org
There's flash-visionfive2-upstream, but it's not working properly
hm why?
11:33:24
@raitobezarius:matrix.orgraitobezariusI tried it and it worked11:33:26
@j-k:matrix.orgj-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:matrix.orgmisuzu
In reply to @raitobezarius:matrix.org
hm why?
*for nvme boot
11:33:42
@alex:tunstall.xyzAlex 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:matrix.orgraitobezarius
In reply to @misuzu:matrix.org
*for nvme boot
ah yes yes correct
11:34:13
@misuzu:matrix.orgmisuzu
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:chir.rsLotte (it/its)/Cinny (she/her) θΔ&I ended up moving the install to iscsi15:44:44
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&but it works now 🦀15:44:50
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&semi related thing i just noticed, the vf2 apparently supports the Zbb extension15:45:35
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&and then i noticed that gcc was outputting suboptimal assembly for a test case but it’s fixed already15:46:08
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&https://godbolt.org/z/eEvcbqGYn15:46:08
@alex:tunstall.xyzAlex
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:chir.rsLotte (it/its)/Cinny (she/her) θΔ&iirc the core ip they licensed does advertise support for the “B extension”15:53:18
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&and so does the IPL/firmware15:53:28
@alex:tunstall.xyzAlexFor the SiFive U74, Zba and Zbb appear to be optional, so I'm not sure every CPU variant have them.15:54:39
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&yeah15:57:38
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&okay i just verified that, Zbc and Zbc are not supported16:17:17
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ& * okay i just verified that; Zbc and Zbc are not supported16:17:24
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ& * okay i just verified that; Zbc and Zbs are not supported16:17:31
@alex:tunstall.xyzAlex
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:chir.rsLotte (it/its)/Cinny (she/her) θΔ&yeah it’s why i put it in quotes17:09:40
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ& the B extension is nowhere near ratified and it’s a lot more complicated than a bit of shifted adding, rotation, and additional ALU outputs 17:10:32

Show newer messages


Back to Room ListRoom Version: 6