20231202将RK3399的挖掘机开发板在Andorid12系统下编译ENG模式
2023/12/2 10:21
百度搜索:RK3399 编译 ENG版本
RK3399 lunch ENG
Z:\rk_android12_220722\device\rockchip\rk3399\AndroidProducts.mk
#
# Copyright 2014 The Android Open-Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/rk3399_mid/rk3399_mid.mk \
$(LOCAL_DIR)/rk3399_atv/rk3399_atv.mk \
$(LOCAL_DIR)/rk3399_Android10/rk3399_Android10.mk \
$(LOCAL_DIR)/rk3399_Android11/rk3399_Android11.mk \
$(LOCAL_DIR)/rk3399_Android12/rk3399_Android12.mk \
COMMON_LUNCH_CHOICES := \
rk3399_mid-userdebug \
rk3399_mid-user \
rk3399_Android10-userdebug \
rk3399_Android10-user \
rk3399_Android11-userdebug \
rk3399_Android11-user \
rk3399_Android12-eng \
rk3399_Android12-userdebug \
rk3399_Android12-user \
编译步骤:
rootroot@rootroot-X99-Turbo:~/rk_android12_220722$ source build/envsetup.sh
rootroot@rootroot-X99-Turbo:~/rk_android12_220722$
rootroot@rootroot-X99-Turbo:~/rk_android12_220722$ lunch
You're building on Linux
Lunch menu... pick a combo:
1. PX30_Android12-user
2. PX30_Android12-userdebug
3. aosp_arm-eng
4. aosp_arm64-eng
5. aosp_blueline-userdebug
6. aosp_blueline_car-userdebug
7. aosp_bonito-userdebug
8. aosp_bonito_car-userdebug
9. aosp_bramble_car-userdebug
10. aosp_cf_arm64_auto-userdebug
11. aosp_cf_arm64_phone-userdebug
12. aosp_cf_x86_64_foldable-userdebug
13. aosp_cf_x86_64_pc-userdebug
14. aosp_cf_x86_64_phone-userdebug
15. aosp_cf_x86_64_tv-userdebug
16. aosp_cf_x86_auto-userdebug
17. aosp_cf_x86_phone-userdebug
18. aosp_cf_x86_tv-userdebug
19. aosp_coral_car-userdebug
20. aosp_crosshatch-userdebug
21. aosp_crosshatch_car-userdebug
22. aosp_crosshatch_vf-userdebug
23. aosp_flame_car-userdebug
24. aosp_oriole_car-userdebug
25. aosp_raven_car-userdebug
26. aosp_redfin_car-userdebug
27. aosp_sargo-userdebug
28. aosp_sargo_car-userdebug
29. aosp_sunfish_car-userdebug
30. aosp_x86-eng
31. aosp_x86_64-eng
32. arm_krait-eng
33. arm_v7_v8-eng
34. armv8-eng
35. armv8_cortex_a55-eng
36. armv8_kryo385-eng
37. beagle_x15-userdebug
38. beagle_x15_auto-userdebug
39. fuchsia_arm64-eng
40. fuchsia_x86_64-eng
41. hikey-userdebug
42. hikey64_only-userdebug
43. hikey960-userdebug
44. hikey960_tv-userdebug
45. hikey_tv-userdebug
46. qemu_trusty_arm64-userdebug
47. rk3326_pie-user
48. rk3326_pie-userdebug
49. rk3326_q-user
50. rk3326_q-userdebug
51. rk3326_r-user
52. rk3326_r-userdebug
53. rk3326_s-user
54. rk3326_s-userdebug
55. rk3326_sgo-user
56. rk3326_sgo-userdebug
57. rk3399_Android10-user
58. rk3399_Android10-userdebug
59. rk3399_Android11-user
60. rk3399_Android11-userdebug
61. rk3399_Android12-eng
62. rk3399_Android12-user
63. rk3399_Android12-userdebug
64. rk3399_mid-user
65. rk3399_mid-userdebug
66. rk3566_32bit-user
67. rk3566_32bit-userdebug
68. rk3566_eink-user
69. rk3566_eink-userdebug
70. rk3566_einkw6-user
71. rk3566_einkw6-userdebug
72. rk3566_r-user
73. rk3566_r-userdebug
74. rk3566_s-user
75. rk3566_s-userdebug
76. rk3566_sgo-user
77. rk3566_sgo-userdebug
78. rk3568_s-user
79. rk3568_s-userdebug
80. sdk_car_arm-userdebug
81. sdk_car_arm64-userdebug
82. sdk_car_portrait_x86_64-userdebug
83. sdk_car_x86-userdebug
84. sdk_car_x86_64-userdebug
85. silvermont-eng
86. uml-userdebug
87. yukawa-userdebug
88. yukawa_sei510-userdebug
Which would you like? [aosp_arm-eng] 61
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=12
TARGET_PRODUCT=rk3399_Android12
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a15
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.4.0-150-generic-x86_64-Ubuntu-18.04.6-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=SP2A.220305.012
OUT_DIR=out
============================================
rootroot@rootroot-X99-Turbo:~/rk_android12_220722$ ./build.sh -UACKu
参考资料:
https://blog.51cto.com/u_16175454/7323112
RK3399编译 Android10.0 固件
// 选择目标设备
lunch rk3399-eng