Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during compilation of U-Boot for Rock Pi S RK3308 silentoldconfig #69

Open
kleysoncastro opened this issue May 13, 2024 · 0 comments

Comments

@kleysoncastro
Copy link

Description:

When compiling U-Boot for the Rock Pi S using the Yocto Project, an error occurred in the compilation process. The log indicates that the error occurred while running silentoldconfig, resulting in the failure to correctly generate the configuration files required for compilation. The specific error occurred due to the lack of a target for the include/config/auto.conf file, which is required for include/config/uboot.release.

patches have been applied. !

Additional Information:

U-Boot version: 1.0
Yocto project version: 3.1.33
Target architecture: aarch64
Target machine: rockpi-s-rk3308

bitbake -k radxa-console-image
Loading cache: 100% |##########################################################################################################################################################| Time: 0:00:00
Loaded 3849 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.46.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "aarch64-poky-linux"
MACHINE              = "rockpi-s-rk3308"
DISTRO               = "poky"
DISTRO_VERSION       = "3.1.33"
TUNE_FEATURES        = "aarch64 cortexa35 crc crypto"
TARGET_FPU           = ""
meta                 
meta-poky            
meta-yocto-bsp       = "dunfell:63d05fc061006bf1a88630d6d91cdc76ea33fbf2"
meta-oe              
meta-networking      
meta-python          
meta-multimedia      = "dunfell:01358b6d705071cc0ac5aefa7670ab235709729a"
meta-python2         = "dunfell:b901080cf57d9a7f5476ab4d96e56c30db8170a8"
meta-radxa           = "dunfell:95652e3ab0a8037e732adff6293556a4e995e194"

