Hi Nick,

> Does anyone know what mtd partition this line is from…
> System module loader - LDR V1.5 Build:0008 Assert

    $ LC_ALL=C grep -boa 'LDR V1.5 Build:0008 Assert' e3-nand-backup.?
    e3-nand-backup.3:18472:LDR V1.5 Build:0008 Assert
    $ 

18472 is the zero-based byte offset.

That's the same file with the Q;Q; for LDR.

    $ qq() {
    >     LC_ALL=C perl -0777ne 'print $& while /Q;Q;.{0,32}/gs' "$@" |
    >     hexdump -ve '36/1 "%_p" "\n"';
    > }
    $
    $ for f in e3-nand-backup.?; do
    >     qq $f | grep LDR | sed "s/^/$f /"
    > done
    e3-nand-backup.3 Q;Q;....Hf..........LDR.............
    $

-- 
Cheers, Ralph.

_______________________________________________
e3-hacking mailing list
e3-hacking@earth.li
https://www.earth.li/mailman/listinfo/e3-hacking

Reply via email to