|
1、
cubieboard2 的相关 cb2-lubuntu-server-nand.img 镜像文件有没有 4G 版本的。现有的镜像烧写到板子上之后,
root@cubieboard-jit:~# ll /dev/nand*
brw-rw---- 1 root disk 93, 0 Jan 1 00:00 /dev/nand
brw-rw---- 1 root disk 93, 1 Jan 1 00:00 /dev/nanda
brw-rw---- 1 root disk 93, 2 Jan 1 00:04 /dev/nandb
brw-rw---- 1 root disk 93, 3 Jan 1 00:00 /dev/nandc
有三个分区,
root@cubieboard-jit:~# fdisk -l /dev/nanda
Disk /dev/nanda: 67 MB, 67108864 bytes
255 heads, 63 sectors/track, 8 cylinders, total 131072 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
root@cubieboard-jit:~# fdisk -l /dev/nandb
Disk /dev/nandb: 2147 MB, 2147483648 bytes
255 heads, 63 sectors/track, 261 cylinders, total 4194304 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/nandb doesn't contain a valid partition table
root@cubieboard-jit:~# fdisk -l /dev/nandc
Disk /dev/nandc: 1753 MB, 1753219072 bytes
255 heads, 63 sectors/track, 213 cylinders, total 3424256 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xffffffff
Disk /dev/nandc doesn't contain a valid partition table
/dev/nandb分区用来存放rootfs,只有2G,而/dev/nandc分区根本没有使用,怎样能够把/dev/nandc的容量都划分到/dev/nandb里面呢?有没有这样的镜像文件?
即使使用 resize2fs /dev/nandb 命令,也只能扩展到2G。而我现在在TF卡上使用的rootfs已经达到 2.4 G的空间了,所以想烧到现有的Nand分区是不可能了。
-----------------------------------------------------------------------------------------------------
2、
使用 imgrepacker 工具制作镜像文件的时候, cb2-lubuntu-server-nand.img.dump目录下的 rootfs.fex 文件大小不能超过2G,否则就失败。
是不是imgrepacker 工具有此限制?还是需要更改哪些参数?
|
|