生成Yocto映像失败



目前我正在尝试从quectel建立一个sc20的yocto图像,我得到这个错误。

Yocto错误msm8990

文件。inc . has RECOVERYFS_SIZE_EXT4='268435456'

我该如何处理这类问题?

这里是一个完整的日志

ERROR: machine-recovery-image-1.0-r0 do_makesystem: Function failed: do_makesystem (log file is located at /opt/poky/build/tmp-glibc/work/msm8909-oe-linux-gnueabi/machine-recovery-image/1.0-r0/temp/log.do_makesystem.3590122)
ERROR: Logfile of failure stored in: /opt/poky/build/tmp-glibc/work/msm8909-oe-linux-gnueabi/machine-recovery-image/1.0-r0/temp/log.do_makesystem.3590122
Log data follows:
| DEBUG: Executing shell function do_makesystem
| error: ext4_allocate_best_fit_partial: failed to allocate 74 blocks, out of space?
| fs_config_file: (none)
| No fs_config applied as no fsconfig.conf file passed using -C option.
| Creating filesystem with parameters:
|     Size: 268435456
|     Block size: 4096
|     Blocks per group: 32768
|     Inodes per group: 8192
|     Inode size: 256
|     Journal blocks: 1024
|     Label:
|     Blocks: 65536
|     Block groups: 2
|     Reserved block group size: 15
| WARNING: /opt/poky/build/tmp-glibc/work/msm8909-oe-linux-gnueabi/machine-recovery-image/1.0-r0/temp/run.do_makesystem.3590122:1 exit 1 from 'make_ext4fs -s -a / -S /opt/poky/build/tmp-glibc/work/msm8909-oe-linux-gnueabi/machine-recovery-image/1.0-r0/rootfs/etc/selinux/mls/contexts/files/file_contexts -l 268435456 /opt/poky/build/tmp-glibc/deploy/images/msm8909-quec-smart/msm8909-recoveryfs.ext4 /opt/poky/build/tmp-glibc/work/msm8909-oe-linux-gnueabi/machine-recovery-image/1.0-r0/rootfs'
| ERROR: Function failed: do_makesystem (log file is located at /opt/poky/build/tmp-glibc/work/msm8909-oe-linux-gnueabi/machine-recovery-image/1.0-r0/temp/log.do_makesystem.3590122)
ERROR: Task (/opt/poky/meta-qti-bsp/recipes-products/images/machine-recovery-image.bb:do_makesystem) failed with exit code '1'
NOTE: Tasks Summary: Attempted 7550 tasks of which 7547 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
Summary: 1 task failed:
/opt/poky/meta-qti-bsp/recipes-products/images/machine-recovery-image.bb:do_makesystem
Summary: There were 5 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
/opt/poky/build

error: ext4_allocate_best_fit_partial: failed to allocate 74 block,在太空之外?

错误与图像的大小有关。您的系统文件树大于您的图像大小。

要解决这个问题,你需要增加根文件系统分区的大小:

make menuconfig->目标图像->根文件系统分区大小(MB)

最新更新