!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

676 Members
Rust153 Servers

Load older messages


SenderMessageTime
1 Aug 2025
@dramforever:matrix.orgdramforeverafaict12:37:05
@emilazy:matrix.orgemily which is like "zImage for ARM, bzImage for x86, god knows for everything else" 12:37:06
@emilazy:matrix.orgemilythankfully our bespoke Lemote config already fails to build so I'm removing it12:37:25
@emilazy:matrix.orgemilybut you can override the defconfig12:37:32
@dramforever:matrix.orgdramforever so does it really matter what make target our unusable generic mips kernel is? 12:38:12
@dramforever:matrix.orgdramforeverwell at least for riscv it's Image unless the generic compressed kernel has become a thing since last time i checked12:38:55
@emilazy:matrix.orgemilyI could just break it but Alyssa would get mad at me. because we do nominally have some kind of MIPS conditionals and stuff in there already12:38:59
@emilazy:matrix.orgemily we use vmlinuz.efi for RISC-V and LoongArch64 12:39:19
@emilazy:matrix.orgemilythankfully12:39:21
@dramforever:matrix.orgdramforeverin linux, you mean?12:39:23
@emilazy:matrix.orgemily so there is just no legacy there 12:39:27
@dramforever:matrix.orgdramforeveror in nixpkgs in general12:39:34
@emilazy:matrix.orgemilyin our Linux kernel packaging machinery yes12:39:37
@emilazy:matrix.orgemily some of which is in lib.systems 12:39:39
@dramforever:matrix.orgdramforeveroh12:39:44
@emilazy:matrix.orgemilybecause someone built something for Lemote in like 2014 or whatever and let it rot12:39:57
@dramforever:matrix.orgdramforeverhuh, so vmlinuz.efi did happen12:39:58
@emilazy:matrix.orgemilyyes, it's good12:40:13
@emilazy:matrix.orgemilypart of my goal is to make AArch64 use it by default when you use a UEFI bootloader12:40:19
@dramforever:matrix.orgdramforeverno more megabytes of holes in the image now12:40:40
@emilazy:matrix.orgemily right now we use Image which is UEFI stub but uncompressed kernel for compatibility with not-UEFI, because e.g. U-Boot can't decode the UEFI ZBOOT format to decompress a kernel by itself 12:40:41
@emilazy:matrix.orgemily so split outputs mean we build the kernel once, pack multiple image formats in different outputs, and you can get either vmlinuz.efi or zImage out based on the output you select, which bootloader modules can do 12:41:08
@emilazy:matrix.orgemilyso we get compressed kernels and UEFI-by-default without breaking anyone's boot (hopefully (probably))12:41:23
@dramforever:matrix.orgdramforevernoice12:41:34
@emilazy:matrix.orgemilythe actual solution is for someone to just implement reading the UEFI ZBOOT header in U-Boot. the actual solution is for everyone to just use UEFI12:41:51
@emilazy:matrix.orgemilybut I take what I can get12:41:54
@emilazy:matrix.orgemily(x86 doesn't use it btw)12:43:30
@dramforever:matrix.orgdramforeveryeah bzImage will be here forever12:43:54
@dramforever:matrix.orgdramforeverready to ask you to use a bootloader12:44:09
@emilazy:matrix.orgemily the reason I am not just using the actual target names is because .uefi should be bzImage or vmlinuz.efi and .legacy should be bzImage or zImage or etc. 12:44:26

Show newer messages


Back to Room ListRoom Version: 6