!RjBlCIbsLDzHBIzmaA:nixos.org

#nixos-on-arm:nixos.org

1025 Members
NixOS on ARM — Support: AArch64 is supported and cached; armv6 and armv7 are best effort, without any official cache. — Documentation: https://wiki.nixos.org/wiki/NixOS_on_ARM — Community build box: https://github.com/nix-community/aarch64-build-box → build box status: https://status.nixos.org/grafana/d/5LANB9pZk/per-instance-metrics?orgId=1&refresh=30s&var-instance=147.75.77.190 —247 Servers

Load older messages


SenderMessageTime
30 May 2025
@elvishjerricco:matrix.orgElvishJerricco basically build the tfa with "BOOT_DEVICE=sdmmc", write the resulting bl2.img to a partition with the LegacyBIOSBootable GPT flag set, and write the resulting fip.bin to a partition with the GPT label fip 16:59:00
@elvishjerricco:matrix.orgElvishJerricco emily: I built the image with repart but it required a patch to repart because libfdisk is dumb. https://gist.github.com/ElvishJerricco/4b005a7235138225cead7205b72570f1 17:04:36
@emilazy:matrix.orgemilywait the ROM surely doesn't parse GPT though right?17:05:18
@emilazy:matrix.orgemilydoes it need to be at a specific offset or something?17:05:25
@elvishjerricco:matrix.orgElvishJerriccoit does17:05:26
@elvishjerricco:matrix.orgElvishJerriccoit parses GPT17:05:32
@emilazy:matrix.orgemilywow17:05:34
@emilazy:matrix.orgemilyI don't know how to feel about that17:05:56
@emilazy:matrix.orgemilyso I guess you just flashed this image and started using it without a separate install?17:06:53
@emilazy:matrix.orgemilyor did you use it to boot the installer to RAM?17:07:06
@elvishjerricco:matrix.orgElvishJerriccoI did not use it to boot a nixos installer. I just started using it once that image booted.17:08:00
@emilazy:matrix.orgemilyright17:08:13
@elvishjerricco:matrix.orgElvishJerricco pretty quickly wiped the ESP and just started doing nixos-rebuild --target-host to it though 17:08:22
@elvishjerricco:matrix.orgElvishJerriccooh, forgot to mention I cross compile the entire system17:08:59
@emilazy:matrix.orgemilywait, what does wiping the ESP have to do with that?17:12:48
@elvishjerricco:matrix.orgElvishJerricconot much; e.g. the UKI should be deleted if nixos is doing its normal systemd-boot stuff17:14:37
@emilazy:matrix.orgemilyright17:14:53
@emilazy:matrix.orgemilywhy is the UKI there to begin with?17:15:00
@elvishjerricco:matrix.orgElvishJerriccowell that's how the image boots17:15:08
@elvishjerricco:matrix.orgElvishJerricco it's a lot easier to just plunk a UKI in the image than it is to perfectly replicate what systemd-boot-builder.py would have done 17:15:35
@emilazy:matrix.orgemilyoh, ew17:15:48
@emilazy:matrix.orgemily do we really have no good way to install systemd-boot to an image? 17:15:58
@elvishjerricco:matrix.orgElvishJerriccono17:16:05
@elvishjerricco:matrix.orgElvishJerricco (working on it) 17:16:10
@elvishjerricco:matrix.orgElvishJerricco I mean you can do the make-disk-image.nix thing but that requires booting a VM to run systemd-boot-builder in the image 17:16:39
@elvishjerricco:matrix.orgElvishJerriccoI'm working on a more proper "give systemd-boot-builder a root dir argument" solution because I want it for the ISO anyway17:17:08
@emilazy:matrix.orgemilydo you just repart all your installations instead of using the installer these days? :)17:17:31
@emilazy:matrix.orgemilyI guess this would have been from when booting the ISO would have been hopeless17:17:50
@elvishjerricco:matrix.orgElvishJerriccodepends on if it already has UEFI on it tbh :P17:17:54
@emilazy:matrix.orgemily K900: do you just have a full-size M.2 in yours? 17:21:41

Show newer messages


Back to Room ListRoom Version: 6