uzbek-plus/b9/b9l/BUILD-B9L.md
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

1.1 KiB

B9L lk2nd 2nd-stage build (RAM test only — never flash without a separate GO)

  • Base: lk2nd 23.1 e9c8b217 (same tree as lk2nd-build/src, cloned to /home/q/aurora-lkbuild/b9l-src; the original tree is untouched).
  • Patch: lk2nd-23.1-aurora-b9l.patch (msm8916 QUP4 SPI clock + iomap, gpio_config_blsp_spi, clock_config_blsp_spi clamped to 16 MHz, module lk2nd/aurora (st7735s.c), project hook AURORA_SPI_PANEL=1).
  • Command (in b9l-src): make -j4 TOOLCHAIN_PREFIX=arm-none-eabi- LK2ND_DTBS="msm8916-512mb-mtp.dtb" AURORA_SPI_PANEL=1 lk2nd-msm8916 (differences from the B9L-0 23.1 image: no LK2ND_FORCE_FASTBOOT, + AURORA_SPI_PANEL).
  • Toolchain arm-none-eabi-gcc 14.2.1 20241119. Output lk2nd-b9l-st7735s.img sha256 775986e2d562ff92840de1783d60899d23babb70fb6566a285600e99a4361499 (299024 B).
  • Splash variant (2026-10-03): + AURORA_SPLASH=1 → frame = b9/b9l/splash/swag.png (128x128, alpha 255 everywhere) converted by splash/mk-splash.py to RGB565 LE (aurora_splash.h, blob sha256 87955300). Patch: lk2nd-23.1-aurora-b9l-splash.patch. Output lk2nd-b9l-swag.img sha256 e6849a2b. Panel init code identical to 775986e2 (geo variant).