SHARE
TWEET

Untitled

a guest Jan 27th, 2012 277 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Bootloader version: RouterBOOT booter 2.26
  2. OpenWRT version: r29910
  3.  
  4. root@OpenWrt:/# uname -a
  5. Linux OpenWrt 2.6.39.4 #1 Thu Jan 26 18:45:02 VOLT 2012 mips GNU/Linux
  6.  
  7. root@OpenWrt:/# cat /proc/mtd
  8. dev:    size   erasesize  name
  9. mtd0: 0000b000 00001000 "routerboot"
  10. mtd1: 00001000 00001000 "hard_config"
  11. mtd2: 00002000 00001000 "bios"
  12. mtd3: 00001000 00001000 "soft_config"
  13. mtd4: 00040000 00004000 "booter"
  14. mtd5: 005c0000 00004000 "kernel"
  15. mtd6: 03a00000 00004000 "rootfs"
  16.  
  17. root@OpenWrt:/# mount -t yaffs2 /dev/mtdblock5 /mnt/kernel/ && ls -la /mnt/kernel
  18. [ 1638.500000] yaffs: dev is 32505861 name is "mtdblock5" rw
  19. [ 1638.510000] yaffs: passed flags ""
  20. drwxr-xr-x    1 root     root           512 Jan  1 00:03 .
  21. drwxr-xr-x    3 root     root             0 Jan  1 00:25 ..
  22. -rwxr-xr-x    1 root     root       4669168 Jan  1 00:02 kernel
  23. drwx------    1 root     root           512 Jan  1 00:27 lost+found
  24.  
  25. root@OpenWrt:/# mount -t yaffs2 /dev/mtdblock6 /mnt/rootfs/ && ls -la /mnt/rootfs/
  26. [ 1777.720000] yaffs: dev is 32505862 name is "mtdblock6" rw
  27. [ 1777.720000] yaffs: passed flags ""
  28. drwxr-xr-x    1 root     root           512 Jan  1 00:04 .
  29. drwxr-xr-x    4 root     root             0 Jan  1 00:28 ..
  30. drwxr-xr-x    1 root     root           512 Jan  1 00:03 bin
  31. drwxr-xr-x    1 root     root           512 Jan 26  2012 dev
  32. drwxr-xr-x    1 root     root           512 Jan  1 00:03 etc
  33. -rwxr-xr-x    1 root     root          2313 Jan 26  2012 init
  34. drwxr-xr-x    1 root     root           512 Jan  1 00:03 lib
  35. drwx------    1 root     root           512 Jan  1 00:29 lost+found
  36. drwxr-xr-x    1 root     root           512 Jan 26  2012 mnt
  37. drwxr-xr-x    1 root     root           512 Jan 26  2012 overlay
  38. drwxr-xr-x    1 root     root           512 Jan 26  2012 proc
  39. drwxr-xr-x    1 root     root           512 Jan  1 00:03 rom
  40. drwxr-xr-x    1 root     root           512 Jan 26  2012 root
  41. drwxr-xr-x    1 root     root           512 Jan  1 00:03 sbin
  42. drwxr-xr-x    1 root     root           512 Jan 26  2012 sys
  43. drwxrwxrwx    1 root     root           512 Jan 26  2012 tmp
  44. drwxr-xr-x    1 root     root           512 Jan  1 00:04 usr
  45. lrwxrwxrwx    1 root     root             4 Jan  1 00:03 var -> /tmp
  46. drwxr-xr-x    1 root     root           512 Jan 26  2012 www
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top