| 27 Sep 2023 |
@janik0:matrix.org | nope he is not :( | 15:45:02 |
Puna | speaking of power, anyone here who could give this a look? not mergable until i can point the urls to tarballs.nixos.org, but i'm sure someone else confirming that they work would be beneficial to getting them pushed onto there: https://github.com/NixOS/nixpkgs/pull/255451 | 15:53:06 |
| @jkachmar:matrix.org left the room. | 17:16:20 |
moody | In reply to @opna2608:matrix.org speaking of power, anyone here who could give this a look? not mergable until i can point the urls to tarballs.nixos.org, but i'm sure someone else confirming that they work would be beneficial to getting them pushed onto there: https://github.com/NixOS/nixpkgs/pull/255451 how can I help test these? | 19:03:09 |
moody | https://github.com/NixOS/nixpkgs/pull/257699 I packaged up skiboot as well. If this is useful to folks | 19:04:47 |
moody | * https://github.com/NixOS/nixpkgs/pull/257699 I packaged up skiboot. If this is useful to folks | 19:04:58 |
ash (it/its) 🏳️⚧️ | In reply to@m00dy:matrix.org https://github.com/NixOS/nixpkgs/pull/257699 I packaged up skiboot. If this is useful to folks it might be useful, but how would this be deployed on a real power9 machine? does it need a module? | 19:08:50 |
moody | To use these you would need to flash them to the system, most vendors like raptor have their own forks of skiboot. This implementation happens to run within qemu. I am interested in using the environment to test kernel bring up | 19:12:13 |
@linear:kity.wtf | you do not need to flash skiboot to the system to use it | 19:12:26 |
@linear:kity.wtf | in fact, that is not even recommended | 19:12:40 |
@linear:kity.wtf | until you know it's working well | 19:12:48 |
@linear:kity.wtf | i 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 openbmc | 19:13:40 |
moody | ah okay, thank you. I haven't gotten hardware yet | 19:14:33 |
@linear:kity.wtf | it would be very nice to eventually have the entire firmware for this board as something i can just get nix to build for me | 19:15:37 |
moody | what machine do you have specifically? | 19:15:51 |
@linear:kity.wtf | RaptorCS Blackbird | 19:16:01 |
moody | https://git.raptorcs.com/git/blackbird-skiboot/ This is their verstion of skiboot for the blackbird I think | 19:16:33 |
@linear:kity.wtf | yes, i know | 19:16:43 |
@linear:kity.wtf | i'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 tables | 19:16:50 |
@linear:kity.wtf | it does not seem to build at all except on whatever version of debian they're using, which i haven't felt like installing | 19:17:08 |
moody | ah okay | 19:18:45 |
moody | 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 |
moody | as well as the talos one | 20:08:58 |
moody | 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 |
moody | I now have access to an IBM AC922 for other porting work but could also test nix stuff as well | 02:59:55 |
Puna | 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 |
Puna | the latter doesn't really work fully due to emulation-related test failures, but it gets very far along | 06:05:59 |
moody | 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 |
moody | if nothing else I can give the binfmt stuff a try | 14:56:14 |
Puna | hmm iunno, not well versed in that stuff… my hardware only supports big-endian so i'm just running this on top of ppc64 debian | 15:51:18 |