3288 ubuntu 分区大小请教
参考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 SizeUsed Avail Use% Mounted on
udev 1008M 0 1008M 0% /dev
tmpfs 404M 11M393M 3% /run
/dev/mmcblk0p32.3G2.3G 0 100% /
tmpfs 1009M 0 1009M 0% /dev/shm
tmpfs 5.0M4.0K5.0M 1% /run/lock
tmpfs 1009M 0 1009M 0% /sys/fs/cgroup
tmpfs 202M 0202M 0% /run/user/0
32G的容量,但是df看不到剩余容量,/dev/mmcblk0p32.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)
resize2fs /dev/mmcblk0p3 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没放进去 module要放到根文件系统中,你要放到boot(kernel)里面就不要模块编译, isle 发表于 2017-3-23 09:35
resize2fs /dev/mmcblk0p3
怎么做到升级后开机默认ok呢,不用resize可以么 sheqw 发表于 2018-10-25 15:14
怎么做到升级后开机默认ok呢,不用resize可以么
做镜像时先resize2fs sheqw 发表于 2018-10-25 15:14
怎么做到升级后开机默认ok呢,不用resize可以么
你的可以开机自动调整大小了吗?
页:
[1]