a***u 发帖数: 14 | 1 Anyone know hexdump? I can use hexdump myfile, but I want to display ascii to
the right. The man page said use _u, so I use hexdump -e "%_u" myfile, it
doesn't recognize the format "%_u".
What is the right format? |
|
S*A 发帖数: 7142 | 2 首先这是同一个 flash device 被按区划分成几个小块。
就像 sda 包含 sda1 sda2 ... 一样
dmesg:
Flash device: 0x800000 at 0x1fc00000
bootloader size: 262144
Creating 4 MTD partitions on "Physically mapped flash":
0x000000000000-0x000000040000 : "cfe"
0x000000040000-0x0000007e0000 : "linux"
0x00000011a800-0x0000007e0000 : "rootfs"
0x000000300000-0x0000007e0000 : "rootfs_data"
0x0000007e0000-0x000000800000 : "nvram"
这个是每个 mtd 的大小。注意 nvram 永远在最后而且大小是 128K.
rootfs data 有 5M.
root@OpenWrt:~# cat /proc/partitions
major minor #bl... 阅读全帖 |
|
|