pmb887x-dev/unit
2026-11-24 13:12:25 +03:00
..
adc lib: integrate printf and streamline USART I/O 2026-09-22 22:28:50 +03:00
afc unit: add AFC tests 2026-07-16 01:51:59 +03:00
capcom bsp: add the MCI card slot and its tests 2026-11-24 00:27:10 +03:00
cfi unit: add CFI query and AMD flash tests 2026-11-13 11:04:17 +03:00
cfi-amd unit: add AMD cross-bank program test 2026-11-23 10:17:42 +03:00
cfi-intel unit: skip CFI tests without a matching flash 2026-11-23 08:59:33 +03:00
cgu unit: run clock tests from a fixed clock tree 2026-11-23 06:15:24 +03:00
cpu unit: time small code loops with round-robin I-cache replacement 2026-11-23 08:01:22 +03:00
dif-v1 unit: run clock tests from a fixed clock tree 2026-11-23 06:15:24 +03:00
dif-v2 unit: time DIF blits once with a 2% tolerance 2026-11-23 08:27:12 +03:00
dmac unit: add DMAC tests 2026-10-12 03:37:24 +03:00
dsp unit: test modulator start sources on both DSP versions 2026-11-12 02:13:01 +03:00
ebu unit: run clock tests from a fixed clock tree 2026-11-23 06:15:24 +03:00
eeprom unit: add EEPROM tests 2026-09-25 22:46:21 +03:00
gpio unit: add I2C bus pad tests 2026-11-23 09:42:56 +03:00
gprscu unit: add GPRSCU cipher tests 2026-11-11 15:44:05 +03:00
gptu unit: run clock tests from a fixed clock tree 2026-11-23 06:15:24 +03:00
i2c-fm-radio bsp: replace bit-banged I2C with hardware I2C 2026-10-06 16:03:42 +03:00
i2c-v1 unit: run clock tests from a fixed clock tree 2026-11-23 06:15:24 +03:00
i2c-v2 unit: read the board PMIC in the I2Cv2 clock test 2026-11-23 06:15:24 +03:00
keypad unit: add KEYPAD tests 2026-07-16 13:46:16 +03:00
lcd unit: enable LCD unit tests on KE970 2026-08-14 12:16:19 +02:00
mmci unit: add MMCI FIFO window and multi-block read tests 2026-11-24 13:12:25 +03:00
mmicif bsp: rename the PASIC description to D1094XX 2026-11-10 01:19:01 +03:00
mod unit: update test 2026-07-13 01:08:56 +03:00
pmic bsp: rename the PASIC description to D1094XX 2026-11-10 01:19:01 +03:00
pmic-d1094xx bsp: rename the PASIC description to D1094XX 2026-11-10 01:19:01 +03:00
pmic-pmb681x unit: add PMIC tests 2026-10-07 02:43:12 +03:00
rtc unit: add clock tests 2026-10-12 03:37:51 +03:00
sccu unit: run clock tests from a fixed clock tree 2026-11-23 06:15:24 +03:00
scu unit: skip the SCU USB reset on a USB console 2026-11-23 07:42:06 +03:00
sim unit: run clock tests from a fixed clock tree 2026-11-23 06:15:24 +03:00
ssc unit: add SSC tests 2026-10-12 03:38:10 +03:00
stm unit: run clock tests from a fixed clock tree 2026-11-23 06:15:24 +03:00
tcm unit: add TCM tests 2026-10-12 03:38:10 +03:00
tpu unit: run clock tests from a fixed clock tree 2026-11-23 06:15:24 +03:00
usart unit: skip host-driven USART tests on a USB console 2026-11-23 08:27:12 +03:00
usb unit: skip USB line checks without connected data lines 2026-11-23 06:15:24 +03:00
usif unit: run USIF clock test in QEMU 2026-11-03 02:33:51 +03:00
vic unit: add ARM926 cycle timing and realtime-mode coverage 2026-10-27 21:56:22 +03:00
CMakeLists.txt bsp: add the MCI card slot and its tests 2026-11-24 00:27:10 +03:00
eeprom.c unit: add EEPROM tests 2026-09-25 22:46:21 +03:00
eeprom.h unit: add EEPROM tests 2026-09-25 22:46:21 +03:00
package.json bsp: add e2e AT and network registration tests 2026-11-10 02:40:06 +03:00
README.md unit: add DSP modulator clock test 2026-11-10 03:41:00 +03:00
run.sh bsp: replace boot.py with a TypeScript boot tool 2026-11-22 12:42:02 +03:00
tap-result.awk unit: validate TAP results in hardware runner 2026-09-24 02:32:36 +03:00
test-tap-result.sh unit: validate TAP results in hardware runner 2026-09-24 02:32:36 +03:00
test.c unit: keep CGU_CON3 writes off PMB8875 2026-11-23 08:59:33 +03:00
test.h unit: check recorded audio in DSP playback tests 2026-11-02 23:25:19 +03:00
tests.toml bsp: add the MCI card slot and its tests 2026-11-24 00:27:10 +03:00

