From nobody Sat Oct 19 19:36:26 2024 X-Original-To: freebsd-arch@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XWBf22VzMz5Yy0t for ; Sat, 19 Oct 2024 19:36:42 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XWBf037D6z48j3 for ; Sat, 19 Oct 2024 19:36:40 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20230601.gappssmtp.com header.s=20230601 header.b=SoQZ6s2a; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::433) smtp.mailfrom=wlosh@bsdimp.com; dmarc=none Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-71e49ef3bb9so2325644b3a.1 for ; Sat, 19 Oct 2024 12:36:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1729366598; x=1729971398; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=QcUIbYrgu8rCBR3TZBmLbU6ccTeQdtcSfhQPNE7K604=; b=SoQZ6s2agnU7YdA0J/SUslc4+nhebKS23JpY92wXXVs7CRAUEqA1gPJ+Cfk6+dwayx nJTZ2i+DlLwOEy4O8T6MlO9risS6qso696C4L4QIqG0ELpbEVsyqUVE3DRQ8BFro4XMR hNsW9txiJT/ggjah+P6uQHji5FtuD0Gf3JB6UMWYnG5ztlDsq49dde6tQ787ynQ29YhO 0pVYnPLCm1vuzILSC9/S3WPEWCLMTKSIuWIQ7i5jq7Qxl+UZyio9LwG4e46eKkiheSsh qwF2edVI+1S3PgkfBtpYcYrSED6XZFz7seydYJNsrMDDm/u9l1ejvJwjZUSroz+S4D+f EaKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729366598; x=1729971398; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=QcUIbYrgu8rCBR3TZBmLbU6ccTeQdtcSfhQPNE7K604=; b=nbMf3+fWLwkKmHvaqshUHjd99qCg0sJpwd1yDVEysFyS608xvyH3JcmAqo3XhaHQaY i348TpVZ25PrsHYsojelNoMeHs/tEQMUvmU8jWO9f/2vff4W6JPzt2x2bFsAWSU9Ir07 MuCCEWfR2dP9mk1wMJYEdQCeEvkI3dwDqE6o49P3igOIcg97Zn4J/aS3j/QyOBGXI6S3 vZ6Q5ue4s37jXkI8fi/qkWgkBUDv0bZhMSiJCAtlZ6f7CDjCEpjO/14r5RO4RPGCAcYk ZdVGccn0BhgcFtIDZWs+jmrX2s8guT2eRzYMoTLrZDe9pmNYY9r8D9L8+rbTDsyidv38 IO9Q== X-Gm-Message-State: AOJu0YykPpKmsqUc76dubzwaQFtsHkUrunplFp0+Rqi3SCe8Op3db3em KmmCMOTlIvr0gvh3EVJgLKz6mEoUoBR6L5U4k7hN1C1c6yzadsSw/HM5P+m7qykIK0pyEXMTZpv qlwL7PiIqRlqB7NAZjKHFgoDXHdLBFMCMr5nbE8MK6+PEGjH32TdWxw== X-Google-Smtp-Source: AGHT+IE7BvKfoe1Q/hYpFTpx/stVWCUSa9VCAov8Vurf1U1MBQQfiMoC+LZxWqtwF4fxTAgUWCz7DV6uvLAF8W7zDsU= X-Received: by 2002:a05:6a00:2f96:b0:71e:4798:8753 with SMTP id d2e1a72fcca58-71e8fd619d3mr15999028b3a.6.1729366597654; Sat, 19 Oct 2024 12:36:37 -0700 (PDT) List-Id: Discussion related to FreeBSD architecture List-Archive: https://lists.freebsd.org/archives/freebsd-arch List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arch@FreeBSD.org MIME-Version: 1.0 From: Warner Losh Date: Sat, 19 Oct 2024 13:36:26 -0600 Message-ID: Subject: BIOS back to Text Only by default To: "freebsd-arch@freebsd.org" Content-Type: multipart/alternative; boundary="000000000000bd7d7b0624d9890a" X-Spamd-Result: default: False [-3.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20230601.gappssmtp.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; R_SPF_NA(0.00)[no SPF record]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MISSING_XM_UA(0.00)[]; DMARC_NA(0.00)[bsdimp.com]; MLMMJ_DEST(0.00)[freebsd-arch@freebsd.org]; RCVD_TLS_LAST(0.00)[]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; FROM_HAS_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::433:from]; TO_DN_EQ_ADDR_ALL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arch@freebsd.org]; DKIM_TRACE(0.00)[bsdimp-com.20230601.gappssmtp.com:+] X-Rspamd-Queue-Id: 4XWBf037D6z48j3 X-Spamd-Bar: -- --000000000000bd7d7b0624d9890a Content-Type: text/plain; charset="UTF-8" Greetings, A while ago, I removed GZIP and BZIP2 support from the boot loader by default to get it to fit into the space available for BIOS booting with the lua interpreter for PXE booting. This made it into the 13.4 Release. Some downstream distributions started needing to build their own loader for this release. Their MFS setup relied on either gzip or bzip2 files working and my changes broke that. After talking with people at places like EuroBSDcon, irc and Discord, I think I'll take Mark Johnson's idea of moving back to a Text-only boot loader for BIOS by default, and putting these two options back into the loader. When we do this, the loader shrinks 20k net (-40k for graphical loader, +20k for decompression). My thoughts are that you can boot either with the graphical or text-only loader. There's no real functional difference, apart from aesthetics. While they are nice to have, when space is tight, we should bias towards keeping functional things over keeping things that are just pretty when we need to make a choice. EFI booting remains unchanged. I'd like to get this in over the next week or so. I'm soliciting comments on this idea. I've created https://reviews.freebsd.org/D47203 for this change. I've not regenerated the options docs yet, but I'll do that as well. Comments? Warner --000000000000bd7d7b0624d9890a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Greetings,

A while ago, I removed GZIP = and BZIP2 support from the boot loader by default to get it to fit into the= space available for BIOS booting with the lua interpreter for PXE booting.=

This made it into the 13.4 Release. Some downstre= am distributions started needing to build their own loader for this release= . Their MFS setup relied on either gzip or bzip2 files working and my chang= es broke that.

After talking with people at places= like EuroBSDcon, irc and Discord, I think I'll take Mark Johnson's= idea of moving back to a Text-only boot loader=C2=A0for BIOS by default, a= nd putting these two options back into the loader.=C2=A0 When we do this, t= he loader shrinks 20k net (-40k for graphical loader,=C2=A0+20k for decompr= ession).

My thoughts are that you can boot either = with the graphical or text-only loader. There's no real functional diff= erence, apart from aesthetics. While they are nice to have, when space is t= ight, we should bias towards keeping functional things over keeping things = that are just pretty when we need to make a choice.

EFI booting remains unchanged.

I'd like to g= et this in over the next week or so. I'm soliciting comments on this id= ea. I've created https:/= /reviews.freebsd.org/D47203 for this change. I've not regenerated= =C2=A0the options docs yet, but I'll do that as well.

Comments?

Warner
--000000000000bd7d7b0624d9890a--