Remove lk2nd screen version tag, make LK2ND_VERSION neutral, and refresh archives

- Remove LK2ND_VERSION from lk2nd/device/menu/menu.c (display_fastboot_menu and display_default_image_on_screen) in bootloader/lk2nd/nokia-beatles.patch so the BANANARCHY LINUX boot splash renders intact and boot/Fastboot-recovery screens carry no OS version tag.

- Replace -a1109-r3 / -a1114-r1 / -a1120-r1 suffixes in scripts/build-lk2nd-{beatles,coconut,sparkler}.sh with OS-version-neutral bananarchy-<target>{,-diag,-display} tags and enforce this in scripts/check-lk2nd-{beatles,coconut,sparkler}.py and scripts/check-rebuild.sh.

- Rebuild all 9 lk2nd images and refresh the a1120 (cocojamboo) display lk2nd and archive SHA-256 hashes in scripts/check-rebuild.sh, CHANGELOG.md, bootloader/lk2nd/README.md, and AGENTS.md.
This commit is contained in:
Luxferre committed 2026-11-18 08:55:44 +02:00
1 parent 1e7077e314
commit 6cedcf980c
11 files changed
+112 -18

No files matched your search

+4 -3
View File
@@ -25,6 +25,7 @@ Upcoming release build (`a1120` / `cocojamboo` via `scripts/version.sh`) targeti
### Nokia 8000 4G (`nokia-sparkler`) hardware-verified `lk2nd`, 4-core SMP/`cpufreq`, 157 Hz haptic audio, camera, and EDL bring-up
- **Layered `lk2nd` port (`bootloader/lk2nd/nokia-sparkler.patch`)**: added `nokia-sparkler.dtsi` (`msm8909-mtp.dts` `/lk2nd/nokia-sparkler`, matching `androidboot.hw.name=sparkler` without requiring `lk2nd,match-panel;`, GC9307 HLT 15-command and ST7789VX2 CTC 11-command 2.8" SPI init streams on BLSP1 QUP5 `0x078b9000`, `*` on `gpio90` as `KEY_VOLUMEUP` `0x115` alongside `#` `pm8941_resin` and Top Power) plus `"nokia,sparkler"` / `"nokia,leo"` support in `spi-display.c`; added `scripts/build-lk2nd-sparkler.sh`, `scripts/check-lk2nd-sparkler.py`, and `scripts/test-lk2nd-sparkler-port.py`, building `images/boot-lk2nd-nokia-sparkler{,-diagnostic,-display}.img` without altering `nokia-beatles` or `nokia-coconut` `lk2nd` images.
- **Versionless `lk2nd` boot/Fastboot screens & OS-version-neutral `LK2ND_VERSION` (`bootloader/lk2nd/nokia-beatles.patch`, `scripts/build-lk2nd-{beatles,coconut,sparkler}.sh`, `scripts/check-lk2nd-{beatles,coconut,sparkler}.py`, `scripts/check-rebuild.sh`)**: removed `LK2ND_VERSION` and the bottom `BOARD`/version overwrite from `lk2nd/device/menu/menu.c` (`display_fastboot_menu()` and `display_default_image_on_screen()`) so the branded `BANANARCHY LINUX` boot splash renders intact and boot/Fastboot-recovery screens no longer carry stale OS release numbers; made `LK2ND_VERSION` OS-version-neutral (`bananarchy-<target>{,-diag,-display}`) across all three source-built `lk2nd` ports (`nokia-beatles`, `nokia-coconut`, `nokia-sparkler`) and enforced it in `check-lk2nd-*.py` and `check-rebuild.sh`, without altering `bootloader/lk2nd-msm8909.img`.
- **4-core Cortex-A7 SMP, `cpufreq` DVFS up to `1.267 GHz`, and clean fast X11 startup (`0013`)**: added `patches/kernel/0013-msm8909-early-scm-smp-cpufreq.patch` allocating a cache-flushed `early_virt` page for 6-argument `qcom_scm_set_boot_addr_mc()` (`ARM_SMCCC_STD_CALL`) before `qcom_scm_probe()` creates its mempool, guarding `qcom-cpufreq-nvmem.c` with `cpu_present(cpu)`, and adding `clock-frequency = <1094400000>;` to `/cpus/cpu@0..3` in `qcom-msm8909.dtsi` and `nokia-{sparkler,leo}.dts`; ordered `kill-plymouth` (`after dbus elogind`) and raised `Xorg :0` readiness wait to `10 s` in `bananarchy-x11-session.sh`, verified live with `present=0-3`, `online=0-3` (`nproc=4`), `schedutil` scaling to `1.2672 GHz` (`a53pll`), zero SMP/`clock-frequency`/`cpuidle` boot errors, and instant first-pass `dwm` / `fcitx5` startup.
- **Kernel DTS, volume-independent calibrated 157 Hz speaker-LRA haptic audio, dual-GPIO torch, and upright cached-row camera (`msm8905-cam` / `camera.so`)**: set `deviceinfo_drm="true"` and `matrix_keypad`/`matrix_keymap` in `devices/nokia-sparkler/modules-initfs`; updated `qcom-msm8909-nokia-sparkler.dts` and `qcom-msm8909-nokia-sparkler.dtb` with stock MSM8909 MTP root IDs (`0xf5`/`0x8`/`0x100`/`0x1000d`), `512 MiB` `/memory`, QDSP6/Q6Voice audio (`wcd_codec: audio-codec@f000`, `apr`, `sound@7702000` with `dai-link-multimedia3` disabled, `lpass_codec: audio-codec@771c000`), Sxmo keypad codes (`0x500d4` `KEY_CAMERA`, `0x100007f` `KEY_COMPOSE`, `0x205000e` `BackSpace`, `0x301009e` `KEY_BACK`), and disabled unpopulated PM8909 `vibrator@c000` (`status = "disabled";`); added native `157.0 Hz` speaker-LRA haptic audio (`vibrate_haptic_audio()`, `libpulse` sink/input query via `pa_sw_volume_to_linear`, `RX3 Digital Volume` + PipeWire `softVolumes` gain compensation over `SND_PCM_FORMAT_FLOAT_LE`, calibrated `1950` / `2550` / `3300` reference amplitudes at `HAPTIC_REF_RX3_VOL = 84`, `10 ms` cosine fade, `HOME=/home/user` root-drop fix, `plughw:0,0` / muted-sink bypass, and non-speaker exclusion) in `src/dwm-plugins/sxmo_vibrate.c` (`links libasound` + `libpulse` + `libm`), verified live on `nokia-sparkler` across `0%`..`100%` speaker volume (`23.95`–`26.15` RMS at L2) and concurrent playback; updated `src/leds-msm8905-torch/leds-msm8905-torch.c` (`GPIO_32` `flash-en` + `GPIO_31` `flash-now` `BC847BS`); added `nokia,sparkler` and `nokia,leo` to `rotate_180` plus cached `row_buf[2][CAM_RAW_STRIDE]` burst copies in `src/msm8905-cam/msm8905-cam.c` and reduced `camera_plugin.cpp` post-frame sleep to `10 ms` (verified `/dev/video0` frame time reduced from `1.34 s` to `0.193–0.229 s/frame` with upright JPEG output); wired `nokia-sparkler` across `check-beatles-bootimg.py`, `sync-beatles-bootfs.py`, `flash-edl.py`, `prepare-release.sh`, `check-rebuild.sh`, `test-sparkler-port.py`, and docs.
- **EDL Firehose `<read>`, USB reconnect, and `30 s` USB timeout (`vendor/edl/Library/{firehose,usb,sahara}.py`, `flash-edl.py`, `MANUAL.md`)**: handled standard Qualcomm `rawmode="true"` XML ACK packets in `qualcomm_firehose` (`_begin_raw_read` / `_read_raw_sectors`) alongside FIH's immediate raw streams and capped reads to `min(bytes_to_read, max_chunk)`, fixing GPT/partition corruption on `8k.mbn` (`nokia-sparkler`, `nokia-leo`) and `2720v.mbn`; skipped redundant `set_configuration()` in `usb_class.connect()` when an active USB configuration already exists; raised per-transfer USB bulk read/write timeout to `30000 ms` (`DEFAULT_USB_TIMEOUT_MS = 30000`, `flash-edl.py --usb-timeout`, `2000 ms` Sahara connect probe, and `5–30 s` Fastboot/ADB kick timeouts); added `nokia-leo` to `UNLOCK_DEFAULT_DEVICES`, suppressed duplicate `Bootloader (boot)` output when a per-device `lk2nd` image is active, updated the EDL/Fastboot button-combo hints to **`*` + `#`** (EDL) and **`#`** (Fastboot) for `nokia-sparkler` and `nokia-leo`, added `scripts/test-edl-firehose-read.py`, and verified full live `--only-backup --dump-diagnostics` extraction from the connected `nokia-sparkler`.
@@ -75,9 +76,9 @@ Upcoming release build (`a1120` / `cocojamboo` via `scripts/version.sh`) targeti
- **Verified `a1120` / `cocojamboo` image set (`--mkinitfs`) and packaged archives**:
- `images/bananarchy-nokia-argon.img`: SHA-256 `0a6760f8ff4a4d2baa6af88ce080898a1e3aff206e15b8474efa3ea4274d6dee` (packaged in `bananarchy-nokia-argon-a1120-cocojamboo.zip`, SHA-256 `e7ccaa6baf3518896b22c60070508ab65f3938f204f0ddb2e7d0d5f2e39d271f`, alongside `bootloader/lk2nd-msm8909.img`).
- `images/bananarchy-nokia-beatles.img`: SHA-256 `7bb47f4e938d412e2e5fed5eb5b766bbbe36c71fa6e7b77d2cda346b48a82e17`, `images/boot-bananarchy-nokia-beatles.img`: SHA-256 `496890063eda83adafaf5e7796a801100795b825064cf6f7fd967e6565dca325`, and `images/boot-lk2nd-nokia-beatles-display.img`: SHA-256 `b5549698c20f4de7603fc746d32bb5baa96ec377e41e74407823c98506fc185d` (packaged in `bananarchy-nokia-beatles-a1120-cocojamboo.zip`, SHA-256 `2d94e513332137a93dcd10d6a6db6e7454c96ede2499c314660bb1ece21c7052`).
- `images/bananarchy-nokia-coconut.img`: SHA-256 `d3b385a84c6546d35edca03eac684f3d7ee6de0faab25172b9af5252137c6815`, `images/boot-bananarchy-nokia-coconut.img`: SHA-256 `0a91c165e370b35a1604d08ddb6b08c46823455e5aee9701807f78221059e26c`, and `images/boot-lk2nd-nokia-coconut-display.img`: SHA-256 `e876424b38b0782f589756b4107337b24f27f7c37d624cc7d3907a5331df050a` (packaged in `bananarchy-nokia-coconut-a1120-cocojamboo.zip`, SHA-256 `31f7e7db0aadb09284ad380008701d1d0e765a10048161f02727cc7aba6ed6f2`).
- `images/bananarchy-nokia-sparkler.img`: SHA-256 `a262cb31ddb38e222e5f4bd14d82c82bb7941839a34bb48fa120b74189d319ae`, `images/boot-bananarchy-nokia-sparkler.img`: SHA-256 `affc62ff400c082c29b0d0c11a06bdd2eefdd06e09f1d2e93e7eae6a47a5a7b1`, and `images/boot-lk2nd-nokia-sparkler-display.img`: SHA-256 `bc41c2ddd1079246a7e91a40222fcafb82b0b52965c8ee8081872767d006748f` (packaged in `bananarchy-nokia-sparkler-a1120-cocojamboo.zip`, SHA-256 `d0d44ea6e4f98b71536f7b232bc147ccf508057bbb38c3853d7b3750e5a3aaf3`).
- `images/bananarchy-nokia-beatles.img`: SHA-256 `7bb47f4e938d412e2e5fed5eb5b766bbbe36c71fa6e7b77d2cda346b48a82e17`, `images/boot-bananarchy-nokia-beatles.img`: SHA-256 `496890063eda83adafaf5e7796a801100795b825064cf6f7fd967e6565dca325`, and `images/boot-lk2nd-nokia-beatles-display.img`: SHA-256 `f13db705a714aaebd2d8fcc2e0f7266d0e40268c0a276208117dfdf9d8f45351` (packaged in `bananarchy-nokia-beatles-a1120-cocojamboo.zip`, SHA-256 `7caffc7057fa89df92e33a1915e064df1deee3c1f7e650ad8486d4a1d179d7b6`).
- `images/bananarchy-nokia-coconut.img`: SHA-256 `d3b385a84c6546d35edca03eac684f3d7ee6de0faab25172b9af5252137c6815`, `images/boot-bananarchy-nokia-coconut.img`: SHA-256 `0a91c165e370b35a1604d08ddb6b08c46823455e5aee9701807f78221059e26c`, and `images/boot-lk2nd-nokia-coconut-display.img`: SHA-256 `9a5bd2da6cfd95c745d9c1acb2e3bc61afa339824810e3d160bf079e17b23192` (packaged in `bananarchy-nokia-coconut-a1120-cocojamboo.zip`, SHA-256 `f92c2681dce97a51a98bb13f33f8b7a0a185625ab0cd85e6664074e816d1282c`).
- `images/bananarchy-nokia-sparkler.img`: SHA-256 `a262cb31ddb38e222e5f4bd14d82c82bb7941839a34bb48fa120b74189d319ae`, `images/boot-bananarchy-nokia-sparkler.img`: SHA-256 `affc62ff400c082c29b0d0c11a06bdd2eefdd06e09f1d2e93e7eae6a47a5a7b1`, and `images/boot-lk2nd-nokia-sparkler-display.img`: SHA-256 `120ade81bc5416263a1afd95a29981675358b98516e105e5ed611edf258a29f7` (packaged in `bananarchy-nokia-sparkler-a1120-cocojamboo.zip`, SHA-256 `d38201d4bd0c2d2d889a9444dbed72059594a96d56716621a437c2d753abaa47`).
---