!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

321 Members
94 Servers

Load older messages


SenderMessageTime
26 May 2023
@raitobezarius:matrix.orgraitobezariusI mean13:52:37
@raitobezarius:matrix.orgraitobezariusIf you support too small subsets, you just don't get the feature13:52:46
@fgaz:matrix.orgfgaz joined the room.15:31:36
@fgaz:matrix.orgfgazHi all o/ I recently ordered a Star64 so here I am18:32:04
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ& changed their profile picture.18:33:13
27 May 2023
@snektron:matrix.orgSnektron misuzu: when you enter nvme scan in the u-boot console does it come up with anything? 00:10:10
@snektron:matrix.orgSnektronAlso, 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 memory00:11:53
@withoutwithin:matrix.org@withoutwithin:matrix.orgstarting to think that my bell router DHCP server is cursed somehwo02:07:49
@withoutwithin:matrix.org@withoutwithin:matrix.orgoh wait what02:08:12
@withoutwithin:matrix.org@withoutwithin:matrix.orgthe other network port works02:08:16
@withoutwithin:matrix.org@withoutwithin:matrix.orglet's gooooo02:08:18
@withoutwithin:matrix.org@withoutwithin:matrix.orgimage.png
Download image.png
02:10:11
@colemickens:matrix.org@colemickens:matrix.orgHi, 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:matrix.org@colemickens:matrix.org 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:matrix.org@colemickens:matrix.org(aside: it strikes me as funny that I can cross-compile sway and mpv, but not bash or zellij :P)05:24:20
@colemickens:matrix.org@colemickens:matrix.orgalso 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:matrix.org@colemickens:matrix.orgalso 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:matrix.org@trofi:matrix.org Locally you should be able to build bootstrapTools with pkgs/stdenv/linux/make-bootstrap-tools-cross.nix. 07:31:45
@trofi:matrix.org@trofi:matrix.org 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
@qyliss:fairydust.spaceAlyssa Rosscolemickens: you shouldn't need the bootstrap tools to cross compile08:21:40
@qyliss:fairydust.spaceAlyssa Rosshow are you trying to do the cross compile?08:21:46
@colemickens:matrix.org@colemickens:matrix.orgI am currently looking at helix's flake.nix and zellij's in this repo: https://github.com/a-kenji/zellij-nix08:27:56
@colemickens:matrix.org@colemickens:matrix.orgafaict, zellij has only openssl and pkg-config as nativeBuildInputs, yet, helix cross-compiles to riscv64-linux, while zellij does not08:28:19
@colemickens:matrix.org@colemickens:matrix.orgthey both seem to use rust-overlay, though helix uses nci->rust-overlay08:28:39
@a-kenji:matrix.orgkenji
In reply to @colemickens:matrix.org
I am currently looking at helix's flake.nix and zellij's in this repo: https://github.com/a-kenji/zellij-nix
I'll reply in the issue soon, trying to get the cross compilation building atm.
08:56:11
@misuzu:matrix.orgmisuzu
In reply to @snektron:matrix.org
misuzu: when you enter nvme scan in the u-boot console does it come up with anything?
You need to run pci probe or something first
10:12:42
@misuzu:matrix.orgmisuzu
In reply to @snektron:matrix.org
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
What do you mean by "fix up"? I have the 8 GB version
10:14:15
@snektron:matrix.orgSnektron
In reply to @misuzu:matrix.org
What do you mean by "fix up"? I have the 8 GB version
The device tree node, at least on the version that I have its hardcoded to 4GB even if i have the 8GB version
10:18:33
@snektron:matrix.orgSnektronSo free -h reports 4GB10:19:00
@misuzu:matrix.orgmisuzu
$ free -h
               total        used        free      shared  buff/cache   available
Mem:           7.8Gi       194Mi       6.2Gi       4.0Mi       1.4Gi       7.4Gi
Swap:          3.9Gi       1.0Mi       3.9Gi
10:20:14

Show newer messages


Back to Room ListRoom Version: 6