Files
pmaports-rtwo/device/testing/device-motorola-rtwo/modules-initfs
T
snlavaiseandClaude Opus 5.5 c028f63183 device-motorola-rtwo: initramfs debug shell, panel revive, power key
- deviceinfo / modules-initfs: boot through the U-Boot chainload, modules
  needed in the initramfs for the display, USB and the DSPs.
- initfs hooks: dropbear/telnet debug shell over USB networking.
- rtwo-panel-revive.service: blank/unblank the NT37705 if it comes up
  dead from the ABL handoff.
- logind-power-key.conf: ignore the power key (handled by the dashboard).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DnHwDU5yL8L6qgPEN5CV5m
2026-09-26 20:02:56 -03:00

38 lines
1.6 KiB
Plaintext

# Modules to include in the initramfs (one name per line, '#' = comment).
# Needed for USB networking + telnet debug-shell now, and touchscreen-based
# FDE unlock later.
# Touchscreen (Goodix GT9916 on SPI SE4) - for on-screen unlock
spi-geni-qcom
goodix-berlin-core
goodix-berlin-spi
# USB keyboard (via &usb_1 host mode + a hub). CONFIG_HID/CONFIG_USB_HID
# are built-in, but CONFIG_HID_GENERIC=m is not -- without it, usbcore
# enumerates the keyboard fine (visible in dmesg) but no input device is
# ever created, so no keypress does anything. 2026-09-22: keyboard showed
# as "connected" but keys didn't work, this was the missing piece.
hid-generic
# USB gadget path. dwc3 + dwc3-qcom are built-in; the eUSB2 PHY and its
# PMIC repeater are modules and MUST be in the initramfs, otherwise
# usb@a600000 sits on -EPROBE_DEFER forever and no UDC appears.
# NOTE: in kernel 7.2 the SNPS eUSB2 PHY driver is 'phy-snps-eusb2'
# (CONFIG_PHY_SNPS_EUSB2), not the old 'phy-qcom-snps-eusb2'.
phy-snps-eusb2
phy-qcom-eusb2-repeater
# Root filesystem lives on UFS (1d84000.ufshc) inside the dynamic 'super'
# partition. ufs-qcom and its QMP PHY are modules in this config, so without
# them here the initramfs never sees a root device and the kernel panics with
# "VFS: Unable to mount root fs on unknown-block(0,0)". qcom_ice is ufs-qcom's
# only modules.dep dependency; listed explicitly rather than relying on
# mkinitfs to pull it in.
ufs-qcom
qcom_ice
phy-qcom-qmp-ufs
# Panel / DRM are not wired up yet:
# panel driver for Novatek NT37705 (1080x2400 DSC cmd, reset TLMM133)
# msm (once &mdss / &mdss_dsi0 are enabled in the .dts)