Initialising tasks: 100% |#####################################################################################################################################################| Time: 0:00:03
Sstate summary: Wanted 8 Found 0 Missed 8 Current 1863 (0% match, 99% complete)
NOTE: Executing Tasks
ERROR: u-boot-rockpi-s-1.0-r0 do_compile: oe_runmake failed
ERROR: u-boot-rockpi-s-1.0-r0 do_compile: Execution of '/home/castro/yocto/poky/build/tmp/work/rockpi_s_rk3308-poky-linux/u-boot-rockpi-s/1.0-r0/temp/run.do_compile.324414' failed with exit code 1
ERROR: Logfile of failure stored in: /home/castro/yocto/poky/build/tmp/work/rockpi_s_rk3308-poky-linux/u-boot-rockpi-s/1.0-r0/temp/log.do_compile.324414
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 6 CROSS_COMPILE=aarch64-poky-linux- CC=aarch64-poky-linux-gcc  --sysroot=/home/castro/yocto/poky/build/tmp/work/rockpi_s_rk3308-poky-linux/u-boot-rockpi-s/1.0-r0/recipe-sysroot V=1 HOSTCC=gcc  -isystem/home/castro/yocto/poky/build/tmp/work/rockpi_s_rk3308-poky-linux/u-boot-rockpi-s/1.0-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/home/castro/yocto/poky/build/tmp/work/rockpi_s_rk3308-poky-linux/u-boot-rockpi-s/1.0-r0/recipe-sysroot-native/usr/lib                         -L/home/castro/yocto/poky/build/tmp/work/rockpi_s_rk3308-poky-linux/u-boot-rockpi-s/1.0-r0/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,/home/castro/yocto/poky/build/tmp/work/rockpi_s_rk3308-poky-linux/u-boot-rockpi-s/1.0-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,/home/castro/yocto/poky/build/tmp/work/rockpi_s_rk3308-poky-linux/u-boot-rockpi-s/1.0-r0/recipe-sysroot-native/lib                         -Wl,-rpath,/home/castro/yocto/poky/build/tmp/work/rockpi_s_rk3308-poky-linux/u-boot-rockpi-s/1.0-r0/recipe-sysroot-native/usr/lib                         -Wl,-rpath,/home/castro/yocto/poky/build/tmp/work/rockpi_s_rk3308-poky-linux/u-boot-rockpi-s/1.0-r0/recipe-sysroot-native/lib                         -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/home/castro/yocto/poky/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 PYTHON2=nativepython STAGING_INCDIR=/home/castro/yocto/poky/build/tmp/work/rockpi_s_rk3308-poky-linux/u-boot-rockpi-s/1.0-r0/recipe-sysroot-native/usr/include STAGING_LIBDIR=/home/castro/yocto/poky/build/tmp/work/rockpi_s_rk3308-poky-linux/u-boot-rockpi-s/1.0-r0/recipe-sysroot-native/usr/lib -C /home/castro/yocto/poky/build/tmp/work/rockpi_s_rk3308-poky-linux/u-boot-rockpi-s/1.0-r0/git O=/home/castro/yocto/poky/build/tmp/work/rockpi_s_rk3308-poky-linux/u-boot-rockpi-s/1.0-r0/build all
| make: Entering directory '/home/castro/yocto/poky/build/tmp/work/rockpi_s_rk3308-poky-linux/u-boot-rockpi-s/1.0-r0/git'
| make -C /home/castro/yocto/poky/build/tmp/work/rockpi_s_rk3308-poky-linux/u-boot-rockpi-s/1.0-r0/build KBUILD_SRC=/home/castro/yocto/poky/build/tmp/work/rockpi_s_rk3308-poky-linux/u-boot-rockpi-s/1.0-r0/git \
| -f /home/castro/yocto/poky/build/tmp/work/rockpi_s_rk3308-poky-linux/u-boot-rockpi-s/1.0-r0/git/Makefile all
| make[1]: Entering directory '/home/castro/yocto/poky/build/tmp/work/rockpi_s_rk3308-poky-linux/u-boot-rockpi-s/1.0-r0/build'
| make -f /home/castro/yocto/poky/build/tmp/work/rockpi_s_rk3308-poky-linux/u-boot-rockpi-s/1.0-r0/git/Makefile silentoldconfig
| make -f /home/castro/yocto/poky/build/tmp/work/rockpi_s_rk3308-poky-linux/u-boot-rockpi-s/1.0-r0/git/scripts/Makefile.build obj=scripts/basic
| ln -fsn /home/castro/yocto/poky/build/tmp/work/rockpi_s_rk3308-poky-linux/u-boot-rockpi-s/1.0-r0/git source
| /bin/bash /home/castro/yocto/poky/build/tmp/work/rockpi_s_rk3308-poky-linux/u-boot-rockpi-s/1.0-r0/git/scripts/mkmakefile \
|     /home/castro/yocto/poky/build/tmp/work/rockpi_s_rk3308-poky-linux/u-boot-rockpi-s/1.0-r0/git . 2017 09
| rm -f .tmp_quiet_recordmcount
|   GEN     ./Makefile
| make -f /home/castro/yocto/poky/build/tmp/work/rockpi_s_rk3308-poky-linux/u-boot-rockpi-s/1.0-r0/git/scripts/Makefile.build obj=scripts/kconfig silentoldconfig
| mkdir -p include/config include/generated
| test -e include/generated/autoksyms.h || \
|     touch   include/generated/autoksyms.h
| scripts/kconfig/conf  --silentoldconfig Kconfig
| *
| * Restart config...
| *
| *
| * ARM architecture
| *
| Generate position-independent pre-relocation code (POSITION_INDEPENDENT) [N/y/?] n
| Support for ARM SMC Calling Convention (SMCCC) (ARM_SMCCC) [Y/?] y
| Support for ARM cpu suspend and resume (ARM_CPU_SUSPEND) [N/y/?] (NEW) aborted!
| 
| Console input/output is redirected. Run 'make oldconfig' to update configuration.
| 
| make[3]: *** [/home/castro/yocto/poky/build/tmp/work/rockpi_s_rk3308-poky-linux/u-boot-rockpi-s/1.0-r0/git/scripts/kconfig/Makefile:48: silentoldconfig] Error 1
| make[2]: *** [/home/castro/yocto/poky/build/tmp/work/rockpi_s_rk3308-poky-linux/u-boot-rockpi-s/1.0-r0/git/Makefile:479: silentoldconfig] Error 2
| make[1]: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/uboot.release'.  Stop.
| make[1]: *** Waiting for unfinished jobs....
| make[1]: Leaving directory '/home/castro/yocto/poky/build/tmp/work/rockpi_s_rk3308-poky-linux/u-boot-rockpi-s/1.0-r0/build'
| make: *** [Makefile:150: sub-make] Error 2
| make: Leaving directory '/home/castro/yocto/poky/build/tmp/work/rockpi_s_rk3308-poky-linux/u-boot-rockpi-s/1.0-r0/git'
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/home/castro/yocto/poky/build/tmp/work/rockpi_s_rk3308-poky-linux/u-boot-rockpi-s/1.0-r0/temp/run.do_compile.324414' failed with exit code 1
ERROR: Task (/home/castro/yocto/poky/build/../meta-radxa/recipes-bsp/u-boot/u-boot-rockpi-s.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4649 tasks of which 4648 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/castro/yocto/poky/build/../meta-radxa/recipes-bsp/u-boot/u-boot-rockpi-s.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant