Bring up nokia-sparkler SMP/cpufreq/lk2nd/cam/haptics, fix timer and EDL USB timeout

- Add 0013 early-SCM 4-core SMP + cpufreq kernel patch and clock-frequency DT nodes
- Complete nokia-sparkler lk2nd port, boot/X11 session startup, 180-deg cached camera, and 157 Hz haptic audio
- Replace root-only timer backend with permissionless sxmo_timer.sh and keypad/hook cancellation
- Fix EDL Firehose rawmode ACK, USB active-config preservation, *+# hint, and 30 s default USB timeout
- Sync a1120 (cocojamboo) prebuilts, docs, tests, and verified checksums in check-rebuild.sh
This commit is contained in:
Luxferre committed 2026-11-16 11:45:38 +02:00
1 parent ab53423e33
commit d7992904bf
56 files changed
+31850 -28281

No files matched your search

+37
View File
@@ -299,3 +299,40 @@ sudo ./flash-edl.sh nokia-coconut --only-backup --dump-diagnostics --backup-dir
python3 scripts/inspect-stock-msm8905-dump.py ./backup/nokia-coconut/boot-nokia-coconut.img \
./backup/nokia-coconut/recovery-nokia-coconut.img --aboot ./backup/nokia-coconut/aboot-nokia-coconut.img
```
---
## Nokia 8000 4G (`nokia-sparkler`) layered port
Nokia 8000 4G (`nokia-sparkler`, MSM8909 MTP `0xf5`/`0x8`/`0x100`/`0`, PMIC
`0x1000d`, 512 MiB RAM, cmdline `androidboot.hw.name=sparkler`, 2.8" 240x320
SPI display on BLSP1 QUP5 `0x078b9000` with `dc-gpio=110`) builds through a
third layered patch `bootloader/lk2nd/nokia-sparkler.patch` applied after
`nokia-beatles.patch` and `nokia-coconut.patch`, keeping `nokia-beatles` and
`nokia-coconut` `lk2nd` images byte-for-byte untouched.
- **Device node, panel init streams, and boot menu keys**: `nokia-sparkler.dtsi`
adds `/lk2nd/nokia-sparkler` (`nokia,sparkler`, matching
`androidboot.hw.name=sparkler` without requiring `lk2nd,match-panel;` so
both GC9307 HLT 15-command and ST7789VX2 CTC 11-command panels match) to
`msm8909-mtp.dts`, wires `*` (`gpio90`) as `KEY_VOLUMEUP` (`0x115`) alongside
`#` (`pm8941_resin`) and Top Power for `lk2nd` boot menu navigation, and
adds `"nokia,sparkler"` / `"nokia,leo"` to `spi-display.c`.
- **Building and validating**:
```sh
./scripts/build-lk2nd-sparkler.sh
python3 scripts/check-lk2nd-sparkler.py --image images/boot-lk2nd-nokia-sparkler-display.img --expect-display 1
python3 scripts/test-lk2nd-sparkler-port.py
python3 scripts/test-sparkler-port.py
```
- **Pre-flash backup (physical hardware verification pending)**: back up stock
partitions over EDL first (using `bootloader/loaders/8k.mbn` signed
`Nokia_leo`) before flashing any physical Nokia 8000 4G unit:
```sh
sudo ./flash-edl.sh nokia-sparkler --only-backup --dump-diagnostics --backup-dir ./backup/nokia-sparkler
python3 scripts/inspect-stock-msm8905-dump.py ./backup/nokia-sparkler/boot-nokia-sparkler.img \
./backup/nokia-sparkler/recovery-nokia-sparkler.img --aboot ./backup/nokia-sparkler/aboot-nokia-sparkler.img
```