查看: 695|回复: 1

./build.sh rootfs 报错!

[复制链接]

1

主题

1

帖子

5

积分

新手上路

Rank: 1

积分
5
发表于 2021-1-25 11:20:35 | 显示全部楼层 |阅读模式
chmod a+x /home/melit/work/rk3399/linuxsdk-friendlyelec/buildroot/output/rockchip_rk3399/build/buildroot-fs/fakeroot.fs
rm -f /home/melit/work/rk3399/linuxsdk-friendlyelec/buildroot/output/rockchip_rk3399/target/THIS_IS_NOT_YOUR_ROOT_FILESYSTEM
PATH="/home/melit/work/rk3399/linuxsdk-friendlyelec/buildroot/output/rockchip_rk3399/host/bin:/home/melit/work/rk3399/linuxsdk-friendlyelec/buildroot/output/rockchip_rk3399/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /home/melit/work/rk3399/linuxsdk-friendlyelec/buildroot/output/rockchip_rk3399/host/bin/fakeroot -- /home/melit/work/rk3399/linuxsdk-friendlyelec/buildroot/output/rockchip_rk3399/build/buildroot-fs/fakeroot.fs
rootdir=/home/melit/work/rk3399/linuxsdk-friendlyelec/buildroot/output/rockchip_rk3399/target
table='/home/melit/work/rk3399/linuxsdk-friendlyelec/buildroot/output/rockchip_rk3399/build/buildroot-fs/device_table.txt'
/usr/bin/install -m 0644 support/misc/target-dir-warning.txt /home/melit/work/rk3399/linuxsdk-friendlyelec/buildroot/output/rockchip_rk3399/target/THIS_IS_NOT_YOUR_ROOT_FILESYSTEM
pack buildroot image at: /home/melit/work/rk3399/linuxsdk-friendlyelec/buildroot/output/rockchip_rk3399/images/rootfs.ext4
you take 0:06.03 to build builroot
====Build buildroot ok!====
buildroot/output/rockchip_rk3399/images/rootfs.ext4 not generated?

在/home/melit/work/rk3399/linuxsdk-friendlyelec/buildroot/output/rockchip_rk3399/images下无rootfs.ext4 ,存在rootfs.tar 包。

在进一步创建sd-img时,会报
melit@ubuntu:~/work/rk3399/linuxsdk-friendlyelec$ sudo ./build.sh sd-img
[sudo] password for melit:
Dump env:
--------------------
CMD = /home/melit/work/rk3399/linuxsdk-friendlyelec/device/rockchip/common/build.sh
COMMON_DIR = /home/melit/work/rk3399/linuxsdk-friendlyelec/device/rockchip/common
TOP_DIR = /home/melit/work/rk3399/linuxsdk-friendlyelec
BOARD_CONFIG = /home/melit/work/rk3399/linuxsdk-friendlyelec/device/rockchip/.BoardConfig.mk
SDFUSE_DIR = /home/melit/work/rk3399/linuxsdk-friendlyelec/friendlyelec/rk3399/sd-fuse_rk3399
BUILD_TARGET = sd-img
NEW_BOARD_CONFIG = /home/melit/work/rk3399/linuxsdk-friendlyelec/device/rockchip/rk3399/sd-img


error: please build rootfs first.


回复

使用道具 举报

323

主题

485

帖子

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
18769
发表于 2021-1-25 19:28:42 | 显示全部楼层
参考一下这里的
http://wiki.t-firefly.com/en/Fir ... ldroot_compile.html
看看有没有帮助

风火轮微信公众号
回复 支持 反对

使用道具 举报

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

本版积分规则

QQ|风火轮WIKI|手机版|深圳风火轮团队 ( 粤ICP备17095099号

GMT+8, 2021-3-1 08:11 , Processed in 0.055409 second(s), 23 queries .

快速回复 返回顶部 返回列表
 
【客服1】 商务合作 15289193
【客服2】 业务洽谈 13257599
【客服3】 售前咨询 510313198
【邮箱】
smartfire@smartfire.cn