20240520解决在Ubuntu20.04下编译RK3588的Android12的SDK出现C2_GIT_BUILD_VERSION未定义的问题

20240520解决在Ubuntu20.04下编译RK3588的Android12的SDK出现C2_GIT_BUILD_VERSION未定义的问题

2024/5/20 20:19

缘起:通过./repo/repo/repo sync -l得到的SDK正常,但是解压缩之后的SDK却出错了!

通过grep很容易发现有三个地方有,全部注释掉即可!

Z:\3588a12\vendor\rockchip\hardware\interfaces\codec2\component\C2RKComponentFactory.cpp

extern "C" ::C2ComponentFactory* CreateRKCodec2Factory(std::string componentName) {

C2Component::kind_t kind;

C2ComponentFactory *factory = NULL;

c2_info("in version: %s", C2_GIT_BUILD_VERSION);

修改为:

//c2_info("in version: %s", C2_GIT_BUILD_VERSION);

Z:\3588a12\vendor\rockchip\hardware\interfaces\codec2\component\mpi\C2RKMpiDec.cpp

C2RKMpiDec::C2RKMpiDec(

const char *name,

c2_node_id_t id,

const std::shared_ptr<IntfImpl> &intfImpl)

: C2RKComponent(std::make_shared<C2RKInterface<IntfImpl>>(name, id, intfImpl)),

mIntf(intfImpl),

mDump(nullptr),

mMppCtx(nullptr),

mMppMpi(nullptr),

mCodingType(MPP_VIDEO_CodingUnused),

mColorFormat(MPP_FMT_YUV420SP),

mFrmGrp(nullptr),

mWidth(0),

mHeight(0),

mHorStride(0),

mVerStride(0),

mGrallocVersion(0),

mLastPts(-1),

mGeneration(0),

mStarted(false),

mFlushed(true),

mOutputEos(false),

mSignalledInputEos(false),

mSignalledError(false),

mSizeInfoUpdate(false),

mLowLatencyMode(false),

mGraphicBufferSource(false),

mScaleEnabled(false),

mBufferMode(false) {

if (!C2RKMediaUtils::getCodingTypeFromComponentName(name, &mCodingType)) {

c2_err("failed to get codingType from component %s", name);

}

/*

* only a few chips, and the version above Android 11 supports gralloc 4.0

*/

uint32_t grallocVersion = C2RKGrallocDef::getGrallocVersion();

uint32_t androidVersion = C2RKGrallocDef::getAndroidVerison();

if (grallocVersion > 3 && androidVersion >= 30) {

mGrallocVersion = 4;

}

c2_info("component name: %s\r\nversion: %s", name, C2_GIT_BUILD_VERSION);

}

修改为:

//c2_info("component name: %s\r\nversion: %s", name, C2_GIT_BUILD_VERSION);

Z:\3588a12\vendor\rockchip\hardware\interfaces\codec2\component\mpi\C2RKMpiEnc.cpp

C2RKMpiEnc::C2RKMpiEnc(

const char *name, c2_node_id_t id, const std::shared_ptr<IntfImpl> &intfImpl)

: C2RKComponent(std::make_shared<C2RKInterface<IntfImpl>>(name, id, intfImpl)),

mIntf(intfImpl),

mDmaMem(nullptr),

mMlvec(nullptr),

mDump(nullptr),

mMppCtx(nullptr),

mMppMpi(nullptr),

mEncCfg(nullptr),

mCodingType(MPP_VIDEO_CodingUnused),

mInputMppFmt(MPP_FMT_YUV420SP),

mChipType(0),

mStarted(false),

mSpsPpsHeaderReceived(false),

mSawInputEOS(false),

mOutputEOS(false),

mSignalledError(false),

mHorStride(0),

mVerStride(0),

mCurLayerCount(0),

mInputCount(0),

mOutputCount(0) {

if (!C2RKMediaUtils::getCodingTypeFromComponentName(name, &mCodingType)) {

c2_err("failed to get MppCodingType from component %s", name);

}

RKChipInfo *chipInfo = getChipName();

if (chipInfo != nullptr) {

mChipType = getChipName()->type;

} else {

mChipType = RK_CHIP_UNKOWN;

}

c2_info("component name %s\r\nversion: %s", name, C2_GIT_BUILD_VERSION);

}

修改为:

//c2_info("component name %s\r\nversion: %s", name, C2_GIT_BUILD_VERSION);

rootroot@rootroot-desktop:~$

rootroot@rootroot-desktop:~$ ll *.tar.gz

-rwxrwxrwx 1 rootroot rootroot 108146549678 5月 18 10:25 3588a12repo20231205.tar.gz*

-rwxrwxrwx 1 rootroot rootroot 36691949769 5月 17 10:55 3588Lv1.21repo230810.tar.gz*

-rwxrwxrwx 1 rootroot rootroot 52165431332 11月 21 19:49 RK3588_V1.43.tar.gz*

-rwxrwxrwx 1 rootroot rootroot 18906585152 5月 17 10:53 Rockchip_RK3588_Linux5.10_SDK_repo240508.tar.gz*

rootroot@rootroot-desktop:~$

rootroot@rootroot-desktop:~$ md5sum 3588a12repo20231205.tar.gz

23687ebf0761ebde0e37c8a323763b92 3588a12repo20231205.tar.gz

rootroot@rootroot-desktop:~$

rootroot@rootroot-desktop:~/3588a12$ time tar --use-compress-program=pigz -cvpf u-boot81.tgz u-boot/

rootroot@rootroot-desktop:~$ time tar --use-compress-program=pigz -xvpf 3588a12repo20231205.tar.gz ^C

rootroot@rootroot-desktop:~$

rootroot@rootroot-desktop:~$ cd 3588a12/

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$ mkdir ~/62repo

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$ mv .repo/ ~/62repo/

rootroot@rootroot-desktop:~/3588a12$ mv rockdev/ ~/62repo/

rootroot@rootroot-desktop:~/3588a12$ cd u-boot/

rootroot@rootroot-desktop:~/3588a12/u-boot$

rootroot@rootroot-desktop:~/3588a12/u-boot$ ll

rootroot@rootroot-desktop:~/3588a12/u-boot$ make distclean

rootroot@rootroot-desktop:~/3588a12/u-boot$ ll

rootroot@rootroot-desktop:~/3588a12/u-boot$ ll *.bin

rootroot@rootroot-desktop:~/3588a12/u-boot$ ll *.img

rootroot@rootroot-desktop:~/3588a12/u-boot$ cd ..

rootroot@rootroot-desktop:~/3588a12$ ll

rootroot@rootroot-desktop:~/3588a12$ cd u-boot/

rootroot@rootroot-desktop:~/3588a12/u-boot$

rootroot@rootroot-desktop:~/3588a12/u-boot$ ll

rootroot@rootroot-desktop:~/3588a12/u-boot$ cd ..

rootroot@rootroot-desktop:~/3588a12$ ll

rootroot@rootroot-desktop:~/3588a12$ cd kernel-5.10/

rootroot@rootroot-desktop:~/3588a12/kernel-5.10$ ll

rootroot@rootroot-desktop:~/3588a12/kernel-5.10$ ll *.bin

rootroot@rootroot-desktop:~/3588a12/kernel-5.10$ ll *.img

rootroot@rootroot-desktop:~/3588a12/kernel-5.10$ make distclean

rootroot@rootroot-desktop:~/3588a12/kernel-5.10$ ll

rootroot@rootroot-desktop:~/3588a12/kernel-5.10$ ll *.img

rootroot@rootroot-desktop:~/3588a12/kernel-5.10$ rm *.img

rootroot@rootroot-desktop:~/3588a12/kernel-5.10$ ll

rootroot@rootroot-desktop:~/3588a12/kernel-5.10$ cd ..

rootroot@rootroot-desktop:~/3588a12$ ll

rootroot@rootroot-desktop:~/3588a12$ time tar --use-compress-program=pigz -cvpf u-boot81.tgz u-boot/

rootroot@rootroot-desktop:~/3588a12$ time tar --use-compress-program=pigz -cvpf kernel-5.10b.tgz kernel-5.10/

rootroot@rootroot-desktop:~/3588a12$ ll

rootroot@rootroot-desktop:~/3588a12$ ll *.tgz

-rw-rw-r-- 1 rootroot rootroot 280167965 5月 20 11:07 kernel-5.10b.tgz

-rw-rw-r-- 1 rootroot rootroot 20297544 5月 20 11:06 u-boot81.tgz

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$ mv *.tgz ~/62repo/

rootroot@rootroot-desktop:~/3588a12$ ll

rootroot@rootroot-desktop:~/3588a12$ sudo sync

[sudo] password for rootroot:

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$ sudo sync

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$ sudo sync

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$ sudo echo 3 | sudo tee /proc/sys/vm/drop_caches

3

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$ source build/envsetup.sh

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$ lunch

You're building on Linux

Lunch menu... pick a combo:

  1. aosp_arm-eng

  2. aosp_arm64-eng

  3. aosp_blueline-userdebug

  4. aosp_blueline_car-userdebug

  5. aosp_bonito-userdebug

  6. aosp_bonito_car-userdebug

  7. aosp_bramble_car-userdebug

  8. aosp_cf_arm64_auto-userdebug

  9. aosp_cf_arm64_phone-userdebug

  10. aosp_cf_x86_64_foldable-userdebug

  11. aosp_cf_x86_64_pc-userdebug

  12. aosp_cf_x86_64_phone-userdebug

  13. aosp_cf_x86_64_tv-userdebug

  14. aosp_cf_x86_auto-userdebug

  15. aosp_cf_x86_phone-userdebug

  16. aosp_cf_x86_tv-userdebug

  17. aosp_coral_car-userdebug

  18. aosp_crosshatch-userdebug

  19. aosp_crosshatch_car-userdebug

  20. aosp_crosshatch_vf-userdebug

  21. aosp_flame_car-userdebug

  22. aosp_oriole-userdebug

  23. aosp_oriole_car-userdebug

  24. aosp_raven-userdebug

  25. aosp_raven_car-userdebug

  26. aosp_redfin_car-userdebug

  27. aosp_sargo-userdebug

  28. aosp_sargo_car-userdebug

  29. aosp_slider-userdebug

  30. aosp_sunfish_car-userdebug

  31. aosp_whitefin-userdebug

  32. aosp_x86-eng

  33. aosp_x86_64-eng

  34. arm_krait-eng

  35. arm_v7_v8-eng

  36. armv8-eng

  37. armv8_cortex_a55-eng

  38. armv8_kryo385-eng

  39. beagle_x15-userdebug

  40. beagle_x15_auto-userdebug

  41. fuchsia_arm64-eng

  42. fuchsia_x86_64-eng

  43. hikey-userdebug

  44. hikey64_only-userdebug

  45. hikey960-userdebug

  46. hikey960_tv-userdebug

  47. hikey_tv-userdebug

  48. qemu_trusty_arm64-userdebug

  49. rk3588_box-user

  50. rk3588_box-userdebug

  51. rk3588_s-user

  52. rk3588_s-userdebug

  53. rk3588_xr-user

  54. rk3588_xr-userdebug

  55. rk3588m_car-user

  56. rk3588m_car-userdebug

  57. rk3588m_s-user

  58. rk3588m_s-userdebug

  59. rk3588s_s-user

  60. rk3588s_s-userdebug

  61. sdk_car_arm-userdebug

  62. sdk_car_arm64-userdebug

  63. sdk_car_portrait_x86_64-userdebug

  64. sdk_car_x86-userdebug

  65. sdk_car_x86_64-userdebug

  66. silvermont-eng

  67. uml-userdebug

  68. yukawa-userdebug

  69. yukawa_sei510-userdebug

Which would you like? [aosp_arm-eng] 60

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=12

TARGET_PRODUCT=rk3588s_s

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_ARCH=arm64

TARGET_ARCH_VARIANT=armv8-a

TARGET_CPU_VARIANT=generic

TARGET_2ND_ARCH=arm

TARGET_2ND_ARCH_VARIANT=armv8-a

TARGET_2ND_CPU_VARIANT=generic

HOST_ARCH=x86_64

HOST_2ND_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-5.15.0-107-generic-x86_64-Ubuntu-20.04.6-LTS

HOST_CROSS_OS=windows

HOST_CROSS_ARCH=x86

HOST_CROSS_2ND_ARCH=x86_64

HOST_BUILD_TYPE=release

BUILD_ID=SQ3A.220705.003.A1

OUT_DIR=out

============================================

rootroot@rootroot-desktop:~/3588a12$ ll

rootroot@rootroot-desktop:~/3588a12$ ./build.sh -UACKu -d rk3588s-evb1-lp4x-v10

will build u-boot

will build android

will build kernel with Clang

will build kernel

will build update.img

-------------------KERNEL_VERSION:5.10

-------------------KERNEL_DTS:rk3588s-evb1-lp4x-v10

Force use clang and llvm to build kernel-5.10

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=12

TARGET_PRODUCT=rk3588s_s

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_ARCH=arm64

TARGET_ARCH_VARIANT=armv8-a

TARGET_CPU_VARIANT=generic

TARGET_2ND_ARCH=arm

TARGET_2ND_ARCH_VARIANT=armv8-a

TARGET_2ND_CPU_VARIANT=generic

HOST_ARCH=x86_64

HOST_2ND_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-5.15.0-107-generic-x86_64-Ubuntu-20.04.6-LTS

HOST_CROSS_OS=windows

HOST_CROSS_ARCH=x86

HOST_CROSS_2ND_ARCH=x86_64

HOST_BUILD_TYPE=release

BUILD_ID=SQ3A.220705.003.A1

OUT_DIR=out

============================================

start build uboot

build completed successfully (2 seconds)

build completed successfully (1 seconds)

build completed successfully (1 seconds)

grep: .config: No such file or directory

make rk3588_defconfig -j72

HOSTCC scripts/basic/fixdep

HOSTCC scripts/kconfig/conf.o

SHIPPED scripts/kconfig/zconf.tab.c

SHIPPED scripts/kconfig/zconf.lex.c

SHIPPED scripts/kconfig/zconf.hash.c

HOSTCC scripts/kconfig/zconf.tab.o

In file included from scripts/kconfig/zconf.tab.c:2468:

scripts/kconfig/confdata.c: In function 'conf_write':

scripts/kconfig/confdata.c:771:19: warning: '%s' directive writing likely 7 or more bytes into a region of size between 1 and 4097 [-Wformat-overflow=]

771 | sprintf(newname, "%s%s", dirname, basename);

| ^~~~~~

scripts/kconfig/confdata.c:771:19: note: assuming directive output of 7 bytes

In file included from /usr/include/stdio.h:867,

from scripts/kconfig/zconf.tab.c:82:

/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 1 or more bytes (assuming 4104) into a destination of size 4097

36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

37 | __bos (__s), __fmt, __va_arg_pack ());

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from scripts/kconfig/zconf.tab.c:2468:

scripts/kconfig/confdata.c:774:20: warning: '.tmpconfig.' directive writing 11 bytes into a region of size between 1 and 4097 [-Wformat-overflow=]

774 | sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid());

| ^~~~~~~~~~~~~~~~~

In file included from /usr/include/stdio.h:867,

from scripts/kconfig/zconf.tab.c:82:

/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 4119 bytes into a destination of size 4097

36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

37 | __bos (__s), __fmt, __va_arg_pack ());

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

HOSTLD scripts/kconfig/conf

configuration written to .config

scripts/kconfig/conf --silentoldconfig Kconfig

CHK include/config.h

UPD include/config.h

CFG u-boot.cfg

GEN include/autoconf.mk.dep

CFG spl/u-boot.cfg

CFG tpl/u-boot.cfg

GEN include/autoconf.mk

GEN tpl/include/autoconf.mk

GEN spl/include/autoconf.mk

CHK include/config/uboot.release

CHK include/generated/timestamp_autogenerated.h

UPD include/generated/timestamp_autogenerated.h

HOSTCC scripts/dtc/dtc.o

HOSTCC scripts/dtc/flattree.o

HOSTCC scripts/dtc/fstree.o

HOSTCC scripts/dtc/livetree.o

HOSTCC scripts/dtc/data.o

HOSTCC scripts/dtc/checks.o

HOSTCC scripts/dtc/treesource.o

HOSTCC scripts/dtc/srcpos.o

ler-rt/lib/cfi/cfi_blocklist.txt -fvisibility=default -fsanitize=signed-integer-overflow,unsigned-integer-overflow,signed-integer-overflow,cfi -fsanitize-minimal-runtime -fno-sanitize-trap=integer,undefined -fno-sanitize-recover=integer,undefined -fsanitize-trap=all -ftrap-function=abort -fno-sanitize=implicit-integer-sign-change -fno-sanitize=unsigned-shift-base -std=gnu++17 -fno-rtti -Werror=bool-operation -Werror=implicit-int-float-conversion -Werror=int-in-bool-context -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=string-compare -Werror=xor-used-as-pow -Wno-void-pointer-to-enum-cast -Wno-void-pointer-to-int-cast -Wno-pointer-to-int-cast -Werror=fortify-source -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-tautological-type-limit-compare -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-int-in-bool-context -Wno-sizeof-array-div -Wno-tautological-overlap-compare -Wno-deprecated-copy -Wno-range-loop-construct -Wno-misleading-indentation -Wno-zero-as-null-pointer-constant -Wno-deprecated-anon-enum-enum-conversion -Wno-deprecated-enum-enum-conversion -Wno-string-compare -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-pessimizing-move -Wno-non-c-typedef-for-linkage -Wno-string-concatenation -MD -MF out/soong/.intermediates/vendor/rockchip/hardware/interfaces/codec2/component/mpi/libcodec2_rk_mpi/android_vendor.32_arm64_armv8-a_static_cfi/obj/vendor/rockchip/hardware/interfaces/codec2/component/mpi/C2RKMpiEnc.o.d -o out/soong/.intermediates/vendor/rockchip/hardware/interfaces/codec2/component/mpi/libcodec2_rk_mpi/android_vendor.32_arm64_armv8-a_static_cfi/obj/vendor/rockchip/hardware/interfaces/codec2/component/mpi/C2RKMpiEnc.o vendor/rockchip/hardware/interfaces/codec2/component/mpi/C2RKMpiEnc.cpp

vendor/rockchip/hardware/interfaces/codec2/component/mpi/C2RKMpiEnc.cpp:942:55: error: use of undeclared identifier 'C2_GIT_BUILD_VERSION'

c2_info("component name %s\r\nversion: %s", name, C2_GIT_BUILD_VERSION);

^

1 error generated.

[ 2% 1379/49558] //vendor/rockchip/hardware/interfaces/codec2/component/mpi:libcodec2_rk_mpi clang++ C2RKMpiEnc.cpp [arm]

FAILED: out/soong/.intermediates/vendor/rockchip/hardware/interfaces/codec2/component/mpi/libcodec2_rk_mpi/android_vendor.32_arm_armv8-a_static_cfi/obj/vendor/rockchip/hardware/interfaces/codec2/component/mpi/C2RKMpiEnc.o

PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++ -c -D__ANDROID_VNDK__ -D__ANDROID_VENDOR__ -mthumb -Os -fomit-frame-pointer -DANDROID -DANDROID_12 -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Wunreachable-code-loop-increment -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -g -fdebug-info-for-profiling -fno-strict-aliasing -Werror=date-time -Werror=pragma-pack -Werror=pragma-pack-suspicious-include -Werror=string-plus-int -Werror=unreachable-code-loop-increment -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=builtin_offsetof -faddrsig -fcommon -Werror=int-conversion -fexperimental-new-pass-manager -Wno-reserved-id-macro -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-sign-compare -Wno-defaulted-function-deleted -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-gnu-folding-constant -Wunguarded-availability -D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK -ftrivial-auto-var-init=zero -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang -ffunction-sections -fdata-sections -fno-short-enums -funwind-tables -fstack-protector-strong -Wa,--noexecstack -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=format-security -nostdlibinc -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-pointer-arithmetic -Wno-null-dereference -Wno-pointer-compare -Wno-xor-used-as-pow -Wno-final-dtor-non-final-class -Wno-psabi -msoft-float -march=armv8-a -mfloat-abi=softfp -mfpu=neon-fp-armv8 -target armv7a-linux-androideabi29 -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -DANDROID_STRICT -fPIC -Wsign-promo -Wimplicit-fallthrough -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-gnu-include-next -fvisibility-inlines-hidden -Ivendor/rockchip/hardware/interfaces/codec2/component/include -Ivendor/rockchip/hardware/interfaces/codec2/osal/include -Ihardware/rockchip/librkvpu/omx_get_gralloc_private -Ihardware/rockchip/librga/include -Iframeworks/av/media/libstagefright/include -Ivendor/rockchip/hardware/interfaces/codec2/component/mpi -Ihardware/rockchip/libhardware_rockchip/include -Iframeworks/native/libs/ui/include_vndk -Iframeworks/native/libs/nativewindow/include -Iframeworks/native/libs/math/include -Iframeworks/native/libs/ui/include -Iframeworks/native/libs/ui/include_private -Isystem/libbase/include -Iframeworks/native/libs/nativebase/include -Ihardware/libhardware/include -Isystem/media/audio/include -Isystem/core/libcutils/include_outside_system -Isystem/core/libsystem/include -Isystem/bt/types -Iframeworks/native/libs/ui/include_types -Iframeworks/native/libs/arect/include -Iframeworks/native/libs/binder/ndk/include_cpp -Iframeworks/native/libs/binder/ndk/include_ndk -Iframeworks/native/libs/binder/ndk/include_platform -Iout/soong/.intermediates/hardware/interfaces/common/aidl/android.hardware.common-V2-ndk_platform-source/gen/include -Iout/soong/.intermediates/hardware/interfaces/graphics/common/aidl/android.hardware.graphics.common-V2-ndk_platform-source/gen/include -Isystem/libhidl/base/include -Isystem/libhidl/transport/include -Isystem/libfmq/base -Isystem/libhwbinder/include -Iexternal/fmtlib/include -Isystem/core/libutils/include -Isystem/unwinding/libbacktrace/include -Isystem/logging/liblog/include_vndk -Isystem/core/libprocessgroup/include -Isystem/core/libcutils/include -Iout/soong/.intermediates/system/libhidl/transport/manager/1.0/android.hidl.manager@1.0_genc++_headers/gen -Iout/soong/.intermediates/system/libhidl/transport/manager/1.1/android.hidl.manager@1.1_genc++_headers/gen -Iout/soong/.intermediates/system/libhidl/transport/manager/1.2/android.hidl.manager@1.2_genc++_headers/gen -Iout/soong/.intermediates/system/libhidl/transport/base/1.0/android.hidl.base@1.0_genc++_headers/gen -Iout/soong/.intermediates/hardware/interfaces/graphics/common/1.0/android.hardware.graphics.common@1.0_genc++_headers/gen -Iout/soong/.intermediates/hardware/interfaces/graphics/common/1.1/android.hardware.graphics.common@1.1_genc++_headers/gen -Iout/soong/.intermediates/hardware/interfaces/graphics/common/1.2/android.hardware.graphics.common@1.2_genc++_headers/gen -Iout/soong/.intermediates/hardware/interfaces/graphics/mapper/4.0/android.hardware.graphics.mapper@4.0_genc++_headers/gen -Iframeworks/native/libs/gralloc/types/include -Iexternal/libcxx/include -Iexternal/libcxxabi/include -Iframeworks/av/media/codec2/core/include -Iframeworks/native/headers/media_plugin -Iframeworks/native/headers/media_plugin/media/openmax -Iframeworks/av/media/libstagefright/include -Iframeworks/av/media/libstagefright/foundation/include -Iframeworks/av/media/codec2/vndk/include -Iout/soong/.intermediates/hardware/interfaces/media/bufferpool/2.0/android.hardware.media.bufferpool@2.0_genc++_headers/gen -Iframeworks/av/media/codec2/sfplugin/utils -Ihardware/rockchip/librga/include -Ihardware/rockchip/librga/im2d_api -Iout/soong/.intermediates/vendor/rockchip/hardware/interfaces/codec2/c2_version/gen -isystem out/soong/.intermediates/bionic/libc/libc/android_vendor.32_arm_armv8-a_shared/gen/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/android/scsi -isystem bionic/libc/kernel/android/uapi -isystem bionic/libc/kernel/uapi/asm-arm -Wall -Werror -DDO_NOT_CHECK_MANUAL_BINDER_INTERFACES -flto -fsanitize-cfi-cross-dso -fsanitize-blacklist=external/compiler-rt/lib/cfi/cfi_blocklist.txt -fvisibility=default -fsanitize=signed-integer-overflow,unsigned-integer-overflow,signed-integer-overflow,cfi -fsanitize-minimal-runtime -fno-sanitize-trap=integer,undefined -fno-sanitize-recover=integer,undefined -fsanitize-trap=all -ftrap-function=abort -fno-sanitize=implicit-integer-sign-change -fno-sanitize=unsigned-shift-base -std=gnu++17 -fno-rtti -Werror=bool-operation -Werror=implicit-int-float-conversion -Werror=int-in-bool-context -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=string-compare -Werror=xor-used-as-pow -Wno-void-pointer-to-enum-cast -Wno-void-pointer-to-int-cast -Wno-pointer-to-int-cast -Werror=fortify-source -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-tautological-type-limit-compare -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-int-in-bool-context -Wno-sizeof-array-div -Wno-tautological-overlap-compare -Wno-deprecated-copy -Wno-range-loop-construct -Wno-misleading-indentation -Wno-zero-as-null-pointer-constant -Wno-deprecated-anon-enum-enum-conversion -Wno-deprecated-enum-enum-conversion -Wno-string-compare -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-pessimizing-move -Wno-non-c-typedef-for-linkage -Wno-string-concatenation -MD -MF out/soong/.intermediates/vendor/rockchip/hardware/interfaces/codec2/component/mpi/libcodec2_rk_mpi/android_vendor.32_arm_armv8-a_static_cfi/obj/vendor/rockchip/hardware/interfaces/codec2/component/mpi/C2RKMpiEnc.o.d -o out/soong/.intermediates/vendor/rockchip/hardware/interfaces/codec2/component/mpi/libcodec2_rk_mpi/android_vendor.32_arm_armv8-a_static_cfi/obj/vendor/rockchip/hardware/interfaces/codec2/component/mpi/C2RKMpiEnc.o vendor/rockchip/hardware/interfaces/codec2/component/mpi/C2RKMpiEnc.cpp

vendor/rockchip/hardware/interfaces/codec2/component/mpi/C2RKMpiEnc.cpp:942:55: error: use of undeclared identifier 'C2_GIT_BUILD_VERSION'

c2_info("component name %s\r\nversion: %s", name, C2_GIT_BUILD_VERSION);

^

1 error generated.

14:37:50 ninja failed with: exit status 1

failed to build some targets (29:23 (mm:ss))

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$ sudo echo 3 | sudo tee /proc/sys/vm/drop_caches

[sudo] password for rootroot:

Sorry, try again.

[sudo] password for rootroot:

3

rootroot@rootroot-desktop:~/3588a12$ make -j36

frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ForegroundServiceSectionController.kt:79:13: warning: variable 'isAppCancel' is never used

val isAppCancel = reason == REASON_APP_CANCEL || reason == REASON_APP_CANCEL_ALL

^

frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationSectionsManager.kt:118:75: warning: unchecked cast: View! to T

val inflated = layoutInflater.inflate(layoutResId, parent, false) as T

^

frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationsQSContainerController.kt:53:37: warning: 'getter for stableInsetBottom: Int' is deprecated. Deprecated in Java

bottomStableInsets = insets.stableInsetBottom

^

frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarContentInsetsProvider.kt:127:25: warning: 'getRealSize(Point!): Unit' is deprecated. Deprecated in Java

context.display.getRealSize(point)

^

frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarContentInsetsProvider.kt:167:25: warning: 'getRealSize(Point!): Unit' is deprecated. Deprecated in Java

context.display.getRealSize(point)

^

frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarContentInsetsProvider.kt:195:5: warning: '@JvmOverloads' annotation has no effect for methods without default arguments

@JvmOverloads

^

frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/UnlockedScreenOffAnimationController.kt:56:36: warning: 'constructor Handler()' is deprecated. Deprecated in Java

private val handler: Handler = Handler()

^

frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/UnlockedScreenOffAnimationController.kt:81:47: warning: no cast needed

1f - (it.animatedFraction as Float),

^

frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/DeviceControlsControllerImpl.kt:94:51: warning: 'CONTROLS_ENABLED: String' is deprecated. Deprecated in Java

