当前位置: 首页 > article >正文

20241105编译Rockchip原厂的Android13并给荣品PRO-RK3566开发板刷机

20241105编译Rockchip原厂的Android13并给荣品PRO-RK3566开发板刷机
2024/11/5 14:44


rootroot@rootroot-desktop:~/安卓13SDK_1024$ 
rootroot@rootroot-desktop:~/安卓13SDK_1024$ ls -l
total 195031244
-rw-rw-r-- 1 rootroot rootroot 99855936840 10月 25 11:11 13.tar.gz
-rwxrwxrwx 1 rootroot rootroot 20971520000 10月 25 09:32 android12_20240124.tar.gz00
-rwxrwxrwx 1 rootroot rootroot 20971520000 10月 25 09:39 android12_20240124.tar.gz01
-rwxrwxrwx 1 rootroot rootroot 20971520000 10月 25 09:39 android12_20240124.tar.gz02
-rwxrwxrwx 1 rootroot rootroot 20971520000 10月 25 09:22 android12_20240124.tar.gz03
-rwxrwxrwx 1 rootroot rootroot 15969856840 10月 25 09:20 android12_20240124.tar.gz04

rootroot@rootroot-desktop:~/安卓13SDK_1024$ 
rootroot@rootroot-desktop:~/安卓13SDK_1024$ 
rootroot@rootroot-desktop:~/安卓13SDK_1024$ file android12_20240124.tar.gz00
android12_20240124.tar.gz00: gzip compressed data, last modified: Thu Jan 25 02:31:06 2024, from Unix, original size modulo 2^32 712449529 gzip compressed data, reserved method, has CRC, extra field, from FAT filesystem (MS-DOS, OS/2, NT), original size modulo 2^32 712449529
rootroot@rootroot-desktop:~/安卓13SDK_1024$ 
rootroot@rootroot-desktop:~/安卓13SDK_1024$ file android12_20240124.tar.gz01
android12_20240124.tar.gz01: data

rootroot@rootroot-desktop:~/安卓13SDK_1024$ 
rootroot@rootroot-desktop:~/安卓13SDK_1024$ file android12_20240124.tar.gz02
android12_20240124.tar.gz02: data
rootroot@rootroot-desktop:~/安卓13SDK_1024$ 
rootroot@rootroot-desktop:~/安卓13SDK_1024$ file android12_20240124.tar.gz03
android12_20240124.tar.gz03: data
rootroot@rootroot-desktop:~/安卓13SDK_1024$ 
rootroot@rootroot-desktop:~/安卓13SDK_1024$ file android12_20240124.tar.gz04
android12_20240124.tar.gz04: data
rootroot@rootroot-desktop:~/安卓13SDK_1024$ cat android12_20240124.tar.gz0* > 13.tar.gz
rootroot@rootroot-desktop:~/安卓13SDK_1024$ tar zxvf 13.tar.gz


直接通过tar解压缩的SDK编译有点异常,于是通过repo析取了一份SDK!
.repo/repo/repo sync -l


# Linux/arm64 5.10.157 Kernel Configuration
你给的RK3566的Android13和荣品的Android13的内核版本完全一致。包括小版本 都是 5.10.157 
适配起来 应该比较轻松!
Z:\Android13.0\kernel-5.10\.config
Z:\repo_rk356x_android13\kernel-5.10\.config


编译指令整理:
rootroot@rootroot-desktop:~$ cd repo_rk356x_android13/
rootroot@rootroot-desktop:~/repo_rk356x_android13$ ll
rootroot@rootroot-desktop:~/repo_rk356x_android13$ source build/envsetup.sh 
rootroot@rootroot-desktop:~/repo_rk356x_android13$ 
rootroot@rootroot-desktop:~/repo_rk356x_android13$ lunch
     57. rk3566_t-userdebug
Pick from common choices above (e.g. 13) or specify your own (e.g. aosp_barbet-eng): 57
rootroot@rootroot-desktop:~/repo_rk356x_android13$ ./build.sh -UACKu

