[U-Boot] [PATCH v2 0/3] dm: display devices in a tree-like format for easy debug

Masahiro Yamada yamada.m at jp.panasonic.com
Thu Nov 20 13:20:31 CET 2014


When I was reviewing I2C DM series, I found it difficult to
track what is going on.  "When is this node is bound/probe?" etc.

I think this tool is helpful to know which device is bound/probe.

Devices are listed like "tree" command does.


Changes in v2:
 - Fix the tree format

Masahiro Yamada (3):
  lib: string: move strlcpy() to a common place
  dm: add a command to list devices in a tree-like format
  sandbox: enable showdev command

 common/Makefile            |  1 +
 common/cmd_showdev.c       | 70 ++++++++++++++++++++++++++++++++++++++++++++++
 drivers/usb/gadget/ether.c | 24 ----------------
 include/configs/sandbox.h  |  1 +
 include/linux/string.h     |  3 ++
 lib/string.c               | 25 +++++++++++++++++
 6 files changed, 100 insertions(+), 24 deletions(-)
 create mode 100644 common/cmd_showdev.c

-- 
1.9.1



More information about the U-Boot mailing list