BUILD CUSTOM SDK
#20
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:

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
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: 
Code:
device/rockchip/rk356x/pine64-rk3566-ubuntu.mk
Has this line:
Code:
export RK_KERNEL_DEFCONFIG=Quartz64_defconfig
it needs to be changed to this:
Code:
export RK_KERNEL_DEFCONFIG=Quartz64_linux_defconfig

Then it proceeds with kernel build.
  Reply


Messages In This Thread
BUILD CUSTOM SDK - by shaggy013 - 02-14-2022, 05:29 PM
RE: BUILD CUSTOM SDK - by fasani - 02-24-2022, 07:17 AM
RE: BUILD CUSTOM SDK - by shaggy013 - 02-24-2022, 08:53 AM
RE: BUILD CUSTOM SDK - by tllim - 02-27-2022, 04:12 PM
RE: BUILD CUSTOM SDK - by shaggy013 - 02-28-2022, 06:33 AM
RE: BUILD CUSTOM SDK - by shaggy013 - 03-02-2022, 03:04 AM
RE: BUILD CUSTOM SDK - by x893 - 03-05-2022, 12:06 AM
RE: BUILD CUSTOM SDK - by shaggy013 - 03-07-2022, 09:57 AM
RE: BUILD CUSTOM SDK - by x893 - 03-07-2022, 12:34 PM
RE: BUILD CUSTOM SDK - by shaggy013 - 03-10-2022, 05:58 AM
RE: BUILD CUSTOM SDK - by dieselnutjob - 03-07-2022, 04:59 PM
RE: BUILD CUSTOM SDK - by shaggy013 - 03-08-2022, 01:43 PM
RE: BUILD CUSTOM SDK - by shaggy013 - 03-09-2022, 05:09 PM
RE: BUILD CUSTOM SDK - by x893 - 03-10-2022, 03:44 AM
RE: BUILD CUSTOM SDK - by shaggy013 - 03-11-2022, 01:02 PM
RE: BUILD CUSTOM SDK - by Randomuser - 07-15-2022, 04:40 PM
RE: BUILD CUSTOM SDK - by dieselnutjob - 03-10-2022, 09:41 AM
RE: BUILD CUSTOM SDK - by shaggy013 - 03-10-2022, 12:13 PM
RE: BUILD CUSTOM SDK - by x893 - 03-10-2022, 04:01 PM
RE: BUILD CUSTOM SDK - by shaggy013 - 03-11-2022, 07:14 AM
RE: BUILD CUSTOM SDK - by Randomuser - 07-17-2022, 10:49 AM
RE: BUILD CUSTOM SDK - by shaggy013 - 07-17-2022, 11:00 AM
RE: BUILD CUSTOM SDK - by Randomuser - 07-18-2022, 10:30 AM
RE: BUILD CUSTOM SDK - by shaggy013 - 07-18-2022, 11:55 AM
RE: BUILD CUSTOM SDK - by Randomuser - 07-18-2022, 10:11 PM
RE: BUILD CUSTOM SDK - by shaggy013 - 07-20-2022, 07:37 AM
RE: BUILD CUSTOM SDK - by shaggy013 - 12-03-2022, 04:33 AM
RE: BUILD CUSTOM SDK - by shaggy013 - 12-05-2022, 01:05 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  SOQuartz Getting a working build dl-m10 7 4,965 01-23-2023, 06:38 PM
Last Post: diederik
  PCIe not working on custom board (soquartz) dferrg 1 2,372 02-23-2022, 04:31 AM
Last Post: dferrg
  Debian Userland on top of existing Linux build? dieselnutjob 3 3,990 01-25-2022, 01:12 PM
Last Post: dieselnutjob

Forum Jump:


Users browsing this thread: 3 Guest(s)