[BEGIN] 2024/11/5 10:04:14
rootroot@rootroot-desktop:~$ cd repo_rk356x_android13/
rootroot@rootroot-desktop:~/repo_rk356x_android13$ ll
total 259636
drwxrwxr-x  35 rootroot rootroot      4096 11月  4 19:51 ./
drwxr-xr-x  40 rootroot rootroot      4096 11月  5 10:06 ../
lrwxrwxrwx   1 rootroot rootroot        19 11月  4 18:45 Android.bp -> build/soong/root.bp
drwxrwxr-x  38 rootroot rootroot      4096 11月  4 18:43 art/
drwxrwxr-x  15 rootroot rootroot      4096 11月  4 18:44 bionic/
drwxrwxr-x   4 rootroot rootroot      4096 11月  4 18:44 bootable/
lrwxrwxrwx   1 rootroot rootroot        26 11月  4 18:45 bootstrap.bash -> build/soong/bootstrap.bash*
drwxrwxr-x   8 rootroot rootroot      4096 11月  4 18:45 build/
lrwxrwxrwx   1 rootroot rootroot        23 11月  4 18:44 BUILD -> build/bazel/bazel.BUILD
-r-xr-xr-x   1 rootroot rootroot     11047 11月  4 18:35 build.sh*
-r-xr-xr-x   1 rootroot rootroot     14109 11月  4 18:35 .classpath*
drwxrwxr-x  14 rootroot rootroot      4096 11月  4 18:54 cts/
drwxrwxr-x   8 rootroot rootroot      4096 11月  4 18:54 dalvik/
drwxrwxr-x   5 rootroot rootroot      4096 11月  4 18:56 developers/
drwxrwxr-x  21 rootroot rootroot      4096 11月  4 18:57 development/
drwxrwxr-x  11 rootroot rootroot      4096 11月  4 18:58 device/
drwxrwxr-x 381 rootroot rootroot     12288 11月  4 18:59 external/
drwxrwxr-x  16 rootroot rootroot      4096 11月  4 19:08 frameworks/
drwxrwxr-x  19 rootroot rootroot      4096 11月  4 19:01 hardware/
-r--r--r--   1 rootroot rootroot       162 11月  4 18:35 javaenv.sh
drwxrwxr-x   5 rootroot rootroot      4096 11月  4 19:13 kernel/
drwxrwxr-x  27 rootroot rootroot      4096 11月  4 19:12 kernel-5.10/
-rw-rw-r--   1 rootroot rootroot 246362476 11月  4 20:03 kernel-5.10b.tgz
drwxrwxr-x  20 rootroot rootroot      4096 11月  4 19:16 libcore/
drwxrwxr-x  10 rootroot rootroot      4096 11月  4 19:16 libnativehelper/
drwxrwxr-x  11 rootroot rootroot      4096 11月  4 19:18 mkcombinedroot/
-r-xr-xr-x   1 rootroot rootroot     10437 11月  4 18:35 mkimage_ab.sh*
-r-xr-xr-x   1 rootroot rootroot      8581 11月  4 18:35 mkimage.sh*
drwxrwxr-x   9 rootroot rootroot      4096 11月  4 19:03 packages/
drwxrwxr-x   6 rootroot rootroot      4096 11月  4 19:03 pdk/
drwxrwxr-x  11 rootroot rootroot      4096 11月  4 19:03 platform_testing/
drwxrwxr-x  32 rootroot rootroot      4096 11月  4 19:46 prebuilts/
drwxr-xr-x   7 rootroot rootroot      4096 1月  24  2024 .repo/
-r-xr-xr-x   1 rootroot rootroot       519 11月  4 19:18 restore_patches.sh*
drwxrwxr-x  10 rootroot rootroot      4096 11月  4 19:11 rkbin/
drwxrwxr-x   4 rootroot rootroot      4096 11月  4 18:34 RKDocs/
drwxrwxr-x   5 rootroot rootroot      4096 11月  4 19:11 rkst/
drwxrwxr-x   6 rootroot rootroot      4096 11月  4 18:39 RKTools/
drwxrwxr-x  21 rootroot rootroot      4096 11月  4 19:12 sdk/
drwxrwxr-x  46 rootroot rootroot      4096 11月  4 19:19 system/
drwxrwxr-x  10 rootroot rootroot      4096 11月  4 19:21 test/
drwxrwxr-x   4 rootroot rootroot      4096 11月  4 19:23 toolchain/
drwxrwxr-x  23 rootroot rootroot      4096 11月  4 19:25 tools/
drwxrwxr-x  25 rootroot rootroot      4096 11月  4 19:21 u-boot/
-rw-rw-r--   1 rootroot rootroot  19280051 11月  4 19:50 u-boot1.tar.gz
drwxrwxr-x   4 rootroot rootroot      4096 11月  4 19:27 vendor/
lrwxrwxrwx   1 rootroot rootroot        27 11月  4 18:44 WORKSPACE -> build/bazel/bazel.WORKSPACE
rootroot@rootroot-desktop:~/repo_rk356x_android13$ 
rootroot@rootroot-desktop:~/repo_rk356x_android13$ 
rootroot@rootroot-desktop:~/repo_rk356x_android13$ source build/envsetup.sh 
rootroot@rootroot-desktop:~/repo_rk356x_android13$ 
rootroot@rootroot-desktop:~/repo_rk356x_android13$ lunch