if (secureSettings.getInt(Settings.Secure.CONTROLS_ENABLED, 1) == 0) {

^

frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/VpnStatusObserver.kt:43:24: warning: 'get(Class<T!>!): T!' is deprecated. Deprecated in Java

Dependency.get(SecurityController::class.java)

^

frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/nullability.kt:29:1: warning: expected performance impact from inlining is insignificant. Inlining works best for functions with parameters of functional types

inline fun <T> Optional<T>.getOrNull(): T? = orElse(null)

^

[ 99% 48074/48100] //frameworks/base/packages/SystemUI:SystemUI r8 [common]

Warning: Missing class android.compat.annotation.UnsupportedAppUsage (referenced from: void com.android.systemui.people.widget.PeopleBackupHelper.writeNewStateDescription(android.os.ParcelFileDescriptor))

Missing class android.support.annotation.Keep (referenced from: kotlinx.coroutines.android.AndroidExceptionPreHandler)

Missing class org.jetbrains.annotations.NotNull (referenced from: java.util.List com.android.keyguard.FontInterpolator$VarFontKey.sortedAxes and 4934 other contexts)

Missing class org.jetbrains.annotations.Nullable (referenced from: android.graphics.fonts.Font com.android.keyguard.FontInterpolator$InterpKey.l and 1141 other contexts)

[100% 48100/48100] Target super fs image for debug: out/target/product/rk3588s_s/super.img

2024-05-20 17:55:18 - build_super_image.py - INFO : Building super image from info dict...

2024-05-20 17:55:18 - sparse_img.py - INFO : Total of 239478 4096-byte output blocks in 18 input chunks.

2024-05-20 17:55:18 - sparse_img.py - INFO : Total of 37458 4096-byte output blocks in 6 input chunks.

2024-05-20 17:55:18 - sparse_img.py - INFO : Total of 109266 4096-byte output blocks in 10 input chunks.

2024-05-20 17:55:18 - sparse_img.py - INFO : Total of 1025 4096-byte output blocks in 2 input chunks.

2024-05-20 17:55:18 - sparse_img.py - INFO : Total of 169 4096-byte output blocks in 2 input chunks.

2024-05-20 17:55:18 - sparse_img.py - INFO : Total of 64 4096-byte output blocks in 4 input chunks.

2024-05-20 17:55:18 - sparse_img.py - INFO : Total of 61252 4096-byte output blocks in 5 input chunks.

2024-05-20 17:55:25 - build_super_image.py - INFO : Done writing image out/target/product/rk3588s_s/super.img

build completed successfully (01:55:40 (hh:mm:ss))

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$ ll

rootroot@rootroot-desktop:~/3588a12$ ll *.sh

rootroot@rootroot-desktop:~/3588a12$ ./build.sh -u

有关的LOG:

rootroot@rootroot-desktop:~$

rootroot@rootroot-desktop:~$ ll *.tgz

-rw-rw-r-- 1 rootroot rootroot 32128741446 5月 18 13:15 3588a12_1248.tgz

-rwxrwxrwx 1 rootroot rootroot 35268443494 4月 19 01:42 android12-rk3588-new_20221229_1732toybrick.tgz*

-rw-rw-r-- 1 rootroot rootroot 30618701438 4月 15 19:11 OK3588-android-source20240415_1906.tgz

-rw-rw-r-- 1 rootroot rootroot 9342656836 4月 10 18:08 OK3588_Linux_fs_20240410_1808.tgz

-rw-rw-r-- 1 rootroot rootroot 7340958436 5月 17 12:02 Rockchip_RK3588_Linux5.10_SDK_Release_V1.2.0_20230620_1200.tgz

rootroot@rootroot-desktop:~$

rootroot@rootroot-desktop:~$

rootroot@rootroot-desktop:~$ ll *.tar.gz

-rwxrwxrwx 1 rootroot rootroot 108146549678 5月 18 10:25 3588a12repo20231205.tar.gz*

-rwxrwxrwx 1 rootroot rootroot 36691949769 5月 17 10:55 3588Lv1.21repo230810.tar.gz*

-rwxrwxrwx 1 rootroot rootroot 52165431332 11月 21 19:49 RK3588_V1.43.tar.gz*

-rwxrwxrwx 1 rootroot rootroot 18906585152 5月 17 10:53 Rockchip_RK3588_Linux5.10_SDK_repo240508.tar.gz*

rootroot@rootroot-desktop:~$

rootroot@rootroot-desktop:~$

rootroot@rootroot-desktop:~$

rootroot@rootroot-desktop:~$

rootroot@rootroot-desktop:~$ md5sum 3588a12repo20231205.tar.gz

23687ebf0761ebde0e37c8a323763b92 3588a12repo20231205.tar.gz

rootroot@rootroot-desktop:~$

rootroot@rootroot-desktop:~$

rootroot@rootroot-desktop:~$ time tar --use-compress-program=pigz -xvpf 3588a12repo20231205.tar.gz

3588a12/

3588a12/prebuilts/

3588a12/prebuilts/bazel/

3588a12/prebuilts/bazel/linux-x86_64/

3588a12/prebuilts/bazel/linux-x86_64/bazel

drwxr-xr-x 2 rootroot rootroot 4096 7月 18 2023 io_uring/

drwxr-xr-x 2 rootroot rootroot 4096 5月 20 11:06 ipc/

-rw-r--r-- 1 rootroot rootroot 1327 12月 12 2022 Kbuild

-rw-r--r-- 1 rootroot rootroot 555 12月 12 2022 Kconfig

drwxr-xr-x 20 rootroot rootroot 12288 5月 20 11:06 kernel/

drwxr-xr-x 21 rootroot rootroot 20480 5月 20 11:06 lib/

drwxr-xr-x 6 rootroot rootroot 4096 12月 12 2022 LICENSES/

-rw-r--r-- 1 rootroot rootroot 12936 12月 12 2022 logo.bmp

-rw-r--r-- 1 rootroot rootroot 22364 12月 12 2022 logo_kernel.bmp

-rw-r--r-- 1 rootroot rootroot 18204 12月 12 2022 .mailmap

-rw-r--r-- 1 rootroot rootroot 577791 7月 18 2023 MAINTAINERS

-rw-r--r-- 1 rootroot rootroot 68855 7月 18 2023 Makefile

drwxr-xr-x 5 rootroot rootroot 12288 5月 20 11:06 mm/

drwxr-xr-x 72 rootroot rootroot 4096 5月 20 11:06 net/

-rw-r--r-- 1 rootroot rootroot 438 12月 12 2022 OWNERS

-rw-r--r-- 1 rootroot rootroot 727 12月 12 2022 README

-rw-r--r-- 1 rootroot rootroot 6402 12月 12 2022 README.md

drwxr-xr-x 33 rootroot rootroot 4096 12月 30 2022 samples/

-rw-r--r-- 1 rootroot rootroot 0 12月 12 2022 .scmversion

drwxr-xr-x 17 rootroot rootroot 4096 5月 20 11:06 scripts/

drwxr-xr-x 13 rootroot rootroot 4096 5月 20 11:06 security/

drwxr-xr-x 26 rootroot rootroot 4096 5月 20 11:06 sound/

drwxr-xr-x 37 rootroot rootroot 4096 12月 12 2022 tools/

drwxr-xr-x 3 rootroot rootroot 4096 5月 20 11:06 usr/

drwxr-xr-x 4 rootroot rootroot 4096 5月 20 11:06 virt/

rootroot@rootroot-desktop:~/3588a12/kernel-5.10$ cd ..

rootroot@rootroot-desktop:~/3588a12$ ll

total 164

drwxr-xr-x 37 rootroot rootroot 4096 5月 20 11:04 ./

drwxr-xr-x 40 rootroot rootroot 4096 5月 20 11:04 ../

lrwxrwxrwx 1 rootroot rootroot 19 12月 12 2022 Android.bp -> build/soong/root.bp

drwxr-xr-x 36 rootroot rootroot 4096 12月 12 2022 art/

drwxr-xr-x 15 rootroot rootroot 4096 12月 12 2022 bionic/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 bootable/

drwxr-xr-x 2 rootroot rootroot 4096 12月 13 2022 .bootstrap/

lrwxrwxrwx 1 rootroot rootroot 26 12月 12 2022 bootstrap.bash -> build/soong/bootstrap.bash*

drwxr-xr-x 7 rootroot rootroot 4096 12月 12 2022 build/

lrwxrwxrwx 1 rootroot rootroot 23 12月 12 2022 BUILD -> build/bazel/bazel.BUILD

lrwxrwxrwx 1 rootroot rootroot 46 7月 18 2023 build.sh -> device/rockchip/common/build/rockchip/build.sh*

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 .classpath -> device/rockchip/common/.classpath*

drwxr-xr-x 3 rootroot rootroot 4096 12月 12 2022 compatibility/

drwxr-xr-x 14 rootroot rootroot 4096 12月 30 2022 cts/

drwxr-xr-x 8 rootroot rootroot 4096 12月 12 2022 dalvik/

drwxr-xr-x 5 rootroot rootroot 4096 12月 12 2022 developers/

drwxr-xr-x 20 rootroot rootroot 4096 12月 30 2022 development/

drwxr-xr-x 11 rootroot rootroot 4096 12月 12 2022 device/

drwxr-xr-x 357 rootroot rootroot 12288 7月 18 2023 external/

drwxr-xr-x 16 rootroot rootroot 4096 12月 12 2022 frameworks/

drwxr-xr-x 19 rootroot rootroot 4096 12月 30 2022 hardware/

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 javaenv.sh -> device/rockchip/common/javaenv.sh

drwxr-xr-x 6 rootroot rootroot 4096 7月 19 2023 kernel/

drwxr-xr-x 3 rootroot rootroot 4096 7月 18 2023 kernel-4.19/

drwxr-xr-x 27 rootroot rootroot 4096 5月 20 11:06 kernel-5.10/

drwxr-xr-x 20 rootroot rootroot 4096 12月 12 2022 libcore/

drwxr-xr-x 10 rootroot rootroot 4096 12月 12 2022 libnativehelper/

lrwxrwxrwx 1 rootroot rootroot 19 12月 13 2022 libOpenCL.so -> egl/libGLES_mali.so

-r--r--r-- 1 rootroot rootroot 92 12月 12 2022 Makefile

drwxr-xr-x 10 rootroot rootroot 4096 12月 30 2022 mkcombinedroot/

lrwxrwxrwx 1 rootroot rootroot 36 7月 18 2023 mkimage_ab.sh -> device/rockchip/common/mkimage_ab.sh*

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 mkimage.sh -> device/rockchip/common/mkimage.sh*

drwxr-xr-x 9 rootroot rootroot 4096 12月 12 2022 packages/

drwxr-xr-x 6 rootroot rootroot 4096 12月 12 2022 pdk/

drwxr-xr-x 10 rootroot rootroot 4096 12月 12 2022 platform_testing/

drwxr-xr-x 34 rootroot rootroot 4096 12月 30 2022 prebuilts/

-r-xr-xr-x 1 rootroot rootroot 519 12月 12 2022 restore_patches.sh*

drwxr-xr-x 10 rootroot rootroot 4096 12月 30 2022 rkbin/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 RKDocs/

drwxr-xr-x 5 rootroot rootroot 4096 12月 12 2022 rkst/

drwxr-xr-x 6 rootroot rootroot 4096 12月 30 2022 RKTools/

drwxr-xr-x 22 rootroot rootroot 4096 12月 12 2022 sdk/

drwxr-xr-x 45 rootroot rootroot 4096 12月 12 2022 system/

drwxr-xr-x 11 rootroot rootroot 4096 12月 12 2022 test/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 toolchain/

drwxr-xr-x 23 rootroot rootroot 4096 12月 12 2022 tools/

drwxr-xr-x 26 rootroot rootroot 4096 5月 20 11:05 u-boot/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 vendor/

lrwxrwxrwx 1 rootroot rootroot 27 12月 12 2022 WORKSPACE -> build/bazel/bazel.WORKSPACE

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$ time tar --use-compress-program=pigz -cvpf u-boot81.tgz u-boot/

u-boot/

u-boot/lib/

u-boot/lib/linux_string.c

u-boot/lib/asm-offsets.c

u-boot/lib/charset.c

3588a12/frameworks/minikin/tests/stresstest/how_to_run.txt

3588a12/frameworks/minikin/tests/stresstest/Android.bp

3588a12/frameworks/minikin/tests/stresstest/MultithreadTest.cpp

3588a12/frameworks/minikin/tests/stresstest/FontFamilyTest.cpp

3588a12/frameworks/minikin/tools/

3588a12/frameworks/minikin/tools/mk_hyb_file.py

real 62m34.806s

user 13m35.898s

sys 8m11.381s

rootroot@rootroot-desktop:~$

rootroot@rootroot-desktop:~$ time tar --use-compress-program=pigz -xvpf 3588a12repo20231205.tar.gz ^C

rootroot@rootroot-desktop:~$

rootroot@rootroot-desktop:~$

rootroot@rootroot-desktop:~$ cd 3588a12/

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$ ll

total 172

drwxr-xr-x 39 rootroot rootroot 4096 12月 4 15:56 ./

drwxr-xr-x 39 rootroot rootroot 4096 5月 20 09:55 ../

lrwxrwxrwx 1 rootroot rootroot 19 12月 12 2022 Android.bp -> build/soong/root.bp

drwxr-xr-x 36 rootroot rootroot 4096 12月 12 2022 art/

drwxr-xr-x 15 rootroot rootroot 4096 12月 12 2022 bionic/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 bootable/

drwxr-xr-x 2 rootroot rootroot 4096 12月 13 2022 .bootstrap/

lrwxrwxrwx 1 rootroot rootroot 26 12月 12 2022 bootstrap.bash -> build/soong/bootstrap.bash*

drwxr-xr-x 7 rootroot rootroot 4096 12月 12 2022 build/

lrwxrwxrwx 1 rootroot rootroot 23 12月 12 2022 BUILD -> build/bazel/bazel.BUILD

lrwxrwxrwx 1 rootroot rootroot 46 7月 18 2023 build.sh -> device/rockchip/common/build/rockchip/build.sh*

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 .classpath -> device/rockchip/common/.classpath*

drwxr-xr-x 3 rootroot rootroot 4096 12月 12 2022 compatibility/

drwxr-xr-x 14 rootroot rootroot 4096 12月 30 2022 cts/

drwxr-xr-x 8 rootroot rootroot 4096 12月 12 2022 dalvik/

drwxr-xr-x 5 rootroot rootroot 4096 12月 12 2022 developers/

drwxr-xr-x 20 rootroot rootroot 4096 12月 30 2022 development/

drwxr-xr-x 11 rootroot rootroot 4096 12月 12 2022 device/

drwxr-xr-x 357 rootroot rootroot 12288 7月 18 2023 external/

drwxr-xr-x 16 rootroot rootroot 4096 12月 12 2022 frameworks/

drwxr-xr-x 19 rootroot rootroot 4096 12月 30 2022 hardware/

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 javaenv.sh -> device/rockchip/common/javaenv.sh

drwxr-xr-x 6 rootroot rootroot 4096 7月 19 2023 kernel/

drwxr-xr-x 3 rootroot rootroot 4096 7月 18 2023 kernel-4.19/

drwxr-xr-x 27 rootroot rootroot 4096 7月 18 2023 kernel-5.10/

drwxr-xr-x 20 rootroot rootroot 4096 12月 12 2022 libcore/

drwxr-xr-x 10 rootroot rootroot 4096 12月 12 2022 libnativehelper/

lrwxrwxrwx 1 rootroot rootroot 19 12月 13 2022 libOpenCL.so -> egl/libGLES_mali.so

-r--r--r-- 1 rootroot rootroot 92 12月 12 2022 Makefile

drwxr-xr-x 10 rootroot rootroot 4096 12月 30 2022 mkcombinedroot/

lrwxrwxrwx 1 rootroot rootroot 36 7月 18 2023 mkimage_ab.sh -> device/rockchip/common/mkimage_ab.sh*

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 mkimage.sh -> device/rockchip/common/mkimage.sh*

drwxr-xr-x 9 rootroot rootroot 4096 12月 12 2022 packages/

drwxr-xr-x 6 rootroot rootroot 4096 12月 12 2022 pdk/

drwxr-xr-x 10 rootroot rootroot 4096 12月 12 2022 platform_testing/

drwxr-xr-x 34 rootroot rootroot 4096 12月 30 2022 prebuilts/

drwxrwxr-x 7 rootroot rootroot 4096 12月 15 2021 .repo/

-r-xr-xr-x 1 rootroot rootroot 519 12月 12 2022 restore_patches.sh*

drwxr-xr-x 10 rootroot rootroot 4096 12月 30 2022 rkbin/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 RKDocs/

drwxr-xr-x 5 rootroot rootroot 4096 12月 12 2022 rkst/

drwxr-xr-x 6 rootroot rootroot 4096 12月 30 2022 RKTools/

drwxr-xr-x 3 rootroot rootroot 4096 12月 30 2022 rockdev/

drwxr-xr-x 22 rootroot rootroot 4096 12月 12 2022 sdk/

drwxr-xr-x 45 rootroot rootroot 4096 12月 12 2022 system/

drwxr-xr-x 11 rootroot rootroot 4096 12月 12 2022 test/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 toolchain/

drwxr-xr-x 23 rootroot rootroot 4096 12月 12 2022 tools/

drwxr-xr-x 28 rootroot rootroot 4096 7月 18 2023 u-boot/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 vendor/

lrwxrwxrwx 1 rootroot rootroot 27 12月 12 2022 WORKSPACE -> build/bazel/bazel.WORKSPACE

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$ mkdir ~/62repo

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$ mv .repo/ ~/62repo/

rootroot@rootroot-desktop:~/3588a12$ mv rockdev/ ~/62repo/

rootroot@rootroot-desktop:~/3588a12$ cd u-boot/

rootroot@rootroot-desktop:~/3588a12/u-boot$

rootroot@rootroot-desktop:~/3588a12/u-boot$ ll

total 27296

drwxr-xr-x 28 rootroot rootroot 4096 7月 18 2023 ./

drwxr-xr-x 37 rootroot rootroot 4096 5月 20 11:04 ../

drwxr-xr-x 2 rootroot rootroot 4096 12月 12 2022 api/

drwxr-xr-x 14 rootroot rootroot 4096 12月 12 2022 arch/

-rw-r--r-- 1 rootroot rootroot 190308 12月 30 2022 bl31_0x00040000.bin

-rw-r--r-- 1 rootroot rootroot 24576 12月 30 2022 bl31_0x000f0000.bin

-rw-r--r-- 1 rootroot rootroot 20480 12月 30 2022 bl31_0xff100000.bin

-rw-r--r-- 1 rootroot rootroot 348960 12月 30 2022 bl31.elf

drwxr-xr-x 181 rootroot rootroot 4096 12月 12 2022 board/

-rw-r--r-- 1 rootroot rootroot 610 12月 12 2022 .checkpatch.conf

drwxr-xr-x 5 rootroot rootroot 12288 7月 18 2023 cmd/

drwxr-xr-x 6 rootroot rootroot 12288 7月 18 2023 common/

-rw-r--r-- 1 rootroot rootroot 42212 12月 30 2022 .config

-rw-r--r-- 1 rootroot rootroot 2260 12月 12 2022 config.mk

drwxr-xr-x 2 rootroot rootroot 65536 7月 18 2023 configs/

drwxr-xr-x 2 rootroot rootroot 4096 7月 18 2023 disk/

drwxr-xr-x 10 rootroot rootroot 12288 12月 12 2022 doc/

drwxr-xr-x 3 rootroot rootroot 4096 12月 12 2022 Documentation/

drwxr-xr-x 58 rootroot rootroot 4096 7月 18 2023 drivers/

drwxr-xr-x 2 rootroot rootroot 4096 12月 30 2022 dts/

drwxr-xr-x 2 rootroot rootroot 4096 7月 18 2023 env/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 examples/

drwxr-xr-x 2 rootroot rootroot 4096 12月 30 2022 fit/

drwxr-xr-x 12 rootroot rootroot 4096 12月 30 2022 fs/

drwxr-xr-x 2 rootroot rootroot 4096 12月 4 10:20 .git/

-rw-r--r-- 1 rootroot rootroot 859 12月 12 2022 .gitignore

drwxr-xr-x 34 rootroot rootroot 20480 7月 18 2023 include/

-rw-r--r-- 1 rootroot rootroot 1863 12月 12 2022 Kbuild

-rw-r--r-- 1 rootroot rootroot 16161 7月 18 2023 Kconfig

drwxr-xr-x 15 rootroot rootroot 4096 7月 18 2023 lib/

drwxr-xr-x 2 rootroot rootroot 4096 12月 12 2022 Licenses/

-rw-r--r-- 1 rootroot rootroot 1323 12月 12 2022 .mailmap

-rw-r--r-- 1 rootroot rootroot 14626 12月 12 2022 MAINTAINERS

-rw-r--r-- 1 rootroot rootroot 57653 12月 30 2022 Makefile

-rwxr-xr-x 1 rootroot rootroot 21203 7月 18 2023 make.sh*

drwxr-xr-x 2 rootroot rootroot 4096 12月 30 2022 net/

drwxr-xr-x 5 rootroot rootroot 4096 12月 12 2022 post/

-rw-r--r-- 1 rootroot rootroot 34 12月 12 2022 PREUPLOAD.cfg

-rw-r--r-- 1 rootroot rootroot 187683 12月 12 2022 README

-rw-r--r-- 1 rootroot rootroot 359424 12月 30 2022 resource.img

-rw-r--r-- 1 rootroot rootroot 448960 12月 30 2022 rk3588_spl_loader_v1.08.111.bin

drwxr-xr-x 6 rootroot rootroot 4096 7月 18 2023 scripts/

-rw-r--r-- 1 rootroot rootroot 17 12月 12 2022 snapshot.commit

drwxr-xr-x 13 rootroot rootroot 4096 12月 30 2022 spl/

-rw-r--r-- 1 rootroot rootroot 212969 12月 30 2022 System.map

-rw-r--r-- 1 rootroot rootroot 461200 12月 30 2022 tee.bin

drwxr-xr-x 12 rootroot rootroot 4096 12月 30 2022 test/

drwxr-xr-x 18 rootroot rootroot 4096 7月 18 2023 tools/

drwxr-xr-x 10 rootroot rootroot 4096 12月 30 2022 tpl/

-rw-r--r-- 1 rootroot rootroot 11367 12月 12 2022 .travis.yml

-rwxr-xr-x 1 rootroot rootroot 11895784 12月 30 2022 u-boot*

-rw-r--r-- 1 rootroot rootroot 1305256 12月 30 2022 u-boot.bin

-rw-r--r-- 1 rootroot rootroot 46 12月 30 2022 .u-boot.bin.cmd

-rw-r--r-- 1 rootroot rootroot 19340 12月 30 2022 u-boot.cfg

-rw-r--r-- 1 rootroot rootroot 12400 12月 30 2022 u-boot.cfg.configs

-rw-r--r-- 1 rootroot rootroot 1805 12月 30 2022 .u-boot.cmd

-rw-r--r-- 1 rootroot rootroot 7829 12月 30 2022 u-boot.dtb

-rw-r--r-- 1 rootroot rootroot 1305253 12月 30 2022 u-boot-dtb.bin

-rw-r--r-- 1 rootroot rootroot 71 12月 30 2022 .u-boot-dtb.bin.cmd

-rw-r--r-- 1 rootroot rootroot 240 12月 30 2022 .u-boot-dtb.img.cmd

-rw-r--r-- 1 rootroot rootroot 4194304 12月 30 2022 uboot.img

-rw-r--r-- 1 rootroot rootroot 232 12月 30 2022 .u-boot.img.cmd

-rw-r--r-- 1 rootroot rootroot 1304 12月 30 2022 u-boot.lds

-rw-r--r-- 1 rootroot rootroot 7459 12月 30 2022 .u-boot.lds.cmd

-rw-r--r-- 1 rootroot rootroot 1022135 12月 30 2022 u-boot.map

-rwxr-xr-x 1 rootroot rootroot 1297424 12月 30 2022 u-boot-nodtb.bin*

-rw-r--r-- 1 rootroot rootroot 347 12月 30 2022 .u-boot-nodtb.bin.cmd

-rwxr-xr-x 1 rootroot rootroot 3730170 12月 30 2022 u-boot.srec*

-rw-r--r-- 1 rootroot rootroot 334 12月 30 2022 .u-boot.srec.cmd

-rw-r--r-- 1 rootroot rootroot 408898 12月 30 2022 u-boot.sym

-rw-r--r-- 1 rootroot rootroot 182 12月 30 2022 .u-boot.sym.cmd

-rw-r--r-- 1 rootroot rootroot 72 7月 18 2023 usb_update.txt

rootroot@rootroot-desktop:~/3588a12/u-boot$

rootroot@rootroot-desktop:~/3588a12/u-boot$

rootroot@rootroot-desktop:~/3588a12/u-boot$ make distclean

CLEAN dts/../arch/arm/dts

CLEAN dts

CLEAN examples/standalone

CLEAN tools

CLEAN tools/lib tools/common

CLEAN spl/arch spl/board spl/cmd spl/common spl/disk spl/drivers spl/dts spl/env spl/fs spl/lib spl/u-boot.cfg spl/u-boot-spl spl/u-boot-spl.bin spl/u-boot-spl.dtb spl/u-boot-spl-dtb.bin spl/u-boot-spl.lds spl/u-boot-spl.map spl/u-boot-spl-nodtb.bin spl/u-boot-spl.sym tpl/arch tpl/board tpl/common tpl/disk tpl/drivers tpl/dts tpl/fs tpl/u-boot.cfg tpl/u-boot-spl.lds tpl/u-boot-tpl tpl/u-boot-tpl.bin tpl/u-boot-tpl.map tpl/u-boot-tpl-nodtb.bin tpl/u-boot-tpl.sym

CLEAN u-boot.lds u-boot.dtb u-boot.cfg.configs u-boot.map u-boot-nodtb.bin u-boot.cfg u-boot.bin u-boot.srec u-boot-dtb.bin u-boot u-boot.sym System.map bl31_0x00040000.bin bl31_0xff100000.bin u-boot-nodtb.bin tee.bin rk3588_spl_loader_v1.08.111.bin u-boot.bin u-boot-dtb.bin bl31_0x000f0000.bin resource.img uboot.img

CLEAN scripts/basic

CLEAN scripts/dtc

CLEAN scripts/kconfig

CLEAN include/config include/generated spl tpl

CLEAN .config include/autoconf.mk.dep include/autoconf.mk include/config.h

rootroot@rootroot-desktop:~/3588a12/u-boot$

rootroot@rootroot-desktop:~/3588a12/u-boot$ ll

total 892

drwxr-xr-x 26 rootroot rootroot 4096 5月 20 11:05 ./

drwxr-xr-x 37 rootroot rootroot 4096 5月 20 11:04 ../

drwxr-xr-x 2 rootroot rootroot 4096 12月 12 2022 api/

drwxr-xr-x 14 rootroot rootroot 4096 12月 12 2022 arch/

-rw-r--r-- 1 rootroot rootroot 348960 12月 30 2022 bl31.elf

drwxr-xr-x 181 rootroot rootroot 4096 12月 12 2022 board/

-rw-r--r-- 1 rootroot rootroot 610 12月 12 2022 .checkpatch.conf

drwxr-xr-x 5 rootroot rootroot 12288 5月 20 11:05 cmd/

drwxr-xr-x 6 rootroot rootroot 12288 5月 20 11:05 common/

-rw-r--r-- 1 rootroot rootroot 2260 12月 12 2022 config.mk

drwxr-xr-x 2 rootroot rootroot 65536 7月 18 2023 configs/

drwxr-xr-x 2 rootroot rootroot 4096 5月 20 11:05 disk/

drwxr-xr-x 10 rootroot rootroot 12288 12月 12 2022 doc/

drwxr-xr-x 3 rootroot rootroot 4096 12月 12 2022 Documentation/

drwxr-xr-x 58 rootroot rootroot 4096 5月 20 11:05 drivers/

drwxr-xr-x 2 rootroot rootroot 4096 5月 20 11:05 dts/

drwxr-xr-x 2 rootroot rootroot 4096 5月 20 11:05 env/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 examples/

drwxr-xr-x 2 rootroot rootroot 4096 12月 30 2022 fit/

drwxr-xr-x 12 rootroot rootroot 4096 5月 20 11:05 fs/

drwxr-xr-x 2 rootroot rootroot 4096 12月 4 10:20 .git/

-rw-r--r-- 1 rootroot rootroot 859 12月 12 2022 .gitignore

drwxr-xr-x 32 rootroot rootroot 20480 5月 20 11:05 include/

-rw-r--r-- 1 rootroot rootroot 1863 12月 12 2022 Kbuild

-rw-r--r-- 1 rootroot rootroot 16161 7月 18 2023 Kconfig

drwxr-xr-x 15 rootroot rootroot 4096 5月 20 11:05 lib/

drwxr-xr-x 2 rootroot rootroot 4096 12月 12 2022 Licenses/

-rw-r--r-- 1 rootroot rootroot 1323 12月 12 2022 .mailmap

-rw-r--r-- 1 rootroot rootroot 14626 12月 12 2022 MAINTAINERS

-rw-r--r-- 1 rootroot rootroot 57653 12月 30 2022 Makefile

-rwxr-xr-x 1 rootroot rootroot 21203 7月 18 2023 make.sh*

drwxr-xr-x 2 rootroot rootroot 4096 5月 20 11:05 net/

drwxr-xr-x 5 rootroot rootroot 4096 12月 12 2022 post/

-rw-r--r-- 1 rootroot rootroot 34 12月 12 2022 PREUPLOAD.cfg

-rw-r--r-- 1 rootroot rootroot 187683 12月 12 2022 README

drwxr-xr-x 6 rootroot rootroot 4096 7月 18 2023 scripts/

-rw-r--r-- 1 rootroot rootroot 17 12月 12 2022 snapshot.commit

drwxr-xr-x 12 rootroot rootroot 4096 5月 20 11:05 test/

drwxr-xr-x 16 rootroot rootroot 4096 5月 20 11:05 tools/

-rw-r--r-- 1 rootroot rootroot 11367 12月 12 2022 .travis.yml

-rw-r--r-- 1 rootroot rootroot 72 7月 18 2023 usb_update.txt

rootroot@rootroot-desktop:~/3588a12/u-boot$ ll *.bin

ls: cannot access '*.bin': No such file or directory

rootroot@rootroot-desktop:~/3588a12/u-boot$ ll *.img

ls: cannot access '*.img': No such file or directory

rootroot@rootroot-desktop:~/3588a12/u-boot$ cd ..

rootroot@rootroot-desktop:~/3588a12$ ll

total 164

drwxr-xr-x 37 rootroot rootroot 4096 5月 20 11:04 ./

drwxr-xr-x 40 rootroot rootroot 4096 5月 20 11:04 ../

lrwxrwxrwx 1 rootroot rootroot 19 12月 12 2022 Android.bp -> build/soong/root.bp

drwxr-xr-x 36 rootroot rootroot 4096 12月 12 2022 art/

drwxr-xr-x 15 rootroot rootroot 4096 12月 12 2022 bionic/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 bootable/

drwxr-xr-x 2 rootroot rootroot 4096 12月 13 2022 .bootstrap/

lrwxrwxrwx 1 rootroot rootroot 26 12月 12 2022 bootstrap.bash -> build/soong/bootstrap.bash*

drwxr-xr-x 7 rootroot rootroot 4096 12月 12 2022 build/

lrwxrwxrwx 1 rootroot rootroot 23 12月 12 2022 BUILD -> build/bazel/bazel.BUILD

lrwxrwxrwx 1 rootroot rootroot 46 7月 18 2023 build.sh -> device/rockchip/common/build/rockchip/build.sh*

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 .classpath -> device/rockchip/common/.classpath*

drwxr-xr-x 3 rootroot rootroot 4096 12月 12 2022 compatibility/

drwxr-xr-x 14 rootroot rootroot 4096 12月 30 2022 cts/

drwxr-xr-x 8 rootroot rootroot 4096 12月 12 2022 dalvik/

drwxr-xr-x 5 rootroot rootroot 4096 12月 12 2022 developers/

drwxr-xr-x 20 rootroot rootroot 4096 12月 30 2022 development/

drwxr-xr-x 11 rootroot rootroot 4096 12月 12 2022 device/

drwxr-xr-x 357 rootroot rootroot 12288 7月 18 2023 external/

drwxr-xr-x 16 rootroot rootroot 4096 12月 12 2022 frameworks/

drwxr-xr-x 19 rootroot rootroot 4096 12月 30 2022 hardware/

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 javaenv.sh -> device/rockchip/common/javaenv.sh

drwxr-xr-x 6 rootroot rootroot 4096 7月 19 2023 kernel/

drwxr-xr-x 3 rootroot rootroot 4096 7月 18 2023 kernel-4.19/

drwxr-xr-x 27 rootroot rootroot 4096 7月 18 2023 kernel-5.10/

drwxr-xr-x 20 rootroot rootroot 4096 12月 12 2022 libcore/

drwxr-xr-x 10 rootroot rootroot 4096 12月 12 2022 libnativehelper/

lrwxrwxrwx 1 rootroot rootroot 19 12月 13 2022 libOpenCL.so -> egl/libGLES_mali.so

-r--r--r-- 1 rootroot rootroot 92 12月 12 2022 Makefile

drwxr-xr-x 10 rootroot rootroot 4096 12月 30 2022 mkcombinedroot/

lrwxrwxrwx 1 rootroot rootroot 36 7月 18 2023 mkimage_ab.sh -> device/rockchip/common/mkimage_ab.sh*

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 mkimage.sh -> device/rockchip/common/mkimage.sh*

drwxr-xr-x 9 rootroot rootroot 4096 12月 12 2022 packages/

drwxr-xr-x 6 rootroot rootroot 4096 12月 12 2022 pdk/

drwxr-xr-x 10 rootroot rootroot 4096 12月 12 2022 platform_testing/

drwxr-xr-x 34 rootroot rootroot 4096 12月 30 2022 prebuilts/

-r-xr-xr-x 1 rootroot rootroot 519 12月 12 2022 restore_patches.sh*

drwxr-xr-x 10 rootroot rootroot 4096 12月 30 2022 rkbin/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 RKDocs/

drwxr-xr-x 5 rootroot rootroot 4096 12月 12 2022 rkst/

drwxr-xr-x 6 rootroot rootroot 4096 12月 30 2022 RKTools/

drwxr-xr-x 22 rootroot rootroot 4096 12月 12 2022 sdk/

drwxr-xr-x 45 rootroot rootroot 4096 12月 12 2022 system/

drwxr-xr-x 11 rootroot rootroot 4096 12月 12 2022 test/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 toolchain/

drwxr-xr-x 23 rootroot rootroot 4096 12月 12 2022 tools/

drwxr-xr-x 26 rootroot rootroot 4096 5月 20 11:05 u-boot/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 vendor/

lrwxrwxrwx 1 rootroot rootroot 27 12月 12 2022 WORKSPACE -> build/bazel/bazel.WORKSPACE

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$ cd u-boot/

rootroot@rootroot-desktop:~/3588a12/u-boot$

rootroot@rootroot-desktop:~/3588a12/u-boot$ ll

total 892

drwxr-xr-x 26 rootroot rootroot 4096 5月 20 11:05 ./

drwxr-xr-x 37 rootroot rootroot 4096 5月 20 11:04 ../

drwxr-xr-x 2 rootroot rootroot 4096 12月 12 2022 api/

drwxr-xr-x 14 rootroot rootroot 4096 12月 12 2022 arch/

-rw-r--r-- 1 rootroot rootroot 348960 12月 30 2022 bl31.elf

drwxr-xr-x 181 rootroot rootroot 4096 12月 12 2022 board/

-rw-r--r-- 1 rootroot rootroot 610 12月 12 2022 .checkpatch.conf

drwxr-xr-x 5 rootroot rootroot 12288 5月 20 11:05 cmd/

drwxr-xr-x 6 rootroot rootroot 12288 5月 20 11:05 common/

-rw-r--r-- 1 rootroot rootroot 2260 12月 12 2022 config.mk

drwxr-xr-x 2 rootroot rootroot 65536 7月 18 2023 configs/

drwxr-xr-x 2 rootroot rootroot 4096 5月 20 11:05 disk/

drwxr-xr-x 10 rootroot rootroot 12288 12月 12 2022 doc/

drwxr-xr-x 3 rootroot rootroot 4096 12月 12 2022 Documentation/

drwxr-xr-x 58 rootroot rootroot 4096 5月 20 11:05 drivers/

drwxr-xr-x 2 rootroot rootroot 4096 5月 20 11:05 dts/

drwxr-xr-x 2 rootroot rootroot 4096 5月 20 11:05 env/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 examples/

drwxr-xr-x 2 rootroot rootroot 4096 12月 30 2022 fit/

drwxr-xr-x 12 rootroot rootroot 4096 5月 20 11:05 fs/

drwxr-xr-x 2 rootroot rootroot 4096 12月 4 10:20 .git/

-rw-r--r-- 1 rootroot rootroot 859 12月 12 2022 .gitignore

drwxr-xr-x 32 rootroot rootroot 20480 5月 20 11:05 include/

-rw-r--r-- 1 rootroot rootroot 1863 12月 12 2022 Kbuild

-rw-r--r-- 1 rootroot rootroot 16161 7月 18 2023 Kconfig

drwxr-xr-x 15 rootroot rootroot 4096 5月 20 11:05 lib/

drwxr-xr-x 2 rootroot rootroot 4096 12月 12 2022 Licenses/

-rw-r--r-- 1 rootroot rootroot 1323 12月 12 2022 .mailmap

-rw-r--r-- 1 rootroot rootroot 14626 12月 12 2022 MAINTAINERS

-rw-r--r-- 1 rootroot rootroot 57653 12月 30 2022 Makefile

-rwxr-xr-x 1 rootroot rootroot 21203 7月 18 2023 make.sh*

drwxr-xr-x 2 rootroot rootroot 4096 5月 20 11:05 net/

drwxr-xr-x 5 rootroot rootroot 4096 12月 12 2022 post/

-rw-r--r-- 1 rootroot rootroot 34 12月 12 2022 PREUPLOAD.cfg

-rw-r--r-- 1 rootroot rootroot 187683 12月 12 2022 README

drwxr-xr-x 6 rootroot rootroot 4096 7月 18 2023 scripts/

-rw-r--r-- 1 rootroot rootroot 17 12月 12 2022 snapshot.commit

drwxr-xr-x 12 rootroot rootroot 4096 5月 20 11:05 test/

drwxr-xr-x 16 rootroot rootroot 4096 5月 20 11:05 tools/

-rw-r--r-- 1 rootroot rootroot 11367 12月 12 2022 .travis.yml

-rw-r--r-- 1 rootroot rootroot 72 7月 18 2023 usb_update.txt

rootroot@rootroot-desktop:~/3588a12/u-boot$

rootroot@rootroot-desktop:~/3588a12/u-boot$ cd ..

rootroot@rootroot-desktop:~/3588a12$ ll

total 164

drwxr-xr-x 37 rootroot rootroot 4096 5月 20 11:04 ./

drwxr-xr-x 40 rootroot rootroot 4096 5月 20 11:04 ../

lrwxrwxrwx 1 rootroot rootroot 19 12月 12 2022 Android.bp -> build/soong/root.bp

drwxr-xr-x 36 rootroot rootroot 4096 12月 12 2022 art/

drwxr-xr-x 15 rootroot rootroot 4096 12月 12 2022 bionic/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 bootable/

drwxr-xr-x 2 rootroot rootroot 4096 12月 13 2022 .bootstrap/

lrwxrwxrwx 1 rootroot rootroot 26 12月 12 2022 bootstrap.bash -> build/soong/bootstrap.bash*

drwxr-xr-x 7 rootroot rootroot 4096 12月 12 2022 build/

lrwxrwxrwx 1 rootroot rootroot 23 12月 12 2022 BUILD -> build/bazel/bazel.BUILD

lrwxrwxrwx 1 rootroot rootroot 46 7月 18 2023 build.sh -> device/rockchip/common/build/rockchip/build.sh*

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 .classpath -> device/rockchip/common/.classpath*

drwxr-xr-x 3 rootroot rootroot 4096 12月 12 2022 compatibility/

drwxr-xr-x 14 rootroot rootroot 4096 12月 30 2022 cts/

drwxr-xr-x 8 rootroot rootroot 4096 12月 12 2022 dalvik/

drwxr-xr-x 5 rootroot rootroot 4096 12月 12 2022 developers/

drwxr-xr-x 20 rootroot rootroot 4096 12月 30 2022 development/

drwxr-xr-x 11 rootroot rootroot 4096 12月 12 2022 device/

drwxr-xr-x 357 rootroot rootroot 12288 7月 18 2023 external/

drwxr-xr-x 16 rootroot rootroot 4096 12月 12 2022 frameworks/

drwxr-xr-x 19 rootroot rootroot 4096 12月 30 2022 hardware/

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 javaenv.sh -> device/rockchip/common/javaenv.sh

drwxr-xr-x 6 rootroot rootroot 4096 7月 19 2023 kernel/

drwxr-xr-x 3 rootroot rootroot 4096 7月 18 2023 kernel-4.19/

drwxr-xr-x 27 rootroot rootroot 4096 7月 18 2023 kernel-5.10/

drwxr-xr-x 20 rootroot rootroot 4096 12月 12 2022 libcore/

drwxr-xr-x 10 rootroot rootroot 4096 12月 12 2022 libnativehelper/

lrwxrwxrwx 1 rootroot rootroot 19 12月 13 2022 libOpenCL.so -> egl/libGLES_mali.so

-r--r--r-- 1 rootroot rootroot 92 12月 12 2022 Makefile

drwxr-xr-x 10 rootroot rootroot 4096 12月 30 2022 mkcombinedroot/

lrwxrwxrwx 1 rootroot rootroot 36 7月 18 2023 mkimage_ab.sh -> device/rockchip/common/mkimage_ab.sh*

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 mkimage.sh -> device/rockchip/common/mkimage.sh*

drwxr-xr-x 9 rootroot rootroot 4096 12月 12 2022 packages/

drwxr-xr-x 6 rootroot rootroot 4096 12月 12 2022 pdk/

drwxr-xr-x 10 rootroot rootroot 4096 12月 12 2022 platform_testing/

drwxr-xr-x 34 rootroot rootroot 4096 12月 30 2022 prebuilts/

-r-xr-xr-x 1 rootroot rootroot 519 12月 12 2022 restore_patches.sh*

drwxr-xr-x 10 rootroot rootroot 4096 12月 30 2022 rkbin/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 RKDocs/

drwxr-xr-x 5 rootroot rootroot 4096 12月 12 2022 rkst/

drwxr-xr-x 6 rootroot rootroot 4096 12月 30 2022 RKTools/

drwxr-xr-x 22 rootroot rootroot 4096 12月 12 2022 sdk/

drwxr-xr-x 45 rootroot rootroot 4096 12月 12 2022 system/

drwxr-xr-x 11 rootroot rootroot 4096 12月 12 2022 test/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 toolchain/

drwxr-xr-x 23 rootroot rootroot 4096 12月 12 2022 tools/

drwxr-xr-x 26 rootroot rootroot 4096 5月 20 11:05 u-boot/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 vendor/

lrwxrwxrwx 1 rootroot rootroot 27 12月 12 2022 WORKSPACE -> build/bazel/bazel.WORKSPACE

rootroot@rootroot-desktop:~/3588a12$ cd kernel-5.10/

rootroot@rootroot-desktop:~/3588a12/kernel-5.10$ ll

total 1356040

drwxr-xr-x 27 rootroot rootroot 4096 7月 18 2023 ./

drwxr-xr-x 37 rootroot rootroot 4096 5月 20 11:04 ../

drwxr-xr-x 2 rootroot rootroot 4096 7月 18 2023 android/

drwxr-xr-x 26 rootroot rootroot 4096 12月 30 2022 arch/

drwxr-xr-x 3 rootroot rootroot 12288 7月 18 2023 block/

-rw-r--r-- 1 rootroot rootroot 37249024 12月 30 2022 boot.img

-rw-r--r-- 1 rootroot rootroot 1410 12月 12 2022 boot.its

-rw-r--r-- 1 rootroot rootroot 296 12月 12 2022 build.config.aarch64

-rw-r--r-- 1 rootroot rootroot 429 12月 12 2022 build.config.allmodconfig

-rw-r--r-- 1 rootroot rootroot 152 12月 12 2022 build.config.allmodconfig.aarch64

-rw-r--r-- 1 rootroot rootroot 148 12月 12 2022 build.config.allmodconfig.arm

-rw-r--r-- 1 rootroot rootroot 151 12月 12 2022 build.config.allmodconfig.x86_64

-rw-r--r-- 1 rootroot rootroot 1214 12月 12 2022 build.config.amlogic

-rw-r--r-- 1 rootroot rootroot 198 12月 12 2022 build.config.arm

-rw-r--r-- 1 rootroot rootroot 378 12月 30 2022 build.config.common

-rw-r--r-- 1 rootroot rootroot 795 12月 12 2022 build.config.db845c

-rw-r--r-- 1 rootroot rootroot 63 12月 12 2022 build.config.gki

-rw-r--r-- 1 rootroot rootroot 1325 7月 18 2023 build.config.gki.aarch64

-rw-r--r-- 1 rootroot rootroot 638 12月 12 2022 build.config.gki.aarch64.fips140

-rw-r--r-- 1 rootroot rootroot 230 12月 12 2022 build.config.gki.aarch64.fips140_eval_testing

-rw-r--r-- 1 rootroot rootroot 106 12月 12 2022 build.config.gki-debug.aarch64

-rw-r--r-- 1 rootroot rootroot 105 12月 12 2022 build.config.gki-debug.x86_64

-rw-r--r-- 1 rootroot rootroot 664 12月 12 2022 build.config.gki_kasan

-rw-r--r-- 1 rootroot rootroot 148 12月 12 2022 build.config.gki_kasan.aarch64

-rw-r--r-- 1 rootroot rootroot 148 12月 12 2022 build.config.gki_kasan.x86_64

-rw-r--r-- 1 rootroot rootroot 629 12月 12 2022 build.config.gki_kprobes

-rw-r--r-- 1 rootroot rootroot 151 12月 12 2022 build.config.gki_kprobes.aarch64

-rw-r--r-- 1 rootroot rootroot 150 12月 12 2022 build.config.gki_kprobes.x86_64

-rw-r--r-- 1 rootroot rootroot 142 12月 12 2022 build.config.gki.x86_64

-rw-r--r-- 1 rootroot rootroot 740 12月 12 2022 build.config.hikey960

-rw-r--r-- 1 rootroot rootroot 544 12月 12 2022 build.config.khwasan

-rw-r--r-- 1 rootroot rootroot 478 7月 18 2023 build.config.rockchip

-rw-r--r-- 1 rootroot rootroot 274 12月 12 2022 build.config.x86_64

drwxr-xr-x 2 rootroot rootroot 4096 7月 18 2023 certs/

-rw-r--r-- 1 rootroot rootroot 16673 12月 12 2022 .clang-format

-rw-r--r-- 1 rootroot rootroot 59 12月 12 2022 .cocciconfig

-rw-r--r-- 1 rootroot rootroot 189432 12月 30 2022 .config

-rw-r--r-- 1 rootroot rootroot 189976 12月 30 2022 .config.old

-rw-r--r-- 1 rootroot rootroot 496 12月 12 2022 COPYING

-rw-r--r-- 1 rootroot rootroot 100478 12月 12 2022 CREDITS

drwxr-xr-x 4 rootroot rootroot 12288 7月 18 2023 crypto/

drwxr-xr-x 82 rootroot rootroot 4096 7月 18 2023 Documentation/

drwxr-xr-x 144 rootroot rootroot 4096 7月 18 2023 drivers/

lrwxrwxrwx 1 rootroot rootroot 51 7月 18 2023 .find-ignore -> ../device/rockchip/common/build/rockchip/blank_file

drwxr-xr-x 80 rootroot rootroot 12288 7月 18 2023 fs/

-rw-r--r-- 1 rootroot rootroot 71 12月 12 2022 .get_maintainer.ignore

drwxr-xr-x 2 rootroot rootroot 4096 12月 4 10:18 .git/

-rw-r--r-- 1 rootroot rootroot 62 12月 12 2022 .gitattributes

-rw-r--r-- 1 rootroot rootroot 1944 12月 12 2022 .gitignore

drwxr-xr-x 31 rootroot rootroot 4096 12月 13 2022 include/

drwxr-xr-x 2 rootroot rootroot 4096 7月 18 2023 init/

drwxr-xr-x 2 rootroot rootroot 4096 7月 18 2023 io_uring/

drwxr-xr-x 2 rootroot rootroot 4096 7月 18 2023 ipc/

-rw-r--r-- 1 rootroot rootroot 1327 12月 12 2022 Kbuild

-rw-r--r-- 1 rootroot rootroot 555 12月 12 2022 Kconfig

drwxr-xr-x 20 rootroot rootroot 12288 7月 18 2023 kernel/

drwxr-xr-x 21 rootroot rootroot 20480 7月 18 2023 lib/

drwxr-xr-x 6 rootroot rootroot 4096 12月 12 2022 LICENSES/

-rw-r--r-- 1 rootroot rootroot 12936 12月 12 2022 logo.bmp

-rw-r--r-- 1 rootroot rootroot 22364 12月 12 2022 logo_kernel.bmp

-rw-r--r-- 1 rootroot rootroot 18204 12月 12 2022 .mailmap

-rw-r--r-- 1 rootroot rootroot 577791 7月 18 2023 MAINTAINERS

-rw-r--r-- 1 rootroot rootroot 68855 7月 18 2023 Makefile

-rw-r--r-- 1 rootroot rootroot 590 12月 30 2022 .missing-syscalls.d

drwxr-xr-x 5 rootroot rootroot 12288 7月 18 2023 mm/

-rw-r--r-- 1 rootroot rootroot 34245 12月 30 2022 modules.builtin

-rw-r--r-- 1 rootroot rootroot 206121 12月 30 2022 modules.builtin.modinfo

-rw-r--r-- 1 rootroot rootroot 1029 12月 30 2022 modules-only.symvers

-rw-r--r-- 1 rootroot rootroot 140 12月 30 2022 .modules-only.symvers.cmd

-rw-r--r-- 1 rootroot rootroot 235 12月 30 2022 modules.order

-rw-r--r-- 1 rootroot rootroot 398 12月 30 2022 .modules.order.cmd

-rw-r--r-- 1 rootroot rootroot 757462 12月 30 2022 Module.symvers

-rw-r--r-- 1 rootroot rootroot 80 12月 30 2022 .Module.symvers.cmd

drwxr-xr-x 72 rootroot rootroot 4096 7月 18 2023 net/

-rw-r--r-- 1 rootroot rootroot 438 12月 12 2022 OWNERS

-rw-r--r-- 1 rootroot rootroot 727 12月 12 2022 README

-rw-r--r-- 1 rootroot rootroot 6402 12月 12 2022 README.md

-rw-r--r-- 1 rootroot rootroot 359424 12月 30 2022 resource.img

drwxr-xr-x 33 rootroot rootroot 4096 12月 30 2022 samples/

-rw-r--r-- 1 rootroot rootroot 0 12月 12 2022 .scmversion

drwxr-xr-x 17 rootroot rootroot 4096 7月 18 2023 scripts/

drwxr-xr-x 13 rootroot rootroot 4096 7月 18 2023 security/

drwxr-xr-x 26 rootroot rootroot 4096 12月 30 2022 sound/

-rw-r--r-- 1 rootroot rootroot 6393112 12月 30 2022 System.map

-rw-r--r-- 1 rootroot rootroot 6993657 12月 30 2022 .tmp_kallsyms

-rw-r--r-- 1 rootroot rootroot 6393112 12月 30 2022 .tmp_System.map

-rwxr-xr-x 1 rootroot rootroot 48109512 12月 30 2022 .tmp_vmlinux.kallsyms1*

-rw-r--r-- 1 rootroot rootroot 2604392 12月 30 2022 .tmp_vmlinux.kallsyms1.o

-rw-r--r-- 1 rootroot rootroot 15412920 12月 30 2022 .tmp_vmlinux.kallsyms1.S

-rwxr-xr-x 1 rootroot rootroot 50730976 12月 30 2022 .tmp_vmlinux.kallsyms2*

-rw-r--r-- 1 rootroot rootroot 2604392 12月 30 2022 .tmp_vmlinux.kallsyms2.o

-rw-r--r-- 1 rootroot rootroot 15412920 12月 30 2022 .tmp_vmlinux.kallsyms2.S

drwxr-xr-x 37 rootroot rootroot 4096 12月 12 2022 tools/

drwxr-xr-x 3 rootroot rootroot 4096 12月 30 2022 usr/

-rw-r--r-- 1 rootroot rootroot 2 12月 30 2022 .version

drwxr-xr-x 4 rootroot rootroot 4096 12月 30 2022 virt/

-rwxr-xr-x 1 rootroot rootroot 373382976 12月 30 2022 vmlinux*

-rw-r--r-- 1 rootroot rootroot 318 12月 30 2022 .vmlinux.cmd

-rw-r--r-- 1 rootroot rootroot 799889032 12月 30 2022 vmlinux.o

-rw-r--r-- 1 rootroot rootroot 756433 12月 30 2022 vmlinux.symvers

-rw-r--r-- 1 rootroot rootroot 19681280 12月 30 2022 zboot.img

rootroot@rootroot-desktop:~/3588a12/kernel-5.10$

rootroot@rootroot-desktop:~/3588a12/kernel-5.10$

rootroot@rootroot-desktop:~/3588a12/kernel-5.10$ ll *.bin

ls: cannot access '*.bin': No such file or directory

rootroot@rootroot-desktop:~/3588a12/kernel-5.10$ ll *.img

-rw-r--r-- 1 rootroot rootroot 37249024 12月 30 2022 boot.img

-rw-r--r-- 1 rootroot rootroot 359424 12月 30 2022 resource.img

-rw-r--r-- 1 rootroot rootroot 19681280 12月 30 2022 zboot.img

rootroot@rootroot-desktop:~/3588a12/kernel-5.10$ make distclean

CLEAN certs

CLEAN drivers/scsi

CLEAN fs/unicode

CLEAN kernel

CLEAN lib

CLEAN net/wireless

CLEAN security/selinux

CLEAN usr

CLEAN vmlinux.symvers modules-only.symvers modules.builtin modules.builtin.modinfo

CLEAN scripts/basic

CLEAN scripts/dtc

CLEAN scripts/genksyms

CLEAN scripts/kconfig

CLEAN scripts/mod

CLEAN scripts/selinux/genheaders

CLEAN scripts/selinux/mdp

CLEAN scripts

CLEAN include/config include/generated .config .config.old .version Module.symvers

rootroot@rootroot-desktop:~/3588a12/kernel-5.10$ ll

total 57080

drwxr-xr-x 27 rootroot rootroot 4096 5月 20 11:06 ./

drwxr-xr-x 37 rootroot rootroot 4096 5月 20 11:04 ../

drwxr-xr-x 2 rootroot rootroot 4096 7月 18 2023 android/

drwxr-xr-x 26 rootroot rootroot 4096 12月 30 2022 arch/

drwxr-xr-x 3 rootroot rootroot 12288 5月 20 11:06 block/

-rw-r--r-- 1 rootroot rootroot 37249024 12月 30 2022 boot.img

-rw-r--r-- 1 rootroot rootroot 1410 12月 12 2022 boot.its

-rw-r--r-- 1 rootroot rootroot 296 12月 12 2022 build.config.aarch64

-rw-r--r-- 1 rootroot rootroot 429 12月 12 2022 build.config.allmodconfig

-rw-r--r-- 1 rootroot rootroot 152 12月 12 2022 build.config.allmodconfig.aarch64

-rw-r--r-- 1 rootroot rootroot 148 12月 12 2022 build.config.allmodconfig.arm

-rw-r--r-- 1 rootroot rootroot 151 12月 12 2022 build.config.allmodconfig.x86_64

-rw-r--r-- 1 rootroot rootroot 1214 12月 12 2022 build.config.amlogic

-rw-r--r-- 1 rootroot rootroot 198 12月 12 2022 build.config.arm

-rw-r--r-- 1 rootroot rootroot 378 12月 30 2022 build.config.common

-rw-r--r-- 1 rootroot rootroot 795 12月 12 2022 build.config.db845c

-rw-r--r-- 1 rootroot rootroot 63 12月 12 2022 build.config.gki

-rw-r--r-- 1 rootroot rootroot 1325 7月 18 2023 build.config.gki.aarch64

-rw-r--r-- 1 rootroot rootroot 638 12月 12 2022 build.config.gki.aarch64.fips140

-rw-r--r-- 1 rootroot rootroot 230 12月 12 2022 build.config.gki.aarch64.fips140_eval_testing

-rw-r--r-- 1 rootroot rootroot 106 12月 12 2022 build.config.gki-debug.aarch64

-rw-r--r-- 1 rootroot rootroot 105 12月 12 2022 build.config.gki-debug.x86_64

-rw-r--r-- 1 rootroot rootroot 664 12月 12 2022 build.config.gki_kasan

-rw-r--r-- 1 rootroot rootroot 148 12月 12 2022 build.config.gki_kasan.aarch64

-rw-r--r-- 1 rootroot rootroot 148 12月 12 2022 build.config.gki_kasan.x86_64

-rw-r--r-- 1 rootroot rootroot 629 12月 12 2022 build.config.gki_kprobes

-rw-r--r-- 1 rootroot rootroot 151 12月 12 2022 build.config.gki_kprobes.aarch64

-rw-r--r-- 1 rootroot rootroot 150 12月 12 2022 build.config.gki_kprobes.x86_64

-rw-r--r-- 1 rootroot rootroot 142 12月 12 2022 build.config.gki.x86_64

-rw-r--r-- 1 rootroot rootroot 740 12月 12 2022 build.config.hikey960

-rw-r--r-- 1 rootroot rootroot 544 12月 12 2022 build.config.khwasan

-rw-r--r-- 1 rootroot rootroot 478 7月 18 2023 build.config.rockchip

-rw-r--r-- 1 rootroot rootroot 274 12月 12 2022 build.config.x86_64

drwxr-xr-x 2 rootroot rootroot 4096 5月 20 11:06 certs/

-rw-r--r-- 1 rootroot rootroot 16673 12月 12 2022 .clang-format

-rw-r--r-- 1 rootroot rootroot 59 12月 12 2022 .cocciconfig

-rw-r--r-- 1 rootroot rootroot 496 12月 12 2022 COPYING

-rw-r--r-- 1 rootroot rootroot 100478 12月 12 2022 CREDITS

drwxr-xr-x 4 rootroot rootroot 12288 5月 20 11:06 crypto/

drwxr-xr-x 82 rootroot rootroot 4096 7月 18 2023 Documentation/

drwxr-xr-x 144 rootroot rootroot 4096 5月 20 11:06 drivers/

lrwxrwxrwx 1 rootroot rootroot 51 7月 18 2023 .find-ignore -> ../device/rockchip/common/build/rockchip/blank_file

drwxr-xr-x 80 rootroot rootroot 12288 5月 20 11:06 fs/

-rw-r--r-- 1 rootroot rootroot 71 12月 12 2022 .get_maintainer.ignore

drwxr-xr-x 2 rootroot rootroot 4096 12月 4 10:18 .git/

-rw-r--r-- 1 rootroot rootroot 62 12月 12 2022 .gitattributes

-rw-r--r-- 1 rootroot rootroot 1944 12月 12 2022 .gitignore

drwxr-xr-x 29 rootroot rootroot 4096 5月 20 11:06 include/

drwxr-xr-x 2 rootroot rootroot 4096 5月 20 11:06 init/

drwxr-xr-x 2 rootroot rootroot 4096 7月 18 2023 io_uring/

drwxr-xr-x 2 rootroot rootroot 4096 5月 20 11:06 ipc/

-rw-r--r-- 1 rootroot rootroot 1327 12月 12 2022 Kbuild

-rw-r--r-- 1 rootroot rootroot 555 12月 12 2022 Kconfig

drwxr-xr-x 20 rootroot rootroot 12288 5月 20 11:06 kernel/

drwxr-xr-x 21 rootroot rootroot 20480 5月 20 11:06 lib/

drwxr-xr-x 6 rootroot rootroot 4096 12月 12 2022 LICENSES/

-rw-r--r-- 1 rootroot rootroot 12936 12月 12 2022 logo.bmp

-rw-r--r-- 1 rootroot rootroot 22364 12月 12 2022 logo_kernel.bmp

-rw-r--r-- 1 rootroot rootroot 18204 12月 12 2022 .mailmap

-rw-r--r-- 1 rootroot rootroot 577791 7月 18 2023 MAINTAINERS

-rw-r--r-- 1 rootroot rootroot 68855 7月 18 2023 Makefile

drwxr-xr-x 5 rootroot rootroot 12288 5月 20 11:06 mm/

drwxr-xr-x 72 rootroot rootroot 4096 5月 20 11:06 net/

-rw-r--r-- 1 rootroot rootroot 438 12月 12 2022 OWNERS

-rw-r--r-- 1 rootroot rootroot 727 12月 12 2022 README

-rw-r--r-- 1 rootroot rootroot 6402 12月 12 2022 README.md

-rw-r--r-- 1 rootroot rootroot 359424 12月 30 2022 resource.img

drwxr-xr-x 33 rootroot rootroot 4096 12月 30 2022 samples/

-rw-r--r-- 1 rootroot rootroot 0 12月 12 2022 .scmversion

drwxr-xr-x 17 rootroot rootroot 4096 5月 20 11:06 scripts/

drwxr-xr-x 13 rootroot rootroot 4096 5月 20 11:06 security/

drwxr-xr-x 26 rootroot rootroot 4096 5月 20 11:06 sound/

drwxr-xr-x 37 rootroot rootroot 4096 12月 12 2022 tools/

drwxr-xr-x 3 rootroot rootroot 4096 5月 20 11:06 usr/

drwxr-xr-x 4 rootroot rootroot 4096 5月 20 11:06 virt/

-rw-r--r-- 1 rootroot rootroot 19681280 12月 30 2022 zboot.img

rootroot@rootroot-desktop:~/3588a12/kernel-5.10$

rootroot@rootroot-desktop:~/3588a12/kernel-5.10$

rootroot@rootroot-desktop:~/3588a12/kernel-5.10$ ll *.img

-rw-r--r-- 1 rootroot rootroot 37249024 12月 30 2022 boot.img

-rw-r--r-- 1 rootroot rootroot 359424 12月 30 2022 resource.img

-rw-r--r-- 1 rootroot rootroot 19681280 12月 30 2022 zboot.img

rootroot@rootroot-desktop:~/3588a12/kernel-5.10$ rm *.img

rootroot@rootroot-desktop:~/3588a12/kernel-5.10$ ll

total 1132

drwxr-xr-x 27 rootroot rootroot 4096 5月 20 11:06 ./

drwxr-xr-x 37 rootroot rootroot 4096 5月 20 11:04 ../

drwxr-xr-x 2 rootroot rootroot 4096 7月 18 2023 android/

drwxr-xr-x 26 rootroot rootroot 4096 12月 30 2022 arch/

drwxr-xr-x 3 rootroot rootroot 12288 5月 20 11:06 block/

-rw-r--r-- 1 rootroot rootroot 1410 12月 12 2022 boot.its

-rw-r--r-- 1 rootroot rootroot 296 12月 12 2022 build.config.aarch64

-rw-r--r-- 1 rootroot rootroot 429 12月 12 2022 build.config.allmodconfig

-rw-r--r-- 1 rootroot rootroot 152 12月 12 2022 build.config.allmodconfig.aarch64

-rw-r--r-- 1 rootroot rootroot 148 12月 12 2022 build.config.allmodconfig.arm

-rw-r--r-- 1 rootroot rootroot 151 12月 12 2022 build.config.allmodconfig.x86_64

-rw-r--r-- 1 rootroot rootroot 1214 12月 12 2022 build.config.amlogic

-rw-r--r-- 1 rootroot rootroot 198 12月 12 2022 build.config.arm

-rw-r--r-- 1 rootroot rootroot 378 12月 30 2022 build.config.common

-rw-r--r-- 1 rootroot rootroot 795 12月 12 2022 build.config.db845c

-rw-r--r-- 1 rootroot rootroot 63 12月 12 2022 build.config.gki

-rw-r--r-- 1 rootroot rootroot 1325 7月 18 2023 build.config.gki.aarch64

-rw-r--r-- 1 rootroot rootroot 638 12月 12 2022 build.config.gki.aarch64.fips140

-rw-r--r-- 1 rootroot rootroot 230 12月 12 2022 build.config.gki.aarch64.fips140_eval_testing

-rw-r--r-- 1 rootroot rootroot 106 12月 12 2022 build.config.gki-debug.aarch64

-rw-r--r-- 1 rootroot rootroot 105 12月 12 2022 build.config.gki-debug.x86_64

-rw-r--r-- 1 rootroot rootroot 664 12月 12 2022 build.config.gki_kasan

-rw-r--r-- 1 rootroot rootroot 148 12月 12 2022 build.config.gki_kasan.aarch64

-rw-r--r-- 1 rootroot rootroot 148 12月 12 2022 build.config.gki_kasan.x86_64

-rw-r--r-- 1 rootroot rootroot 629 12月 12 2022 build.config.gki_kprobes

-rw-r--r-- 1 rootroot rootroot 151 12月 12 2022 build.config.gki_kprobes.aarch64

-rw-r--r-- 1 rootroot rootroot 150 12月 12 2022 build.config.gki_kprobes.x86_64

-rw-r--r-- 1 rootroot rootroot 142 12月 12 2022 build.config.gki.x86_64

-rw-r--r-- 1 rootroot rootroot 740 12月 12 2022 build.config.hikey960

-rw-r--r-- 1 rootroot rootroot 544 12月 12 2022 build.config.khwasan

-rw-r--r-- 1 rootroot rootroot 478 7月 18 2023 build.config.rockchip

-rw-r--r-- 1 rootroot rootroot 274 12月 12 2022 build.config.x86_64

drwxr-xr-x 2 rootroot rootroot 4096 5月 20 11:06 certs/

-rw-r--r-- 1 rootroot rootroot 16673 12月 12 2022 .clang-format

-rw-r--r-- 1 rootroot rootroot 59 12月 12 2022 .cocciconfig

-rw-r--r-- 1 rootroot rootroot 496 12月 12 2022 COPYING

-rw-r--r-- 1 rootroot rootroot 100478 12月 12 2022 CREDITS

drwxr-xr-x 4 rootroot rootroot 12288 5月 20 11:06 crypto/

drwxr-xr-x 82 rootroot rootroot 4096 7月 18 2023 Documentation/

drwxr-xr-x 144 rootroot rootroot 4096 5月 20 11:06 drivers/

lrwxrwxrwx 1 rootroot rootroot 51 7月 18 2023 .find-ignore -> ../device/rockchip/common/build/rockchip/blank_file

drwxr-xr-x 80 rootroot rootroot 12288 5月 20 11:06 fs/

-rw-r--r-- 1 rootroot rootroot 71 12月 12 2022 .get_maintainer.ignore

drwxr-xr-x 2 rootroot rootroot 4096 12月 4 10:18 .git/

-rw-r--r-- 1 rootroot rootroot 62 12月 12 2022 .gitattributes

-rw-r--r-- 1 rootroot rootroot 1944 12月 12 2022 .gitignore

drwxr-xr-x 29 rootroot rootroot 4096 5月 20 11:06 include/

drwxr-xr-x 2 rootroot rootroot 4096 5月 20 11:06 init/

drwxr-xr-x 2 rootroot rootroot 4096 7月 18 2023 io_uring/

drwxr-xr-x 2 rootroot rootroot 4096 5月 20 11:06 ipc/

-rw-r--r-- 1 rootroot rootroot 1327 12月 12 2022 Kbuild

-rw-r--r-- 1 rootroot rootroot 555 12月 12 2022 Kconfig

drwxr-xr-x 20 rootroot rootroot 12288 5月 20 11:06 kernel/

drwxr-xr-x 21 rootroot rootroot 20480 5月 20 11:06 lib/

drwxr-xr-x 6 rootroot rootroot 4096 12月 12 2022 LICENSES/

-rw-r--r-- 1 rootroot rootroot 12936 12月 12 2022 logo.bmp

-rw-r--r-- 1 rootroot rootroot 22364 12月 12 2022 logo_kernel.bmp

-rw-r--r-- 1 rootroot rootroot 18204 12月 12 2022 .mailmap

-rw-r--r-- 1 rootroot rootroot 577791 7月 18 2023 MAINTAINERS

-rw-r--r-- 1 rootroot rootroot 68855 7月 18 2023 Makefile

drwxr-xr-x 5 rootroot rootroot 12288 5月 20 11:06 mm/

drwxr-xr-x 72 rootroot rootroot 4096 5月 20 11:06 net/

-rw-r--r-- 1 rootroot rootroot 438 12月 12 2022 OWNERS

-rw-r--r-- 1 rootroot rootroot 727 12月 12 2022 README

-rw-r--r-- 1 rootroot rootroot 6402 12月 12 2022 README.md

drwxr-xr-x 33 rootroot rootroot 4096 12月 30 2022 samples/

-rw-r--r-- 1 rootroot rootroot 0 12月 12 2022 .scmversion

drwxr-xr-x 17 rootroot rootroot 4096 5月 20 11:06 scripts/

drwxr-xr-x 13 rootroot rootroot 4096 5月 20 11:06 security/

drwxr-xr-x 26 rootroot rootroot 4096 5月 20 11:06 sound/

drwxr-xr-x 37 rootroot rootroot 4096 12月 12 2022 tools/

drwxr-xr-x 3 rootroot rootroot 4096 5月 20 11:06 usr/

drwxr-xr-x 4 rootroot rootroot 4096 5月 20 11:06 virt/

rootroot@rootroot-desktop:~/3588a12/kernel-5.10$ cd ..

rootroot@rootroot-desktop:~/3588a12$ ll

total 164

drwxr-xr-x 37 rootroot rootroot 4096 5月 20 11:04 ./

drwxr-xr-x 40 rootroot rootroot 4096 5月 20 11:04 ../

lrwxrwxrwx 1 rootroot rootroot 19 12月 12 2022 Android.bp -> build/soong/root.bp

drwxr-xr-x 36 rootroot rootroot 4096 12月 12 2022 art/

drwxr-xr-x 15 rootroot rootroot 4096 12月 12 2022 bionic/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 bootable/

drwxr-xr-x 2 rootroot rootroot 4096 12月 13 2022 .bootstrap/

lrwxrwxrwx 1 rootroot rootroot 26 12月 12 2022 bootstrap.bash -> build/soong/bootstrap.bash*

drwxr-xr-x 7 rootroot rootroot 4096 12月 12 2022 build/

lrwxrwxrwx 1 rootroot rootroot 23 12月 12 2022 BUILD -> build/bazel/bazel.BUILD

lrwxrwxrwx 1 rootroot rootroot 46 7月 18 2023 build.sh -> device/rockchip/common/build/rockchip/build.sh*

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 .classpath -> device/rockchip/common/.classpath*

drwxr-xr-x 3 rootroot rootroot 4096 12月 12 2022 compatibility/

drwxr-xr-x 14 rootroot rootroot 4096 12月 30 2022 cts/

drwxr-xr-x 8 rootroot rootroot 4096 12月 12 2022 dalvik/

drwxr-xr-x 5 rootroot rootroot 4096 12月 12 2022 developers/

drwxr-xr-x 20 rootroot rootroot 4096 12月 30 2022 development/

drwxr-xr-x 11 rootroot rootroot 4096 12月 12 2022 device/

drwxr-xr-x 357 rootroot rootroot 12288 7月 18 2023 external/

drwxr-xr-x 16 rootroot rootroot 4096 12月 12 2022 frameworks/

drwxr-xr-x 19 rootroot rootroot 4096 12月 30 2022 hardware/

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 javaenv.sh -> device/rockchip/common/javaenv.sh

drwxr-xr-x 6 rootroot rootroot 4096 7月 19 2023 kernel/

drwxr-xr-x 3 rootroot rootroot 4096 7月 18 2023 kernel-4.19/

drwxr-xr-x 27 rootroot rootroot 4096 5月 20 11:06 kernel-5.10/

drwxr-xr-x 20 rootroot rootroot 4096 12月 12 2022 libcore/

drwxr-xr-x 10 rootroot rootroot 4096 12月 12 2022 libnativehelper/

lrwxrwxrwx 1 rootroot rootroot 19 12月 13 2022 libOpenCL.so -> egl/libGLES_mali.so

-r--r--r-- 1 rootroot rootroot 92 12月 12 2022 Makefile

drwxr-xr-x 10 rootroot rootroot 4096 12月 30 2022 mkcombinedroot/

lrwxrwxrwx 1 rootroot rootroot 36 7月 18 2023 mkimage_ab.sh -> device/rockchip/common/mkimage_ab.sh*

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 mkimage.sh -> device/rockchip/common/mkimage.sh*

drwxr-xr-x 9 rootroot rootroot 4096 12月 12 2022 packages/

drwxr-xr-x 6 rootroot rootroot 4096 12月 12 2022 pdk/

drwxr-xr-x 10 rootroot rootroot 4096 12月 12 2022 platform_testing/

drwxr-xr-x 34 rootroot rootroot 4096 12月 30 2022 prebuilts/

-r-xr-xr-x 1 rootroot rootroot 519 12月 12 2022 restore_patches.sh*

drwxr-xr-x 10 rootroot rootroot 4096 12月 30 2022 rkbin/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 RKDocs/

drwxr-xr-x 5 rootroot rootroot 4096 12月 12 2022 rkst/

drwxr-xr-x 6 rootroot rootroot 4096 12月 30 2022 RKTools/

drwxr-xr-x 22 rootroot rootroot 4096 12月 12 2022 sdk/

drwxr-xr-x 45 rootroot rootroot 4096 12月 12 2022 system/

drwxr-xr-x 11 rootroot rootroot 4096 12月 12 2022 test/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 toolchain/

drwxr-xr-x 23 rootroot rootroot 4096 12月 12 2022 tools/

drwxr-xr-x 26 rootroot rootroot 4096 5月 20 11:05 u-boot/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 vendor/

lrwxrwxrwx 1 rootroot rootroot 27 12月 12 2022 WORKSPACE -> build/bazel/bazel.WORKSPACE

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$ time tar --use-compress-program=pigz -cvpf u-boot81.tgz u-boot/

u-boot/

u-boot/lib/

u-boot/lib/linux_string.c

u-boot/lib/asm-offsets.c

u-boot/lib/charset.c

u-boot/scripts/basic/

u-boot/scripts/basic/fixdep.c

u-boot/scripts/basic/Makefile

u-boot/scripts/basic/.gitignore

u-boot/scripts/objdiff

u-boot/scripts/checkstack.pl

u-boot/scripts/tos.sh

u-boot/scripts/dtc-version.sh

u-boot/scripts/setlocalversion

u-boot/scripts/Makefile.uncmd_spl

u-boot/fit/

u-boot/fit/u-boot.its

u-boot/fit/uboot.itb

real 0m0.703s

user 0m5.436s

sys 0m0.533s

rootroot@rootroot-desktop:~/3588a12$ ll

total 19988

drwxr-xr-x 37 rootroot rootroot 4096 5月 20 11:06 ./

drwxr-xr-x 40 rootroot rootroot 4096 5月 20 11:04 ../

lrwxrwxrwx 1 rootroot rootroot 19 12月 12 2022 Android.bp -> build/soong/root.bp

drwxr-xr-x 36 rootroot rootroot 4096 12月 12 2022 art/

drwxr-xr-x 15 rootroot rootroot 4096 12月 12 2022 bionic/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 bootable/

drwxr-xr-x 2 rootroot rootroot 4096 12月 13 2022 .bootstrap/

lrwxrwxrwx 1 rootroot rootroot 26 12月 12 2022 bootstrap.bash -> build/soong/bootstrap.bash*

drwxr-xr-x 7 rootroot rootroot 4096 12月 12 2022 build/

lrwxrwxrwx 1 rootroot rootroot 23 12月 12 2022 BUILD -> build/bazel/bazel.BUILD

lrwxrwxrwx 1 rootroot rootroot 46 7月 18 2023 build.sh -> device/rockchip/common/build/rockchip/build.sh*

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 .classpath -> device/rockchip/common/.classpath*

drwxr-xr-x 3 rootroot rootroot 4096 12月 12 2022 compatibility/

drwxr-xr-x 14 rootroot rootroot 4096 12月 30 2022 cts/

drwxr-xr-x 8 rootroot rootroot 4096 12月 12 2022 dalvik/

drwxr-xr-x 5 rootroot rootroot 4096 12月 12 2022 developers/

drwxr-xr-x 20 rootroot rootroot 4096 12月 30 2022 development/

drwxr-xr-x 11 rootroot rootroot 4096 12月 12 2022 device/

drwxr-xr-x 357 rootroot rootroot 12288 7月 18 2023 external/

drwxr-xr-x 16 rootroot rootroot 4096 12月 12 2022 frameworks/

drwxr-xr-x 19 rootroot rootroot 4096 12月 30 2022 hardware/

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 javaenv.sh -> device/rockchip/common/javaenv.sh

drwxr-xr-x 6 rootroot rootroot 4096 7月 19 2023 kernel/

drwxr-xr-x 3 rootroot rootroot 4096 7月 18 2023 kernel-4.19/

drwxr-xr-x 27 rootroot rootroot 4096 5月 20 11:06 kernel-5.10/

drwxr-xr-x 20 rootroot rootroot 4096 12月 12 2022 libcore/

drwxr-xr-x 10 rootroot rootroot 4096 12月 12 2022 libnativehelper/

lrwxrwxrwx 1 rootroot rootroot 19 12月 13 2022 libOpenCL.so -> egl/libGLES_mali.so

-r--r--r-- 1 rootroot rootroot 92 12月 12 2022 Makefile

drwxr-xr-x 10 rootroot rootroot 4096 12月 30 2022 mkcombinedroot/

lrwxrwxrwx 1 rootroot rootroot 36 7月 18 2023 mkimage_ab.sh -> device/rockchip/common/mkimage_ab.sh*

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 mkimage.sh -> device/rockchip/common/mkimage.sh*

drwxr-xr-x 9 rootroot rootroot 4096 12月 12 2022 packages/

drwxr-xr-x 6 rootroot rootroot 4096 12月 12 2022 pdk/

drwxr-xr-x 10 rootroot rootroot 4096 12月 12 2022 platform_testing/

drwxr-xr-x 34 rootroot rootroot 4096 12月 30 2022 prebuilts/

-r-xr-xr-x 1 rootroot rootroot 519 12月 12 2022 restore_patches.sh*

drwxr-xr-x 10 rootroot rootroot 4096 12月 30 2022 rkbin/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 RKDocs/

drwxr-xr-x 5 rootroot rootroot 4096 12月 12 2022 rkst/

drwxr-xr-x 6 rootroot rootroot 4096 12月 30 2022 RKTools/

drwxr-xr-x 22 rootroot rootroot 4096 12月 12 2022 sdk/

drwxr-xr-x 45 rootroot rootroot 4096 12月 12 2022 system/

drwxr-xr-x 11 rootroot rootroot 4096 12月 12 2022 test/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 toolchain/

drwxr-xr-x 23 rootroot rootroot 4096 12月 12 2022 tools/

drwxr-xr-x 26 rootroot rootroot 4096 5月 20 11:05 u-boot/

-rw-rw-r-- 1 rootroot rootroot 20297544 5月 20 11:06 u-boot81.tgz

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 vendor/

lrwxrwxrwx 1 rootroot rootroot 27 12月 12 2022 WORKSPACE -> build/bazel/bazel.WORKSPACE

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$ time tar --use-compress-program=pigz -cvpf kernel-5.10b.tgz kernel-5.10/

kernel-5.10/

kernel-5.10/lib/

kernel-5.10/lib/zlib_deflate/

kernel-5.10/lib/zlib_deflate/deflate.c

kernel-5.10/lib/zlib_deflate/defutil.h

kernel-5.10/lib/zlib_deflate/Makefile

kernel-5.10/lib/zlib_deflate/deftree.c

kernel-5.10/lib/zlib_deflate/deflate_syms.c

kernel-5.10/lib/usercopy.c

kernel-5.10/lib/locking-selftest-hardirq.h

kernel-5.10/lib/timerqueue.c

kernel-5.10/lib/inflate.c

kernel-5.10/lib/locking-selftest-spin-hardirq.h

kernel-5.10/lib/audit.c

kernel-5.10/lib/devres.c

kernel-5.10/lib/objagg.c

kernel-5.10/lib/test_siphash.c

kernel-5.10/lib/fault-inject.c

kernel-5.10/lib/bch.c

kernel-5.10/lib/fdt_rw.c

kernel-5.10/lib/error-inject.c

kernel-5.10/lib/oid_registry.c

kernel-5.10/lib/bucket_locks.c

kernel-5.10/lib/crc32defs.h

kernel-5.10/lib/fdt_sw.c

kernel-5.10/lib/locking-selftest-softirq.h

kernel-5.10/lib/nodemask.c

kernel-5.10/lib/once.c

kernel-5.10/lib/extable.c

kernel-5.10/lib/crc64.c

kernel-5.10/lib/lru_cache.c

kernel-5.10/lib/test_user_copy.c

kernel-5.10/lib/Kconfig.kcsan

kernel-5.10/lib/zlib_dfltcc/

kernel-5.10/lib/zlib_dfltcc/dfltcc_inflate.c

kernel-5.10/lib/zlib_dfltcc/dfltcc_util.h

kernel-5.10/lib/zlib_dfltcc/dfltcc.c

kernel-5.10/lib/zlib_dfltcc/dfltcc.h

kernel-5.10/lib/zlib_dfltcc/Makefile

kernel-5.10/lib/zlib_dfltcc/dfltcc_deflate.c

kernel-5.10/lib/kstrtox.c

kernel-5.10/lib/logic_pio.c

kernel-5.10/lib/dec_and_lock.c

kernel-5.10/lib/textsearch.c

kernel-5.10/lib/atomic64_test.c

kernel-5.10/lib/fdt.c

kernel-5.10/lib/pldmfw/

kernel-5.10/lib/pldmfw/pldmfw_private.h

kernel-5.10/lib/pldmfw/pldmfw.c

kernel-5.10/lib/pldmfw/Makefile

kernel-5.10/lib/dynamic_debug.c

kernel-5.10/lib/test_xarray.c

kernel-5.10/lib/vdso/

kernel-5.10/lib/vdso/Kconfig

kernel-5.10/lib/vdso/gettimeofday.c

kernel-5.10/lib/vdso/Makefile

kernel-5.10/lib/kstrtox.h

kernel-5.10/lib/crc32.c

kernel-5.10/lib/nmi_backtrace.c

kernel-5.10/lib/test_bitops.c

kernel-5.10/lib/crc7.c

kernel-5.10/lib/of-reconfig-notifier-error-inject.c

kernel-5.10/lib/uuid.c

kernel-5.10/lib/gen_crc64table.c

kernel-5.10/lib/nlattr.c

kernel-5.10/lib/irq_regs.c

kernel-5.10/lib/debug_locks.c

kernel-5.10/lib/fdt_ro.c

kernel-5.10/lib/lockref.c

kernel-5.10/lib/globtest.c

kernel-5.10/lib/test-kstrtox.c

kernel-5.10/lib/dump_stack.c

kernel-5.10/lib/bsearch.c

kernel-5.10/lib/iomap.c

kernel-5.10/lib/memneq.c

kernel-5.10/lib/btree.c

kernel-5.10/lib/Kconfig.debug

kernel-5.10/lib/glob.c

kernel-5.10/lib/locking-selftest-rtmutex.h

kernel-5.10/lib/test_lockup.c

kernel-5.10/lib/ubsan.c

kernel-5.10/lib/stmp_device.c

kernel-5.10/virt/kvm/async_pf.c

kernel-5.10/virt/kvm/async_pf.h

kernel-5.10/virt/kvm/irqchip.c

kernel-5.10/virt/kvm/vfio.h

kernel-5.10/virt/kvm/Kconfig

kernel-5.10/virt/kvm/eventfd.c

kernel-5.10/virt/kvm/coalesced_mmio.c

kernel-5.10/build.config.common

kernel-5.10/CREDITS

real 0m6.423s

user 1m14.010s

sys 0m5.400s

rootroot@rootroot-desktop:~/3588a12$ ll

total 293592

drwxr-xr-x 37 rootroot rootroot 4096 5月 20 11:07 ./

drwxr-xr-x 40 rootroot rootroot 4096 5月 20 11:04 ../

lrwxrwxrwx 1 rootroot rootroot 19 12月 12 2022 Android.bp -> build/soong/root.bp

drwxr-xr-x 36 rootroot rootroot 4096 12月 12 2022 art/

drwxr-xr-x 15 rootroot rootroot 4096 12月 12 2022 bionic/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 bootable/

drwxr-xr-x 2 rootroot rootroot 4096 12月 13 2022 .bootstrap/

lrwxrwxrwx 1 rootroot rootroot 26 12月 12 2022 bootstrap.bash -> build/soong/bootstrap.bash*

drwxr-xr-x 7 rootroot rootroot 4096 12月 12 2022 build/

lrwxrwxrwx 1 rootroot rootroot 23 12月 12 2022 BUILD -> build/bazel/bazel.BUILD

lrwxrwxrwx 1 rootroot rootroot 46 7月 18 2023 build.sh -> device/rockchip/common/build/rockchip/build.sh*

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 .classpath -> device/rockchip/common/.classpath*

drwxr-xr-x 3 rootroot rootroot 4096 12月 12 2022 compatibility/

drwxr-xr-x 14 rootroot rootroot 4096 12月 30 2022 cts/

drwxr-xr-x 8 rootroot rootroot 4096 12月 12 2022 dalvik/

drwxr-xr-x 5 rootroot rootroot 4096 12月 12 2022 developers/

drwxr-xr-x 20 rootroot rootroot 4096 12月 30 2022 development/

drwxr-xr-x 11 rootroot rootroot 4096 12月 12 2022 device/

drwxr-xr-x 357 rootroot rootroot 12288 7月 18 2023 external/

drwxr-xr-x 16 rootroot rootroot 4096 12月 12 2022 frameworks/

drwxr-xr-x 19 rootroot rootroot 4096 12月 30 2022 hardware/

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 javaenv.sh -> device/rockchip/common/javaenv.sh

drwxr-xr-x 6 rootroot rootroot 4096 7月 19 2023 kernel/

drwxr-xr-x 3 rootroot rootroot 4096 7月 18 2023 kernel-4.19/

drwxr-xr-x 27 rootroot rootroot 4096 5月 20 11:06 kernel-5.10/

-rw-rw-r-- 1 rootroot rootroot 280167965 5月 20 11:07 kernel-5.10b.tgz

drwxr-xr-x 20 rootroot rootroot 4096 12月 12 2022 libcore/

drwxr-xr-x 10 rootroot rootroot 4096 12月 12 2022 libnativehelper/

lrwxrwxrwx 1 rootroot rootroot 19 12月 13 2022 libOpenCL.so -> egl/libGLES_mali.so

-r--r--r-- 1 rootroot rootroot 92 12月 12 2022 Makefile

drwxr-xr-x 10 rootroot rootroot 4096 12月 30 2022 mkcombinedroot/

lrwxrwxrwx 1 rootroot rootroot 36 7月 18 2023 mkimage_ab.sh -> device/rockchip/common/mkimage_ab.sh*

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 mkimage.sh -> device/rockchip/common/mkimage.sh*

drwxr-xr-x 9 rootroot rootroot 4096 12月 12 2022 packages/

drwxr-xr-x 6 rootroot rootroot 4096 12月 12 2022 pdk/

drwxr-xr-x 10 rootroot rootroot 4096 12月 12 2022 platform_testing/

drwxr-xr-x 34 rootroot rootroot 4096 12月 30 2022 prebuilts/

-r-xr-xr-x 1 rootroot rootroot 519 12月 12 2022 restore_patches.sh*

drwxr-xr-x 10 rootroot rootroot 4096 12月 30 2022 rkbin/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 RKDocs/

drwxr-xr-x 5 rootroot rootroot 4096 12月 12 2022 rkst/

drwxr-xr-x 6 rootroot rootroot 4096 12月 30 2022 RKTools/

drwxr-xr-x 22 rootroot rootroot 4096 12月 12 2022 sdk/

drwxr-xr-x 45 rootroot rootroot 4096 12月 12 2022 system/

drwxr-xr-x 11 rootroot rootroot 4096 12月 12 2022 test/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 toolchain/

drwxr-xr-x 23 rootroot rootroot 4096 12月 12 2022 tools/

drwxr-xr-x 26 rootroot rootroot 4096 5月 20 11:05 u-boot/

-rw-rw-r-- 1 rootroot rootroot 20297544 5月 20 11:06 u-boot81.tgz

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 vendor/

lrwxrwxrwx 1 rootroot rootroot 27 12月 12 2022 WORKSPACE -> build/bazel/bazel.WORKSPACE

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$ ll *.tgz

-rw-rw-r-- 1 rootroot rootroot 280167965 5月 20 11:07 kernel-5.10b.tgz

-rw-rw-r-- 1 rootroot rootroot 20297544 5月 20 11:06 u-boot81.tgz

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$ mv *.tgz ~/62repo/

rootroot@rootroot-desktop:~/3588a12$ ll

total 164

drwxr-xr-x 37 rootroot rootroot 4096 5月 20 11:07 ./

drwxr-xr-x 40 rootroot rootroot 4096 5月 20 11:04 ../

lrwxrwxrwx 1 rootroot rootroot 19 12月 12 2022 Android.bp -> build/soong/root.bp

drwxr-xr-x 36 rootroot rootroot 4096 12月 12 2022 art/

drwxr-xr-x 15 rootroot rootroot 4096 12月 12 2022 bionic/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 bootable/

drwxr-xr-x 2 rootroot rootroot 4096 12月 13 2022 .bootstrap/

lrwxrwxrwx 1 rootroot rootroot 26 12月 12 2022 bootstrap.bash -> build/soong/bootstrap.bash*

drwxr-xr-x 7 rootroot rootroot 4096 12月 12 2022 build/

lrwxrwxrwx 1 rootroot rootroot 23 12月 12 2022 BUILD -> build/bazel/bazel.BUILD

lrwxrwxrwx 1 rootroot rootroot 46 7月 18 2023 build.sh -> device/rockchip/common/build/rockchip/build.sh*

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 .classpath -> device/rockchip/common/.classpath*

drwxr-xr-x 3 rootroot rootroot 4096 12月 12 2022 compatibility/

drwxr-xr-x 14 rootroot rootroot 4096 12月 30 2022 cts/

drwxr-xr-x 8 rootroot rootroot 4096 12月 12 2022 dalvik/

drwxr-xr-x 5 rootroot rootroot 4096 12月 12 2022 developers/

drwxr-xr-x 20 rootroot rootroot 4096 12月 30 2022 development/

drwxr-xr-x 11 rootroot rootroot 4096 12月 12 2022 device/

drwxr-xr-x 357 rootroot rootroot 12288 7月 18 2023 external/

drwxr-xr-x 16 rootroot rootroot 4096 12月 12 2022 frameworks/

drwxr-xr-x 19 rootroot rootroot 4096 12月 30 2022 hardware/

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 javaenv.sh -> device/rockchip/common/javaenv.sh

drwxr-xr-x 6 rootroot rootroot 4096 7月 19 2023 kernel/

drwxr-xr-x 3 rootroot rootroot 4096 7月 18 2023 kernel-4.19/

drwxr-xr-x 27 rootroot rootroot 4096 5月 20 11:06 kernel-5.10/

drwxr-xr-x 20 rootroot rootroot 4096 12月 12 2022 libcore/

drwxr-xr-x 10 rootroot rootroot 4096 12月 12 2022 libnativehelper/

lrwxrwxrwx 1 rootroot rootroot 19 12月 13 2022 libOpenCL.so -> egl/libGLES_mali.so

-r--r--r-- 1 rootroot rootroot 92 12月 12 2022 Makefile

drwxr-xr-x 10 rootroot rootroot 4096 12月 30 2022 mkcombinedroot/

lrwxrwxrwx 1 rootroot rootroot 36 7月 18 2023 mkimage_ab.sh -> device/rockchip/common/mkimage_ab.sh*

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 mkimage.sh -> device/rockchip/common/mkimage.sh*

drwxr-xr-x 9 rootroot rootroot 4096 12月 12 2022 packages/

drwxr-xr-x 6 rootroot rootroot 4096 12月 12 2022 pdk/

drwxr-xr-x 10 rootroot rootroot 4096 12月 12 2022 platform_testing/

drwxr-xr-x 34 rootroot rootroot 4096 12月 30 2022 prebuilts/

-r-xr-xr-x 1 rootroot rootroot 519 12月 12 2022 restore_patches.sh*

drwxr-xr-x 10 rootroot rootroot 4096 12月 30 2022 rkbin/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 RKDocs/

drwxr-xr-x 5 rootroot rootroot 4096 12月 12 2022 rkst/

drwxr-xr-x 6 rootroot rootroot 4096 12月 30 2022 RKTools/

drwxr-xr-x 22 rootroot rootroot 4096 12月 12 2022 sdk/

drwxr-xr-x 45 rootroot rootroot 4096 12月 12 2022 system/

drwxr-xr-x 11 rootroot rootroot 4096 12月 12 2022 test/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 toolchain/

drwxr-xr-x 23 rootroot rootroot 4096 12月 12 2022 tools/

drwxr-xr-x 26 rootroot rootroot 4096 5月 20 11:05 u-boot/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 vendor/

lrwxrwxrwx 1 rootroot rootroot 27 12月 12 2022 WORKSPACE -> build/bazel/bazel.WORKSPACE

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$ sudo sync

[sudo] password for rootroot:

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$ sudo sync

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$ sudo sync

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$ sudo echo 3 | sudo tee /proc/sys/vm/drop_caches

3

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$ source build/envsetup.sh

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$ lunch

You're building on Linux

Lunch menu... pick a combo:

  1. aosp_arm-eng

  2. aosp_arm64-eng

  3. aosp_blueline-userdebug

  4. aosp_blueline_car-userdebug

  5. aosp_bonito-userdebug

  6. aosp_bonito_car-userdebug

  7. aosp_bramble_car-userdebug

  8. aosp_cf_arm64_auto-userdebug

  9. aosp_cf_arm64_phone-userdebug

  10. aosp_cf_x86_64_foldable-userdebug

  11. aosp_cf_x86_64_pc-userdebug

  12. aosp_cf_x86_64_phone-userdebug

  13. aosp_cf_x86_64_tv-userdebug

  14. aosp_cf_x86_auto-userdebug

  15. aosp_cf_x86_phone-userdebug

  16. aosp_cf_x86_tv-userdebug

  17. aosp_coral_car-userdebug

  18. aosp_crosshatch-userdebug

  19. aosp_crosshatch_car-userdebug

  20. aosp_crosshatch_vf-userdebug

  21. aosp_flame_car-userdebug

  22. aosp_oriole-userdebug

  23. aosp_oriole_car-userdebug

  24. aosp_raven-userdebug

  25. aosp_raven_car-userdebug

  26. aosp_redfin_car-userdebug

  27. aosp_sargo-userdebug

  28. aosp_sargo_car-userdebug

  29. aosp_slider-userdebug

  30. aosp_sunfish_car-userdebug

  31. aosp_whitefin-userdebug

  32. aosp_x86-eng

  33. aosp_x86_64-eng

  34. arm_krait-eng

  35. arm_v7_v8-eng

  36. armv8-eng

  37. armv8_cortex_a55-eng

  38. armv8_kryo385-eng

  39. beagle_x15-userdebug

  40. beagle_x15_auto-userdebug

  41. fuchsia_arm64-eng

  42. fuchsia_x86_64-eng

  43. hikey-userdebug

  44. hikey64_only-userdebug

  45. hikey960-userdebug

  46. hikey960_tv-userdebug

  47. hikey_tv-userdebug

  48. qemu_trusty_arm64-userdebug

  49. rk3588_box-user

  50. rk3588_box-userdebug

  51. rk3588_s-user

  52. rk3588_s-userdebug

  53. rk3588_xr-user

  54. rk3588_xr-userdebug

  55. rk3588m_car-user

  56. rk3588m_car-userdebug

  57. rk3588m_s-user

  58. rk3588m_s-userdebug

  59. rk3588s_s-user

  60. rk3588s_s-userdebug

  61. sdk_car_arm-userdebug

  62. sdk_car_arm64-userdebug

  63. sdk_car_portrait_x86_64-userdebug

  64. sdk_car_x86-userdebug

  65. sdk_car_x86_64-userdebug

  66. silvermont-eng

  67. uml-userdebug

  68. yukawa-userdebug

  69. yukawa_sei510-userdebug

Which would you like? [aosp_arm-eng] 60

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=12

TARGET_PRODUCT=rk3588s_s

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_ARCH=arm64

TARGET_ARCH_VARIANT=armv8-a

TARGET_CPU_VARIANT=generic

TARGET_2ND_ARCH=arm

TARGET_2ND_ARCH_VARIANT=armv8-a

TARGET_2ND_CPU_VARIANT=generic

HOST_ARCH=x86_64

HOST_2ND_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-5.15.0-107-generic-x86_64-Ubuntu-20.04.6-LTS

HOST_CROSS_OS=windows

HOST_CROSS_ARCH=x86

HOST_CROSS_2ND_ARCH=x86_64

HOST_BUILD_TYPE=release

BUILD_ID=SQ3A.220705.003.A1

OUT_DIR=out

============================================

rootroot@rootroot-desktop:~/3588a12$ ll

total 168

drwxr-xr-x 38 rootroot rootroot 4096 5月 20 11:09 ./

drwxr-xr-x 40 rootroot rootroot 4096 5月 20 11:04 ../

lrwxrwxrwx 1 rootroot rootroot 19 12月 12 2022 Android.bp -> build/soong/root.bp

drwxr-xr-x 36 rootroot rootroot 4096 12月 12 2022 art/

drwxr-xr-x 15 rootroot rootroot 4096 12月 12 2022 bionic/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 bootable/

drwxr-xr-x 2 rootroot rootroot 4096 12月 13 2022 .bootstrap/

lrwxrwxrwx 1 rootroot rootroot 26 12月 12 2022 bootstrap.bash -> build/soong/bootstrap.bash*

drwxr-xr-x 7 rootroot rootroot 4096 12月 12 2022 build/

lrwxrwxrwx 1 rootroot rootroot 23 12月 12 2022 BUILD -> build/bazel/bazel.BUILD

lrwxrwxrwx 1 rootroot rootroot 46 7月 18 2023 build.sh -> device/rockchip/common/build/rockchip/build.sh*

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 .classpath -> device/rockchip/common/.classpath*

drwxr-xr-x 3 rootroot rootroot 4096 12月 12 2022 compatibility/

drwxr-xr-x 14 rootroot rootroot 4096 12月 30 2022 cts/

drwxr-xr-x 8 rootroot rootroot 4096 12月 12 2022 dalvik/

drwxr-xr-x 5 rootroot rootroot 4096 12月 12 2022 developers/

drwxr-xr-x 20 rootroot rootroot 4096 12月 30 2022 development/

drwxr-xr-x 11 rootroot rootroot 4096 12月 12 2022 device/

drwxr-xr-x 357 rootroot rootroot 12288 7月 18 2023 external/

drwxr-xr-x 16 rootroot rootroot 4096 12月 12 2022 frameworks/

drwxr-xr-x 19 rootroot rootroot 4096 12月 30 2022 hardware/

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 javaenv.sh -> device/rockchip/common/javaenv.sh

drwxr-xr-x 6 rootroot rootroot 4096 7月 19 2023 kernel/

drwxr-xr-x 3 rootroot rootroot 4096 7月 18 2023 kernel-4.19/

drwxr-xr-x 27 rootroot rootroot 4096 5月 20 11:06 kernel-5.10/

drwxr-xr-x 20 rootroot rootroot 4096 12月 12 2022 libcore/

drwxr-xr-x 10 rootroot rootroot 4096 12月 12 2022 libnativehelper/

lrwxrwxrwx 1 rootroot rootroot 19 12月 13 2022 libOpenCL.so -> egl/libGLES_mali.so

-r--r--r-- 1 rootroot rootroot 92 12月 12 2022 Makefile

drwxr-xr-x 10 rootroot rootroot 4096 12月 30 2022 mkcombinedroot/

lrwxrwxrwx 1 rootroot rootroot 36 7月 18 2023 mkimage_ab.sh -> device/rockchip/common/mkimage_ab.sh*

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 mkimage.sh -> device/rockchip/common/mkimage.sh*

drwxrwxr-x 6 rootroot rootroot 4096 5月 20 11:38 out/

drwxr-xr-x 9 rootroot rootroot 4096 12月 12 2022 packages/

drwxr-xr-x 6 rootroot rootroot 4096 12月 12 2022 pdk/

drwxr-xr-x 10 rootroot rootroot 4096 12月 12 2022 platform_testing/

drwxr-xr-x 34 rootroot rootroot 4096 12月 30 2022 prebuilts/

-r-xr-xr-x 1 rootroot rootroot 519 12月 12 2022 restore_patches.sh*

drwxr-xr-x 10 rootroot rootroot 4096 12月 30 2022 rkbin/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 RKDocs/

drwxr-xr-x 5 rootroot rootroot 4096 12月 12 2022 rkst/

drwxr-xr-x 6 rootroot rootroot 4096 12月 30 2022 RKTools/

drwxr-xr-x 22 rootroot rootroot 4096 12月 12 2022 sdk/

drwxr-xr-x 45 rootroot rootroot 4096 12月 12 2022 system/

drwxr-xr-x 11 rootroot rootroot 4096 12月 12 2022 test/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 toolchain/

drwxr-xr-x 23 rootroot rootroot 4096 12月 12 2022 tools/

drwxr-xr-x 26 rootroot rootroot 4096 5月 20 11:05 u-boot/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 vendor/

lrwxrwxrwx 1 rootroot rootroot 27 12月 12 2022 WORKSPACE -> build/bazel/bazel.WORKSPACE

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$ ./build.sh -UACKu -d rk3588s-evb1-lp4x-v10

will build u-boot

will build android

will build kernel with Clang

will build kernel

will build update.img

-------------------KERNEL_VERSION:5.10

-------------------KERNEL_DTS:rk3588s-evb1-lp4x-v10

Force use clang and llvm to build kernel-5.10

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=12

TARGET_PRODUCT=rk3588s_s

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_ARCH=arm64

TARGET_ARCH_VARIANT=armv8-a

TARGET_CPU_VARIANT=generic

TARGET_2ND_ARCH=arm

TARGET_2ND_ARCH_VARIANT=armv8-a

TARGET_2ND_CPU_VARIANT=generic

HOST_ARCH=x86_64

HOST_2ND_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-5.15.0-107-generic-x86_64-Ubuntu-20.04.6-LTS

HOST_CROSS_OS=windows

HOST_CROSS_ARCH=x86

HOST_CROSS_2ND_ARCH=x86_64

HOST_BUILD_TYPE=release

BUILD_ID=SQ3A.220705.003.A1

OUT_DIR=out

============================================

start build uboot

build completed successfully (2 seconds)

build completed successfully (1 seconds)

build completed successfully (1 seconds)

grep: .config: No such file or directory

make rk3588_defconfig -j72

HOSTCC scripts/basic/fixdep

HOSTCC scripts/kconfig/conf.o

SHIPPED scripts/kconfig/zconf.tab.c

SHIPPED scripts/kconfig/zconf.lex.c

SHIPPED scripts/kconfig/zconf.hash.c

HOSTCC scripts/kconfig/zconf.tab.o

In file included from scripts/kconfig/zconf.tab.c:2468:

scripts/kconfig/confdata.c: In function 'conf_write':

scripts/kconfig/confdata.c:771:19: warning: '%s' directive writing likely 7 or more bytes into a region of size between 1 and 4097 [-Wformat-overflow=]

771 | sprintf(newname, "%s%s", dirname, basename);

| ^~~~~~

scripts/kconfig/confdata.c:771:19: note: assuming directive output of 7 bytes

In file included from /usr/include/stdio.h:867,

from scripts/kconfig/zconf.tab.c:82:

/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 1 or more bytes (assuming 4104) into a destination of size 4097

36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

37 | __bos (__s), __fmt, __va_arg_pack ());

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In file included from scripts/kconfig/zconf.tab.c:2468:

scripts/kconfig/confdata.c:774:20: warning: '.tmpconfig.' directive writing 11 bytes into a region of size between 1 and 4097 [-Wformat-overflow=]

774 | sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid());

| ^~~~~~~~~~~~~~~~~

In file included from /usr/include/stdio.h:867,

from scripts/kconfig/zconf.tab.c:82:

/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 4119 bytes into a destination of size 4097

36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,

| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

37 | __bos (__s), __fmt, __va_arg_pack ());

| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

HOSTLD scripts/kconfig/conf

configuration written to .config

scripts/kconfig/conf --silentoldconfig Kconfig

CHK include/config.h

UPD include/config.h

CFG u-boot.cfg

GEN include/autoconf.mk.dep

CFG spl/u-boot.cfg

CFG tpl/u-boot.cfg

GEN include/autoconf.mk

GEN tpl/include/autoconf.mk

GEN spl/include/autoconf.mk

CHK include/config/uboot.release

CHK include/generated/timestamp_autogenerated.h

UPD include/generated/timestamp_autogenerated.h

HOSTCC scripts/dtc/dtc.o

HOSTCC scripts/dtc/flattree.o

HOSTCC scripts/dtc/fstree.o

HOSTCC scripts/dtc/livetree.o

HOSTCC scripts/dtc/data.o

HOSTCC scripts/dtc/checks.o

HOSTCC scripts/dtc/treesource.o

HOSTCC scripts/dtc/srcpos.o

ler-rt/lib/cfi/cfi_blocklist.txt -fvisibility=default -fsanitize=signed-integer-overflow,unsigned-integer-overflow,signed-integer-overflow,cfi -fsanitize-minimal-runtime -fno-sanitize-trap=integer,undefined -fno-sanitize-recover=integer,undefined -fsanitize-trap=all -ftrap-function=abort -fno-sanitize=implicit-integer-sign-change -fno-sanitize=unsigned-shift-base -std=gnu++17 -fno-rtti -Werror=bool-operation -Werror=implicit-int-float-conversion -Werror=int-in-bool-context -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=string-compare -Werror=xor-used-as-pow -Wno-void-pointer-to-enum-cast -Wno-void-pointer-to-int-cast -Wno-pointer-to-int-cast -Werror=fortify-source -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-tautological-type-limit-compare -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-int-in-bool-context -Wno-sizeof-array-div -Wno-tautological-overlap-compare -Wno-deprecated-copy -Wno-range-loop-construct -Wno-misleading-indentation -Wno-zero-as-null-pointer-constant -Wno-deprecated-anon-enum-enum-conversion -Wno-deprecated-enum-enum-conversion -Wno-string-compare -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-pessimizing-move -Wno-non-c-typedef-for-linkage -Wno-string-concatenation -MD -MF out/soong/.intermediates/vendor/rockchip/hardware/interfaces/codec2/component/mpi/libcodec2_rk_mpi/android_vendor.32_arm64_armv8-a_static_cfi/obj/vendor/rockchip/hardware/interfaces/codec2/component/mpi/C2RKMpiEnc.o.d -o out/soong/.intermediates/vendor/rockchip/hardware/interfaces/codec2/component/mpi/libcodec2_rk_mpi/android_vendor.32_arm64_armv8-a_static_cfi/obj/vendor/rockchip/hardware/interfaces/codec2/component/mpi/C2RKMpiEnc.o vendor/rockchip/hardware/interfaces/codec2/component/mpi/C2RKMpiEnc.cpp

vendor/rockchip/hardware/interfaces/codec2/component/mpi/C2RKMpiEnc.cpp:942:55: error: use of undeclared identifier 'C2_GIT_BUILD_VERSION'

c2_info("component name %s\r\nversion: %s", name, C2_GIT_BUILD_VERSION);

^

1 error generated.

[ 2% 1379/49558] //vendor/rockchip/hardware/interfaces/codec2/component/mpi:libcodec2_rk_mpi clang++ C2RKMpiEnc.cpp [arm]

FAILED: out/soong/.intermediates/vendor/rockchip/hardware/interfaces/codec2/component/mpi/libcodec2_rk_mpi/android_vendor.32_arm_armv8-a_static_cfi/obj/vendor/rockchip/hardware/interfaces/codec2/component/mpi/C2RKMpiEnc.o

PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++ -c -D__ANDROID_VNDK__ -D__ANDROID_VENDOR__ -mthumb -Os -fomit-frame-pointer -DANDROID -DANDROID_12 -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Wunreachable-code-loop-increment -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -g -fdebug-info-for-profiling -fno-strict-aliasing -Werror=date-time -Werror=pragma-pack -Werror=pragma-pack-suspicious-include -Werror=string-plus-int -Werror=unreachable-code-loop-increment -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=builtin_offsetof -faddrsig -fcommon -Werror=int-conversion -fexperimental-new-pass-manager -Wno-reserved-id-macro -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-sign-compare -Wno-defaulted-function-deleted -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-gnu-folding-constant -Wunguarded-availability -D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK -ftrivial-auto-var-init=zero -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang -ffunction-sections -fdata-sections -fno-short-enums -funwind-tables -fstack-protector-strong -Wa,--noexecstack -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=format-security -nostdlibinc -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-pointer-arithmetic -Wno-null-dereference -Wno-pointer-compare -Wno-xor-used-as-pow -Wno-final-dtor-non-final-class -Wno-psabi -msoft-float -march=armv8-a -mfloat-abi=softfp -mfpu=neon-fp-armv8 -target armv7a-linux-androideabi29 -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -DANDROID_STRICT -fPIC -Wsign-promo -Wimplicit-fallthrough -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-gnu-include-next -fvisibility-inlines-hidden -Ivendor/rockchip/hardware/interfaces/codec2/component/include -Ivendor/rockchip/hardware/interfaces/codec2/osal/include -Ihardware/rockchip/librkvpu/omx_get_gralloc_private -Ihardware/rockchip/librga/include -Iframeworks/av/media/libstagefright/include -Ivendor/rockchip/hardware/interfaces/codec2/component/mpi -Ihardware/rockchip/libhardware_rockchip/include -Iframeworks/native/libs/ui/include_vndk -Iframeworks/native/libs/nativewindow/include -Iframeworks/native/libs/math/include -Iframeworks/native/libs/ui/include -Iframeworks/native/libs/ui/include_private -Isystem/libbase/include -Iframeworks/native/libs/nativebase/include -Ihardware/libhardware/include -Isystem/media/audio/include -Isystem/core/libcutils/include_outside_system -Isystem/core/libsystem/include -Isystem/bt/types -Iframeworks/native/libs/ui/include_types -Iframeworks/native/libs/arect/include -Iframeworks/native/libs/binder/ndk/include_cpp -Iframeworks/native/libs/binder/ndk/include_ndk -Iframeworks/native/libs/binder/ndk/include_platform -Iout/soong/.intermediates/hardware/interfaces/common/aidl/android.hardware.common-V2-ndk_platform-source/gen/include -Iout/soong/.intermediates/hardware/interfaces/graphics/common/aidl/android.hardware.graphics.common-V2-ndk_platform-source/gen/include -Isystem/libhidl/base/include -Isystem/libhidl/transport/include -Isystem/libfmq/base -Isystem/libhwbinder/include -Iexternal/fmtlib/include -Isystem/core/libutils/include -Isystem/unwinding/libbacktrace/include -Isystem/logging/liblog/include_vndk -Isystem/core/libprocessgroup/include -Isystem/core/libcutils/include -Iout/soong/.intermediates/system/libhidl/transport/manager/1.0/android.hidl.manager@1.0_genc++_headers/gen -Iout/soong/.intermediates/system/libhidl/transport/manager/1.1/android.hidl.manager@1.1_genc++_headers/gen -Iout/soong/.intermediates/system/libhidl/transport/manager/1.2/android.hidl.manager@1.2_genc++_headers/gen -Iout/soong/.intermediates/system/libhidl/transport/base/1.0/android.hidl.base@1.0_genc++_headers/gen -Iout/soong/.intermediates/hardware/interfaces/graphics/common/1.0/android.hardware.graphics.common@1.0_genc++_headers/gen -Iout/soong/.intermediates/hardware/interfaces/graphics/common/1.1/android.hardware.graphics.common@1.1_genc++_headers/gen -Iout/soong/.intermediates/hardware/interfaces/graphics/common/1.2/android.hardware.graphics.common@1.2_genc++_headers/gen -Iout/soong/.intermediates/hardware/interfaces/graphics/mapper/4.0/android.hardware.graphics.mapper@4.0_genc++_headers/gen -Iframeworks/native/libs/gralloc/types/include -Iexternal/libcxx/include -Iexternal/libcxxabi/include -Iframeworks/av/media/codec2/core/include -Iframeworks/native/headers/media_plugin -Iframeworks/native/headers/media_plugin/media/openmax -Iframeworks/av/media/libstagefright/include -Iframeworks/av/media/libstagefright/foundation/include -Iframeworks/av/media/codec2/vndk/include -Iout/soong/.intermediates/hardware/interfaces/media/bufferpool/2.0/android.hardware.media.bufferpool@2.0_genc++_headers/gen -Iframeworks/av/media/codec2/sfplugin/utils -Ihardware/rockchip/librga/include -Ihardware/rockchip/librga/im2d_api -Iout/soong/.intermediates/vendor/rockchip/hardware/interfaces/codec2/c2_version/gen -isystem out/soong/.intermediates/bionic/libc/libc/android_vendor.32_arm_armv8-a_shared/gen/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/android/scsi -isystem bionic/libc/kernel/android/uapi -isystem bionic/libc/kernel/uapi/asm-arm -Wall -Werror -DDO_NOT_CHECK_MANUAL_BINDER_INTERFACES -flto -fsanitize-cfi-cross-dso -fsanitize-blacklist=external/compiler-rt/lib/cfi/cfi_blocklist.txt -fvisibility=default -fsanitize=signed-integer-overflow,unsigned-integer-overflow,signed-integer-overflow,cfi -fsanitize-minimal-runtime -fno-sanitize-trap=integer,undefined -fno-sanitize-recover=integer,undefined -fsanitize-trap=all -ftrap-function=abort -fno-sanitize=implicit-integer-sign-change -fno-sanitize=unsigned-shift-base -std=gnu++17 -fno-rtti -Werror=bool-operation -Werror=implicit-int-float-conversion -Werror=int-in-bool-context -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=string-compare -Werror=xor-used-as-pow -Wno-void-pointer-to-enum-cast -Wno-void-pointer-to-int-cast -Wno-pointer-to-int-cast -Werror=fortify-source -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-tautological-type-limit-compare -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-int-in-bool-context -Wno-sizeof-array-div -Wno-tautological-overlap-compare -Wno-deprecated-copy -Wno-range-loop-construct -Wno-misleading-indentation -Wno-zero-as-null-pointer-constant -Wno-deprecated-anon-enum-enum-conversion -Wno-deprecated-enum-enum-conversion -Wno-string-compare -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-pessimizing-move -Wno-non-c-typedef-for-linkage -Wno-string-concatenation -MD -MF out/soong/.intermediates/vendor/rockchip/hardware/interfaces/codec2/component/mpi/libcodec2_rk_mpi/android_vendor.32_arm_armv8-a_static_cfi/obj/vendor/rockchip/hardware/interfaces/codec2/component/mpi/C2RKMpiEnc.o.d -o out/soong/.intermediates/vendor/rockchip/hardware/interfaces/codec2/component/mpi/libcodec2_rk_mpi/android_vendor.32_arm_armv8-a_static_cfi/obj/vendor/rockchip/hardware/interfaces/codec2/component/mpi/C2RKMpiEnc.o vendor/rockchip/hardware/interfaces/codec2/component/mpi/C2RKMpiEnc.cpp

