Exotic Nix Targets | 330 Members | |
| 105 Servers |
| Sender | Message | Time |
|---|---|---|
| 15 Jun 2023 | ||
| i am building the same kernel as here: https://github.com/misuzu/nixos-vf2 | 18:36:41 | |
| and i know that the natively compiled build works | 18:36:57 | |
| * and i know that the natively compiled build on that repo | 18:37:11 | |
| * i am building the same kernel code and config as here: https://github.com/misuzu/nixos-vf2 | 18:44:54 | |
| 18:49:03 | ||
In reply to @lotte:chir.rs boot.initrd.network.flushBeforeStage2 = false;? | 19:28:02 | |
| i can try that | 19:29:17 | |
| ohhhh | 19:29:39 | |
| that makes sense | 19:29:41 | |
| yup that was it! | 19:55:02 | |
| thank you very much | 19:55:06 | |
| 16 Jun 2023 | ||
| misuzu I've been trying to boot your NixOS VF2 configuration (https://github.com/misuzu/nixos-vf2) on my rev1.3b board, but it doesn't seem to be working (continuous red LED, no green LED). I've also tried the pre-built native image you've published, but that didn't help. I don't have any way of connecting serial to debug it, so I thought I'd ask you a few questions that'll help me figure out what's going wrong:
| 11:10:18 | |
In reply to @alex:tunstall.xyz1 vendor firmware should work 2 ethernet should work, didn't test hdmi 3 red led should be on 4 there's no firmware in the image, boot switch should be set to boot from spi | 11:14:49 | |
| has anyone recently tried m.2 ssd boot on VF2? | 11:19:55 | |
In reply to @j-k:matrix.orgroot on nvme works | 11:21:57 | |
In reply to @misuzu:matrix.org Thanks, after setting the switch to 00 ("Flash" according to the printing on the board), it boots and I now have a working SSH session. FYI, my monitor is saying that there's no HDMI output. | 11:22:02 | |
In reply to @misuzu: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? | 11:26:36 | |
In reply to @j-k:matrix.orghttps://github.com/misuzu/nixos-vf2/blob/master/flake.nix#L3 | 11:27:16 | |
| 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 | |
| * 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 | |
| I've my efi partition on an sd card and root on an nvme | 11:30:44 | |
In reply to @misuzu:matrix.orgwould this still be required after using the bootloader flashing step at the top of the repo? | 11:31:34 | |
In reply to @j-k:matrix.orgYes, it will flash vendor u-boot | 11:31:59 | |
| There's flash-visionfive2-upstream, but it's not working properly | 11:33:00 | |
| 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 | |
In reply to @misuzu:matrix.orghm why? | 11:33:24 | |
| I tried it and it worked | 11:33:26 | |
In reply to @misuzu:matrix.orgok right, yeah it does say recovery 🤦 | 11:33:29 | |
In reply to @raitobezarius:matrix.org*for nvme boot | 11:33:42 | |
| 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 | |