瑞芯微Rockchip开发者社区
直播中

张龙祥

9年用户 1317经验值
擅长:连接器
私信 关注
[问答]

请教下RK3288 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 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)

回帖(1)

张敏

2022-8-8 14:54:26
resize2fs /dev/mmcblk0p3
举报

更多回帖

发帖
×
20
完善资料,
赚取积分