vendor/rockchip/hardware/interfaces/codec2/component/mpi/C2RKMpiEnc.cpp:942:55: error: use of undeclared identifier 'C2_GIT_BUILD_VERSION'

c2_info("component name %s\r\nversion: %s", name, C2_GIT_BUILD_VERSION);

^

1 error generated.

14:37:50 ninja failed with: exit status 1

failed to build some targets (29:23 (mm:ss))

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$ sudo echo 3 | sudo tee /proc/sys/vm/drop_caches

[sudo] password for rootroot:

Sorry, try again.

[sudo] password for rootroot:

3

rootroot@rootroot-desktop:~/3588a12$ make -j36

frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ForegroundServiceSectionController.kt:79:13: warning: variable 'isAppCancel' is never used

val isAppCancel = reason == REASON_APP_CANCEL || reason == REASON_APP_CANCEL_ALL

^

frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/NotificationSectionsManager.kt:118:75: warning: unchecked cast: View! to T

val inflated = layoutInflater.inflate(layoutResId, parent, false) as T

^

frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationsQSContainerController.kt:53:37: warning: 'getter for stableInsetBottom: Int' is deprecated. Deprecated in Java

bottomStableInsets = insets.stableInsetBottom

^

frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarContentInsetsProvider.kt:127:25: warning: 'getRealSize(Point!): Unit' is deprecated. Deprecated in Java