You're building on Linux

Lunch menu .. Here are the common combinations:
     1. PX30_t-user
     2. PX30_t-userdebug
     3. aosp_arm-eng
     4. aosp_arm64-eng
     5. aosp_bluejay_car-userdebug
     6. aosp_bramble_car-userdebug
     7. aosp_cf_arm64_auto-userdebug
     8. aosp_cf_arm64_phone-userdebug
     9. aosp_cf_x86_64_foldable-userdebug
     10. aosp_cf_x86_64_only_phone_hsum-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_flame_car-userdebug
     19. aosp_oriole-userdebug
     20. aosp_oriole_car-userdebug
     21. aosp_raven-userdebug
     22. aosp_raven_car-userdebug
     23. aosp_redfin_car-userdebug
     24. aosp_slider-userdebug
     25. aosp_sunfish_car-userdebug
     26. aosp_whitefin-userdebug
     27. aosp_x86-eng
     28. aosp_x86_64-eng
     29. arm_krait-eng
     30. arm_v7_v8-eng
     31. armv8-eng
     32. armv8_cortex_a55-eng
     33. armv8_kryo385-eng
     34. beagle_x15-userdebug
     35. beagle_x15_auto-userdebug
     36. hikey-userdebug
     37. hikey64_only-userdebug
     38. hikey960-userdebug
     39. hikey960_tv-userdebug
     40. hikey_tv-userdebug
     41. qemu_trusty_arm64-userdebug
     42. rk3326_t-user
     43. rk3326_t-userdebug
     44. rk3326_tgo-user
     45. rk3326_tgo-userdebug
     46. rk3399_t-user
     47. rk3399_t-userdebug
     48. rk3528_box-user
     49. rk3528_box-userdebug
     50. rk3562_32bit-user
     51. rk3562_32bit-userdebug
     52. rk3562_t-user
     53. rk3562_t-userdebug
     54. rk3562_tgo-user
     55. rk3562_tgo-userdebug
     56. rk3566_t-user
     57. rk3566_t-userdebug

     58. rk3566_tgo-user
     59. rk3566_tgo-userdebug
     60. rk3568_t-user
     61. rk3568_t-userdebug
     62. rk3588_box-user
     63. rk3588_box-userdebug
     64. rk3588_s-user
     65. rk3588_s-userdebug
     66. rk3588_t-user
     67. rk3588_t-userdebug
     68. rk3588_xr-user
     69. rk3588_xr-userdebug
     70. rk3588m_car-user
     71. rk3588m_car-userdebug
     72. rk3588m_s-user
     73. rk3588m_s-userdebug
     74. rk3588s_s-user
     75. rk3588s_s-userdebug
     76. rk3588s_t-user
     77. rk3588s_t-userdebug
     78. sdk_car_arm-userdebug
     79. sdk_car_arm64-userdebug
     80. sdk_car_portrait_x86_64-userdebug
     81. sdk_car_x86-userdebug
     82. sdk_car_x86_64-userdebug
     83. sdk_pc_x86_64-userdebug
     84. silvermont-eng
     85. uml-userdebug
     86. yukawa-userdebug
     87. yukawa_sei510-userdebug

Which would you like? [aosp_arm-eng]
Pick from common choices above (e.g. 13) or specify your own (e.g. aosp_barbet-eng): 57

Hint: next time you can simply run 'lunch rk3566_t-userdebug'

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=13
TARGET_PRODUCT=rk3566_t
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a55
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-2a
TARGET_2ND_CPU_VARIANT=cortex-a55
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.15.0-122-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=TQ3C.230805.001.B2
OUT_DIR=out
============================================
rootroot@rootroot-desktop:~/repo_rk356x_android13$ 
rootroot@rootroot-desktop:~/repo_rk356x_android13$ 
rootroot@rootroot-desktop:~/repo_rk356x_android13$ ./build.sh -UACKu
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:rk3566-evb2-lp4x-v10
Force use clang and llvm to build kernel-5.10

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=13
TARGET_PRODUCT=rk3566_t
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a55
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-2a
TARGET_2ND_CPU_VARIANT=cortex-a55
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.15.0-122-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=TQ3C.230805.001.B2
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
grep: .config: No such file or directory
## make  rk3568_defconfig rk3566.config -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
#
Using .config as base
Merging ./arch/../configs/rk3566.config
Value of CONFIG_BASE_DEFCONFIG is redefined by fragment ./arch/../configs/rk3566.config:
Previous value: CONFIG_BASE_DEFCONFIG=""
New value: CONFIG_BASE_DEFCONFIG="rk3568_defconfig"

