• Alessandro Rubini's avatar
    tools: initial wrpc-dump, still bugged · f3dafc70
    Alessandro Rubini authored
    The tool is meant to print internal data structures of the wrpc,
    by running either on a dump file or a live system.
    
    The code is an edited copy of wr-switch-sw/userspace/tools/wrs_dump_shmem.c,
    so the data-dumping mechanism is from there.
    
    bugs at this point:
       - all endianness stuff is bad (in wrs it was local, here we cross-dump)
       - data sizes are wrong (see next commit)
       - we miss checks for consistency
       - we can't open /dev/mem (for spec for example) or a elf file
       - docs are missing too
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    f3dafc70
Name
Last commit
Last update
..
lm32-etheruart Loading commit data...
sdbfs Loading commit data...
sdbfs-flash Loading commit data...
trivial-init Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
eb-w1-write.c Loading commit data...
eb-w1.c Loading commit data...
genraminit.c Loading commit data...
genrammif.c Loading commit data...
genramvhd.c Loading commit data...
git-compileall Loading commit data...
pfilter-builder.c Loading commit data...
sdbfs.README Loading commit data...
wr_graph.py Loading commit data...
wrpc-dump.c Loading commit data...
wrpc-uart-sw.c Loading commit data...
wrpc-w1-read.c Loading commit data...
wrpc-w1-write.c Loading commit data...