Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 29th, 2011  |  syntax: None  |  size: 2.13 KB  |  views: 40  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. smite@rockbox:~/tmp/rockbox/utils/sbtools/sa2ara08k_02_hf1_deu$ for i in {1..10}; do mkdir $i; cd $i; sudo ../../sbtoelf -a "usbotp(066f:3780)" -z -o FIRMWARE. ../firmware.sb 2>&1 > output; cd ..; done
  2. [sudo] password for smite:
  3. smite@rockbox:~/tmp/rockbox/utils/sbtools/sa2ara08k_02_hf1_deu$ for i in */FIRMWARE.____.2.elf; do xxd $i | grep ^00001a0; done
  4. 00001a0: 041c 0000 6602 1508 cc00 0000 0000 0000  ....f...........
  5. 00001a0: 041c 0000 6602 8e08 cc00 0000 0000 0000  ....f...........
  6. 00001a0: 041c 0000 6602 d909 cc00 0000 0000 0000  ....f...........
  7. 00001a0: 041c 0000 6602 a108 cc00 0000 0000 0000  ....f...........
  8. 00001a0: 041c 0000 6602 e609 cc00 0000 0000 0000  ....f...........
  9. 00001a0: 041c 0000 6602 7508 cc00 0000 0000 0000  ....f.u.........
  10. 00001a0: 041c 0000 6602 0c09 cc00 0000 0000 0000  ....f...........
  11. 00001a0: 041c 0000 6602 2408 cc00 0000 0000 0000  ....f.$.........
  12. 00001a0: 041c 0000 6602 d009 cc00 0000 0000 0000  ....f...........
  13. 00001a0: 041c 0000 6602 5d09 cc00 0000 0000 0000  ....f.].........
  14. smite@rockbox:~/tmp/rockbox/utils/sbtools/sa2ara08k_02_hf1_deu$ for file in 1/FIRM*; do file=${file#1/}; for count in {1..10}; do cd $count; md5sum $file; cd ..; done; done | uniq | awk '{ print $2;}' | uniq -c
  15.       1 FIRMWARE.____.0.elf
  16.       1 FIRMWARE.____.1.elf
  17.      10 FIRMWARE.____.2.elf
  18.       1 FIRMWARE.____.3.elf
  19.       1 FIRMWARE.____.4.elf
  20.       1 FIRMWARE.____.bin
  21.       1 FIRMWARE.hLm2.bin
  22.       1 FIRMWARE.hLmi.bin
  23.       1 FIRMWARE.hLst.0.elf
  24.       1 FIRMWARE.hLst.bin
  25.       1 FIRMWARE.host.0.elf
  26.       1 FIRMWARE.host.bin
  27.       1 FIRMWARE.hvm2.bin
  28.       1 FIRMWARE.hvmi.bin
  29.       1 FIRMWARE.lba_.0.elf
  30.       1 FIRMWARE.lba_.1.elf
  31.       1 FIRMWARE.lba_.bin
  32.       1 FIRMWARE.mlc_.0.elf
  33.       1 FIRMWARE.mlc_.1.elf
  34.       1 FIRMWARE.mlc_.bin
  35.       1 FIRMWARE.play.0.elf
  36.       1 FIRMWARE.pLay.0.elf
  37.       1 FIRMWARE.play.1.elf
  38.       1 FIRMWARE.pLay.1.elf
  39.       1 FIRMWARE.play.bin
  40.       1 FIRMWARE.pLay.bin
  41.       1 FIRMWARE.pLm2.bin
  42.       1 FIRMWARE.pLmi.bin
  43.       1 FIRMWARE.pvm2.bin
  44.       1 FIRMWARE.pvmi.bin
  45.       1 FIRMWARE.rsrc.bin
  46. smite@rockbox:~/tmp/rockbox/utils/sbtools/sa2ara08k_02_hf1_deu$
  47.  
  48.  
clone this paste RAW Paste Data