[E3-hacking] Config / content filesystem

Ralph Corderoy ralph at inputplus.co.uk
Sun Apr 28 13:44:12 BST 2019


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.



More information about the e3-hacking mailing list