风火轮用户44427 发表于 2021-1-25 11:20:35

./build.sh rootfs 报错!

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
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.


peter 发表于 2021-1-25 19:28:42

参考一下这里的
http://wiki.t-firefly.com/en/Firefly-RK3399/buildroot_compile.html
看看有没有帮助
页: [1]
查看完整版本: ./build.sh rootfs 报错!