DUMPIMAGE(1)

๐Ÿ’– DUMPIMAGE(1) ๐Ÿ’–

okay bestie, welcome to the General Commands Manual page for dumpimage โ€” yes the all-caps title is giving very dramatic but that's just how manpages do ๐Ÿ’…


โœจ NAME โœจ

dumpimage โ€” extract data from U-Boot images ๐Ÿซถ


๐ŸŒธ SYNOPSIS ๐ŸŒธ

dumpimage [-T type] -l image

dumpimage [-T type] [-p position] -o outfile image

dumpimage -h

dumpimage -V

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

so dumpimage is the girl who lists and extracts data from U-Boot images, no cap โœจ

if -l is specified, dumpimage lists the components in image. otherwise (aka the default main character behaviour), dumpimage extracts the component at position to outfile. that's it, that's the whole vibe ๐ŸŽ€


๐Ÿ‘‘ OPTIONS ๐Ÿ‘‘

  • -h โ€” print usage information and exit. short and sweet, she said what she said ๐Ÿ’…
  • -l โ€” print the header information for image, including a list of components. literally the "show me everything" option ๐Ÿ”ฅ
  • -o outfile โ€” the file to write the dumped component to. where the goods go ๐Ÿ“ฆ
  • -p position โ€” specify the position of the component to dump. this should be a numeric index, starting at 0. if you don't specify it, the default position is 0. zero-indexed girlies stay winning ๐Ÿ“
  • -T type โ€” specify the type of the image. if you don't specify it, the image type will be automatically detected (she's psychic, lowkey ๐Ÿ”ฎ). a list of supported image types may be printed by running mkimage -T list.
  • -V โ€” print version information and exit. the classic "who even am I" check โญ

๐Ÿ’€ BUGS ๐Ÿ’€

please report bugs to the U-Boot bug tracker. not me being the messenger but like, fr fr, tell them ๐Ÿ™ˆ


๐ŸŒˆ EXAMPLES ๐ŸŒˆ

create a multi-file image and then extract part of that image ๐Ÿงš

$ mkimage -A x86 -O linux -T multi -n x86 \
    -d vmlinuz:initrd.img:System.map multi.img
Image Name:   x86
Created:      Thu Jul 25 10:29:13 2013
Image Type:   Intel x86 Linux Multi-File Image (gzip compressed)
Data Size:    13722956 Bytes = 13401.32 kB = 13.09 MB
Load Address: 00000000
Entry Point:  00000000
Contents:
   Image 0: 4040128 Bytes = 3945.44 kB = 3.85 MB
   Image 1: 7991719 Bytes = 7804.41 kB = 7.62 MB
   Image 2: 1691092 Bytes = 1651.46 kB = 1.61 MB
$ dumpimage -p 2 -o System.map multi.img

look at that โ€” -p 2 snatches the third component and drops it into System.map. ate and left no crumbs ๐Ÿ’…โœจ


๐Ÿ’œ SEE ALSO ๐Ÿ’œ

mkimage(1) โ€” her sister, also iconic ๐Ÿ‘‘


that's the whole page bestie, you're so smart for reading all of it ๐Ÿซถ

U-Boot, dated 2022-06-11 โ€” mwah, bye, go dump some images ๐Ÿ’–๐ŸŒธ๐Ÿฆ‹

๐Ÿ“ฆ where this page comes from