summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx4/en_tx.c
diff options
context:
space:
mode:
authorPeter Griffin <peter.griffin@linaro.org>2017-03-10 11:26:36 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2017-03-10 11:26:36 +1100
commit4e0f93d8ab50a371a77a8cf470f33b5a8841121e (patch)
tree42066616dd84193988b3953e5d99eb7ba07fa137 /drivers/net/ethernet/mellanox/mlx4/en_tx.c
parent7811fce32da5fbe04eea592efc950656bce46dfd (diff)
scripts/gdb: add lx-fdtdump command
lx-fdtdump dumps the flattened device tree passed to the kernel from the bootloader to the filename specified as the command argument. If no argument is provided it defaults to fdtdump.dtb. This then allows further post processing on the machine running GDB. The fdt header is also also printed in the GDB console. For example: (gdb) lx-fdtdump fdt_magic: 0xD00DFEED fdt_totalsize: 0xC108 off_dt_struct: 0x38 off_dt_strings: 0x3804 off_mem_rsvmap: 0x28 version: 17 last_comp_version: 16 Dumped fdt to fdtdump.dtb >fdtdump fdtdump.dtb | less This command is useful as the bootloader can often re-write parts of the device tree, and this can sometimes cause the kernel to not boot. Link: http://lkml.kernel.org/r/1481280065-5336-2-git-send-email-kbingham@kernel.org Signed-off-by: Peter Griffin <peter.griffin@linaro.org> Signed-off-by: Kieran Bingham <kbingham@kernel.org> Cc: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/en_tx.c')
0 files changed, 0 insertions, 0 deletions