Firefly开源社区

打印 上一主题 下一主题

3288 ubuntu 分区大小请教

100

积分

0

威望

0

贡献

技术小白

积分
100

3288 ubuntu 分区大小请教

发表于 2017-3-22 19:43:36      浏览:7314 | 回复:6        打印     [复制链接] 楼主
参考wiki升级完自己编译的kernel,正常起来后查看容量如下:
root@firefly:~# fdisk  -l
Disk /dev/mmcblk0: 29.7 GiB, 31910264832 bytes, 62324736 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 /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 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 /dev/mmcblk0boot0: 4 MiB, 4194304 bytes, 8192 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

root@firefly:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev           1008M     0 1008M   0% /dev
tmpfs           404M   11M  393M   3% /run
/dev/mmcblk0p3  2.3G  2.3G     0 100% /
tmpfs          1009M     0 1009M   0% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs          1009M     0 1009M   0% /sys/fs/cgroup
tmpfs           202M     0  202M   0% /run/user/0

32G的容量,但是df看不到剩余容量,/dev/mmcblk0p3  2.3G看样子是Ubuntu固件的容量。请教下剩余容量怎么配置进去


parameter参数:
CMDLINE:earlyprintk=ttyS2,115200 console=tty0 console=ttyS2,115200 androidboot.selinux=permissive androidboot.hardware=rk30board androidboot.console=ttyS2 root=/dev/mmcblk0p3 linuxroot rw rootfstype=ext4 init=/sbin/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00010000@0x00002000(boot),0x00002000@0x00012000(backup),-@0x00014000(linuxroot)
回复

使用道具 举报

100

积分

0

威望

0

贡献

技术小白

积分
100
发表于 2017-3-24 17:21:24      沙发
isle 发表于 2017-3-23 09:35
resize2fs /dev/mmcblk0p3

3Q 可以了
还请教下 make INSTALL_MOD_PATH=./modules_install modules_install,生成的module怎么再烧写到机器?
参考http://developer.t-firefly.com/thread-10907-1-1.html,重新支持的boot.img可以升级,但是modules没放进去
回复

使用道具 举报

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

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表