.. _xbtools_map.rst: Legacy to new map ***************** This document maps the legacy ``xbutil``/``xbmgmt`` commands to the new ``xbutil``/``xbmgmt`` commands. It lists out the new ``xbutil``/``xbmgmt`` calls that replace the existing calls. A few points: 1) The new utilities are complete redesign and architecture, hence there may not be exact 1-to-1 mapping. 2) The help menus (``--help``) of these new utilities have also been improved and are highly descriptive with regards to both the commands and options. Please refer to them as needed. 3) The new command opions have both short and long format, for example ``-d`` or ``--device``. In the table below, only the longer option format is used. You may refer the documentation of the new tools in the following links :ref:`xbutil2.rst` and :ref:`xbmgmt2.rst` . xbutil ~~~~~~ +------------+------------+-------------------+--------------------+ |Subcommand | Subcommand |Option |Option | |Legacy | New |Legacy |New | +============+============+===================+====================+ | | | | | |``help`` |``--help`` | | | | | | | | +------------+------------+-------------------+--------------------+ | | | | | |``reset`` |``reset`` |``-d `` |``--device `` | | | | | | +------------+------------+-------------------+--------------------+ | | | | | |``validate``|``validate``|``-d `` |``--device `` | | | | | | +------------+------------+-------------------+--------------------+ | | | | | | | |``-q`` |``--run quick`` | | | | | | +------------+------------+-------------------+--------------------+ | | | | | | | | |``--run ``| | | | | | +------------+------------+-------------------+--------------------+ | | | | | | | | |``--format `` | | | | | | +------------+------------+-------------------+--------------------+ | | | | | | | | |``--output `` | | | | | | +------------+------------+-------------------+--------------------+ | | | | | |``scan`` |``examine`` | | | | | | | | +------------+------------+-------------------+--------------------+ | | | | | |``query`` |``examine`` |``-d `` |``--device `` | | | | | | +------------+------------+-------------------+--------------------+ | | | | | | | | |``--report `` | | | | | | +------------+------------+-------------------+--------------------+ | | | | | | | | |``--output `` | | | | | | +------------+------------+-------------------+--------------------+ | | | | | |``dump`` |``examine`` | |``--format `` | | | | | | +------------+------------+-------------------+--------------------+ | | | | | |``top`` |``top`` |``-d `` |``--device `` | | | | | | +------------+------------+-------------------+--------------------+ | | | | | |``program`` |``program`` |``-d `` |``--device `` | | | | | | +------------+------------+-------------------+--------------------+ | | | | | | | |``-p `` |``--user `` | | | | | | +------------+------------+-------------------+--------------------+ xbmgmt ~~~~~~ +-------------+-----------+---------------------------+----------------------------------+ |Subcommand | Subcommand|Option |Option | |Legacy | New |Legacy |New | +=============+===========+===========================+==================================+ | | | | | |``help`` |``--help`` | | | | | | | | +-------------+-----------+---------------------------+----------------------------------+ | | | | | |``flash`` |``program``|``-d `` |``--device `` | | | | | | +-------------+-----------+---------------------------+----------------------------------+ | | | | | | | |``--update`` |``--base`` | | | | | | +-------------+-----------+---------------------------+----------------------------------+ | | | | | | | |``--update --shell ``|``--base --image `` | | | | | | +-------------+-----------+---------------------------+----------------------------------+ | | | | | | | |``--factory_reset`` |``--revert-to-golden`` | | | | | | +-------------+-----------+---------------------------+----------------------------------+ | | | | | |``partition``|``program``|``--card `` |``--device `` | | | | | | +-------------+-----------+---------------------------+----------------------------------+ | | | | | | | |``--program`` |``--shell `` | | | |``--name `` | | | | | | | +-------------+-----------+---------------------------+----------------------------------+ | | | | | | | |``--path ``|``--user `` | | | | | | +-------------+-----------+---------------------------+----------------------------------+ | | | | | |``scan`` |``examine``| |``--report host`` | | | | | | +-------------+-----------+---------------------------+----------------------------------+ | | | | | | |``examine``| |``--device `` | | | | | | +-------------+-----------+---------------------------+----------------------------------+ | | | | | | | | |``--report `` | | | | | | +-------------+-----------+---------------------------+----------------------------------+ | | | | | | | | |``--format `` | | | | | | +-------------+-----------+---------------------------+----------------------------------+ | | | | | | | | |``--output `` | | | | | | +-------------+-----------+---------------------------+----------------------------------+ | | | | | |``reset`` |``reset`` |``-d `` |``--device `` | | | | | | +-------------+-----------+---------------------------+----------------------------------+