Value of CONFIG_LOADER_INI is redefined by fragment ./arch/../configs/rk3566.config:
Previous value: CONFIG_LOADER_INI=""
New value: CONFIG_LOADER_INI="RK3566MINIALL.ini"

#
# merged configuration written to .config (needs make)
#
scripts/kconfig/conf  --oldconfig Kconfig
#
# 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     spl/include/autoconf.mk
  GEN     tpl/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/data.o
  HOSTCC  scripts/dtc/livetree.o
  HOSTCC  scripts/dtc/treesource.o
  HOSTCC  scripts/dtc/srcpos.o
  HOSTCC  scripts/dtc/checks.o
  SHIPPED scripts/dtc/dtc-lexer.lex.c
  HOSTCC  scripts/dtc/util.o
  SHIPPED scripts/dtc/dtc-parser.tab.c
  SHIPPED scripts/dtc/dtc-parser.tab.h
  HOSTCC  scripts/dtc/dtc-lexer.lex.o
  HOSTCC  scripts/dtc/dtc-parser.tab.o
  CHK     include/config.h
  CFG     u-boot.cfg


frameworks/base/packages/SystemUI/src/com/android/systemui/user/domain/interactor/UserInteractor.kt:757:20: warning: 'constructor BitmapDrawable(Bitmap!)' is deprecated. Deprecated in Java
            return BitmapDrawable(userIcon)
                   ^
frameworks/base/packages/SystemUI/src/com/android/systemui/user/ui/dialog/AddUserDialog.kt:68:35: warning: 'ACTION_CLOSE_SYSTEM_DIALOGS: String' is deprecated. Deprecated in Java
                    Intent(Intent.ACTION_CLOSE_SYSTEM_DIALOGS),
                                  ^
frameworks/base/packages/SystemUI/src/com/android/systemui/util/UserAwareController.kt:26:6: warning: 'JvmDefault' is deprecated. Switch to new -Xjvm-default modes: `all` or `all-compatibility`
    @JvmDefault
     ^
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% 145784/145801] //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))
[100% 145801/145801] Target super fs image for debug: out/target/product/rk3566_t/super.img
2024-11-05 14:40:49 - build_super_image.py - INFO    : Building super image from info dict...
2024-11-05 14:40:49 - common.py - INFO    :   Running: "/home/rootroot/repo_rk356x_android13/out/host/linux-x86/bin/lpmake --metadata-size 65536 --super-name super --metadata-slots 2 --device super:3263168512 --group rockchip_dynamic_partitions:3258974208 --partition system:readonly:1002405888:rockchip_dynamic_partitions --image system=out/target/product/rk3566_t/system.img --partition system_dlkm:readonly:262144:rockchip_dynamic_partitions --image system_dlkm=out/target/product/rk3566_t/system_dlkm.img --partition system_ext:readonly:177573888:rockchip_dynamic_partitions --image system_ext=out/target/product/rk3566_t/system_ext.img --partition vendor:readonly:286883840:rockchip_dynamic_partitions --image vendor=out/target/product/rk3566_t/vendor.img --partition vendor_dlkm:readonly:28155904:rockchip_dynamic_partitions --image vendor_dlkm=out/target/product/rk3566_t/vendor_dlkm.img --partition odm:readonly:753664:rockchip_dynamic_partitions --image odm=out/target/product/rk3566_t/odm.img --partition odm_dlkm:readonly:262144:rockchip_dynamic_partitions --image odm_dlkm=out/target/product/rk3566_t/odm_dlkm.img --partition product:readonly:267476992:rockchip_dynamic_partitions --image product=out/target/product/rk3566_t/product.img --sparse --output out/target/product/rk3566_t/super.img"
2024-11-05 14:40:56 - build_super_image.py - INFO    : Done writing image out/target/product/rk3566_t/super.img

#### build completed successfully (03:55:32 (hh:mm:ss)) ####

