Advertisement
Guest User

Untitled

a guest
Dec 30th, 2015
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. Output on non patched mainline kernel
  2. root@k2e-evm:~/arm-linux-gnueabihf# flash_erase /dev/mtd4 0 0
  3. Erasing 128 Kibyte @ 1fde0000 -- 99 % complete flash_erase: Skipping bad block at 1fe00000
  4. flash_erase: Skipping bad block at 1fe20000
  5. flash_erase: Skipping bad block at 1fe40000
  6. flash_erase: Skipping bad block at 1fe60000
  7. Erasing 128 Kibyte @ 1fe60000 -- 100 % complete
  8. root@k2e-evm:~/arm-linux-gnueabihf# ./nanddump -f /tmp/dump -s 0 -l 2048 /dev/mtd4
  9. ECC failed: 0
  10. ECC corrected: 0
  11. Number of bad blocks: 0
  12. Number of bbt blocks: 4
  13. Block size 131072, page size 2048, OOB size 64
  14. Dumping data starting at 0x00000000 and ending at 0x00000800...
  15. root@k2e-evm:~/arm-linux-gnueabihf#
  16. root@k2e-evm:~/arm-linux-gnueabihf# hexdump /tmp/dump
  17. 0000000 ffff ffff ffff ffff ffff ffff ffff ffff
  18. *
  19. 0000800
  20. root@k2e-evm:~/arm-linux-gnueabihf# ./nandflipbits /dev/mtd4 1@0:5@0:7@30:3@46:5@47
  21. root@k2e-evm:~/arm-linux-gnueabihf# ./nanddump -f /tmp/dump -s 0 -l 2048 /dev/mtd4
  22. ECC failed: 0
  23. ECC corrected: 0
  24. Number of bad blocks: 0
  25. Number of bbt blocks: 4
  26. Block size 131072, page size 2048, OOB size 64
  27. Dumping data starting at 0x00000000 and ending at 0x00000800...
  28. root@k2e-evm:~/arm-linux-gnueabihf# hexdump /tmp/dump
  29. 0000000 ffdd ffff ffff ffff ffff ffff ffff ffff
  30. 0000010 ffff ffff ffff ffff ffff ffff ffff ff7f
  31. 0000020 ffff ffff ffff ffff ffff ffff ffff dff7
  32. 0000030 ffff ffff ffff ffff ffff ffff ffff ffff
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement