Commit Graph

130 Commits

Author SHA1 Message Date
Xi Ruoyao
ff1799e0e4
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2025-06-05 12:38:54 +08:00
Bruce Dubbs
8145eff136 Cleanup after 12.3 release. 2025-03-07 14:52:09 -06:00
Xi Ruoyao
20ef16e4f5
arm64: kernel: Update kernel config
With DRM panic added to trunk, now we only need 3 additional entries for
EFI boot, thus we can just add them and remove the reference to BLFS
UEFI kernel configuration.
2025-02-18 23:54:51 +08:00
Xi Ruoyao
c68e63ff03
arm64: kernel: Remove references to VESA
We don't have VESA.

(cherry picked from commit c18b8a7cc0)
2025-02-18 23:50:57 +08:00
Xi Ruoyao
f080747dce
arm64: grub: Remove gfxpayload setting
We don't have VESA.

(cherry picked from commit 10dd2f4b51)
2025-02-18 23:50:51 +08:00
Xi Ruoyao
6a86cb1052
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2025-02-18 20:56:06 +08:00
Xi Ruoyao
36f2a2dd53
kernel: Regenerate configuration with Linux 6.13.1 2025-02-14 04:11:11 +08:00
Xi Ruoyao
d095cba8b6
kernel: Remove outdated note not to update kernel API headers
We now consider upgrading kernel API headers safe.
2024-12-13 12:48:43 +08:00
Xi Ruoyao
71df0cfa0f
kernel: Note that make mrproper shouldn't be run for rebuild 2024-12-13 12:47:17 +08:00
Xi Ruoyao
79648bf770
kernel: Fix a typo (#5606) 2024-12-05 21:47:05 +08:00
Xi Ruoyao
5ee35073fb
drm-panic: kernel: Explain DRM panic settings 2024-12-01 18:54:14 +08:00
Xi Ruoyao
2349341e3e
drm-panic: kernel: Enable DRM_PANIC
Since the previous commit, we've ensured the kernel displaying via DRM
even in the early stage.  Now enable DRM_PANIC so the kernel will
correctly show the last lines of the kernel messages in case a panic
happens.

Tested with an incorrect root= line in 3 configurations:

- A QEMU VM booted via BIOS
- A real machine booted via BIOS
- A real machine booted via UEFI

And in all configurations the panic message is correctly dumped.
In 1024x768 we can get 48 lines (twice of 24 lines in VGA console).
2024-12-01 18:36:45 +08:00
Xi Ruoyao
33c17d128b
drm-panic: grub: Set up the VESA framebuffer for the kernel
In the previous commit we've enabled the kernel to use the SimpleDRM
driver on the VESA framebuffer.  Now provide the VESA framebuffer to the
kernel.
2024-12-01 18:35:55 +08:00
Xi Ruoyao
fdf21dccba
drm-panic: kernel: Enable SimpleDRM
Currently on a LFS system booted via legacy BIOS (intead of UEFI), the
users can make two different configurations:

1. The DRM driver for the GPU is built as a module.  Then before the
   module is loaded (i.e. the root fs is properly mounted) the kernel
   messages are displayed via the VGA console.
2. The DRM driver for the GPU is built into the kernel image.  Then the
   kernel messages are displayed via the DRM-emulated framebuffer
   console since a very early stage (before the root fs is properly
   mounted).

When the system is booted via UEFI, we use SimpleDRM on the EFI
framebuffer for displaying kernel messages, thus it's always the case 2.

Both are not good for diagnostic in case the root fs cannot be mounted
properly (it's very frequent on lfs-support):

- With 1 the VGA console can only fit 80x24 characters, so the relevent
  information is often flushed away.
- With 2 the panic message is often displayed improperly when a DRM
  driver is running.

The "DRM panic" feature introduced since Linux 6.11 (but it'll only
become usable for LFS since Linux 6.12) can fix the case 2, while case
1 just cannot be fixed.  So start to make LFS booted via legacy BIOS
to use method 2 now, then we can enable DRM panic and fix this
long-standing issue.
2024-12-01 18:35:55 +08:00
Bruce Dubbs
8a0ae36a91 Fix extra spacing around some xml tags. 2024-10-25 11:37:55 -05:00
Xi Ruoyao
81dc30464c
arm64: grub: Fix hard coded "i386-pc" for grub module path 2024-09-04 00:23:48 +08:00
Xi Ruoyao
ffc94a57d4
arm64: grub: Remove insmod efi_uga
UGA is x86 specific and the module does not exist on other UEFI
platforms.

(cherry picked from commit 5f2246f968)
2024-09-04 00:19:46 +08:00
Xi Ruoyao
8467fab6e9
arm64: grub: Don't insmod all_video
Align with the BLFS change to avoid display corruption issue in QEMU.

(cherry picked from commit 7e06dddcf6)
2024-08-25 01:03:30 +08:00
Xi Ruoyao
fccdaa1d4d
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2024-08-18 20:42:43 +08:00
Xi Ruoyao
1e2c41871f
kernel: Really fix missing revision attribute 2024-08-13 16:52:16 +08:00
Thomas Trepl
82711db81d Fix missing attribute 'revision' 2024-08-13 09:16:25 +02:00
Xi Ruoyao
93bffa3abf
Regenerate kernel configuration with Linux 6.10.2 source
Now all DRM drivers are entries in the DRM submenu.
2024-08-09 15:49:05 +08:00
Xi Ruoyao
bdcc868707
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2024-07-01 15:01:53 +08:00
Xi Ruoyao
201aa93863
Move punctuation/comma into quotes for <xref>s
We are using American rule for punctuation/comma vs. quotes.  We've
fixed most cases but not <xref>s.
2024-06-22 11:43:31 +08:00
Xi Ruoyao
8630ec385a
[systemd] Disable RT_GROUP_SCHED
Link: https://github.com/systemd/systemd/issues/13781#issuecomment-549164383
2024-05-30 19:35:35 +08:00
Xi Ruoyao
c6e4dbaee6
arm64: grub: Update references to BLFS
Now BLFS documents how to install only the GRUB components missing in
LFS, take the advantage.

Also if efibootmgr is available, it's easier to just run grub-install
w/o the --removable option instead of manually input some nasty
efibootmgr commands.
2024-05-14 00:19:48 +08:00
Xi Ruoyao
f6548ac6b9
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2024-05-09 01:36:31 +08:00
Xi Ruoyao
2f115238af
kernel: Regenerate kernel config with 6.8.2
No real change.
2024-04-07 21:04:05 +08:00
Xi Ruoyao
0fd7f40bc7
kernel: No longer disable CONFIG_AUDIT for systemd
The incompatibilty between systemd and CONFIG_AUDIT has been fixed since
Linux kernel 3.14, thus there is no reason to disable it on LFS.  And we
are referring to pam_loginuid.so from /etc/pam.d in BLFS, which is
completely useless if CONFIG_AUDIT is disabled.

Link: https://github.com/systemd/systemd/commit/db999e0f923c
2024-03-02 17:38:57 +08:00
Xi Ruoyao
328eb6f3bb
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2024-02-27 23:52:31 +08:00
Bruce Dubbs
4e486a2efc
Typo
(cherry picked from commit 0c06e1e048)
2024-02-27 20:48:40 +08:00
Pierre Labastie
360fdfca9c Fix punctuation in quotes, and quote signs
- period and comma inside quotes
- " to <quote>
- some " to <literal> when it is a var value
2024-01-26 18:28:53 +01:00
Xi Ruoyao
ea93c117f2
treewide: Use <ulink> instead of <filename> for man pages
"gcc(1)" is really not a file name.

Use <ulink> and link to the online man page on
https://man.archlinux.org/ so the user can refer to the man pages more
easily.

The change is done via a sed command and long lines are wrapped
manually.
2024-01-26 01:59:06 +08:00
Xi Ruoyao
d8c2d84f9b
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2024-01-24 20:26:42 +08:00
Xi Ruoyao
24d03240bf
kernel: Regenerate kernel config with 6.7.1
No content change!
2024-01-22 03:21:08 +08:00
Xi Ruoyao
9f894d5ab9
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2024-01-20 02:08:26 +08:00
Xi Ruoyao
d11a0816d4
Some missed ISO-8859-1 -> UTF-8 changes 2024-01-20 02:07:45 +08:00
Pierre Labastie
7152faa5fa Change all xml files to utf-8 encoding 2024-01-18 20:53:23 +01:00
Pierre Labastie
811d59db8b Nitpick on format
- according to our typography, referring to a manual page should be
  <filename>page(x)</filename>
- don't enclose punctuation into quotes
- use <option> for option
2024-01-11 13:52:28 +01:00
Xi Ruoyao
00de2694ce
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2023-12-06 17:29:45 +08:00
Xi Ruoyao
7cce808a46
kernel-config: The hot key for choices is just the first character
Stupid inconsistency...
2023-12-06 17:26:10 +08:00
Xi Ruoyao
31a9142d10
kernel-config: Sync fixes from BLFS 2023-12-06 01:32:48 +08:00
Xi Ruoyao
981b9fa6a1
kernel-config: Drop FB
In Linux 6.6 DRM_FBDEV_EMULATION no longer depends on FB, so we no
longer need to select FB (tested in a QEMU VM).

But if DRM is selected, we must select both DRM_FBDEV_EMULATION and
FRAMEBUFFER_CONSOLE or we'll see only blank screen.  And now
FRAMEBUFFER_CONSOLE is not selected by default, be warned!!
2023-12-05 14:58:29 +08:00
Xi Ruoyao
34774f4986
kernel-config: Regenerate with Linux 6.6.3
Only a trivial change (renaming CONFIG_FB).
2023-12-05 14:34:30 +08:00
Xi Ruoyao
6b6a1b958a
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2023-09-05 22:34:34 +08:00
Bruce Dubbs
3864d235cf Package updates and misc upates/typos.
Update to vim-1837.$
Update to zlib-1.3.$
Update to wheel-0.41.2 (Python Module).$
Update to util-linux-2.39.2.$
Update to sysvinit-3.08.$
Update to shadow-4.14.0.$
Update to Python-3.11.5.$
Update to procps-ng-4.0.4.$
Update to pkgconf-2.0.2.$
Update to mpfr-4.2.1.$
Update to kbd-2.6.2.$
Update to gzip-1.13.$
Update to coreutils-9.4.$
Specify the 'nobody-group' for systemd.$
Remove unused usb group.$
2023-09-02 08:54:55 -05:00
Xi Ruoyao
1ebfa8e664
pdf: Allow breaking pages in version-check and kernel configuration
They are very long <screen> or <note>.  By default they are attributed
"keep-together.within-column = always", override it to allow line break.

Fixes #5336.

Link: http://www.sagehill.net/docbookxsl/PageBreaking.html
2023-09-02 14:17:17 +08:00
Xi Ruoyao
e08ba0ae13
arm64: Adapt kernel configuration data and regenerate 2023-08-27 11:08:34 +08:00
Xi Ruoyao
64e8131dd8
Merge remote-tracking branch 'origin/trunk' into xry111/arm64 2023-08-27 11:06:02 +08:00
Xi Ruoyao
b59c9e9155
grub configuration: The instructions should be skipped for UEFI, but the text not 2023-08-21 11:12:09 +08:00