lam007 发表于 2022-1-6 15:23:35

firefly core-1126-JD4如何配置系统快速启动?

请问下,这个开发板的sdk包如何配置系统快速启动开机?使用哪个配置文档呢?
请指点下。

lam007 发表于 2022-1-6 18:12:00

我使用aio-rv1126-jd4-tb.mk这个配置编译不通过

板蓝根 发表于 2022-1-6 20:24:05

编译不通过的话,请贴一下 log

lam007 发表于 2022-1-7 09:28:32

2022-01-06T19:04:49 Making all in tests
2022-01-06T19:04:49 make: Nothing to be done for 'all'.
2022-01-06T19:04:49 make: Nothing to be done for 'all-am'.
2022-01-06T19:04:53 >>> host-patchelf 0.9 Installing to host directory
2022-01-06T19:04:53 PATH="/home/lgs/V4/firefly_rv1126_rv1109/linux_SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_tb/host/bin:/home/lgs/V4/firefly_rv1126_rv1109/linux_SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_tb/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/arm-linux-gnueabihf-gcc/bin:/home/lgs/V8/v3s_4G/v3ssdk/buildroot/out/host/bin" PKG_CONFIG="/home/lgs/V4/firefly_rv1126_rv1109/linux_SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_tb/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/lgs/V4/firefly_rv1126_rv1109/linux_SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_tb/host/lib/pkgconfig:/home/lgs/V4/firefly_rv1126_rv1109/linux_SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_tb/host/share/pkgconfig"/usr/bin/make -j41 install -C /home/lgs/V4/firefly_rv1126_rv1109/linux_SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_tb/build/host-patchelf-0.9/
2022-01-06T19:04:53 Making install in src
2022-01-06T19:04:53 make: Nothing to be done for 'install-data-am'.
2022-01-06T19:04:53 /bin/mkdir -p '/home/lgs/V4/firefly_rv1126_rv1109/linux_SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_tb/host/bin'
2022-01-06T19:04:53 /usr/bin/install -c patchelf '/home/lgs/V4/firefly_rv1126_rv1109/linux_SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_tb/host/bin'
2022-01-06T19:04:53 Making install in tests
2022-01-06T19:04:53 make: Nothing to be done for 'install-exec-am'.
2022-01-06T19:04:53 make: Nothing to be done for 'install-data-am'.
2022-01-06T19:04:53 make: Nothing to be done for 'install-exec-am'.
2022-01-06T19:04:53 /bin/mkdir -p '/home/lgs/V4/firefly_rv1126_rv1109/linux_SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_tb/host/share/doc/patchelf'
2022-01-06T19:04:53 /bin/mkdir -p '/home/lgs/V4/firefly_rv1126_rv1109/linux_SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_tb/host/share/man/man1'
2022-01-06T19:04:53 /usr/bin/install -c -m 644 README '/home/lgs/V4/firefly_rv1126_rv1109/linux_SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_tb/host/share/doc/patchelf'
2022-01-06T19:04:53 /usr/bin/install -c -m 644 patchelf.1 '/home/lgs/V4/firefly_rv1126_rv1109/linux_SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_tb/host/share/man/man1'
2022-01-06T19:04:59 >>> host-camera_engine_rkaiq custom Syncing from source dir /home/lgs/V4/firefly_rv1126_rv1109/linux_SDK/rv1126_rv1109_linux_release_20211022/buildroot/../external/camera_engine_rkaiq
2022-01-06T19:04:59 rsync -au --chmod=u=rwX,go=rX --exclude .svn --exclude .git --exclude .hg --exclude .bzr --exclude CVS /home/lgs/V4/firefly_rv1126_rv1109/linux_SDK/rv1126_rv1109_linux_release_20211022/buildroot/../external/camera_engine_rkaiq/ /home/lgs/V4/firefly_rv1126_rv1109/linux_SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_tb/build/host-camera_engine_rkaiq-custom
2022-01-06T19:05:01 >>> host-camera_engine_rkaiq custom Configuring
2022-01-06T19:05:01 >>> host-camera_engine_rkaiq custom Building
2022-01-06T19:05:01 cd /home/lgs/V4/firefly_rv1126_rv1109/linux_SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_tb/build/host-camera_engine_rkaiq-custom/rkisp_parser_demo/build/linux && ./make-Makefiles.bash && /usr/bin/make -j41
2022-01-06T19:05:01 ./make-Makefiles.bash: line 4: cmake: command not found
2022-01-06T19:05:01 package/pkg-generic.mk:256: recipe for target '/home/lgs/V4/firefly_rv1126_rv1109/linux_SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_tb/build/host-camera_engine_rkaiq-custom/.stamp_built' failed
2022-01-06T19:05:01 make: *** Error 127
2022-01-06T19:05:02 /home/lgs/V4/firefly_rv1126_rv1109/linux_SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_tb/Makefile:16: recipe for target '_all' failed
2022-01-06T19:05:02 make: *** Error 2
2022-01-07T09:28:02 umask 0022 && make -C /home/lgs/V4/firefly_rv1126_rv1109/linux_SDK/rv1126_rv1109_linux_release_20211022/buildroot O=/home/lgs/V4/firefly_rv1126_rv1109/linux_SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_tb
2022-01-07T09:28:11 /usr/bin/make -j1 O=/home/lgs/V4/firefly_rv1126_rv1109/linux_SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_tb HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" silentoldconfig
2022-01-07T09:28:11 GEN   /home/lgs/V4/firefly_rv1126_rv1109/linux_SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_tb/Makefile
2022-01-07T09:28:12 >>> host-camera_engine_rkaiq custom Building
2022-01-07T09:28:12 cd /home/lgs/V4/firefly_rv1126_rv1109/linux_SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_tb/build/host-camera_engine_rkaiq-custom/rkisp_parser_demo/build/linux && ./make-Makefiles.bash && /usr/bin/make -j41
2022-01-07T09:28:12 ./make-Makefiles.bash: line 4: cmake: command not found
2022-01-07T09:28:12 package/pkg-generic.mk:256: recipe for target '/home/lgs/V4/firefly_rv1126_rv1109/linux_SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_tb/build/host-camera_engine_rkaiq-custom/.stamp_built' failed
2022-01-07T09:28:12 make: *** Error 127
2022-01-07T09:28:12 /home/lgs/V4/firefly_rv1126_rv1109/linux_SDK/rv1126_rv1109_linux_release_20211022/buildroot/output/firefly_rv1126_tb/Makefile:16: recipe for target '_all' failed
2022-01-07T09:28:12 make: *** Error 2
Command exited with non-zero status 1
you take 0:18.03 to build ramboot
ERROR: Running build_ramboot failed!
ERROR: exit code 1 from line 701:
    /usr/bin/time -f "you take %E to build ramboot" $COMMON_DIR/mk-ramdisk.sh ramboot.img $RK_CFG_RAMBOOT
