mirror of
https://github.com/siemens-mobile-hacks/pmb887x-emu-web.git
synced 2026-11-25 22:27:22 +00:00
The wasm64 engine (qemu-system-arm.{js,wasm}, symbols, qemu-source.txt) now
deploys next to boards.tar and the Siemens key module in site/dist/, and
?dist= defaults to `dist`. Side-by-side builds under site/dist-* still work
through ?dist=<name>. The deploy bundle's engine is dist/dist/.
- build-qemu-wasm64.sh, ninja-fast.sh, build-release.sh, gate.sh,
run-tcg-isa.sh, bundle-dist.sh and the tools default to dist.
- pack-boards.sh no longer deletes <engine dir>/boards.tar as a stale copy:
that is now the boards.tar it packs.
- Links and example commands drop ?dist=dist, --dist dist, PROF_DIST=dist
and DIST=dist, now the default.
- Two idlebench comments keep dist-jit: they record a past comparison.
An existing checkout moves its build with
mv site/dist-jit/* site/dist/ && rmdir site/dist-jit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Xda8d7rfJjkFSmKVQtcBGh
2.9 KiB
2.9 KiB
doc — documentation index
Doing performance work? Read performance.md (the owner's rules, the A/B method, validation, where the time goes, and the closed ideas to grep before trying anything), then wasm-fast-paths.md for what the fork changes for speed. Everything else is reference.
| Doc | What it covers |
|---|---|
| performance.md | Where the perf work stands: target and binding rules, the timing model, scenebench scenes, the paired free-run A/B and the boot A/B, profiling, lockstep and checkers, the cost model, closed ideas, open issues, history since the DSP LLE |
| wasm-fast-paths.md | Every fork change in qemu/ that exists only for speed: where it is, what it buys, how to remove it, and what was returned to upstream |
| lessons.md | Platform facts and traps: the timing model's reasons, the io-recompile rewind, the emscripten runtime, wasm and V8, backend and device design, measuring, gates, shell traps |
| diagnostics.md | The tooling: page URL params, the environment variables qemu reads, wasm exports, which script does what, native trace runs |
| gsm-network.md | The optional GSM network: qemu's built-in cell in the page, where it runs and what it costs, which boards get it, what is not supported |
| android-emulator.md | An arm64 Android emulator and an arm64 Linux Chromium under qemu-user, both inside the container: what works, and why they were too slow for profiling (2026-11-10). A phone over adb is used instead (performance.md, "On a phone") |
| architecture.md | How the browser emulator works: the wasm engine, the build pipeline from the qemu/ submodule, what the fork adds, the page, native reference builds, the testing ladder |
| version-pins.md | What the qemu and bsp submodules were bumped to and why, by date |
Scripts worth knowing
| Command | What it does |
|---|---|
scripts/ninja-fast.sh |
incremental rebuild + deploy to site/dist, or to $WEB_DIST |
scripts/gate.sh quick|keep|close |
builds the native references from qemu/ as checked out, then every correctness gate, run concurrently, one verdict table |
tools/perf/swab.sh |
paired free-run A/B of two dists built with tools/perf/freerun.diff |
tools/perf/bootab.sh |
paired boot A/B of two dists, paced as on the page |
tools/lockstep-wasm.mjs |
wasm vs native value lockstep; refuses a reference built from other sources |
scripts/run-tcg-isa.sh |
the guest op-suite on every built backend, serial logs byte-compared |
scripts/run-lockstep.sh |
native JIT-vs-TCI value lockstep over full boots |
scripts/build-qemu-wasm64.sh |
the wasm64 build and deploy on their own, from qemu/ as checked out (build-qemu.sh adds the first submodule checkout and the bsp sync; neither moves a checkout) |