The device resets right after 'fastboot boot' with no output. Add tools to see why: - rtwo.config kernel fragment: PSTORE_RAM=y + PSTORE_CONSOLE=y (capture the kernel log in ramoops at 0xae000000, readable afterwards from stock Android or a later pmOS boot), QCOM_WDT=y (pet the APSS watchdog early in case the bootloader armed it), FB_SIMPLE/FRAMEBUFFER_CONSOLE on. - .dts: simple-framebuffer at 0xb8000000 reworked (x8r8g8b8, 1080x2400) - reuses the bootloader framebuffer, no panel driver needed. - deviceinfo cmdline: console=tty0 (framebuffer console), ignore_loglevel, clk_ignore_unused + pd_ignore_unused (keep the bootloader display path powered so the framebuffer does not freeze). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QF5HebjUsRaxbW4cBX6HJP
32 lines
1.3 KiB
Plaintext
32 lines
1.3 KiB
Plaintext
# Extra kernel config for the Motorola rtwo bring-up.
|
|
# Merged on top of defconfig + pmos.config + devices.config.
|
|
# Purpose: get diagnostic output on a device with no working display/UART yet.
|
|
|
|
# --- pstore / ramoops -------------------------------------------------------
|
|
# Capture the kernel console into the reserved ramoops region (0xae000000,
|
|
# same address the stock firmware uses) so that after a failed boot the log
|
|
# can be read back - from a later pmOS boot, or from stock Android
|
|
# (/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 -------------------------------------------------------------
|
|
# The bootloader may hand off with the APSS watchdog armed; build the driver
|
|
# in so the kernel starts petting it early instead of getting reset.
|
|
CONFIG_QCOM_WDT=y
|
|
|
|
# --- framebuffer console -------------------------------------------------
|
|
# Show the boot log on the panel by reusing the bootloader's framebuffer
|
|
# (simple-framebuffer node in the .dts). No panel driver required.
|
|
CONFIG_FB=y
|
|
CONFIG_FB_SIMPLE=y
|
|
CONFIG_FRAMEBUFFER_CONSOLE=y
|
|
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
|
|
|
|
# --- misc bring-up aids -------------------------------------------------
|
|
CONFIG_MAGIC_SYSRQ=y
|
|
CONFIG_LOG_BUF_SHIFT=18
|