| 4 Jun 2023 |
artemis | u-boot also emulates a subset of pxelinux which i have used before. see https://artemis.sh/2022/05/16/everfrees-armferno.html#third-circle---pxeboot but that depends on u-boot being able to work with your network chip. no idea if it supports the vf2 networking. i am sure there are better ways but thats the one ive done before | 08:14:34 |
artemis | * u-boot also emulates a subset of pxelinux which i have used before for netbooting. see https://artemis.sh/2022/05/16/everfrees-armferno.html#third-circle---pxeboot but that depends on u-boot being able to work with your network chip. no idea if it supports the vf2 networking. i am sure there are better ways but thats the one ive done before | 08:15:23 |
artemis | ah i see reading scrollback more that you were trying this | 08:18:26 |
[0x4A6F] | In reply to @raitobezarius:matrix.org syslinux seems to be x86_64-linux only? No, I also stumbled on syslinux while trying to go nixos-anywhere on RISC-V. | 08:41:43 |
[0x4A6F] | In reply to @raitobezarius:matrix.org syslinux seems to be x86_64-linux only? * No, I also stumbled on syslinux while trying to work on nixos-anywhere on RISC-V. | 08:44:32 |
misuzu | In reply to @artemis:arty.chat anyone messed around with building 32bit pi images on 23.05? running into this http://dpaste.com/2LP59KW45 I've native armv7l-linux images https://hydra.armv7l.xyz/jobset/nixpkgs/nixos-unstable | 08:48:25 |
artemis | oh cool htanks | 08:49:06 |
artemis | * oh cool thanks | 08:49:10 |
misuzu | I've only tested them with u-boot (uefi) | 08:49:58 |
artemis | i am using a raspberry pi 2 | 09:21:54 |
artemis | so i am stuck with the accursed raspi boot process | 09:22:01 |
| Alex joined the room. | 10:09:06 |
fgaz | In reply to @fgaz:matrix.org Nix got a lot harder to compile than last time I tried. Lots of new dependencies with strict version requirements Including mdbook (-> rustc!!) for docs generation. Fortunately there's a configure flag to disable it | 10:43:42 |
fgaz | nix: bootstrapped \o/
Time to build a NixOS image! | 11:13:42 |
fgaz | By the way, is there a community riscv cache? | 11:14:24 |
raitobezarius | No but it'd be nice to organize ourselves to build it :-) | 11:26:30 |
raitobezarius | imagonna use https://github.com/NixOS/nixpkgs/pull/235918/ to bring ethernet to my uboot's riscv branch | 12:11:00 |
raitobezarius | Error: ethernet@16040000 address not set.
clk gmac1_axi already disabled
clk gmac1_ahb already disabled
clk gmac1_ptp already disabled
clk gmac1_tx_inv already disabled
clk gmac1_gtxc already disabled
| 12:35:16 |
raitobezarius | ugh the eeprom thing doesn't seem to work | 12:35:22 |
raitobezarius | urgh I realized pixiecore uses ipxe which is not ported to riscv yet :D | 12:45:14 |
fgaz | Aaand I can't build anything https://github.com/NixOS/nixpkgs/issues/211120 | 14:39:01 |
fgaz | * Aaand I can't build anything. I get the same error as https://github.com/NixOS/nixpkgs/issues/211120 | 14:40:02 |
fgaz | Did anyone else run into this issue? Or do you all cross compile? | 14:40:30 |
fgaz | Huh. I just patched those shebangs and everything works now. This doesn't seem specific to riscv so I wonder how stdenv is bootstrapped for other archs. No sandbox? | 17:25:03 |
fgaz | * Huh. I just patched those shebangs and everything works now. This doesn't seem specific to riscv so I wonder how stdenv is bootstrapped for other archs. No sandbox? Or maybe riscv bootstrap-tools is broken? | 17:28:17 |
| @federicodschonborn:matrix.org changed their profile picture. | 17:39:57 |
fgaz | https://nixos.org/manual/nix/stable/command-ref/conf-file.html?highlight=build-chroot-dirs#conf-sandbox-paths
Depending on how Nix was built, the default value for this option may be empty or provide /bin/sh as a bind-mount of bash.
W H Y | 18:01:13 |
| @ners:nixos.dev joined the room. | 18:01:26 |
Alyssa Ross | I don't think that's even accurate | 18:04:52 |
Alyssa Ross | it's never bash | 18:04:55 |