Build android ok!
make and copy android images
TARGET_PRODUCT=rk3566_t
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-rk3566_t/resource.img...
done.
skip copy images: /home/rootroot/repo_rk356x_android13/out/target/product/rk3566_t/init_boot.img
create rockdev/Image-rk3566_t/boot.img...
done.
create rockdev/Image-rk3566_t/boot-debug.img...
done.
skip copy images: /home/rootroot/repo_rk356x_android13/out/target/product/rk3566_t/vendor_boot.img
skip copy images: /home/rootroot/repo_rk356x_android13/out/target/product/rk3566_t/vendor_boot-debug.img
create rockdev/Image-rk3566_t/recovery.img...
done.
create rockdev/Image-rk3566_t/super.img...
done.
skip copy images: /home/rootroot/repo_rk356x_android13/out/target/product/rk3566_t/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 -RK3568
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=0x6f9c0,userspace=0xe0
Add file: ./Image/parameter.txt
parameter,Add file: ./Image/parameter.txt done,offset=0x71000,size=0x29d,userspace=0x1,flash_address=0x00000000
Add file: ./Image/uboot.img
uboot,Add file: ./Image/uboot.img done,offset=0x71800,size=0x400000,userspace=0x800,flash_address=0x00004000
Add file: ./Image/misc.img
misc,Add file: ./Image/misc.img done,offset=0x471800,size=0xc000,userspace=0x18,flash_address=0x00008000
Add file: ./Image/dtbo.img
dtbo,Add file: ./Image/dtbo.img done,offset=0x47d800,size=0x1bb,userspace=0x1,flash_address=0x0000a000
Add file: ./Image/vbmeta.img
vbmeta,Add file: ./Image/vbmeta.img done,offset=0x47e000,size=0x1000,userspace=0x2,flash_address=0x0000c000
Add file: ./Image/boot.img
boot,Add file: ./Image/boot.img done,offset=0x47f000,size=0x2206000,userspace=0x440c,flash_address=0x0000c800
Add file: ./Image/recovery.img
recovery,Add file: ./Image/recovery.img done,offset=0x2685000,size=0x2d4d800,userspace=0x5a9b,flash_address=0x00020800
Add file: ./Image/baseparameter.img
baseparameter,Add file: ./Image/baseparameter.img done,offset=0x53d2800,size=0x100000,userspace=0x200,flash_address=0x001d8c00
Add file: ./Image/super.img
super,Add file: ./Image/super.img done,offset=0x54d2800,size=0x686854d8,userspace=0xd0d0b,flash_address=0x001d9400
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/repo_rk356x_android13
rootroot@rootroot-desktop:~/repo_rk356x_android13$ 
rootroot@rootroot-desktop:~/repo_rk356x_android13$ 
rootroot@rootroot-desktop:~/repo_rk356x_android13$ 

[END] 2024/11/5 15:18:39


刷机之后可以直接启动的,HDMI显示的效果图:
可用的功能:
1、DEBUG 1.5Mbps N 8 1
2、HDMI显示器正常。
3、USB2.0 1 ADB正常,USB2.0 2接鼠标正常。
4、USB3.0 接鼠标正常。
5、TF卡可以播放mp4视频。


异常的功能:
1、以太网卡RJ45
2、WIFI/BT
3、声卡:播音/录音【未经过测试】。

Z:\Android13.0\kernel-5.10\arch\arm64\boot\dts\rockchip\rk3566-evb2-lp4x-v10.dts
Z:\repo_rk356x_android13\kernel-5.10\arch\arm64\boot\dts\rockchip\rk3566-evb2-lp4x-v10.dts


http://www.kler.cn/a/380938.html

相关文章:

  • FBX福币交易所A股三大指数小幅低开 稀土永磁板块回调
  • java.io.FileNotFoundException: Could not locate Hadoop executable: (详细解决方案)
  • 【C++、数据结构】哈希表——散列表(一)(概念/总结)
  • mutable用法
  • mysql 查看数据库、表的基本命令
  • 新能源汽车与公共充电桩布局
  • 软设师知识点-计算机网络
  • CODESYS 输出日志 Log
  • Java如何实现企业微信审批流程
  • 《2024中国城市音乐产业发展指数报告》重磅发布
  • Docker入门系列——镜像原理
  • 【数据分析】如何构建指标体系?
  • Cygwin下载及使用
  • MFC POST和Get
  • VSCode 上那些值得推荐的 CSS 插件
  • AIGC时代LaTeX排版的应用、技巧与未来展望
  • 高校大数据实训平台介绍
  • 学习虚幻C++开发日志——定时器
  • ai翻唱部分步骤
  • 3.5 windows xp ReactOS EiAllocatePool()
  • HarmonyOS 移动应用开发
  • C++学习笔记----10、模块、头文件及各种主题(一)---- 模块(4)
  • MFCC特征与Fbank特征在语音识别中的应用
  • Unity3D PCG地图的使用与优化详解
  • npm入门教程2:npm历史
  • AI 写作(一):开启创作新纪元(1/10)