| 25 May 2023 |
misuzu | In reply to @raitobezarius:matrix.org did you try to enable certain RV optimizations? Which ones? | 15:45:15 |
raitobezarius | Whatever the VF2 has in terms of extra extensions I imagine? | 15:45:36 |
raitobezarius | or does the gcc uses all the extensions it can find when compiling? | 15:45:47 |
misuzu | vf2 has rv64imafdc_zbb isa https://rv.drom.io/ | 15:48:04 |
misuzu | rv64imafd==rv64gc | 15:49:44 |
raitobezarius | Oh I thought it had some experimental vector extensions | 16:23:45 |
GenericNerdyUsername | are they any complications with the zbb bit? | 20:54:07 |
GenericNerdyUsername | things might only support all (b) or nothing, not subcomponents of the bitmanip extension | 20:54:31 |
| 26 May 2023 |
| Arthur joined the room. | 07:23:14 |
raitobezarius | In reply to @genericnerdyusername:matrix.org are they any complications with the zbb bit? not ones I am aware of | 13:52:33 |
raitobezarius | I mean | 13:52:37 |
raitobezarius | If you support too small subsets, you just don't get the feature | 13:52:46 |
| fgaz joined the room. | 15:31:36 |
fgaz | Hi all o/
I recently ordered a Star64 so here I am | 18:32:04 |
| Lotte (it/its)/Cinny (she/her) θΔ& changed their profile picture. | 18:33:13 |
| 27 May 2023 |
Snektron | misuzu: when you enter nvme scan in the u-boot console does it come up with anything? | 00:10:10 |
Snektron | 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 | 00:11:53 |
@withoutwithin:matrix.org | starting to think that my bell router DHCP server is cursed somehwo | 02:07:49 |
@withoutwithin:matrix.org | oh wait what | 02:08:12 |
@withoutwithin:matrix.org | the other network port works | 02:08:16 |
@withoutwithin:matrix.org | let's gooooo | 02:08:18 |
@withoutwithin:matrix.org |  Download image.png | 02:10:11 |
colemickens | Hi, I have something I don't understand -- I can cross-compile [a derivation] from a (x86_64 builder) for aarch64, but when I try to build for riscv64-linux, I get a dependency chain that includes bootstrap-tools. Which I don't have available for riscv64-linux... Question - is our riscv64 support "behind"? Can I not cross-compile the bootstrap tools and use those somehow? | 05:23:08 |
colemickens | I've looked for docs several times but haven't really made any head way. Between ghc being not natively supported, and this 'bootstrap-tools' issue, I'm having a hard time getting from a pretty minimal build to my more full nixos profile on the VF2. | 05:23:52 |
colemickens | (aside: it strikes me as funny that I can cross-compile sway and mpv, but not bash or zellij :P) | 05:24:20 |
colemickens | also unrelated: I have a nixos module that boots a qemu vm that can then act as a "native" riscv64 builder. A hack of a hack of floweringash's original work, but I think it might build as fast or faster than my VF2, on a huge Packet VM... | 05:26:17 |
colemickens | also also unrelated, I have a module (again, hacked on from someone's else initial effort) that builds a very small netboot-able initrd that then 'curl's a big squashfs with stage-2. I used this to "fix" my VF2 remotely via u-boot serial access. :D It's likely to come in handy in the future. | 05:27:50 |
trofi | Locally you should be able to build bootstrapTools with pkgs/stdenv/linux/make-bootstrap-tools-cross.nix. | 07:31:45 |
trofi | Adding riscv64-linux to bingmt on x86_64-linux seems to work as well if I try to build bash "natively": $ nix build -f '<nixpkgs>' bash --argstr system riscv64-linux (built a few packages so far, did not get to final bash yet). | 07:38:24 |
Alyssa Ross | colemickens: you shouldn't need the bootstrap tools to cross compile | 08:21:40 |