root@lgssvr:/home/lgs/V4/firefly_rv1126_rv1109/linux_SDK/rv1126_rv1109_linux_release_20211022#

lam007 发表于 2022-1-11 11:18:58

没有回复结果吗

板蓝根 发表于 2022-1-11 15:16:10

2022-01-06T19:05:01 ./make-Makefiles.bash: line 4: cmake: command not found 这里已经很清楚了吧,cmake 命令找不到,是不是没有搭建好环境呢?
https://wiki.t-firefly.com/zh_CN/CORE-1126-JD4/Source_code.html要跟着wiki 一步一步来啊:

sudo apt-get install repo git-core gitk git-gui gcc-arm-linux-gnueabihf u-boot-
tools device-tree-compiler gcc-aarch64-linux-gnu mtools parted libudev-dev
libusb-1.0-0-dev python-linaro-image-tools linaro-image-tools autoconf autotools-
dev libsigsegv2 m4 intltool libdrm-dev curl sed make binutils build-essential gcc
g++ bash patch gzip gawk bzip2 perl tar cpio python unzip rsync file bc wget
libncurses5 libqt4-dev libglib2.0-dev libgtk2.0-dev libglade2-dev cvs git
mercurial rsync openssh-client subversion asciidoc w3m dblatex graphviz python-
matplotlib libc6:i386 libssl-dev expect fakeroot cmake flex bison liblz4-tool
libtool keychain

如果跟着 wiki 来应该不可能有这个问题的

lam007 发表于 2022-1-12 09:56:14

aio-rv1126-jd4-tb.mk
注意是这个工程项目,我编译其他的工程项目是可以。
页: [1]
查看完整版本: firefly core-1126-JD4如何配置系统快速启动?