嵌入式爱好者

查看: 28068|回复: 2

[Linux] 无法生成rootfs.ext4

[复制链接]

17

主题

42

帖子

138

积分

A40i/T3/T507/T527通行证

扫一扫,手机访问本帖
发表于 2021-6-21 11:15:40 | 显示全部楼层 |阅读模式
根据手册:
rootfs.ext4生成
# cd /root/workspace/allwinner/A40i/bsp/lichee/ #根据自己的环境切换
# ./build.sh -m pack_rootfs
Rootfs 原路径: lichee/out/sun8iw11p1/linux/common/buildroot/target
Rootfs.ext4路径: lichee/out/sun8iw11p1/linux/common/rootfs.ext4


执行后提示:
build buidroot-201611...
xgnueabihf
sun8iw11p1_hf_defconfig
INFO: create ext4 rootfs ...
rm: cannot remove '/home/forlinx/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/rootfs.ext4': No such file or directory
rootdir=/home/forlinx/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target
table='/home/forlinx/workspace/allwinner/A40i/bsp/lichee/tools/pack/common/devices/_device_table.txt'
makedevs: line 1: regular file '/home/forlinx/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/bin/busybox' does not exist: No such file or directory
makedevs: line 2: regular file '/home/forlinx/workspace/allwinner/A40i/bsp/lichee/out/sun8iw11p1/linux/common/buildroot/target/usr/libexec/dbus-daemon-launch-helper' does not exist: No such file or directory
/home/forlinx/workspace/allwinner/A40i/bsp/lichee
INFO: create ext4 rootfs OK.


并没有生成create ext4,请问这块是如何解决?
回复

使用道具 举报

0

主题

1173

帖子

2195

积分

发表于 2021-6-21 15:50:42 | 显示全部楼层
生成的是rootfs.ext4,不是create ext4,另外您解压源码的时候解压文件系统了吗
点评回复 支持 反对

使用道具 举报

0

主题

1

帖子

9

积分

LS1012A通行证A40i/T3/T507/T527通行证

发表于 2022-2-24 11:37:01 | 显示全部楼层
同问,一样的问题:(,楼主解决没?
点评回复 支持 反对

使用道具 举报

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

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-5-3 22:44

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表