[U-Boot] [PATCH v1] common: command: Add command execution tracer.

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Fri Apr 5 11:28:49 UTC 2019


> On 05.04.2019, at 13:03, Christoph Muellner <christoph.muellner at theobroma-systems.com> wrote:
> 
> When using boot scripts it can become quite hard to understand
> which commands are actually executed during bootup (e.g. where
> is a kernel image loaded from or which DTB is in use).
> 
> Shell scripts suffer from a similar problem and many shells address
> this problem with a command execution tracer (e.g. BASH has xtrace,
> which can be enabled by "set -x").
> 
> This patch introduces a command tracer for U-Boot, which prints
> every command with its arguments before it is executed.
> 
> Signed-off-by: Christoph Muellner <christoph.muellner at theobroma-systems.com>

Reviewed-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>



More information about the U-Boot mailing list