Source: qoriq-rcw
Section: utils
Maintainer: Vincent Jardin <vjardin@free.fr>
Build-Depends:
 debhelper-compat (= 13),
 meson,
 ninja-build,
 pkgconf,
 libqoriq-rcw-dev (>= 1.4.0),
 libcmocka-dev <!nocheck>,
 pandoc
Standards-Version: 4.7.3
Homepage: https://github.com/vjardin/qoriq-rcw
Rules-Requires-Root: no

Package: qoriq-rcw
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Recommends: qoriq-rcw-data
Description: QorIQ Reset Configuration Word compiler (CLI)
 qoriq-rcw compiles RCW source files into PBL/RCW binary images for
 NXP QorIQ and Layerscape SoCs that use PBI format 2 (LS1028, LS1088,
 LS2088, LX2160 families) and decompiles binary images back to RCW
 source text. It is built on top of libqoriq-rcw.
 .
 The CLI also checks an image the way the BootROM would do
 before it is flashed (--check), reads the live RCW snapshot from
 /dev/mem on a running QorIQ/Layerscape board (--dump) or the RCW and
 PBI commands from its boot flash (--dump-flash), runs sanity checks,
 and emits a recompilable .rcw file. Install qoriq-rcw-data to use the
 dump modes (and decompiled output) without --rcwi/-I flags.
 .
 Run --check on an image before flashing it: an image the Service
 Processor's BootROM rejects could leave the board silent after a reboot.

Package: qoriq-rcw-data
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}
Description: QorIQ Reset Configuration Word compiler (data files)
 Canonical .rcwi bitfield definitions for the four pbiformat=2 SoC
 families (LS1028A, LS1088A, LS2088A, LX2160A - the latter shared
 with LX2120A and LX2080A). Vendored from the upstream
 nxp-qoriq/rcw repository under their original 3-clause BSD licence.
 .
 Installed to /usr/share/qoriq-rcw/. With this package present,
 qoriq-rcw --dump auto-resolves the right .rcwi for the detected
 SoC, and decompiled output recompiles via #include <foo.rcwi>
 without needing -I.
