From the stock LineageOS images: - boot.img carries a raw uncompressed arm64 Image (MZ header), not Image.gz. Install arch/arm64/boot/Image as vmlinuz. - dtbo.img is an 8-entry overlay table; the bootloader applies overlay #7 (androidboot.dtbo_idx=7, 87 fragments) onto the base DTB by phandle. Against our mainline DTB that produces a corrupt merged tree -> instant panic. Ship an empty dtbo (0 entries) to flash to dtbo_b, and set deviceinfo_flash_fastboot_partition_dtbo. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QF5HebjUsRaxbW4cBX6HJP
84 lines
2.9 KiB
Plaintext
84 lines
2.9 KiB
Plaintext
# Motorola rtwo bring-up fragment, appended to config-motorola-rtwo.aarch64.
|
|
|
|
# --- pstore / ramoops -------------------------------------------------------
|
|
# Capture the kernel console into the reserved ramoops region (0xae000000)
|
|
# so a failed boot can be read back from a later pmOS boot
|
|
# (/sys/fs/pstore/console-ramoops-0).
|
|
CONFIG_PSTORE=y
|
|
CONFIG_PSTORE_RAM=y
|
|
CONFIG_PSTORE_CONSOLE=y
|
|
CONFIG_PSTORE_PMSG=y
|
|
CONFIG_PSTORE_COMPRESS=y
|
|
|
|
# --- watchdog ------------------------------------------------------------
|
|
# sm8550.dtsi has the APSS watchdog node; build the driver in so the kernel
|
|
# pets it early (the bootloader may hand off with it armed).
|
|
CONFIG_QCOM_WDT=y
|
|
|
|
# --- framebuffer console ----------------------------------------------
|
|
# Reuse the bootloader framebuffer as an early console (simple-framebuffer
|
|
# node in the .dts). No panel driver needed.
|
|
CONFIG_FB=y
|
|
CONFIG_FB_SIMPLE=y
|
|
CONFIG_DRM_SIMPLEDRM=y
|
|
CONFIG_SYSFB_SIMPLEFB=y
|
|
CONFIG_FRAMEBUFFER_CONSOLE=y
|
|
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
|
|
|
|
# --- misc bring-up aids ---------------------------------------------
|
|
CONFIG_MAGIC_SYSRQ=y
|
|
CONFIG_LOG_BUF_SHIFT=18
|
|
|
|
# --- kernel image format ----------------------------------------------
|
|
# The Motorola bootloader executes a raw uncompressed arm64 Image from the
|
|
# Android boot.img; EFI ZBOOT self-decompression makes it reboot instantly.
|
|
# CONFIG_EFI_ZBOOT is not set
|
|
|
|
# --- build size / speed: device kernel, not the generic arm64 one ------
|
|
# CONFIG_RUST is not set
|
|
# CONFIG_DEBUG_INFO_REDUCED is not set
|
|
CONFIG_DEBUG_INFO_NONE=y
|
|
# CONFIG_ARCH_ACTIONS is not set
|
|
# CONFIG_ARCH_AIROHA is not set
|
|
# CONFIG_ARCH_SUNXI is not set
|
|
# CONFIG_ARCH_ALPINE is not set
|
|
# CONFIG_ARCH_APPLE is not set
|
|
# CONFIG_ARCH_BCM is not set
|
|
# CONFIG_ARCH_BCM2835 is not set
|
|
# CONFIG_ARCH_BCM_IPROC is not set
|
|
# CONFIG_ARCH_BCMBCA is not set
|
|
# CONFIG_ARCH_BRCMSTB is not set
|
|
# CONFIG_ARCH_BERLIN is not set
|
|
# CONFIG_ARCH_EXYNOS is not set
|
|
# CONFIG_ARCH_SPARX5 is not set
|
|
# CONFIG_ARCH_K3 is not set
|
|
# CONFIG_ARCH_LG1K is not set
|
|
# CONFIG_ARCH_HISI is not set
|
|
# CONFIG_ARCH_KEEMBAY is not set
|
|
# CONFIG_ARCH_MEDIATEK is not set
|
|
# CONFIG_ARCH_MESON is not set
|
|
# CONFIG_ARCH_MVEBU is not set
|
|
# CONFIG_ARCH_NXP is not set
|
|
# CONFIG_ARCH_LAYERSCAPE is not set
|
|
# CONFIG_ARCH_MXC is not set
|
|
# CONFIG_ARCH_S32 is not set
|
|
# CONFIG_ARCH_MA35 is not set
|
|
# CONFIG_ARCH_NPCM is not set
|
|
# CONFIG_ARCH_REALTEK is not set
|
|
# CONFIG_ARCH_RENESAS is not set
|
|
# CONFIG_ARCH_ROCKCHIP is not set
|
|
# CONFIG_ARCH_SEATTLE is not set
|
|
# CONFIG_ARCH_INTEL_SOCFPGA is not set
|
|
# CONFIG_ARCH_STM32 is not set
|
|
# CONFIG_ARCH_SYNQUACER is not set
|
|
# CONFIG_ARCH_TEGRA is not set
|
|
# CONFIG_ARCH_TESLA_FSD is not set
|
|
# CONFIG_ARCH_SPRD is not set
|
|
# CONFIG_ARCH_THUNDER is not set
|
|
# CONFIG_ARCH_THUNDER2 is not set
|
|
# CONFIG_ARCH_UNIPHIER is not set
|
|
# CONFIG_ARCH_VEXPRESS is not set
|
|
# CONFIG_ARCH_VISCONTI is not set
|
|
# CONFIG_ARCH_XGENE is not set
|
|
# CONFIG_ARCH_ZYNQMP is not set
|