CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
查看: 5714|回复: 2

cb2的板子Nand问题

[复制链接]
发表于 2014-11-19 14:05:54 | 显示全部楼层 |阅读模式
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 工具有此限制?还是需要更改哪些参数?
回复

使用道具 举报

发表于 2014-11-19 16:26:59 | 显示全部楼层
本帖最后由 @allen 于 2014-11-19 16:28 编辑

http://forum.cubietech.com/forum.php?mod=viewthread&tid=3202

用nand-part 命令

或最新的img http://dl.cubieboard.org/softwar ... -lubuntu-nand-v2.0/
回复 支持 反对

使用道具 举报

发表于 2014-11-21 22:31:26 | 显示全部楼层
Mark一下
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-5-17 18:45 , Processed in 0.021690 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部