Menu

#136 Add offset to file names used for dump in dfuse-pack.py

none
open
nobody
None
2022-04-14
2022-04-04
Owen Duffy
No

It would be really helpful if the binary files created by dfuse-pack.py had the offset address in the filename.

For example:

#        out = '%s.target%d.image%d.bin' % (file,t,e)
        address = eprefix["address"]
        out = "%s.target%d.image%d.0x%08x.bin" % (file, t, e, address)

Owen

Discussion

  • Tormod Volden

    Tormod Volden - 2022-04-14

    Thanks, this seems to be useful. It would allow repacking an unpacked file without other information carried over than the file names themselves, right?

     
  • Owen Duffy

    Owen Duffy - 2022-04-14

    Yes, either to repack it, or to write it to a chip at the correct address. The filename carries the needed information.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB