07-15-2022, 04:40 PM
(This post was last modified: 07-16-2022, 05:04 AM by Randomuser.
Edit Reason: adding error info
)
Thank you for this. It makes things much more straightforward.
Is there a chance you could write a similar guide how to build a custom Android image?
Also, if we are cloning the entire sdk with repo tool does this mean the 35GB Linux BSP/SDK file is essentially useless/outdated?
Also, it failed on my Ubuntu 20.04 with:
Does anyone know how to proceed? I searched for Quartz_defconfig, but it is not in any subdirs.
Edit: I can answer my own question for anyone having the same issue.
It seems the file:
Has this line:
it needs to be changed to this:
Then it proceeds with kernel build.
Is there a chance you could write a similar guide how to build a custom Android image?
Also, if we are cloning the entire sdk with repo tool does this mean the 35GB Linux BSP/SDK file is essentially useless/outdated?
Also, it failed on my Ubuntu 20.04 with:
Code:
Running build_uboot succeeded.
Skipping build_loader for missing configs: RK_LOADER_BUILD_TARGET.
============Start building kernel============
TARGET_ARCH =arm64
TARGET_KERNEL_CONFIG =Quartz64_defconfig
TARGET_KERNEL_DTS =rk3566-quartz64-a
TARGET_KERNEL_CONFIG_FRAGMENT =
==========================================
/home/luk/dev/Quartz64
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
YACC scripts/kconfig/zconf.tab.c
LEX scripts/kconfig/zconf.lex.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
***
*** Can't find default configuration "arch/arm64/configs/Quartz64_defconfig"!
***
make[1]: *** [scripts/kconfig/Makefile:104: Quartz64_defconfig] Error 1
make: *** [Makefile:578: Quartz64_defconfig] Error 2
ERROR: Running build_kernel failed!
ERROR: exit code 2 from line 724:
make ARCH=$RK_ARCH $RK_KERNEL_DEFCONFIG $RK_KERNEL_DEFCONFIG_FRAGMENT
Edit: I can answer my own question for anyone having the same issue.
It seems the file:
Code:
device/rockchip/rk356x/pine64-rk3566-ubuntu.mk
Code:
export RK_KERNEL_DEFCONFIG=Quartz64_defconfig
Code:
export RK_KERNEL_DEFCONFIG=Quartz64_linux_defconfig
Then it proceeds with kernel build.