uzbek-plus/logs/b9/b9a/b9a-linux-display.txt
q 4a7224c41f B9: built-in display (ST7735S SPI) in Linux and persistent B9C cache
- B9A: read-only audit of stock LK/DT: the panel is an ST7735S 128x128 on SPI (BLSP1 QUP4,
  16 MHz, mode 3, D/C GPIO116, RESET GPIO118), backlight = PM8916 MPP4 current sink 40 mA.
- B9B: upstream panel-mipi-dbi with the stock init sequence as firmware; MPP4 sink via pinctrl
  + gpio-backlight; first light with correct colours/orientation/offsets.
- B9C: fbcon (6x8, 21x16) on tty1 + getty, UART console kept, aurora-display service;
  cache B9C b9ce13c9 written and verified, cold boots with LTE + Wi-Fi + display.
- B9L (RAM only): lk2nd second stage with an msm8916 SPI panel port shows a picture before Linux.
- Sanitizer: whitelist for b8/ and b9/.
2026-10-03 01:45:02 +03:00

195 lines
9.5 KiB
Text

# B9A — current Linux display state (live, READ-ONLY). Board running B8F (cache 857c9c30, kernel 7.2.7-aurora-b8d #7), uptime ~1335 s.
# Collected 2026-10-03 by b9/b9a/b9a-run.sh (480s) -> b9/b9a/b9a-live.sh on board (/tmp, RAM). Raw output: b9a-linux-display.raw.txt.
# Only side effect: debugfs mount check (already mounted). No GPIO/regulator/PMIC/SPI writes. eMMC write counters unchanged (stat col 5 = 0).
== Summary
/sys/class/drm : ABSENT (CONFIG_DRM=n)
/sys/class/graphics : ABSENT (CONFIG_FB=n)
/dev/dri/*, /dev/fb* : ABSENT
/sys/class/backlight : empty
/sys/class/leds : only mmc0::
/sys/class/spi_master : empty (spi@78b8000 status=disabled in DT)
/sys/bus/spi/devices : empty
dmesg display/drm/fb/spi/backlight/panel : no matches (only an unrelated aurora-modem line)
DT: display-subsystem@1a00000 status=disabled (upstream MDP5/DSI nodes inherited, irrelevant), spi@78b8000 status=disabled,
no panel / backlight / framebuffer nodes
TLMM GPIO 12,13,14,15 (SPI), 116 (D/C), 118 (RESET): all "in low func0 2mA pull down" = power-on reset defaults, UNCLAIMED
=> panel RESET line is held LOW by the SoC pull-down (panel kept in reset), no SPI clock.
PM8916 MPP4 (SID0 0xa300): subtype 0x11/0x04 present; MODE_CTL 0xa340=00, EN_CTL 0xa346=00, SINK_CTL 0xa34c=00 => backlight sink OFF
(stock LK writes 0x61 / 0x80 / 0x07).
PM8916 L6 (SID1 0x4500): STATUS 0x4508=0x82 (VREG_OK), EN_CTL 0x4546=0x80 => ON at HW level (1.8 V; Linux: l6 'disabled', 0 users — Linux
did not enable it; it is on by SBL/RPM default)
PM8916 L17 (SID1 0x5000): STATUS 0x5008=0x00, EN_CTL 0x5046=0x00 => OFF at HW level (Linux: l17 'disabled', 0 users, no constraints)
PM8916 LPG/PWM (SID1 0xbc00): EN 0x00 (off, DT node disabled)
Clocks: gcc_blsp1_qup4_spi_apps_clk and all gcc_mdss_* : enable_count 0
== Conclusion: NO part of the display pipeline exists in the current Linux (no controller bound, no panel driver, no backlight device,
no fb/DRM core). The panel itself has also never been initialised in this boot (lk1st does not touch it; RESET is held low).
== Raw snapshot
B9A-LIVE-BEGIN
1334.94 5280.61
JZ08AU Aurora (RAM boot B8B)
Linux (none) 7.2.7-aurora-b8d #7 SMP PREEMPT Sat Oct 3 00:22:35 +06 2026 aarch64 GNU/Linux
earlycon console=ttyMSM0,115200n8 ignore_loglevel loglevel=8 rdinit=/init
--- ls /sys/class/drm
ls: /sys/class/drm: No such file or directory
--- ls /sys/class/graphics
ls: /sys/class/graphics: No such file or directory
--- ls /sys/class/backlight
total 0
drwxr-xr-x 2 root root 0 Oct 2 19:47 .
drwxr-xr-x 67 root root 0 Jan 1 1970 ..
--- ls /sys/class/leds
total 0
drwxr-xr-x 2 root root 0 Oct 2 19:47 .
drwxr-xr-x 67 root root 0 Jan 1 1970 ..
lrwxrwxrwx 1 root root 0 Oct 2 19:47 mmc0:: -> ../../devices/platform/soc@0/7824900.mmc/leds/mmc0::
--- ls /sys/class/spi_master
total 0
drwxr-xr-x 2 root root 0 Oct 2 19:47 .
drwxr-xr-x 67 root root 0 Jan 1 1970 ..
--- ls /sys/bus/spi/devices
total 0
drwxr-xr-x 2 root root 0 Oct 2 19:47 .
drwxr-xr-x 4 root root 0 Oct 2 19:47 ..
--- ls /dev/dri
ls: /dev/dri: No such file or directory
--- /dev/fb*
ls: /dev/fb*: No such file or directory
--- dmesg display/spi/backlight
[ 61.077499] [aurora-modem] mmcli -m 0 --simple-connect="apn=internet.beeline.ru,user=beeline,password=***,allowed-auth=pap,ip-type=ipv4"
--- DT nodes (status)
soc@0/display-subsystem@1a00000 status=disabled
soc@0/display-subsystem@1a00000/display-controller@1a01000 status=(none=okay)
soc@0/display-subsystem@1a00000/dsi@1a98000 status=(none=okay)
soc@0/display-subsystem@1a00000/phy@1a98300 status=(none=okay)
soc@0/spi@78b8000 status=disabled
--- DT search panel/backlight/framebuffer nodes
--- DT reserved-memory
#address-cells name smem@86300000
#size-cells ranges tz-apps@86000000
hypervisor@86400000 reserved@86680000 tz@86500000
mba rfsa@867e0000 venus
mpss@86800000 rmtfs@86700000 wcnss@8b600000
--- debugfs gpio (TLMM 12-15 SPI, 116 D/C, 118 RESET; PMIC MPP4)
gpiochip0: 122 GPIOs, parent: platform/1000000.pinctrl, 1000000.pinctrl:
gpio12 : in low func0 2mA pull down
gpio13 : in low func0 2mA pull down
gpio14 : in low func0 2mA pull down
gpio15 : in low func0 2mA pull down
gpio116 : in low func0 2mA pull down
gpio118 : in low func0 2mA pull down
gpiochip1: 4 GPIOs, parent: platform/200f000.spmi:pmic@0:mpps@a000, 200f000.spmi:pmic@0:mpps@a000:
mpp4 : ---
gpiochip2: 4 GPIOs, parent: platform/200f000.spmi:pmic@0:gpio@c000, 200f000.spmi:pmic@0:gpio@c000:
--- pinmux-pins TLMM 12-15,116,118
# /sys/kernel/debug/pinctrl/1000000.pinctrl/pinmux-pins
pin 12 (GPIO_12): UNCLAIMED
pin 13 (GPIO_13): UNCLAIMED
pin 14 (GPIO_14): UNCLAIMED
pin 15 (GPIO_15): UNCLAIMED
pin 116 (GPIO_116): UNCLAIMED
pin 118 (GPIO_118): UNCLAIMED
# /sys/kernel/debug/pinctrl/200f000.spmi:pmic@0:gpio@c000/pinmux-pins
# /sys/kernel/debug/pinctrl/200f000.spmi:pmic@0:mpps@a000/pinmux-pins
--- pinctrl MPP
# /sys/kernel/debug/pinctrl/200f000.spmi:pmic@0:mpps@a000/pinconf-pins
Pin config settings per pin
Format: pin (name): configs
pin 0 (mpp1):
pin 1 (mpp2):
pin 2 (mpp3):
pin 3 (mpp4):
--- regulators
regulator.0 regulator-dummy state= uV= users=5
regulator.1 s3 state=enabled uV=1300000 users=2
regulator.10 l9 state=disabled uV=3300000 users=0
regulator.11 l10 state=disabled uV=0 users=0
regulator.12 l11 state=disabled uV=2950000 users=0
regulator.13 l12 state=disabled uV=1800000 users=0
regulator.14 l13 state=enabled uV=3075000 users=1
regulator.15 l14 state=disabled uV=0 users=0
regulator.16 l15 state=disabled uV=0 users=0
regulator.17 l16 state=disabled uV=0 users=0
regulator.18 l17 state=disabled uV=0 users=0
regulator.19 l18 state=disabled uV=0 users=0
regulator.2 s4 state=enabled uV=1850000 users=3
regulator.3 l1 state=disabled uV=0 users=0
regulator.4 l2 state=enabled uV=1200000 users=1
regulator.5 l4 state=disabled uV=0 users=0
regulator.6 l5 state=enabled uV=1800000 users=2
regulator.7 l6 state=disabled uV=1800000 users=0
regulator.8 l7 state=enabled uV=1800000 users=2
regulator.9 l8 state=enabled uV=2900000 users=1
--- regulator_summary (l6/l17)
regulator use open bypass opmode voltage current min max
l6 0 0 0 unknown 1800mV 0mA 1800mV 1800mV
l17 0 0 0 unknown 0mV 0mA 0mV 0mV
--- regmaps
0-00 4a9000.thermal-sensor-tm
0-01 500000.interconnect
1800000.clock-controller 580000.interconnect
1905000.hwlock b011000.mailbox
400000.interconnect b016000.clock
4a9000.thermal-sensor-srot dummy-syscon@0x0000000001937000
--- PM8916 MPP4 block (0xa300: 04=subtype,08=status,40=MODE_CTL,41=DIG_VIN,42=PULL,46=EN_CTL,4c=SINK_CTL)
# PMIC sid0 0xa304 +2
a304: 11
a305: 04
# PMIC sid0 0xa308 +1
a308: 00
# PMIC sid0 0xa340 +8
a340: 00
a341: 00
a342: 00
a343: 00
a344: 00
a345: 00
a346: 00
a347: 00
# PMIC sid0 0xa34c +1
a34c: 00
--- PM8916 LDO6 (0x4500) / LDO17 (0x5000): 08=STATUS 40/41=VSET 45=MODE 46=EN_CTL
# PMIC sid1 0x4504 +2
4504: 21
4505: 2a
# PMIC sid1 0x4508 +1
4508: 82
# PMIC sid1 0x4540 +2
4540: 00
4541: 04
# PMIC sid1 0x4545 +2
4545: 80
4546: 80
# PMIC sid1 0x5004 +2
5004: 21
5005: 0b
# PMIC sid1 0x5008 +1
5008: 00
# PMIC sid1 0x5040 +2
5040: 00
5041: 58
# PMIC sid1 0x5045 +2
5045: 80
5046: 00
--- PM8916 PWM/LPG 0xbc00 (46=EN_CTL)
# PMIC sid1 0xbc04 +2
bc04: 13
bc05: 0b
# PMIC sid1 0xbc46 +1
bc46: 00
--- clocks (mdss/blsp1_qup4)
gcc_mdss_vsync_clk 0 0 0 19200000 0 0 50000 N deviceless no_connection_id
gcc_mdss_pclk0_clk 0 0 0 19200000 0 0 50000 N deviceless no_connection_id
gcc_mdss_mdp_clk 0 0 0 19200000 0 0 50000 N deviceless no_connection_id
gcc_mdss_esc0_clk 0 0 0 19200000 0 0 50000 N deviceless no_connection_id
gcc_mdss_byte0_clk 0 0 0 19200000 0 0 50000 N deviceless no_connection_id
blsp1_qup4_spi_apps_clk_src 0 0 0 19200000 0 0 50000 N deviceless no_connection_id
gcc_blsp1_qup4_spi_apps_clk 0 0 0 19200000 0 0 50000 N deviceless no_connection_id
gcc_mdss_axi_clk 0 0 0 200000000 0 0 50000 N deviceless no_connection_id
gcc_mdss_ahb_clk 0 0 0 100000000 0 0 50000 N deviceless no_connection_id
gcc_blsp1_ahb_clk 3 4 0 100000000 0 0 50000 Y 78b0000.serial iface
--- eMMC
1117 45 193701 2669 0 0 0 0 0 1168 2669 0 0 0 0 0 0
B9A-LIVE-END