我用的是最新的sunxi-tools
执行:nand-part /dev/nand 32768 'bootloader 32768' 'root 0' - check partition table copy 0: mbr: version 0x00000200, magic softw411
- OK
- check partition table copy 1: mbr: version 0x00000200, magic softw411
- OK
- check partition table copy 2: mbr: version 0x00000200, magic softw411
- OK
- check partition table copy 3: mbr: version 0x00000200, magic softw411
- OK
- mbr: version 0x00000200, magic softw411
- 2 partitions
- partition 1: class = DISK, name = bootloader, partition start = 32768, partition size = 32768 user_type=0
- partition 2: class = DISK, name = root, partition start = 65536, partition size = 0 user_type=0
- check partition table copy 0: mbr: version 0x00000200, magic softw411
- check partition table copy 1: mbr: version 0x00000200, magic softw411
- check partition table copy 2: mbr: version 0x00000200, magic softw411
- check partition table copy 3: mbr: version 0x00000200, magic softw411
- ready to write new partition tables:
- mbr: version 0x00000200, magic softw411
- 2 partitions
- partition 1: class = DISK, name = bootloader, partition start = 32768, partition size = 32768 user_type=0
- partition 2: class = DISK, name = root, partition start = 65536, partition size = 0 user_type=0
- write new partition tables? (Y/N)
- verifying new partition tables:
- check partition table copy 0: mbr: version 0x00000200, magic softw411
- OK
- check partition table copy 1: mbr: version 0x00000200, magic softw411
- OK
- check partition table copy 2: mbr: version 0x00000200, magic softw411
- OK
- check partition table copy 3: mbr: version 0x00000200, magic softw411
- OK
- mbr: version 0x00000200, magic softw411
- 2 partitions
- partition 1: class = DISK, name = bootloader, partition start = 32768, partition size = 32768 user_type=0
- partition 2: class = DISK, name = root, partition start = 65536, partition size = 0 user_type=0
复制代码- root@cubieboard:~/tools/nand# ls /dev
- ace_dev g2d loop5 ppp tty12 tty3 tty47 tty7 usbmon1
- ashmem i2c-0 loop6 ptmx tty13 tty30 tty48 tty8 usbmon2
- autofs i2c-1 loop7 pts tty14 tty31 tty49 tty9 usbmon3
- binder i2c-2 loop-control ram0 tty15 tty32 tty5 ttyS0 usbmon4
- block i2c-3 MAKEDEV ram1 tty16 tty33 tty50 ttyS1 usbmon5
- bus i2c-4 mapper random tty17 tty34 tty51 ttyS2 vcs
- cachefiles i2c-5 mem rfkill tty18 tty35 tty52 ttyS3 vcs1
- cedar_dev input mmcblk0 root tty19 tty36 tty53 ttyS4 vcsa
- char kmem mmcblk0p1 shm tty2 tty37 tty54 ttyS5 vcsa1
- console kmsg mmcblk0p2 snd tty20 tty38 tty55 ttyS6 watchdog
- cpu_dma_latency log_events nand stderr tty21 tty39 tty56 ttyS7 zero
- cuse log_main nanda stdin tty22 tty4 tty57 urandom
- disk log_radio nandb stdout tty23 tty40 tty58 usbdev1.1
- disp log_system nand_log.log sunxi-lcd tty24 tty41 tty59 usbdev2.1
- fb0 loop0 net tty tty25 tty42 tty6 usbdev3.1
- fb1 loop1 network_latency tty0 tty26 tty43 tty60 usbdev3.2
- fd loop2 network_throughput tty1 tty27 tty44 tty61 usbdev4.1
- full loop3 null tty10 tty28 tty45 tty62 usbdev5.1
- fuse loop4 pa_dev tty11 tty29 tty46 tty63 usbmon0
复制代码 可以看到只有两个nand分区,nanda nandb
但是重启以后- Broadcast message from root@cubieboard (pts/0) (Thu Jan 1 08:12:44 1970):
- The system is going down for reboot NOW!
复制代码- root@cubieboard:~/tools/nand# ls /dev
- ace_dev g2d loop5 nandi stdin tty22 tty4 tty57 urandom
- ashmem i2c-0 loop6 nandj stdout tty23 tty40 tty58 usbdev1.1
- autofs i2c-1 loop7 nandk sunxi-lcd tty24 tty41 tty59 usbdev2.1
- binder i2c-2 loop-control net tty tty25 tty42 tty6 usbdev3.1
- block i2c-3 MAKEDEV network_latency tty0 tty26 tty43 tty60 usbdev3.2
- bus i2c-4 mapper network_throughput tty1 tty27 tty44 tty61 usbdev4.1
- cachefiles i2c-5 mem null tty10 tty28 tty45 tty62 usbdev5.1
- cedar_dev input mmcblk0 pa_dev tty11 tty29 tty46 tty63 usbmon0
- char kmem mmcblk0p1 ppp tty12 tty3 tty47 tty7 usbmon1
- console kmsg mmcblk0p2 ptmx tty13 tty30 tty48 tty8 usbmon2
- cpu_dma_latency log_events nand pts tty14 tty31 tty49 tty9 usbmon3
- cuse log_main nanda ram0 tty15 tty32 tty5 ttyS0 usbmon4
- disk log_radio nandb ram1 tty16 tty33 tty50 ttyS1 usbmon5
- disp log_system nandc random tty17 tty34 tty51 ttyS2 vcs
- fb0 loop0 nandd rfkill tty18 tty35 tty52 ttyS3 vcs1
- fb1 loop1 nande root tty19 tty36 tty53 ttyS4 vcsa
- fd loop2 nandf shm tty2 tty37 tty54 ttyS5 vcsa1
- full loop3 nandg snd tty20 tty38 tty55 ttyS6 watchdog
- fuse loop4 nandh stderr tty21 tty39 tty56 ttyS7 zero
复制代码 又回来了!!
怎么回事!!
然后nand-part显示:- check partition table copy 0: mbr: version 0x00000200, magic softw411
- OK
- check partition table copy 1: mbr: version 0x00000200, magic softw411
- OK
- check partition table copy 2: mbr: version 0x00000200, magic softw411
- OK
- check partition table copy 3: mbr: version 0x00000200, magic softw411
- OK
- mbr: version 0x00000200, magic softw411
- 11 partitions
- partition 1: class = DISK, name = bootloader, partition start = 32768, partition size = 32768 user_type=0
- partition 2: class = DISK, name = env, partition start = 65536, partition size = 32768 user_type=0
- partition 3: class = DISK, name = boot, partition start = 98304, partition size = 32768 user_type=0
- partition 4: class = DISK, name = system, partition start = 131072, partition size = 1048576 user_type=2
- partition 5: class = DISK, name = data, partition start = 1179648, partition size = 1048576 user_type=2
- partition 6: class = DISK, name = misc, partition start = 2228224, partition size = 32768 user_type=0
- partition 7: class = DISK, name = recovery, partition start = 2260992, partition size = 65536 user_type=0
- partition 8: class = DISK, name = cache, partition start = 2326528, partition size = 655360 user_type=2
- partition 9: class = DISK, name = private, partition start = 2981888, partition size = 32768 user_type=0
- partition 10: class = DISK, name = databk, partition start = 3014656, partition size = 524288 user_type=0
- partition 11: class = DISK, name = UDISK, partition start = 3538944, partition size = 4194304 user_type=0
- check partition table copy 0: mbr: version 0x00000200, magic softw411
- check partition table copy 1: mbr: version 0x00000200, magic softw411
- check partition table copy 2: mbr: version 0x00000200, magic softw411
- check partition table copy 3: mbr: version 0x00000200, magic softw411
复制代码 这是怎么回事啊……
重启前我sync了一下,是这个原因吗?我觉得应该不是
|