!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

324 Members
101 Servers

Load older messages


SenderMessageTime
27 Sep 2023
@linear:kity.wtf@linear:kity.wtfi have a power9 machine, i don't run NixOS on it. i can test things, but i also don't deal with the firmware stuff much, and i don't know if this just like, produces the image file i can pass to openbmc19:13:40
@m00dy:matrix.orgmoodyah okay, thank you. I haven't gotten hardware yet19:14:33
@linear:kity.wtf@linear:kity.wtfit would be very nice to eventually have the entire firmware for this board as something i can just get nix to build for me19:15:37
@m00dy:matrix.orgmoodywhat machine do you have specifically?19:15:51
@linear:kity.wtf@linear:kity.wtfRaptorCS Blackbird19:16:01
@m00dy:matrix.orgmoodyhttps://git.raptorcs.com/git/blackbird-skiboot/ This is their verstion of skiboot for the blackbird I think19:16:33
@linear:kity.wtf@linear:kity.wtfyes, i know19:16:43
@linear:kity.wtf@linear:kity.wtfi've tried to put the firmware together myself on other distros and not succeeded, and i need modified firmware because i'm using a non-officially-supported cpu so need custom WOF tables19:16:50
@linear:kity.wtf@linear:kity.wtfit does not seem to build at all except on whatever version of debian they're using, which i haven't felt like installing19:17:08
@m00dy:matrix.orgmoodyah okay19:18:45
@m00dy:matrix.orgmoody
In reply to @m00dy:matrix.org
https://git.raptorcs.com/git/blackbird-skiboot/ This is their verstion of skiboot for the blackbird I think
fwiw I have this building using nixpkgs right now
20:08:50
@m00dy:matrix.orgmoodyas well as the talos one20:08:58
@m00dy:matrix.orgmoody
In reply to @m00dy:matrix.org
https://github.com/NixOS/nixpkgs/pull/257699 I packaged up skiboot. If this is useful to folks
I've updated the pr to include those targets
21:01:57
28 Sep 2023
@m00dy:matrix.orgmoodyI now have access to an IBM AC922 for other porting work but could also test nix stuff as well02:59:55
@opna2608:matrix.orgPuna
In reply to @m00dy:matrix.org
how can I help test these?
if you have the hardware + a linux and nix installation then you can checkout the branch and try building i.e. stdenv or hello from it. if you don't have the hardware and/or setup then you can add boot.binfmt.emulatedSystems = [ "powerpc64-linux" ] to the nixos config of some other system and test stdenv or hello with --argstr localSystem powerpc64-linux
06:03:56
@opna2608:matrix.orgPunathe latter doesn't really work fully due to emulation-related test failures, but it gets very far along06:05:59
@m00dy:matrix.orgmoody
In reply to @opna2608:matrix.org
if you have the hardware + a linux and nix installation then you can checkout the branch and try building i.e. stdenv or hello from it. if you don't have the hardware and/or setup then you can add boot.binfmt.emulatedSystems = [ "powerpc64-linux" ] to the nixos config of some other system and test stdenv or hello with --argstr localSystem powerpc64-linux
is there something I can get booted up in qemu-system-ppc64? I have access to a machine but it's running ppc64le at the moment
14:11:48
@m00dy:matrix.orgmoodyif nothing else I can give the binfmt stuff a try14:56:14
@opna2608:matrix.orgPunahmm iunno, not well versed in that stuff… my hardware only supports big-endian so i'm just running this on top of ppc64 debian15:51:18
@m00dy:matrix.orgmoodygot it, thanks. I'll see what I can get working here15:56:35
@opna2608:matrix.orgPuna
In reply to @opna2608:matrix.org
the latter doesn't really work fully due to emulation-related test failures, but it gets very far along

for the sake of mentioning the exact failure: it will die on diffutils tests:

FAIL: test-sigsegv-catch-stackoverflow1
=======================================

qemu: uncaught target signal 11 (Segmentation fault) - core dumped
FAIL test-sigsegv-catch-stackoverflow1 (exit status: 139)

works fine on hardware though

16:02:10
@YoshiRulz:matrix.org@YoshiRulz:matrix.org left the room.18:18:13
29 Sep 2023
@fgaz:matrix.orgfgaz Try asking in #riscv:nixos.org. I think the vf2 has the best support at the moment 07:35:54
@fgaz:matrix.orgfgaz * Try asking in #riscv:nixos.org. I think the vf2 has the best support at the moment 07:36:18
@lotte:chir.rs@lotte:chir.rs changed their profile picture.17:15:30
3 Oct 2023
@pederbs:pvv.ntnu.nopbsds changed their profile picture.21:04:53
4 Oct 2023
@pederbs:pvv.ntnu.nopbsds changed their profile picture.22:20:41
6 Oct 2023
@ultra:beeper.comAlex S changed their display name from Alex S to ultra (NixOS integrated with PackageKit wen).16:30:06
8 Oct 2023
@yuka:yuka.devYuka (she/her)
    pythonAbiName =
      # python's build doesn't support every gnu<extension>, and doesn't
      # differentiate between musl and glibc, so we list those supported in
      # here:
      # https://github.com/python/cpython/blob/e488e300f5c01289c10906c2e53a8e43d6de32d8/configure.ac#L724
      # Note: this is an approximation, as it doesn't take into account the CPU
      # family, or the nixpkgs abi naming conventions.
      if elem gnuAbiName [
        "gnux32"
        "gnueabihf"
        "gnueabi"
        "gnuabin32"
        "gnuabi64"
        "gnuspe"
      ]
      then gnuAbiName
      else "gnu";
08:48:37
@yuka:yuka.devYuka (she/her) Minijackson 08:49:27

Show newer messages


Back to Room ListRoom Version: 6