Nix Cross Compiling | 580 Members | |
| 129 Servers |
| Sender | Message | Time |
|---|---|---|
| 15 May 2026 | ||
| Hm I can dig up some stuff I used for stm32 cross with c/rust | 17:05:18 | |
| specifically, I was trying to use clang to build for the N64 (it has a MIPS64 CPU) just to see how doable that was, but ran into that weird issue | 17:06:15 | |
| gave up on that, and just went for gcc | 17:06:44 | |
| wanted to add extra flags to get the libgcc also built with -mfix4300, but maybe it's fine without | 17:28:57 | |
| 26 May 2026 | ||
| 11:41:05 | ||
| 29 May 2026 | ||
| 07:06:40 | ||
| 14:07:25 | ||
| I see in scrollback some people working on PowerMac G5 support 👋. I recently booted a cross-compiled NixOS installer on a PowerMac11,2 that I recently found at a junk store. Just submitted a quick fix for the cross kernel build. | 17:50:14 | |
| 31 May 2026 | ||
| Mine is having flaky ram slots. Will burn the apple test cd to test it | 07:31:17 | |
| It just hangs, but after wiggling the sticks the problem goes away for a while | 07:32:04 | |
| I just returned from the junk shop with a G4 PowerMac3,6. This is probably going to be more interesting to get going. | 08:24:29 | |
In reply to @stas:mainframe.lvTry cleaning the contacts with isopropyl | 09:29:28 | |
| Wiggling the sticks sounds like it's rubbing away corrosion(or similar) | 09:30:25 | |
| I tried with a more proper contact cleaner, need to retry some day | 12:35:02 | |
| 1 Jun 2026 | ||
| LMK when you get to the point where you'd try to make an installer ISO. I'm interested to know how booting differs on that hardware compared to my G5. | 14:22:51 | |
For my G5 I've been assembling a symlink tree of: grub image, kernel, vmlinux, squashfs, and just scp-ing it directly to an Apple Partition Map / HFS+ volume on a usb stick and booting over usb with the regular probe-usb boot usb3/disk:3,\grub\grub.img. I was going to try that again once everything builds (libressl is sad). | 15:04:37 | |
* For my G5 I've been assembling a symlink tree of: grub image, kernel, initrd, squashfs, and just scp-ing it directly to an Apple Partition Map / HFS+ volume on a usb stick and booting over usb with the regular probe-usb boot usb3/disk:3,\grub\grub.img. I was going to try that again once everything builds (libressl is sad). | 15:29:29 | |
https://github.com/NixOS/nixpkgs/pull/486572 and https://github.com/NixOS/nixpkgs/pull/488831 should allow you to build an ISO via nixos module stuff, write it to a USB / burn to a disc, and either boot it from the mac's multiboot menu thingy or via the tbxi entry point in openfirmware | 15:56:41 | |
| https://github.com/OPNA2608/nixpkgs/tree/wip/ppc64-installer is a nixpkgs tree where i collect all such fixes/additions that i have submitted, and rebase them on nixos-unstable every once in awhile (after checking that everything still builds and boots). the
YMMV when doing cross | 16:01:39 | |
| (this mac stuff has come up in #exotic:nixos.org every once in awhile, if you'd like to take a look) | 16:04:17 | |
| 2 Jun 2026 | ||
| 07:45:26 | ||
| I have grub and the kernel and initrd loading from a usb stick, but no usb so it's not booting and not responding to the keyboard. I guess I'm missing the usb driver. | 14:20:25 | |
| 3 Jun 2026 | ||
| upon closer inspection, udevd and journald are segfaulting | 11:17:12 | |
| turning off systemd in init was enough to boot to all the way to a shell, but I'm no further ahead. keyboard input produces squares, and networking isn't up so I can't ssh in either. | 16:26:30 | |
| 20:04:00 | ||
| 4 Jun 2026 | ||
| 04:23:45 | ||
| 16:40:47 | ||
| 5 Jun 2026 | ||
| 12:07:11 | ||
| 14:17:36 | ||
| 14:35:05 | ||