Peripheral tests

Run a test on real hardware:

./run.sh <test>

The runner streams the entire output and succeeds only after the final TAP result is PASS (0 failed). The scu-reset and scu-wdt-reset tests intentionally reset the phone without emitting that result; run.sh cannot confirm their success.

Tests

Test Coverage
stm System timer registers and counter views
dmac DMA transfers, requests, linked lists, arbitration, and interrupts
eeprom-parser Siemens X65/X85 EELITE and EEFULL layouts, inline blocks, entry states, duplicates, and metadata
dsp-lle-core Communication flags, firmware command handshake, shared RAM access widths, MCU/DSP interrupt requests, and reset
dsp-lle-irqs Real DSP-generated INT_TOMCU requests, VIC routing, and acknowledgement for all four DSP SRC lines
dsp-lle-interrupt-functional DSP interrupt masking, acknowledgement, simultaneous priority, nested arbitration, and repeat delivery
dsp-lle-interrupt-block-repeat Independent block-repeat state across interrupt preemption
dsp-lle-modulo-update Modulo addressing after immediate ST2, CFGI, and CFGJ writes
dsp-lle-interrupt-repeat Single-instruction repeat preemption, nested repeats, and abandoned repeat resume
dsp-lle-interrupt-window Interrupt acceptance inside straight-line windows opened and closed by IE, IM0, and IM2 writes
dsp-lle-pc-write Words executed after every program-counter write form, the reached target, and the stack pointer
dsp-lle-block-repeat-control ICR LP aborts of nested block repeats, branches around the loop end, and lc reads
dsp-lle-block-repeat-limits Hardware behavior of block-repeat sequences that the specification forbids
dsp-lle-self-modifying Program words rewritten by movd: pipeline distance, executed subroutines, block-repeat bodies, and calla targets
dsp-lle-repeat-contents Single-instruction repeat of push, pop, movp, movd, icr writes, dint, and break inside a block repeat
dsp-lle-clock-domains DSP core, Timer 2, Shared RAM, and command-interface behavior under CGU and CLC controls
dsp-lle-interrupt-sources All documented DSP interrupt-unit source bits, line routing, masking, coalescing, and acknowledgement
dsp-lle-irq-shared-benchmark DSP interrupt entry and round-trip latency plus DSP/ARM Shared RAM throughput
dsp-lle-interface-concurrency MCU Shared RAM, communication flag, semaphore, and interrupt access while the DSP executes
dsp-lle-mask-rom-commands PMB8875/PMB8876 Mask ROM boot commands, one user command, and built-in runtime commands
dsp-hle-runtime-firmware PMB8876 runtime startup, command transport, and platform-specific command behavior
dsp-hle-runtime-semaphores Runtime command traffic, MCU semaphore ownership, and DSP-reset interaction
dsp-hle-runtime-idle Runtime IDLE acknowledgement, DSP clock status, wakeup, and command recovery
dsp-lle-i2s1-clock-select, dsp-lle-i2s2-clock-select I2S clock selection, divider and word-width rates, transmit start load, and interrupt addresses
dsp-hle-i2s-playback Three-second 440 Hz PCM playback through the original User ROM and board I2S route
dsp-hle-afe-playback Three-second 440 Hz PCM playback through the original User ROM and the EL71 AFE line output to the loudspeaker
dsp-lle-mcs-functional Communication flags, all-semaphore arbitration, queued transfer, and DSP-reset behavior
dsp-lle-peripheral-map Reset-isolated, read-only PMB8876 DSP data-space capture for the candidate DE00-DEFF peripheral window
dsp-lle-peripherals-registers Direct TeakLite reads of documented status, counter, pointer, semaphore, and ID registers without peripheral control writes
dsp-lle-instructions TeakLite I instruction results, including external-register writes, captured from PMB8876 Mask ROM 0801 hardware
dsp-lle-opcode-aliases Noncanonical variants of every documented TeakLite I don't-care opcode field and reserved encodings, with PMB8875 and PMB8876 hardware goldens
dsp-lle-opcode-probe Resumable diagnostic sweep of raw TeakLite first-word opcodes with reset and timeout isolation
dsp-lle-opcode-map Every TeakLite first-word opcode compared with the PMB8876 hardware outcome map
dsp-lle-expansion-probe Resumable sweep of expansion words for all documented two-word TeakLite I encoding rows
dsp-lle-expansion-map-0…dsp-lle-expansion-map-18 Every expansion word of one two-word TeakLite family compared with PMB8876 hardware map hashes per 256 words
dsp-lle-control-functional DSP control, Program/Data ROM mapping and banking, reset, and power-state behavior
dsp-lle-program-banks Mask-specific Program ROM page selection, exact instruction reads, and same-PC execution
dsp-lle-modulator-clock PMB8876 digital modulator: reads from address 0 on MSWACT, one RAM word per four GMSK symbols
dsp-lle-tpu-events PMB8876 TPU Timer RAM decoder values 0–9 and 15–31 observed through Baseband, modulator, and DSP interrupt state
dsp-lle-tpu-bb-events Hardware timing, counts, status, and DSP interrupts for repeating TPU MONON events
dsp-hle-gsm-channel-scan Multiband MON scan using DSP firmware 0801 and auto-discovered EELITE AFC calibration, followed by FCCH detection
dsp-lle-boot-state Autonomous Mask ROM execution after DSP reset and interrupt-gated boot-command dispatch
dsp-lle-rom-dump PMB8875/PMB8876 DSP boot-mode PREAD dump of Program Mask ROM in Intel HEX format
dsp-lle-data-rom-dump PMB8875/PMB8876 DSP boot-mode DREAD dump of fixed and banked Data Mask ROM in Intel HEX format
mod Common CLC, SRC, and SRB register blocks
scu CPU identification, watchdog protection, mode transitions, counter, and status
scu-reset Intentional software reset using the firmware reset-control sequence
scu-wdt-reset Intentional watchdog reset; reaching the failure message means the reset did not occur
adc ADC registers, conversion, interrupts, and battery voltage measurement
afc AFC reference value, output enable, write mask, and firmware-safe nominal value
cgu-* Functional timing of CGU clock sources and dividers, PLL lock state, and interrupt routing
rtc RTC registers, synchronous/asynchronous operation, timer chain, and interrupt sub-node
vic VIC pending state, arbitration, priority masking, acknowledge, IRQ, and FIQ routing
gptu Both GPTU instances, T0/T1 concatenation, T2 split mode, reload, and service requests
sccu GSM sleep timer, ARM WFI, DSP power-down, standby-clock calibration, and wakeup interrupt
tpu TDMA counter clock, modulo overflow, compare interrupts, correction, offset, and frame skip
tpu-ram TPU RF/Timer RAM partitioning, widths, timing events, and address pointers
tpu-rf-ssc TPU RF SSC direct transfers, formats, clocks, strobe selection, and completion interrupt
tcm ITCM and DTCM region registers, memory access, remap, and overlay behavior
usb sci-worx USB core and wrapper reset values, BROM start sequence, and interrupt enable masks
i2c-v1 I2Cv1 registers, hardware bits, IRQ transfers, and PMIC SMBus reads
i2c-v2 I2Cv2 registers, IRQ transfers, SMBus, FIFO modes, and bus scan
i2c-v2-dma I2Cv2 SMBus transfers through DMA
i2c-fm-radio E71 TEA5761UK identification, direct register transfer, and readback
cfi-intel-buffer-abort Destructive Intel/ST E8/E9 cross-block buffered-program abort and recovery
ssc SSC loopback, serial formats, FIFO modes, interrupts, and errors
ssc-dma SSC full-duplex FIFO DMA, bursts, LLI, widths, statuses, and interrupts
dif-v1 DIFv1 loopback, FIFO modes, interrupts, errors, and complete 32-to-16 BMREG matrix
dif-v1-dma DIFv1 full-duplex FIFO DMA, bursts, LLI, widths, statuses, and interrupts
usart USART loopback, frame modes, FIFO, interrupts, and timeout
usart-dma USART loopback transfers through DMA
usart-autobaud Host-driven baud and frame detection, controls, rejection, and normal-RX handoff
usart-host-rx Host receive gating and pseudorandom payload integrity at representative baud rates
usart-irq-rx Firmware-style bounded RX FIFO draining and software IRQ retrigger
usart-flow-control Loopback CTS gating and automatic RTS threshold, plus physical GPIO levels on hardware
sim-card-dma Complete hardware T=0 SELECT through DMA, including data, T0END, and SW1/SW2
sim-card-timers Hardware T=0 character timeout; BWT is skipped without a T=1 card
dif-v2 DIFv2 IRQ loopback, serial modes, FIFO alignment and bursts, BSCONF, LCD reads, and conversion
dif-v2-dma DIFv2 DMA flows, FIFO alignment and bursts, BSCONF, parallel LCD reads, and recovery
dif-v2-clock DIFv2 parallel bus clock source: AHB_PER sources and dividers versus FPI1 and AHB
dif-v2-timings DIFv2 parallel bus time per byte for every LCDTIM field, firmware profiles, lane formats, and RMC
dif-v2-lcd EL71 JBT6K71 command/data I/O, polling/TPS BSCONF modes, GRAM, and conversion gating
cfi-intel Safe Intel/ST CFI discovery, identification, geometry, and read commands
cfi-intel-rw Intel/ST CFI program, erase, lock, and suspend/resume operations
cfi-intel-efa-rw Intel/ST extended flash array program and erase operations
cfi-intel-otp-rw Irreversible Intel/ST OTP program and freeze operations

cfi-intel-buffer-abort uses a detected blank, non-lock-down erase block and the geometry reported by that flash. It unlocks the block for the test, verifies the affected write buffer, cross-block word, and both full-block CRCs, then restores the original lock state. It skips destructive access if no suitable block or Intel/ST buffered-program command set is found.