product-delivery.md 2.4 KB

Product Delivery

Use tools/package_prod2u.py delivery for both products. The old6400 helper forwards to the same implementation; MRDIMM no longer reads retired door-temp contracts.

python3 tools/package_prod2u.py delivery --help
python3 tools/package_prod2u.py delivery --product 6400-v1.1 --td-receipt RECEIPT --gui-exe EXE --output-dir OUTPUT
python3 tools/package_prod2u.py delivery --product mrdimm-v1.2 --td-receipt RECEIPT --gui-exe EXE --output-dir OUTPUT

Use --bitstream when the actual file is elsewhere than the receipt's recorded path or fetched directory. The file must match the native receipt hash. Optional --gui-zip must be a verified canonical archive containing the selected EXE and metadata. Optional --sdk-wheel must contain the exact current SDK runtime files. The installable Python SDK source, existing Go consumers, examples, data and usage guide are included even when no wheel is supplied.

The shared GUI identity validator requires a production PASS TD receipt, passing timing/warning checks, exact source input closure and actual BIT SHA. Packaging uses PyInstaller's archive reader to compare the EXE's embedded metadata and resources with the current product contract. The recorded Windows self-test must bind the same EXE bytes and embedded assets. Linux packaging does not pretend to execute a Windows binary.

RELEASE-IDENTITY binds all three repository commits/trees, actual TD and GUI source identities, contract, BIT/EXE hashes, native run/toolchain and validation records. For exported sources, the full overlay is verified before repository identities are used. PACKAGE-MANIFEST/SHA256SUMS cover all payload and documentation using the same canonical archive implementation as Base/Current. The standalone checker works without the source tree.

Without --status-json, the candidate status explicitly says QUICK_CANDIDATE_FULL_PENDING. Supplying a report preserves that report and its scope; byte integrity and qualified TD/GUI bindings do not establish Full software or physical hardware acceptance. Hardware/COM/JTAG/real I2C/BMC/actuators remain NOT_RUN. Failed/mismatched inputs must be rejected before an output ZIP is created.

Container verification dependencies pin PyInstaller6.22.2, matching the actual Windows builder. Its reader can inspect Windows EXEs on Linux. Cached Linux wheels are kept under /data/prod2u/cache/delivery-wheels; no host-wide installation is required.