buildroot 构建的文件系统分区问题
使用buildroot构建了一个文件系统,u-boot,kernel还是使用的rk3399 sdk自带的,系统起来以后看到分区有问题:package-file :
# NAME Relative path
#
#HWDEF HWDEF
package-file package-file
bootloaderImage/MiniLoaderAll.bin
parameter Image/parameter.txt
trust Image/trust.img
uboot Image/uboot.img
boot Image/boot.img
rootfs:grow Image/rootfs.img
backup RESERVED
parameter.txt :
FIRMWARE_VER: 8.1
MACHINE_MODEL: RK3399
MACHINE_ID: 007
MANUFACTURER: RK3399
MAGIC: 0x5041524B
ATAG: 0x00200800
MACHINE: 3399
CHECK_MASK: 0x80
PWR_HLD: 0,0,A,0,1
TYPE: GPT
CMDLINE: mtdparts=rk29xxnand:0x00002000@0x00004000(uboot),0x00002000@0x00006000(trust),0x00010000@0x0000a000(boot),0x00010000@0x0002a000(backup),-@0x0005a000(rootfs:grow)
uuid:rootfs=614e0000-0000-4b53-8000-1d28000054a9
系统中看到的分区信息:
# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 54.1M 5.7M 44.2M11% /
devtmpfs 1.9G 0 1.9G 0% /dev
tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs 1.9G 132.0K 1.9G 0% /tmp
tmpfs 1.9G 16.0K 1.9G 0% /run
/dev/mmcblk0p1 29.7G 2.5G 27.2G 8% /mnt
# cat /proc/partitions
major minor#blocksname
1 0 4096 ram0
179 0 30535680 mmcblk1
179 1 4096 mmcblk1p1
179 2 4096 mmcblk1p2
179 3 32768 mmcblk1p3
179 4 32768 mmcblk1p4
179 5 30351343 mmcblk1p5
179 96 4096 mmcblk1rpmb
179 64 4096 mmcblk1boot1
179 32 4096 mmcblk1boot0
179 128 31140864 mmcblk0
179 129 31136768 mmcblk0p1
页:
[1]