commit | fdc7387845420168ee5dd479fbe4391ff93bddab | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Mon Apr 15 22:13:13 2013 -0400 |
committer | David Gibson <david@gibson.dropbear.id.au> | Fri May 24 18:20:53 2013 +1000 |
tree | f73410d17dd69b5002662558e205570e63804785 | |
parent | be8d1c82cb0a9caeb7e2f804f9a9f845063d7d53 [diff] |
fdtdump: add a --scan option Often times, fdts get embedded in other larger files. Rather than force people to `dd` the blob out themselves, make the fdtdump file smarter. It can now scan the blob looking for the fdt magic. Once locate, it does a little validation on the main struct to make sure we didn't hit random binary data. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>