Giter Site home page Giter Site logo

Comments (6)

JeffyCN avatar JeffyCN commented on September 27, 2024

this is only for evb boards. for other boards please check the readme about using custom kernel and loader

from meta-rockchip.

masoudjalalir avatar masoudjalalir commented on September 27, 2024

Reading this part " V. Supporting new Machine "?

from meta-rockchip.

masoudjalalir avatar masoudjalalir commented on September 27, 2024

i got these errors

ERROR: linux-rockchip-5.10-r0 do_compile: oe_runmake failed
ERROR: linux-rockchip-5.10-r0 do_compile: ExecutionError('/home/im/Desktop/yocto_BSB/build/tmp/work/rk3588s-poky-linux/linux-rockchip/5.10/temp/run.do_compile.1522209', 1, None, None)
ERROR: Logfile of failure stored in: /home/im/Desktop/yocto_BSB/build/tmp/work/rk3588s-poky-linux/linux-rockchip/5.10/temp/log.do_compile.1522209

Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: KBUILD_BUILD_TIMESTAMP: Sat Jan 8 10:24:03 UTC 2022
| NOTE: make -j 12 CC=aarch64-poky-linux-gcc -fuse-ld=bfd -fcanon-prefix-map -fmacro-prefix-map=/home/im/Desktop/yocto_BSB/build/tmp/work-shared/rk3588s/kernel-source=/usr/src/debug/linux-rockchip/5.10 -fdebug-prefix-map=/home/im/Desktop/yocto_BSB/build/tmp/work-shared/rk3588s/kernel-source=/usr/src/debug/linux-rockchip/5.10 -fmacro-prefix-map=/home/im/Desktop/yocto_BSB/build/tmp/work/rk3588s-poky-linux/linux-rockchip/5.10/linux-rk3588s-standard-build=/usr/src/debug/linux-rockchip/5.10 -fdebug-prefix-map=/home/im/Desktop/yocto_BSB/build/tmp/work/rk3588s-poky-linux/linux-rockchip/5.10/linux-rk3588s-standard-build=/usr/src/debug/linux-rockchip/5.10 -fdebug-prefix-map=/home/im/Desktop/yocto_BSB/build/tmp/work/rk3588s-poky-linux/linux-rockchip/5.10/recipe-sysroot= -fmacro-prefix-map=/home/im/Desktop/yocto_BSB/build/tmp/work/rk3588s-poky-linux/linux-rockchip/5.10/recipe-sysroot= -fdebug-prefix-map=/home/im/Desktop/yocto_BSB/build/tmp/work/rk3588s-poky-linux/linux-rockchip/5.10/recipe-sysroot-native= -fdebug-prefix-map=/home/im/Desktop/yocto_BSB/build/tmp/work-shared/rk3588s/kernel-source=/usr/src/kernel -fdebug-prefix-map=/home/im/Desktop/yocto_BSB/build/tmp/work-shared/rk3588s/kernel-build-artifacts=/usr/src/kernel --sysroot=/home/im/Desktop/yocto_BSB/build/tmp/work/rk3588s-poky-linux/linux-rockchip/5.10/recipe-sysroot LD=aarch64-poky-linux-ld.bfd --sysroot=/home/im/Desktop/yocto_BSB/build/tmp/work/rk3588s-poky-linux/linux-rockchip/5.10/recipe-sysroot OBJCOPY=aarch64-poky-linux-objcopy STRIP=aarch64-poky-linux-strip HOSTCC=gcc HOSTCFLAGS=-isystem/home/im/Desktop/yocto_BSB/build/tmp/work/rk3588s-poky-linux/linux-rockchip/5.10/recipe-sysroot-native/usr/include -O2 -pipe HOSTLDFLAGS=-L/home/im/Desktop/yocto_BSB/build/tmp/work/rk3588s-poky-linux/linux-rockchip/5.10/recipe-sysroot-native/usr/lib -L/home/im/Desktop/yocto_BSB/build/tmp/work/rk3588s-poky-linux/linux-rockchip/5.10/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/home/im/Desktop/yocto_BSB/build/tmp/work/rk3588s-poky-linux/linux-rockchip/5.10/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/im/Desktop/yocto_BSB/build/tmp/work/rk3588s-poky-linux/linux-rockchip/5.10/recipe-sysroot-native/lib -Wl,-rpath,/home/im/Desktop/yocto_BSB/build/tmp/work/rk3588s-poky-linux/linux-rockchip/5.10/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/im/Desktop/yocto_BSB/build/tmp/work/rk3588s-poky-linux/linux-rockchip/5.10/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/home/im/Desktop/yocto_BSB/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -pthread HOSTCPP=gcc -E HOSTCXX=g++ HOSTCXXFLAGS=-isystem/home/im/Desktop/yocto_BSB/build/tmp/work/rk3588s-poky-linux/linux-rockchip/5.10/recipe-sysroot-native/usr/include -O2 -pipe HOSTPKG_CONFIG=pkg-config-native PAHOLE=false -j 12 rk3588s-orangepi-5.img
| make[3]: *** No rule to make target 'arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dtb'. Stop.
| make[2]: *** [/home/im/Desktop/yocto_BSB/build/tmp/work-shared/rk3588s/kernel-source/Makefile:1444: rockchip/rk3588s-orangepi-5.dtb] Error 2
| make[2]: *** Waiting for unfinished jobs....
| /home/im/Desktop/yocto_BSB/build/tmp/work-shared/rk3588s/kernel-source/scripts/extract-cert.c: In function 'display_openssl_errors':
| /home/im/Desktop/yocto_BSB/build/tmp/work-shared/rk3588s/kernel-source/scripts/extract-cert.c:46:2: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
| 46 | while ((e = ERR_get_error_line(&file, &line))) {
| | ^~~~~
| In file included from /home/im/Desktop/yocto_BSB/build/tmp/work-shared/rk3588s/kernel-source/scripts/extract-cert.c:23:
| /home/im/Desktop/yocto_BSB/build/tmp/work/rk3588s-poky-linux/linux-rockchip/5.10/recipe-sysroot-native/usr/include/openssl/err.h:423:15: note: declared here
| 423 | unsigned long ERR_get_error_line(const char **file, int *line);
| | ^~~~~~~~~~~~~~~~~~
| /home/im/Desktop/yocto_BSB/build/tmp/work-shared/rk3588s/kernel-source/scripts/extract-cert.c: In function 'drain_openssl_errors':
| /home/im/Desktop/yocto_BSB/build/tmp/work-shared/rk3588s/kernel-source/scripts/extract-cert.c:60:2: warning: 'ERR_get_error_line' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
| 60 | while (ERR_get_error_line(&file, &line)) {}

In file included from /home/im/Desktop/yocto_BSB/build/tmp/work-shared/rk3588s/kernel-source/scripts/extract-cert.c:23:
| /home/im/Desktop/yocto_BSB/build/tmp/work/rk3588s-poky-linux/linux-rockchip/5.10/recipe-sysroot-native/usr/include/openssl/err.h:423:15: note: declared here
| 423 | unsigned long ERR_get_error_line(const char **file, int *line);
| | ^~~~~~~~~~~~~~~~~~
| /home/im/Desktop/yocto_BSB/build/tmp/work-shared/rk3588s/kernel-source/scripts/extract-cert.c: In function 'main':
| /home/im/Desktop/yocto_BSB/build/tmp/work-shared/rk3588s/kernel-source/scripts/extract-cert.c:130:3: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
| 130 | ENGINE_load_builtin_engines();
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| In file included from /home/im/Desktop/yocto_BSB/build/tmp/work-shared/rk3588s/kernel-source/scripts/extract-cert.c:24:
| /home/im/Desktop/yocto_BSB/build/tmp/work/rk3588s-poky-linux/linux-rockchip/5.10/recipe-sysroot-native/usr/include/openssl/engine.h:358:28: note: declared here
| 358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void);
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| /home/im/Desktop/yocto_BSB/build/tmp/work-shared/rk3588s/kernel-source/scripts/extract-cert.c:132:3: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
| 132 | e = ENGINE_by_id("pkcs11");
| | ^
| In file included from /home/im/Desktop/yocto_BSB/build/tmp/work-shared/rk3588s/kernel-source/scripts/extract-cert.c:24:
| /home/im/Desktop/yocto_BSB/build/tmp/work/rk3588s-poky-linux/linux-rockchip/5.10/recipe-sysroot-native/usr/include/openssl/engine.h:336:31: note: declared here
| 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id);
| | ^~~~~~~~~~~~
| /home/im/Desktop/yocto_BSB/build/tmp/work-shared/rk3588s/kernel-source/scripts/extract-cert.c:134:3: warning: 'ENGINE_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
| 134 | if (ENGINE_init(e))
| | ^~
| In file included from /home/im/Desktop/yocto_BSB/build/tmp/work-shared/rk3588s/kernel-source/scripts/extract-cert.c:24:
| /home/im/Desktop/yocto_BSB/build/tmp/work/rk3588s-poky-linux/linux-rockchip/5.10/recipe-sysroot-native/usr/include/openssl/engine.h:620:27: note: declared here
| 620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e);
| | ^~~~~~~~~~~
| /home/im/Desktop/yocto_BSB/build/tmp/work-shared/rk3588s/kernel-source/scripts/extract-cert.c:139:4: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
| 139 | ERR(!ENGINE_ctrl_cmd_string(e, "PIN", key_pass, 0), "Set PKCS#11 PIN");
| | ^~~
| In file included from /home/im/Desktop/yocto_BSB/build/tmp/work-shared/rk3588s/kernel-source/scripts/extract-cert.c:24:
| /home/im/Desktop/yocto_BSB/build/tmp/work/rk3588s-poky-linux/linux-rockchip/5.10/recipe-sysroot-native/usr/include/openssl/engine.h:479:5: note: declared here
| 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg,
| | ^~~~~~~~~~~~~~~~~~~~~~
| /home/im/Desktop/yocto_BSB/build/tmp/work-shared/rk3588s/kernel-source/scripts/extract-cert.c:140:3: warning: 'ENGINE_ctrl_cmd' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
| 140 | ENGINE_ctrl_cmd(e, "LOAD_CERT_CTRL", 0, &parms, NULL, 1);
| | ^~~~~~~~~~~~~~~
| In file included from /home/im/Desktop/yocto_BSB/build/tmp/work-shared/rk3588s/kernel-source/scripts/extract-cert.c:24:
| /home/im/Desktop/yocto_BSB/build/tmp/work/rk3588s-poky-linux/linux-rockchip/5.10/recipe-sysroot-native/usr/include/openssl/engine.h:450:27: note: declared here
| 450 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl_cmd(ENGINE *e, const char *cmd_name,
| | ^~~~~~~~~~~~~~~
| make[1]: *** [arch/arm64/Makefile:216: rk3588s-orangepi-5.img] Error 2
| make: *** [/home/im/Desktop/yocto_BSB/build/tmp/work-shared/rk3588s/kernel-source/Makefile:185: __sub-make] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/im/Desktop/yocto_BSB/build/../meta-rockchip/recipes-kernel/linux/linux-rockchip_5.10.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2956 tasks of which 2568 didn't need to be rerun and 1 failed.

from meta-rockchip.

JeffyCN avatar JeffyCN commented on September 27, 2024

the dts is not available, please contact your board provider to get the kernel source.

and maybe you can build the kernel manually(not in the yocto), and flash it(boot.img) to the device.

from meta-rockchip.

masoudjalalir avatar masoudjalalir commented on September 27, 2024

is it good to use?

https://github.com/torvalds/linux/blob/master/arch/arm64/boot/dts/rockchip/rk3588s-orangepi-5.dts

from meta-rockchip.

JeffyCN avatar JeffyCN commented on September 27, 2024

sorry, i don't know this board, please contact your board's provider.

from meta-rockchip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.