Skip to content

Verify and restore BlackBox V21 factory sounds - #26

Merged
isod89 merged 2 commits into
isod89:mainfrom
Testing7B:fix/blackbox-v21-factory-sounds
Nov 10, 2026
Merged

isod89 merged 2 commits into
isod89:mainfrom
Testing7B:fix/blackbox-v21-factory-sounds

Conversation

@Testing7B

Copy link
Copy Markdown
Contributor

An official BlackBox V21 package can boot successfully while the factory bank is still missing. The firmware download does not contain the sound bank, and V21 can refuse all sound-bank reads when it detects invalid amp or cabinet records. The installer now separates firmware installation from sound-bank verification.

The page can verify all 20 factory amps, 20 cabs and 80 presets over MIDI. If the bank needs repair, the macOS recovery tool uses the two AM4 files from the local M-EFCS installation, checks the complete stock V21 image, backs up the flash and verifies the result after writing only the bank. This branch does not distribute vendor firmware or bank contents.

On a physical BlackBox, restoring the stock application alone left sound-bank reads failing. Restoring the vendor bank and rebooting allowed the running V21 firmware to return every record. The installer and USB recovery simulator suites also passed on this branch.

@isod89
isod89 merged commit ab61117 into isod89:main Nov 10, 2026
isod89 pushed a commit that referenced this pull request Nov 10, 2026
…al controls, #25 USB audio, #26 V21 factory sounds)

OP_VERSION_NUM 42. docs/WHATS-NEW-v42.md (with #24's text for the release notes), README, NOTICE (contributors: Vince
Speelman for #23-#25, Ivan Shevchuk for #26).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LFaxqW3CpFrLCvqoteTUv9
steponme82 added a commit to steponme82/openpocket that referenced this pull request Nov 11, 2026
upstream/main 995c84b (v41: VinSpee's isod89#22, the layer split's worker on the second core, rdm/post4/post5, PX_LO; v42:
isod89#23-isod89#26, the controls and screens, USB audio, the callbacks' order in px_aorder.h) into test build 13 (8dcf9b9).
Resolved, and what the Bluetooth image needs from it (test build 14):
- engine/: v42's, plus 8dcf9b9's PX_LOOP_GUARD hunks (the only difference). tests/engine/equiv.c: identical to v42's
  output, with and without -DPX_LOOP_GUARD=1; tools/sim: v42's wasm, the sources hash written after proving the wasm
  flags' preprocessed sources equal v42's.
- px_audio.h: v42's, with the Bluetooth hooks re-applied (the music's mix and fade, a_wcut_base, the timed ALNK0 entry
  and EN, a_quiet_dma, a_irq_gap_skip). The callbacks' order: v42's px_aorder.h in every image, in place of builds 12
  and 13's two output slots (the same fault; lag 0, a single a_res kept in .bss_hi); the isr line's OC is now a_swaps.
  a_quiet_dma is the Bluetooth image's only, so the release image is v42's.
- v41's worker never ends while the split runs, so the bare fm1_cpu1_wait() before the radio's start-up burst
  (fm1_ble_rf.h) and in ota_fread would retire CPU1 after 8 ms: both now wait until the worker idles in its RAM loop
  (px_audio.h a_cpu1_quiet, the FM1_CPU1_QUIET hook in fm1_ble_rf.h).
- bt/app-bt.ld: px_dsp.o's PX_LO buffers (14.6 KB) stay in the RAM code window's .bss_hi, as in builds 12 and 13 (LOWRAM
  holds bd_base and the receive pool); build.sh gives the BT image PXN_HOT_RAM=0 (rdm6, rdm15, post5 from the flash,
  as the release) to make that room; the BLE image keeps v42's flags.
- openpocket.c: v42's layout of LAST START FAILED with the build-13 registers (LBF_Y, the photo line at 222 in BT), the
  start-up's bt_flash_reads before px_nam_check and v42's px_nam_lp_clock, ui_status(b, kind) (the inner late dropped),
  the REV key; BT_TEST_BUILD 14 (a new bar id). ble_os.c/.h: ours (it holds v41's), plus ble_vm_flags.
- build.sh: v42's RAM lists; ours' summary lines. run_tests.sh, edsim.c, px_editor.h: v42's plus ours' BT lines.
The release image's preprocessed px_dsp.c is v42's; openpocket.c differs by empty macros and the pre-existing
fm1_cpu1_nobar check (12 B) and keys_held_at_boot. The Bluetooth image's flash does not fit the app slot yet (next commit).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants