linux-postmarketos-qcom-milos 7.2.0-r103: enable pstore (ramoops console/pmsg)
All checks were successful
image / image (push) Successful in 1h31m34s

The FP6 has warm-reset itself at USB-C cable events and right after the
ADSP comes up with a charger attached, leaving nothing in the journal.
The kernel now carries a 4 MiB ramoops region (milos-linux adsp-recovery,
DTS node at 0xe2500000); build the pstore core, the ram backend and the
console + pmsg front ends in, so the previous boot's console and the
initramfs stage log survive a reset into /var/lib/systemd/pstore.

Verified on the dev phone 2026-09-15: records survive a PS_HOLD reset;
systemd-pstore archives them at the next boot.
This commit is contained in:
Jorijn van der Graaf 2026-09-15 22:27:50 +02:00
commit ff2f6df650
Signed by: jorijnvdgraaf
GPG key ID: 2937E59CDCC1BCFB
2 changed files with 13 additions and 2 deletions

View file

@ -8,7 +8,7 @@ _flavor="postmarketos-qcom-milos"
pkgname=linux-$_flavor
pkgver=7.2.0
# always sorts above the upstream aport (r0..r99)
pkgrel=102
pkgrel=103
pkgdesc="Milos mainline kernel + Catcrafts FP6 bring-up carries (combined-stable)"
arch="aarch64"
_carch="arm64"

View file

@ -1789,6 +1789,7 @@ CONFIG_ARM_SCMI_TRANSPORT_OPTEE=y
# EFI (Extensible Firmware Interface) Support
#
CONFIG_EFI_ESRT=y
# CONFIG_EFI_VARS_PSTORE is not set
CONFIG_EFI_PARAMS_FROM_FDT=y
CONFIG_EFI_RUNTIME_WRAPPERS=y
CONFIG_EFI_GENERIC_STUB=y
@ -7449,7 +7450,14 @@ CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
# CONFIG_QNX4FS_FS is not set
# CONFIG_QNX6FS_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_PSTORE is not set
CONFIG_PSTORE=y
CONFIG_PSTORE_DEFAULT_KMSG_BYTES=10240
CONFIG_PSTORE_COMPRESS=y
CONFIG_PSTORE_CONSOLE=y
CONFIG_PSTORE_PMSG=y
# CONFIG_PSTORE_FTRACE is not set
CONFIG_PSTORE_RAM=y
# CONFIG_PSTORE_BLK is not set
# CONFIG_UFS_FS is not set
CONFIG_EROFS_FS=m
# CONFIG_EROFS_FS_DEBUG is not set
@ -7963,6 +7971,9 @@ CONFIG_XZ_DEC_BCJ=y
CONFIG_DECOMPRESS_GZIP=y
CONFIG_DECOMPRESS_ZSTD=y
CONFIG_GENERIC_ALLOCATOR=y
CONFIG_REED_SOLOMON=y
CONFIG_REED_SOLOMON_ENC8=y
CONFIG_REED_SOLOMON_DEC8=y
CONFIG_INTERVAL_TREE=y
CONFIG_XARRAY_MULTI=y
CONFIG_ASSOCIATIVE_ARRAY=y