context.display.getRealSize(point)

^

frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarContentInsetsProvider.kt:167:25: warning: 'getRealSize(Point!): Unit' is deprecated. Deprecated in Java

context.display.getRealSize(point)

^

frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarContentInsetsProvider.kt:195:5: warning: '@JvmOverloads' annotation has no effect for methods without default arguments

@JvmOverloads

^

frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/UnlockedScreenOffAnimationController.kt:56:36: warning: 'constructor Handler()' is deprecated. Deprecated in Java

private val handler: Handler = Handler()

^

frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/UnlockedScreenOffAnimationController.kt:81:47: warning: no cast needed

1f - (it.animatedFraction as Float),

^

frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/DeviceControlsControllerImpl.kt:94:51: warning: 'CONTROLS_ENABLED: String' is deprecated. Deprecated in Java

if (secureSettings.getInt(Settings.Secure.CONTROLS_ENABLED, 1) == 0) {

^

frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/VpnStatusObserver.kt:43:24: warning: 'get(Class<T!>!): T!' is deprecated. Deprecated in Java

Dependency.get(SecurityController::class.java)

^

frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/nullability.kt:29:1: warning: expected performance impact from inlining is insignificant. Inlining works best for functions with parameters of functional types

inline fun <T> Optional<T>.getOrNull(): T? = orElse(null)

^

[ 99% 48074/48100] //frameworks/base/packages/SystemUI:SystemUI r8 [common]

Warning: Missing class android.compat.annotation.UnsupportedAppUsage (referenced from: void com.android.systemui.people.widget.PeopleBackupHelper.writeNewStateDescription(android.os.ParcelFileDescriptor))

Missing class android.support.annotation.Keep (referenced from: kotlinx.coroutines.android.AndroidExceptionPreHandler)

Missing class org.jetbrains.annotations.NotNull (referenced from: java.util.List com.android.keyguard.FontInterpolator$VarFontKey.sortedAxes and 4934 other contexts)

Missing class org.jetbrains.annotations.Nullable (referenced from: android.graphics.fonts.Font com.android.keyguard.FontInterpolator$InterpKey.l and 1141 other contexts)

[100% 48100/48100] Target super fs image for debug: out/target/product/rk3588s_s/super.img

2024-05-20 17:55:18 - build_super_image.py - INFO : Building super image from info dict...

2024-05-20 17:55:18 - sparse_img.py - INFO : Total of 239478 4096-byte output blocks in 18 input chunks.

2024-05-20 17:55:18 - sparse_img.py - INFO : Total of 37458 4096-byte output blocks in 6 input chunks.

2024-05-20 17:55:18 - sparse_img.py - INFO : Total of 109266 4096-byte output blocks in 10 input chunks.

2024-05-20 17:55:18 - sparse_img.py - INFO : Total of 1025 4096-byte output blocks in 2 input chunks.

2024-05-20 17:55:18 - sparse_img.py - INFO : Total of 169 4096-byte output blocks in 2 input chunks.

2024-05-20 17:55:18 - sparse_img.py - INFO : Total of 64 4096-byte output blocks in 4 input chunks.

2024-05-20 17:55:18 - sparse_img.py - INFO : Total of 61252 4096-byte output blocks in 5 input chunks.

2024-05-20 17:55:25 - build_super_image.py - INFO : Done writing image out/target/product/rk3588s_s/super.img

build completed successfully (01:55:40 (hh:mm:ss))

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$ ll

total 172

drwxr-xr-x 39 rootroot rootroot 4096 5月 20 14:08 ./

drwxr-xr-x 40 rootroot rootroot 4096 5月 20 15:03 ../

lrwxrwxrwx 1 rootroot rootroot 19 12月 12 2022 Android.bp -> build/soong/root.bp

drwxr-xr-x 36 rootroot rootroot 4096 12月 12 2022 art/

drwxr-xr-x 15 rootroot rootroot 4096 12月 12 2022 bionic/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 bootable/

drwxr-xr-x 2 rootroot rootroot 4096 12月 13 2022 .bootstrap/

lrwxrwxrwx 1 rootroot rootroot 26 12月 12 2022 bootstrap.bash -> build/soong/bootstrap.bash*

drwxr-xr-x 7 rootroot rootroot 4096 12月 12 2022 build/

lrwxrwxrwx 1 rootroot rootroot 23 12月 12 2022 BUILD -> build/bazel/bazel.BUILD

lrwxrwxrwx 1 rootroot rootroot 46 7月 18 2023 build.sh -> device/rockchip/common/build/rockchip/build.sh*

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 .classpath -> device/rockchip/common/.classpath*

drwxr-xr-x 3 rootroot rootroot 4096 12月 12 2022 compatibility/

drwxr-xr-x 14 rootroot rootroot 4096 12月 30 2022 cts/

drwxr-xr-x 8 rootroot rootroot 4096 12月 12 2022 dalvik/

drwxr-xr-x 5 rootroot rootroot 4096 12月 12 2022 developers/

drwxr-xr-x 20 rootroot rootroot 4096 12月 30 2022 development/

drwxr-xr-x 11 rootroot rootroot 4096 12月 12 2022 device/

drwxr-xr-x 357 rootroot rootroot 12288 7月 18 2023 external/

drwxr-xr-x 16 rootroot rootroot 4096 12月 12 2022 frameworks/

drwxr-xr-x 19 rootroot rootroot 4096 12月 30 2022 hardware/

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 javaenv.sh -> device/rockchip/common/javaenv.sh

drwxr-xr-x 6 rootroot rootroot 4096 7月 19 2023 kernel/

drwxr-xr-x 3 rootroot rootroot 4096 7月 18 2023 kernel-4.19/

drwxr-xr-x 27 rootroot rootroot 4096 5月 20 11:46 kernel-5.10/

drwxr-xr-x 20 rootroot rootroot 4096 12月 12 2022 libcore/

drwxr-xr-x 10 rootroot rootroot 4096 12月 12 2022 libnativehelper/

lrwxrwxrwx 1 rootroot rootroot 19 5月 20 11:53 libOpenCL.so -> egl/libGLES_mali.so

-r--r--r-- 1 rootroot rootroot 92 12月 12 2022 Makefile

drwxr-xr-x 10 rootroot rootroot 4096 12月 30 2022 mkcombinedroot/

lrwxrwxrwx 1 rootroot rootroot 36 7月 18 2023 mkimage_ab.sh -> device/rockchip/common/mkimage_ab.sh*

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 mkimage.sh -> device/rockchip/common/mkimage.sh*

drwxrwxr-x 11 rootroot rootroot 4096 5月 20 17:55 out/

drwxr-xr-x 9 rootroot rootroot 4096 12月 12 2022 packages/

drwxr-xr-x 6 rootroot rootroot 4096 12月 12 2022 pdk/

drwxr-xr-x 10 rootroot rootroot 4096 12月 12 2022 platform_testing/

drwxr-xr-x 34 rootroot rootroot 4096 12月 30 2022 prebuilts/

drwxrwxr-x 7 rootroot rootroot 4096 12月 15 2021 .repo/

-r-xr-xr-x 1 rootroot rootroot 519 12月 12 2022 restore_patches.sh*

drwxr-xr-x 10 rootroot rootroot 4096 5月 20 11:39 rkbin/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 RKDocs/

drwxr-xr-x 5 rootroot rootroot 4096 12月 12 2022 rkst/

drwxr-xr-x 6 rootroot rootroot 4096 12月 30 2022 RKTools/

drwxr-xr-x 22 rootroot rootroot 4096 12月 12 2022 sdk/

drwxr-xr-x 45 rootroot rootroot 4096 12月 12 2022 system/

drwxr-xr-x 11 rootroot rootroot 4096 12月 12 2022 test/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 toolchain/

drwxr-xr-x 23 rootroot rootroot 4096 12月 12 2022 tools/

drwxr-xr-x 28 rootroot rootroot 4096 5月 20 11:46 u-boot/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 vendor/

lrwxrwxrwx 1 rootroot rootroot 27 12月 12 2022 WORKSPACE -> build/bazel/bazel.WORKSPACE

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$ ll *.sh

lrwxrwxrwx 1 rootroot rootroot 46 7月 18 2023 build.sh -> device/rockchip/common/build/rockchip/build.sh*

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 javaenv.sh -> device/rockchip/common/javaenv.sh

lrwxrwxrwx 1 rootroot rootroot 36 7月 18 2023 mkimage_ab.sh -> device/rockchip/common/mkimage_ab.sh*

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 mkimage.sh -> device/rockchip/common/mkimage.sh*

-r-xr-xr-x 1 rootroot rootroot 519 12月 12 2022 restore_patches.sh*

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$ ./build.sh -u

will build update.img

-------------------KERNEL_VERSION:5.10

-------------------KERNEL_DTS:rk3588s-tablet-v10

Force use clang and llvm to build kernel-5.10

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=12

TARGET_PRODUCT=rk3588s_s

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_ARCH=arm64

TARGET_ARCH_VARIANT=armv8-a

TARGET_CPU_VARIANT=generic

TARGET_2ND_ARCH=arm

TARGET_2ND_ARCH_VARIANT=armv8-a

TARGET_2ND_CPU_VARIANT=generic

HOST_ARCH=x86_64

HOST_2ND_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-5.15.0-107-generic-x86_64-Ubuntu-20.04.6-LTS

HOST_CROSS_OS=windows

HOST_CROSS_ARCH=x86

HOST_CROSS_2ND_ARCH=x86_64

HOST_BUILD_TYPE=release

BUILD_ID=SQ3A.220705.003.A1

OUT_DIR=out

============================================

package resoure.img with charger images

Pack ./tools/images/ & ../kernel-5.10/resource.img to resource.img ...

Unpacking old image(../kernel-5.10/resource.img):

rk-kernel.dtb battery_1.bmp battery_2.bmp battery_3.bmp battery_4.bmp battery_5.bmp battery_fail.bmp logo.bmp logo_kernel.bmp battery_0.bmp 10

Pack to resource.img successed!

Packed resources:

rk-kernel.dtb battery_1.bmp battery_2.bmp battery_3.bmp battery_4.bmp battery_5.bmp battery_fail.bmp logo.bmp logo_kernel.bmp battery_0.bmp 10

./resource.img with battery images is ready

/home/rootroot/3588a12

Repacking header 2 boot...

make and copy android images

TARGET_PRODUCT=rk3588s_s

TARGET_BASE_PARAMETER_IMAGE==device/rockchip/common/baseparameter/v2.0/baseparameter.img

HIGH_RELIABLE_RECOVERY_OTA=

BOARD_AVB_ENABLE=false

system filesysystem is ext4

create dtbo.img...

done.

create rockdev/Image-rk3588s_s/resource.img...

done.

create rockdev/Image-rk3588s_s/boot.img...

done.

create rockdev/Image-rk3588s_s/boot-debug.img...

done.

skip copy images: /home/rootroot/3588a12/out/target/product/rk3588s_s/vendor_boot.img

skip copy images: /home/rootroot/3588a12/out/target/product/rk3588s_s/vendor_boot-debug.img

create rockdev/Image-rk3588s_s/recovery.img...

done.

create rockdev/Image-rk3588s_s/super.img...

done.

skip copy images: /home/rootroot/3588a12/out/target/product/rk3588s_s/userdata.img

create vbmeta.img...

BOARD_AVB_ENABLE is false, use default vbmeta.img

create misc.img.... done.

create uboot.img...

u-boot/trust.img not fount! Please make it from u-boot first!

create loader...

create config.cfg...

create baseparameter...done.

Make image ok!

Make update.img

packing update.img with Image -RK3588

regenernate package-file-tmp...

start to make update.img...

Android Firmware Package Tool v2.2

------ PACKAGE ------

Add file: ./package-file

package-file,Add file: ./package-file done,offset=0x800,size=0x29a,userspace=0x1

Add file: ./Image/MiniLoaderAll.bin

bootloader,Add file: ./Image/MiniLoaderAll.bin done,offset=0x1000,size=0x721c0,userspace=0xe5

Add file: ./Image/parameter.txt

parameter,Add file: ./Image/parameter.txt done,offset=0x73800,size=0x284,userspace=0x1,flash_address=0x00000000

Add file: ./Image/uboot.img

uboot,Add file: ./Image/uboot.img done,offset=0x74000,size=0x400000,userspace=0x800,flash_address=0x00004000

Add file: ./Image/misc.img

misc,Add file: ./Image/misc.img done,offset=0x474000,size=0xc000,userspace=0x18,flash_address=0x00008000

Add file: ./Image/dtbo.img

dtbo,Add file: ./Image/dtbo.img done,offset=0x480000,size=0x1bb,userspace=0x1,flash_address=0x0000a000

Add file: ./Image/vbmeta.img

vbmeta,Add file: ./Image/vbmeta.img done,offset=0x480800,size=0x1000,userspace=0x2,flash_address=0x0000c000

Add file: ./Image/boot.img

boot,Add file: ./Image/boot.img done,offset=0x481800,size=0x2564800,userspace=0x4ac9,flash_address=0x0000c800

Add file: ./Image/recovery.img

recovery,Add file: ./Image/recovery.img done,offset=0x29e6000,size=0x493d800,userspace=0x927b,flash_address=0x00020800

Add file: ./Image/baseparameter.img

baseparameter,Add file: ./Image/baseparameter.img done,offset=0x7323800,size=0x100000,userspace=0x200,flash_address=0x001d8800

Add file: ./Image/super.img

super,Add file: ./Image/super.img done,offset=0x7423800,size=0x6c76e5d8,userspace=0xd8edd,flash_address=0x001d9000

Add CRC...

Make firmware OK!

------ OK ------

********rkImageMaker ver 2.23********

Generating new image, please wait...

Writing head info...

Writing boot file...

Writing firmware...

Generating MD5 data...

MD5 data generated successfully!

New image generated successfully!

Making update.img OK.

Make update image ok!

/home/rootroot/3588a12

rootroot@rootroot-desktop:~/3588a12$ ll

total 176

drwxr-xr-x 40 rootroot rootroot 4096 5月 20 18:03 ./

drwxr-xr-x 40 rootroot rootroot 4096 5月 20 15:03 ../

lrwxrwxrwx 1 rootroot rootroot 19 12月 12 2022 Android.bp -> build/soong/root.bp

drwxr-xr-x 36 rootroot rootroot 4096 12月 12 2022 art/

drwxr-xr-x 15 rootroot rootroot 4096 12月 12 2022 bionic/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 bootable/

drwxr-xr-x 2 rootroot rootroot 4096 12月 13 2022 .bootstrap/

lrwxrwxrwx 1 rootroot rootroot 26 12月 12 2022 bootstrap.bash -> build/soong/bootstrap.bash*

drwxr-xr-x 7 rootroot rootroot 4096 12月 12 2022 build/

lrwxrwxrwx 1 rootroot rootroot 23 12月 12 2022 BUILD -> build/bazel/bazel.BUILD

lrwxrwxrwx 1 rootroot rootroot 46 7月 18 2023 build.sh -> device/rockchip/common/build/rockchip/build.sh*

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 .classpath -> device/rockchip/common/.classpath*

drwxr-xr-x 3 rootroot rootroot 4096 12月 12 2022 compatibility/

drwxr-xr-x 14 rootroot rootroot 4096 12月 30 2022 cts/

drwxr-xr-x 8 rootroot rootroot 4096 12月 12 2022 dalvik/

drwxr-xr-x 5 rootroot rootroot 4096 12月 12 2022 developers/

drwxr-xr-x 20 rootroot rootroot 4096 12月 30 2022 development/

drwxr-xr-x 11 rootroot rootroot 4096 12月 12 2022 device/

drwxr-xr-x 357 rootroot rootroot 12288 7月 18 2023 external/

drwxr-xr-x 16 rootroot rootroot 4096 12月 12 2022 frameworks/

drwxr-xr-x 19 rootroot rootroot 4096 12月 30 2022 hardware/

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 javaenv.sh -> device/rockchip/common/javaenv.sh

drwxr-xr-x 6 rootroot rootroot 4096 7月 19 2023 kernel/

drwxr-xr-x 3 rootroot rootroot 4096 7月 18 2023 kernel-4.19/

drwxr-xr-x 27 rootroot rootroot 4096 5月 20 11:46 kernel-5.10/

drwxr-xr-x 20 rootroot rootroot 4096 12月 12 2022 libcore/

drwxr-xr-x 10 rootroot rootroot 4096 12月 12 2022 libnativehelper/

lrwxrwxrwx 1 rootroot rootroot 19 5月 20 11:53 libOpenCL.so -> egl/libGLES_mali.so

-r--r--r-- 1 rootroot rootroot 92 12月 12 2022 Makefile

drwxr-xr-x 10 rootroot rootroot 4096 12月 30 2022 mkcombinedroot/

lrwxrwxrwx 1 rootroot rootroot 36 7月 18 2023 mkimage_ab.sh -> device/rockchip/common/mkimage_ab.sh*

lrwxrwxrwx 1 rootroot rootroot 33 7月 18 2023 mkimage.sh -> device/rockchip/common/mkimage.sh*

drwxrwxr-x 11 rootroot rootroot 4096 5月 20 18:03 out/

drwxr-xr-x 9 rootroot rootroot 4096 12月 12 2022 packages/

drwxr-xr-x 6 rootroot rootroot 4096 12月 12 2022 pdk/

drwxr-xr-x 10 rootroot rootroot 4096 12月 12 2022 platform_testing/

drwxr-xr-x 34 rootroot rootroot 4096 12月 30 2022 prebuilts/

drwxrwxr-x 7 rootroot rootroot 4096 12月 15 2021 .repo/

-r-xr-xr-x 1 rootroot rootroot 519 12月 12 2022 restore_patches.sh*

drwxr-xr-x 10 rootroot rootroot 4096 5月 20 11:39 rkbin/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 RKDocs/

drwxr-xr-x 5 rootroot rootroot 4096 12月 12 2022 rkst/

drwxr-xr-x 6 rootroot rootroot 4096 12月 30 2022 RKTools/

drwxrwxr-x 3 rootroot rootroot 4096 5月 20 18:03 rockdev/

drwxr-xr-x 22 rootroot rootroot 4096 12月 12 2022 sdk/

drwxr-xr-x 45 rootroot rootroot 4096 12月 12 2022 system/

drwxr-xr-x 11 rootroot rootroot 4096 12月 12 2022 test/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 toolchain/

drwxr-xr-x 23 rootroot rootroot 4096 12月 12 2022 tools/

drwxr-xr-x 28 rootroot rootroot 4096 5月 20 18:02 u-boot/

drwxr-xr-x 4 rootroot rootroot 4096 12月 12 2022 vendor/

lrwxrwxrwx 1 rootroot rootroot 27 12月 12 2022 WORKSPACE -> build/bazel/bazel.WORKSPACE

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$

rootroot@rootroot-desktop:~/3588a12$

Socket error Event: 32 Error: 10053.

Connection closing...Socket close.

Connection closed by foreign host.

Disconnected from remote host(192.168.3.62) at 18:08:43.

Type `help' to learn how to use Xshell prompt.

相关推荐
bin91534 小时前
【EXCEL数据处理】000010 案列 EXCEL文本型和常规型转换。使用的软件是微软的Excel操作的。处理数据的目的是让数据更直观的显示出来,方便查看。
大数据·数据库·信息可视化·数据挖掘·数据分析·excel·数据可视化
极客先躯7 小时前
Hadoop krb5.conf 配置详解
大数据·hadoop·分布式·kerberos·krb5.conf·认证系统
Good_Starry9 小时前
Git介绍--github/gitee/gitlab使用
git·gitee·gitlab·github
2301_786964369 小时前
3、练习常用的HBase Shell命令+HBase 常用的Java API 及应用实例
java·大数据·数据库·分布式·hbase
matlabgoodboy10 小时前
“图像识别技术:重塑生活与工作的未来”
大数据·人工智能·生活
happycao12311 小时前
Flink 03 | 数据流基本操作
大数据·flink
Neituijunsir11 小时前
2024.09.22 校招 实习 内推 面经
大数据·人工智能·算法·面试·自动驾驶·汽车·求职招聘
Data 31713 小时前
Hive数仓操作(十一)
大数据·数据库·数据仓库·hive·hadoop
云端奇趣14 小时前
探索 3 个有趣的 GitHub 学习资源库
经验分享·git·学习·github
qtj-00114 小时前
普通人在刚开始做副业时要注意哪些细节?
大数据·微信·新媒体运营·创业创新