-
Notifications
You must be signed in to change notification settings - Fork 188
Using SDK with commit ID 40639ec to build image but "exit code 2 from line 882" #224
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
Comments
Hello.
So I think it might be a compilation environment problem! |
Hey there! I have same problem :( here is logs: make[1]: Leaving directory '/home/sysdrv/source/uboot/u-boot'
pack u-boot.itb okay! Input: /home/sysdrv/source/uboot/rkbin/RKTRUST/RV1106TOS.ini
FIT description: FIT Image with ATF/OP-TEE/U-Boot/MCU
Created: Wed Mar 26 00:58:18 2025
Image 0 (uboot)
Description: U-Boot
Created: Wed Mar 26 00:58:18 2025
Type: Standalone Program
Compression: lzma compressed
Data Size: 181424 Bytes = 177.17 KiB = 0.17 MiB
Architecture: ARM
Load Address: 0x00200000
Entry Point: unavailable
Hash algo: sha256
Hash value: 0f08751430dc0f919c579ccd7016f645bef453eb294957a83fdb3d13ddc40f8a
Image 1 (fdt)
Description: U-Boot dtb
Created: Wed Mar 26 00:58:18 2025
Type: Flat Device Tree
Compression: uncompressed
Data Size: 9670 Bytes = 9.44 KiB = 0.01 MiB
Architecture: ARM
Hash algo: sha256
Hash value: 9f596c5683acf8a637b6e1a3cb1669bfc33f229b4cef5782c67070aaf0bc543e
Default Configuration: 'conf'
Configuration 0 (conf)
Description: rv1106-evb
Kernel: unavailable
FDT: fdt
Loadables: uboot
********boot_merger ver 1.35********
Info:Pack loader ok.
creating new idblock from loader...
idblock binary saving at rv1106_idblock_v1.15.102.img
pack loader(SPL) okay! Input: /home/sysdrv/source/uboot/rkbin/RKBOOT/RV1106MINIALL.ini
/home/sysdrv/source/uboot/u-boot
pack loader with new: spl/u-boot-spl.bin
Image(no-signed, version=0): uboot.img (FIT with uboot, trust...) is ready
Image(no-signed): rv1106_idblock_v1.15.102.img (with spl, ddr...) is ready
pack uboot.img okay! Input: /home/sysdrv/source/uboot/rkbin/RKTRUST/RV1106TOS.ini
Platform RV1106 is build OK, with exist .config
arm-rockchip830-linux-uclibcgnueabihf-
Wed Mar 26 00:58:19 HKT 2025
/home/sysdrv
'/home/sysdrv/source/uboot/u-boot/uboot.img' -> '/home/sysdrv/out/image_uclibc_rv1106/uboot.img'
'/home/sysdrv/source/uboot/u-boot/rv1106_idblock_v1.15.102.img' -> '/home/sysdrv/out/image_uclibc_rv1106/idblock.img'
'/home/sysdrv/source/uboot/u-boot/rv1106_download_v1.15.108.bin' -> '/home/sysdrv/out/image_uclibc_rv1106/download.bin'
/home/sysdrv/source/uboot/u-boot /home/sysdrv
/home/sysdrv
[INSTALL] /home/sysdrv/out/image_uclibc_rv1106/idblock.img /home/sysdrv/out/image_uclibc_rv1106/uboot.img /home/sysdrv/out/image_uclibc_rv1106/download.bin
TO /home/output/image
[INSTALL] /home/sysdrv/out/bin/board_uclibc_rv1106/uboot.debug.tar.bz2
TO /home/output/out/sysdrv_out/board_uclibc_rv1106
make: Leaving directory '/home/sysdrv'
[build.sh:info] Running build_uboot succeeded.
============Start building kernel============
TARGET_ARCH =arm
TARGET_KERNEL_CONFIG =luckfox_rv1106_linux_defconfig
TARGET_KERNEL_DTS =rv1103g-luckfox-pico.dts
TARGET_KERNEL_CONFIG_FRAGMENT =
==========================================
make: Entering directory '/home/sysdrv'
==sysdrv== build kernel
make -C /home/sysdrv/source/kernel ARCH=arm mrproper
make[1]: Entering directory '/home/sysdrv/source/kernel'
make[2]: *** Documentation/Kbuild: Is a directory. Stop.
make[1]: *** [Makefile:1942: _clean_Documentation] Error 2
make[1]: Leaving directory '/home/sysdrv/source/kernel'
make: *** [Makefile:485: kernel] Error 2
make: Leaving directory '/home/sysdrv'
[build.sh:error] Running build_kernel failed!
[build.sh:error] exit code 2 from line 847:
[build.sh:info] make kernel -C ${SDK_SYSDRV_DIR} $kernel_build_options KERNEL_DTS=${RK_KERNEL_DTS} KERNEL_CFG=${RK_KERNEL_DEFCONFIG} KERNEL_CFG_FRAGMENT=${RK_KERNEL_DEFCONFIG_FRAGMENT} Help please 🙏 |
I copied this script |
Firstly I'm sorry for this low quality of the console log captured pictured.
I tried to clone the newest version of the sdk but build failed.
"exit code 2 from line 882"
I check that the TARGET_KERNEL_CONFIG_FRAGMENT value is empty as shown below.
I tried build using docker image and also try to build on Ubuntu 22.04 with full tool set by following this guideline
https://wiki.luckfox.com/Luckfox-Pico/Luckfox-Pico-SDK/
But the result is still failed.
I remember that in November, I can build pass with the same procedure.
Please support.
Thank you a lot in advance.
The text was updated successfully, but these errors were encountered: