20240930编译orangepi5的Android12使用HDMI0输出

20240930编译orangepi5的Android12使用HDMI0输出
2024/9/30 9:44


缘起,3月份的时候,看PDD拼多多的优惠券给力!
就入手了香橙派Orange Pi 5。
自从制作TF卡的启动卡的时候,坏了一张SanDisk的32GB的TF卡。
从此就对TF卡启动无比抵触了。还好香橙派Orange Pi 5还可以支持M2接口的SSD固态硬盘启动。
于是,开始了!


先编译驯龙香橙派Orange Pi 5提供的Android12,然后再开始刷机。
以备今后的驱动调试了!

完整的LOG:
rootroot@rootroot-desktop:~$ ll
total 56416168
drwxr-xr-x 38 rootroot rootroot        4096 9月  30 09:22  ./
drwxr-xr-x  4 root     root            4096 4月  18 10:56  ../
drwxr-xr-x 40 rootroot rootroot        4096 9月  21 12:53  3588a12/
drwxrwxr-x 40 rootroot rootroot        4096 9月  20 16:58  62这是T6了rk35xx-android12/
drwxr-xr-x 40 rootroot rootroot        4096 9月  24 20:26  66临时了EVB4的rk3588s_3588a12/
drwxr-xr-x 39 rootroot rootroot        4096 9月  21 18:25  android12-rk3588-new/
-rwxrwxrwx  1 rootroot rootroot 35268443494 9月   5 13:00  android12-rk3588-new_20221229_1732toybrick.tgz*
-rwx------  1 rootroot rootroot      257241 8月  29 13:38 'AN-HL070T55-01 v1.pdf'*
-rw-------  1 rootroot rootroot       28593 9月  27 21:10  .bash_history
-rw-r--r--  1 rootroot rootroot         220 4月  18 10:56  .bash_logout
-rw-r--r--  1 rootroot rootroot        3771 4月  18 10:56  .bashrc
drwxr-xr-x 19 rootroot rootroot        4096 9月  25 18:35  .buildroot-ccache/
drwx------ 20 rootroot rootroot        4096 9月   3 19:37  .cache/
drwxr-xr-x 16 rootroot rootroot        4096 9月   3 19:37  .config/
drwxr-xr-x  2 rootroot rootroot        4096 4月  18 11:06  Desktop/
drwxr-xr-x  2 rootroot rootroot        4096 4月  18 11:06  Documents/
drwxr-xr-x  2 rootroot rootroot        4096 4月  18 11:06  Downloads/
drwxrwxr-x 40 rootroot rootroot        4096 9月  27 13:56  evb4+rp3588s_android12/
drwxrwxr-x  3 rootroot rootroot        4096 8月  29 10:01  feilin/
drwxr-xr-x  8 rootroot rootroot        4096 8月  29 19:51  .git/
drwx------  3 rootroot rootroot        4096 9月   3 19:36  .gnupg/
drwxrwxrwx  2 rootroot rootroot        4096 4月  19 12:39  h3_orangepi_pc+分卷压缩/
drwxr-xr-x  3 rootroot rootroot        4096 4月  18 11:06  .local/
drwx------  4 rootroot rootroot        4096 4月  19 12:14  .mozilla/
drwxr-xr-x  2 rootroot rootroot        4096 4月  18 11:06  Music/
drwxr-xr-x 40 rootroot rootroot        4096 9月  12 14:30  OK3588-android-source/
drwxrwxrwx  8 rootroot rootroot        4096 8月  29 12:28  OK3588-C_Android12_用户资料_R4(更新日期_20240321)/
drwxrwxr-x  4 rootroot rootroot        4096 9月  27 12:27  opt/
drwxrwxr-x 39 rootroot rootroot        4096 9月  13 13:54  orangepi5plus_Android12/
drwxr-xr-x  2 rootroot rootroot        4096 9月   7 21:15  Pictures/
drwx------  3 rootroot rootroot        4096 9月   3 19:37  .pki/
-rw-r--r--  1 rootroot rootroot         807 4月  18 10:56  .profile
drwxr-xr-x  2 rootroot rootroot        4096 4月  18 11:06  Public/
drwx------  3 rootroot rootroot        4096 7月  15 13:45  r6c/
-rw-rw-r--  1 rootroot rootroot           2 9月  25 20:00  .repo_.gitconfig.json
drwxrwxrwx  3 rootroot rootroot        4096 8月  30 09:33  RK3588_Android_Source_Code/
-rwx------  1 rootroot rootroot         330 7月  15 19:43  RK3588.txt*
-rwx------  1 rootroot rootroot        2473 7月  13 21:20  RK3588内核编译方式.txt*
-rwxrwxrwx  1 rootroot rootroot          72 8月  24 14:58  rk35xx-android12-e9ff7ac-20240507.tgz.hash.md5*
drwxrwxr-x  2 rootroot rootroot        4096 7月  13 21:34  rockchip/
drwxr-xr-x  2 rootroot rootroot        4096 7月  16 17:02  rockchip68/
-rwx------  1 rootroot rootroot      194485 7月  16 17:15  rockchip68usb012.tar.gz*
-rwxrwxrwx  1 rootroot rootroot 18906585152 9月  24 09:45  Rockchip_RK3588_Linux5.10_SDK_repo240508原厂.tar.gz*
drwxrwxrwx 41 rootroot rootroot        4096 9月  27 15:01  rp3588s_Android12/
drwxr-xr-x 18 rootroot rootroot        4096 9月  25 20:35  server3588_20230620/
drwxrwxrwx  3 rootroot rootroot        4096 9月  27 20:37 'SPIFlash-NVME SSD镜像'/
drwx------  2 rootroot rootroot        4096 4月  18 11:07  .ssh/
-rw-r--r--  1 rootroot rootroot           0 4月  18 11:08  .sudo_as_admin_successful
-rw-rw-r--  1 rootroot rootroot        2394 4月  30 09:46  tar.txt
drwxr-xr-x  2 rootroot rootroot        4096 4月  18 11:06  Templates/
drwx------  6 rootroot rootroot        4096 4月  25 12:01  .thunderbird/
-rw-rw-r--  1 rootroot rootroot  1809191498 7月  15 13:41  update11分步骤编译友善之臂的T6.img
-rw-rw-r--  1 rootroot rootroot  1785199178 5月  22 18:07  update整体编译了toybrick.img
drwxr-xr-x  2 rootroot rootroot        4096 4月  18 11:06  Videos/
-rw-------  1 rootroot rootroot         310 9月  30 09:22  .Xauthority
-rwx------  1 rootroot rootroot        1155 9月  27 11:30 '新建 文本文档.txt'*
rootroot@rootroot-desktop:~$ 
rootroot@rootroot-desktop:~$ 
rootroot@rootroot-desktop:~$ 
rootroot@rootroot-desktop:~$ 
rootroot@rootroot-desktop:~$ 
rootroot@rootroot-desktop:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev             32G     0   32G   0% /dev
tmpfs           6.3G  3.9M  6.3G   1% /run
/dev/nvme0n1p8   69G   10G   56G  16% /
tmpfs            32G     0   32G   0% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs            32G     0   32G   0% /sys/fs/cgroup
/dev/loop0      128K  128K     0 100% /snap/bare/5
/dev/loop2       13M   13M     0 100% /snap/snap-store/1113
/dev/loop3       39M   39M     0 100% /snap/snapd/21465
/dev/loop1       75M   75M     0 100% /snap/core22/1612
/dev/loop4       13M   13M     0 100% /snap/snap-store/1216
/dev/loop5      347M  347M     0 100% /snap/gnome-3-38-2004/119
/dev/loop6       39M   39M     0 100% /snap/snapd/21759
/dev/loop7      506M  506M     0 100% /snap/gnome-42-2204/176
/dev/loop10      92M   92M     0 100% /snap/gtk-common-themes/1535
/dev/loop9       64M   64M     0 100% /snap/core20/2318
/dev/loop8      350M  350M     0 100% /snap/gnome-3-38-2004/143
/dev/loop11      64M   64M     0 100% /snap/core20/2379
/dev/loop12      75M   75M     0 100% /snap/core22/1621
/dev/nvme0n1p6  446M  210M  203M  51% /boot
/dev/nvme0n1p1   96M   32M   65M  33% /boot/efi
/dev/sdb1       2.7T  2.3T  262G  90% /home
tmpfs           6.3G   24K  6.3G   1% /run/user/1000
/dev/sdc2        11T   11T  2.8G 100% /media/rootroot/SEAG12T
/dev/sda2        11T  9.5T  1.5T  87% /media/rootroot/新加卷
rootroot@rootroot-desktop:~$ 
rootroot@rootroot-desktop:~$ 
rootroot@rootroot-desktop:~$ cd Android12源码/
rootroot@rootroot-desktop:~/Android12源码$ ll
total 36240232
drwxrwxrwx  2 rootroot rootroot       4096 8月  30 10:12 ./
drwxr-xr-x 39 rootroot rootroot       4096 9月  30 09:25 ../
-rwxrwxrwx  1 rootroot rootroot 4294967296 8月  30 10:11 Android_12.tar.gz00*
-rwxrwxrwx  1 rootroot rootroot 4294967296 8月  30 10:12 Android_12.tar.gz01*
-rwxrwxrwx  1 rootroot rootroot 4294967296 8月  30 10:11 Android_12.tar.gz02*
-rwxrwxrwx  1 rootroot rootroot 4294967296 8月  30 10:11 Android_12.tar.gz03*
-rwxrwxrwx  1 rootroot rootroot 4294967296 8月  30 10:04 Android_12.tar.gz04*
-rwxrwxrwx  1 rootroot rootroot 4294967296 8月  30 10:01 Android_12.tar.gz05*
-rwxrwxrwx  1 rootroot rootroot 4294967296 8月  30 10:05 Android_12.tar.gz06*
-rwxrwxrwx  1 rootroot rootroot 4294967296 8月  30 10:05 Android_12.tar.gz07*
-rwxrwxrwx  1 rootroot rootroot 2750209333 8月  30 10:03 Android_12.tar.gz08*
-rwxrwxrwx  1 rootroot rootroot        486 8月  30 10:05 Android_12.tar.gz.md5sum*
rootroot@rootroot-desktop:~/Android12源码$ 
rootroot@rootroot-desktop:~/Android12源码$ md5sum =c Android_12.tar.gz.md5sum 
md5sum: '=c': No such file or directory
471aaf169c663f0e4ff77d7d4b6af3fe  Android_12.tar.gz.md5sum
rootroot@rootroot-desktop:~/Android12源码$ 
rootroot@rootroot-desktop:~/Android12源码$ 
rootroot@rootroot-desktop:~/Android12源码$ cd ~
rootroot@rootroot-desktop:~$ 
rootroot@rootroot-desktop:~$ 
rootroot@rootroot-desktop:~$ 
rootroot@rootroot-desktop:~$ 
rootroot@rootroot-desktop:~$ 
rootroot@rootroot-desktop:~$ cd Android12源码/
rootroot@rootroot-desktop:~/Android12源码$ ll
total 36240232
drwxrwxrwx  2 rootroot rootroot       4096 8月  30 10:12 ./
drwxr-xr-x 39 rootroot rootroot       4096 9月  30 09:25 ../
-rwxrwxrwx  1 rootroot rootroot 4294967296 8月  30 10:11 Android_12.tar.gz00*
-rwxrwxrwx  1 rootroot rootroot 4294967296 8月  30 10:12 Android_12.tar.gz01*
-rwxrwxrwx  1 rootroot rootroot 4294967296 8月  30 10:11 Android_12.tar.gz02*
-rwxrwxrwx  1 rootroot rootroot 4294967296 8月  30 10:11 Android_12.tar.gz03*
-rwxrwxrwx  1 rootroot rootroot 4294967296 8月  30 10:04 Android_12.tar.gz04*
-rwxrwxrwx  1 rootroot rootroot 4294967296 8月  30 10:01 Android_12.tar.gz05*
-rwxrwxrwx  1 rootroot rootroot 4294967296 8月  30 10:05 Android_12.tar.gz06*
-rwxrwxrwx  1 rootroot rootroot 4294967296 8月  30 10:05 Android_12.tar.gz07*
-rwxrwxrwx  1 rootroot rootroot 2750209333 8月  30 10:03 Android_12.tar.gz08*
-rwxrwxrwx  1 rootroot rootroot        486 8月  30 10:05 Android_12.tar.gz.md5sum*
rootroot@rootroot-desktop:~/Android12源码$ 
rootroot@rootroot-desktop:~/Android12源码$ 
rootroot@rootroot-desktop:~/Android12源码$ md5sum -c Android_12.tar.gz.md5sum 
Android_12.tar.gz00: OK
Android_12.tar.gz01: OK
Android_12.tar.gz02: OK
Android_12.tar.gz03: OK
Android_12.tar.gz04: OK
Android_12.tar.gz05: OK
Android_12.tar.gz06: OK
Android_12.tar.gz07: OK
Android_12.tar.gz08: OK
rootroot@rootroot-desktop:~/Android12源码$ 
rootroot@rootroot-desktop:~/Android12源码$ time(md5sum -c Android_12.tar.gz.md5sum)
Android_12.tar.gz00: OK
Android_12.tar.gz01: OK
Android_12.tar.gz02: OK
Android_12.tar.gz03: OK
Android_12.tar.gz04: OK
Android_12.tar.gz05: OK
Android_12.tar.gz06: OK
Android_12.tar.gz07: OK
Android_12.tar.gz08: OK

real    1m52.716s
user    0m58.250s
sys    0m8.889s
rootroot@rootroot-desktop:~/Android12源码$ 
rootroot@rootroot-desktop:~/Android12源码$ cat Android_12.tar.gz0* > Android_12.tar.gz^C
rootroot@rootroot-desktop:~/Android12源码$ time(cat Android_12.tar.gz0* > Android_12.tar.gz)

real    5m35.611s
user    0m0.557s
sys    0m44.534s
rootroot@rootroot-desktop:~/Android12源码$ 

rootroot@rootroot-desktop:~/Android12源码$ ll
total 72480428
drwxrwxrwx  2 rootroot rootroot        4096 9月  30 09:45 ./
drwxr-xr-x 39 rootroot rootroot        4096 9月  30 09:25 ../
-rw-rw-r--  1 rootroot rootroot 37109947701 9月  30 09:51 Android_12.tar.gz
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:11 Android_12.tar.gz00*
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:12 Android_12.tar.gz01*
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:11 Android_12.tar.gz02*
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:11 Android_12.tar.gz03*
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:04 Android_12.tar.gz04*
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:01 Android_12.tar.gz05*
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:05 Android_12.tar.gz06*
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:05 Android_12.tar.gz07*
-rwxrwxrwx  1 rootroot rootroot  2750209333 8月  30 10:03 Android_12.tar.gz08*
-rwxrwxrwx  1 rootroot rootroot         486 8月  30 10:05 Android_12.tar.gz.md5sum*
rootroot@rootroot-desktop:~/Android12源码$ 
rootroot@rootroot-desktop:~/Android12源码$ cat Android_12.tar.gz.md5sum 
b87a2fc2418d4eeadd45c90a0f9a441b  Android_12.tar.gz00
c595ef5eab36927dca1750927d18d00a  Android_12.tar.gz01
cedf22860d4818814bbf86303b75be3f  Android_12.tar.gz02
a08742c1a4190c9d0c9112e8fd3b4b47  Android_12.tar.gz03
027fc1ffcb96496bf48429861107c948  Android_12.tar.gz04
49198d635a04e787c0a1760b3125ea21  Android_12.tar.gz05
f8e0881ab0f139396801f7198d5b6de0  Android_12.tar.gz06
153668933490bfa01707990042fcc8ea  Android_12.tar.gz07
57f12126f2909d7258678c5fb3b90fa2  Android_12.tar.gz08

rootroot@rootroot-desktop:~/Android12源码$ ll
total 72480428
drwxrwxrwx  2 rootroot rootroot        4096 9月  30 09:45 ./
drwxr-xr-x 39 rootroot rootroot        4096 9月  30 09:25 ../
-rw-rw-r--  1 rootroot rootroot 37109947701 9月  30 09:51 Android_12.tar.gz
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:11 Android_12.tar.gz00*
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:12 Android_12.tar.gz01*
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:11 Android_12.tar.gz02*
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:11 Android_12.tar.gz03*
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:04 Android_12.tar.gz04*
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:01 Android_12.tar.gz05*
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:05 Android_12.tar.gz06*
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:05 Android_12.tar.gz07*
-rwxrwxrwx  1 rootroot rootroot  2750209333 8月  30 10:03 Android_12.tar.gz08*
-rwxrwxrwx  1 rootroot rootroot         486 8月  30 10:05 Android_12.tar.gz.md5sum*
rootroot@rootroot-desktop:~/Android12源码$ 
rootroot@rootroot-desktop:~/Android12源码$ 
rootroot@rootroot-desktop:~/Android12源码$ tar zxvf Android_12.tar.gz ^C
rootroot@rootroot-desktop:~/Android12源码$ 
rootroot@rootroot-desktop:~/Android12源码$ time(tar zxvf Android_12.tar.gz)
Android_12/

Android_12/build/
Android_12/build/CleanSpec.mk
Android_12/build/bazel/
Android_12/build/bazel/bazel_skylib/
Android_12/build/bazel/bazel_skylib/BUILD
Android_12/build/bazel/bazel_skylib/WORKSPACE
Android_12/build/bazel/bazel_skylib/README.md
Android_12/build/bazel/bazel_skylib/bzl_library.bzl
Android_12/build/bazel/bazel_skylib/rules/
Android_12/build/bazel/bazel_skylib/rules/common_settings.bzl
Android_12/build/bazel/bazel_skylib/rules/BUILD
Android_12/build/bazel/bazel.WORKSPACE
Android_12/build/bazel/README.md
Android_12/build/bazel/json_module_graph/
Android_12/build/bazel/json_module_graph/transitiveDeps.jq
Android_12/build/bazel/json_module_graph/README.md
Android_12/build/bazel/json_module_graph/variantTransitions.jq
Android_12/build/bazel/json_module_graph/directDeps.jq
Android_12/build/bazel/json_module_graph/printModule.jq
Android_12/build/bazel/json_module_graph/query.sh
Android_12/build/bazel/json_module_graph/library.jq
Android_12/build/bazel/json_module_graph/usedVariations.jq
Android_12/build/bazel/json_module_graph/filterSubtree.jq
Android_12/build/bazel/json_module_graph/distanceFromLeaves.jq
Android_12/build/bazel/json_module_graph/fullTransitiveDeps.jq


Android_12/bionic/libc/bionic/icu_static.cpp
Android_12/bionic/libc/bionic/pthread_equal.cpp
Android_12/bionic/libc/bionic/grp_pwd_file.cpp
Android_12/bionic/libc/bionic/exit.cpp
Android_12/bionic/libc/bionic/fchmodat.cpp
Android_12/bionic/libc/bionic/malloc_limit.h
Android_12/bionic/libc/bionic/libc_init_static.cpp
Android_12/bionic/libc/bionic/malloc_common_dynamic.cpp
Android_12/bionic/libc/bionic/__errno.cpp
Android_12/bionic/libc/bionic/setpgrp.cpp
Android_12/bionic/libc/bionic/__gnu_basename.cpp
Android_12/bionic/libc/bionic/sys_epoll.cpp
Android_12/bionic/libc/bionic/fts.c
Android_12/bionic/libc/bionic/pthread_rwlock.cpp
Android_12/bionic/libc/bionic/termios.cpp
Android_12/bionic/libc/bionic/sched_getcpu.cpp
Android_12/bionic/libc/bionic/symlink.cpp
Android_12/bionic/libc/bionic/grp_pwd.cpp
Android_12/bionic/libc/bionic/clock.cpp
Android_12/bionic/libc/bionic/NetdClientDispatch.cpp
Android_12/bionic/libc/bionic/strchrnul.cpp
Android_12/bionic/libc/bionic/get_device_api_level.cpp
Android_12/bionic/libc/bionic/send.cpp
Android_12/bionic/libc/bionic/atof.cpp
Android_12/bionic/libc/bionic/strerror.cpp
Android_12/bionic/libc/bionic/c32rtomb.cpp
Android_12/bionic/libc/bionic/string_l.cpp
Android_12/bionic/libc/bionic/heap_tagging.cpp
Android_12/bionic/libc/bionic/ndk_cruft.cpp
Android_12/bionic/libc/bionic/malloc_common.h
Android_12/bionic/libc/bionic/wcstod.cpp
Android_12/bionic/libc/bionic/mremap.cpp
Android_12/bionic/libc/bionic/sigaction.cpp
Android_12/bionic/libc/bionic/iconv.cpp
Android_12/bionic/libc/bionic/system.cpp
Android_12/bionic/libc/bionic/sys_thread_properties.cpp
Android_12/bionic/PREUPLOAD.cfg
Android_12/bionic/OWNERS
Android_12/build.sh

real    25m20.208s
user    8m38.055s
sys    3m40.956s
rootroot@rootroot-desktop:~/Android12源码$ 
rootroot@rootroot-desktop:~/Android12源码$ 

Android_12/bionic/libc/bionic/malloc_common.h
Android_12/bionic/libc/bionic/wcstod.cpp
Android_12/bionic/libc/bionic/mremap.cpp
Android_12/bionic/libc/bionic/sigaction.cpp
Android_12/bionic/libc/bionic/iconv.cpp
Android_12/bionic/libc/bionic/system.cpp
Android_12/bionic/libc/bionic/sys_thread_properties.cpp
Android_12/bionic/PREUPLOAD.cfg
Android_12/bionic/OWNERS
Android_12/build.sh

real    25m20.208s
user    8m38.055s
sys    3m40.956s
rootroot@rootroot-desktop:~/Android12源码$ 

rootroot@rootroot-desktop:~/Android12源码$ ll
total 72480432
drwxrwxrwx  3 rootroot rootroot        4096 9月  30 09:53 ./
drwxr-xr-x 39 rootroot rootroot        4096 9月  30 09:25 ../
drwxrwxr-x 37 rootroot rootroot        4096 5月  23  2023 Android_12/
-rw-rw-r--  1 rootroot rootroot 37109947701 9月  30 09:51 Android_12.tar.gz
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:11 Android_12.tar.gz00*
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:12 Android_12.tar.gz01*
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:11 Android_12.tar.gz02*
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:11 Android_12.tar.gz03*
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:04 Android_12.tar.gz04*
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:01 Android_12.tar.gz05*
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:05 Android_12.tar.gz06*
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:05 Android_12.tar.gz07*
-rwxrwxrwx  1 rootroot rootroot  2750209333 8月  30 10:03 Android_12.tar.gz08*
-rwxrwxrwx  1 rootroot rootroot         486 8月  30 10:05 Android_12.tar.gz.md5sum*
rootroot@rootroot-desktop:~/Android12源码$ 
rootroot@rootroot-desktop:~/Android12源码$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev             32G     0   32G   0% /dev
tmpfs           6.3G  3.9M  6.3G   1% /run
/dev/nvme0n1p8   69G   10G   56G  16% /
tmpfs            32G     0   32G   0% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs            32G     0   32G   0% /sys/fs/cgroup
/dev/loop0      128K  128K     0 100% /snap/bare/5
/dev/loop2       13M   13M     0 100% /snap/snap-store/1113
/dev/loop3       39M   39M     0 100% /snap/snapd/21465
/dev/loop1       75M   75M     0 100% /snap/core22/1612
/dev/loop4       13M   13M     0 100% /snap/snap-store/1216
/dev/loop5      347M  347M     0 100% /snap/gnome-3-38-2004/119
/dev/loop6       39M   39M     0 100% /snap/snapd/21759
/dev/loop7      506M  506M     0 100% /snap/gnome-42-2204/176
/dev/loop10      92M   92M     0 100% /snap/gtk-common-themes/1535
/dev/loop9       64M   64M     0 100% /snap/core20/2318
/dev/loop8      350M  350M     0 100% /snap/gnome-3-38-2004/143
/dev/loop11      64M   64M     0 100% /snap/core20/2379
/dev/loop12      75M   75M     0 100% /snap/core22/1621
/dev/nvme0n1p6  446M  210M  203M  51% /boot
/dev/nvme0n1p1   96M   32M   65M  33% /boot/efi
/dev/sdb1       2.7T  2.5T  108G  96% /home
tmpfs           6.3G   28K  6.3G   1% /run/user/1000
/dev/sdc2        11T   11T  2.8G 100% /media/rootroot/SEAG12T
/dev/sda2        11T  9.5T  1.5T  87% /media/rootroot/新加卷
rootroot@rootroot-desktop:~/Android12源码$ 
rootroot@rootroot-desktop:~/Android12源码$ 
rootroot@rootroot-desktop:~/Android12源码$ cd ..
rootroot@rootroot-desktop:~$ 
rootroot@rootroot-desktop:~$ 
rootroot@rootroot-desktop:~$ cd Android12源码/
rootroot@rootroot-desktop:~/Android12源码$ 
rootroot@rootroot-desktop:~/Android12源码$ ll
total 72480432
drwxrwxrwx  3 rootroot rootroot        4096 9月  30 09:53 ./
drwxr-xr-x 39 rootroot rootroot        4096 9月  30 09:25 ../
drwxrwxr-x 37 rootroot rootroot        4096 5月  23  2023 Android_12/
-rw-rw-r--  1 rootroot rootroot 37109947701 9月  30 09:51 Android_12.tar.gz
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:11 Android_12.tar.gz00*
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:12 Android_12.tar.gz01*
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:11 Android_12.tar.gz02*
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:11 Android_12.tar.gz03*
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:04 Android_12.tar.gz04*
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:01 Android_12.tar.gz05*
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:05 Android_12.tar.gz06*
-rwxrwxrwx  1 rootroot rootroot  4294967296 8月  30 10:05 Android_12.tar.gz07*
-rwxrwxrwx  1 rootroot rootroot  2750209333 8月  30 10:03 Android_12.tar.gz08*
-rwxrwxrwx  1 rootroot rootroot         486 8月  30 10:05 Android_12.tar.gz.md5sum*
rootroot@rootroot-desktop:~/Android12源码$ 
rootroot@rootroot-desktop:~/Android12源码$ 
rootroot@rootroot-desktop:~/Android12源码$ mv Android_12 ..
rootroot@rootroot-desktop:~/Android12源码$ 
rootroot@rootroot-desktop:~/Android12源码$ cd ~/Android_12/
rootroot@rootroot-desktop:~/Android_12$ 
rootroot@rootroot-desktop:~/Android_12$ ll
total 232
drwxrwxr-x  37 rootroot rootroot  4096 5月  23  2023 ./
drwxr-xr-x  40 rootroot rootroot  4096 9月  30 10:21 ../
lrwxrwxrwx   1 rootroot rootroot    19 7月  13  2022 Android.bp -> build/soong/root.bp
drwxrwxr-x  36 rootroot rootroot  4096 7月  13  2022 art/
-rwxrwxr-x   1 rootroot rootroot    97 1月  11  2023 a.sh*
drwxrwxr-x  14 rootroot rootroot  4096 7月  13  2022 bionic/
drwxrwxr-x   4 rootroot rootroot  4096 7月  13  2022 bootable/
drwxrwxr-x   2 rootroot rootroot  4096 4月  10  2023 .bootstrap/
lrwxrwxrwx   1 rootroot rootroot    26 7月  13  2022 bootstrap.bash -> build/soong/bootstrap.bash*
-rwxrwxr-x   1 rootroot rootroot    80 5月  23  2023 b.sh*
drwxrwxr-x   7 rootroot rootroot  4096 2月   6  2023 build/
lrwxrwxrwx   1 rootroot rootroot    23 7月  13  2022 BUILD -> build/bazel/bazel.BUILD
-r-xr-xr-x   1 rootroot rootroot 11254 4月  17  2023 build.sh*
-r-xr-xr-x   1 rootroot rootroot 14109 7月  13  2022 .classpath*
drwxrwxr-x   3 rootroot rootroot  4096 7月  13  2022 compatibility/
drwxrwxr-x  13 rootroot rootroot  4096 7月  14  2022 cts/
drwxrwxr-x   7 rootroot rootroot  4096 7月  13  2022 dalvik/
drwxrwxr-x   5 rootroot rootroot  4096 7月  13  2022 developers/
drwxrwxr-x  19 rootroot rootroot  4096 7月  14  2022 development/
drwxrwxr-x  11 rootroot rootroot  4096 3月  13  2023 device/
drwxrwxr-x 362 rootroot rootroot 12288 5月  16  2023 external/
drwxrwxr-x  16 rootroot rootroot  4096 5月   5  2023 frameworks/
drwxrwxr-x  19 rootroot rootroot  4096 7月  14  2022 hardware/
-r--r--r--   1 rootroot rootroot   162 7月  13  2022 javaenv.sh
drwxrwxr-x   5 rootroot rootroot  4096 7月  13  2022 kernel/
drwxrwxr-x   3 rootroot rootroot  4096 7月  13  2022 kernel-4.19/
drwxrwxr-x  32 rootroot rootroot  4096 5月  23  2023 kernel-5.10/
-rwxrwxr-x   1 rootroot rootroot    79 2月   6  2023 k.sh*
drwxrwxr-x  19 rootroot rootroot  4096 7月  13  2022 libcore/
drwxrwxr-x   9 rootroot rootroot  4096 7月  13  2022 libnativehelper/
lrwxrwxrwx   1 rootroot rootroot    19 5月  23  2023 libOpenCL.so -> egl/libGLES_mali.so
-r--r--r--   1 rootroot rootroot    92 7月  13  2022 Makefile
drwxrwxr-x   9 rootroot rootroot  4096 3月  28  2023 mkcombinedroot/
-r-xr-xr-x   1 rootroot rootroot 10151 7月  13  2022 mkimage_ab.sh*
-r-xr-xr-x   1 rootroot rootroot  8544 7月  13  2022 mkimage.sh*
drwxrwxr-x   9 rootroot rootroot  4096 7月  13  2022 packages/
drwx------   2 rootroot rootroot  4096 5月  23  2023 patches/
drwxrwxr-x   5 rootroot rootroot  4096 7月  13  2022 pdk/
drwxrwxr-x   9 rootroot rootroot  4096 7月  13  2022 platform_testing/
drwxrwxr-x  34 rootroot rootroot  4096 11月 11  2022 prebuilts/
-r-xr-xr-x   1 rootroot rootroot   519 7月  13  2022 restore_patches.sh*
drwxrwxr-x   9 rootroot rootroot  4096 5月  23  2023 rkbin/
drwxrwxr-x   4 rootroot rootroot  4096 7月  13  2022 rkst/
drwxrwxr-x   6 rootroot rootroot  4096 7月  14  2022 RKTools/
drwxrwxr-x  21 rootroot rootroot  4096 7月  13  2022 sdk/
drwxrwxr-x  45 rootroot rootroot  4096 7月  13  2022 system/
drwxrwxr-x  11 rootroot rootroot  4096 7月  13  2022 test/
drwxrwxr-x   4 rootroot rootroot  4096 7月  13  2022 toolchain/
drwxrwxr-x  23 rootroot rootroot  4096 7月  13  2022 tools/
drwxrwxr-x  27 rootroot rootroot  4096 5月  23  2023 u-boot/
drwxrwxr-x   6 rootroot rootroot  4096 11月 21  2022 vendor/
lrwxrwxrwx   1 rootroot rootroot    27 7月  13  2022 WORKSPACE -> build/bazel/bazel.WORKSPACE
rootroot@rootroot-desktop:~/Android_12$ 
rootroot@rootroot-desktop:~/Android_12$ 
rootroot@rootroot-desktop:~/Android_12$ source build/envsetup.sh 
rootroot@rootroot-desktop:~/Android_12$ 
rootroot@rootroot-desktop:~/Android_12$ 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-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=SQ3A.220705.003.A1
OUT_DIR=out
============================================
rootroot@rootroot-desktop:~/Android_12$ 
rootroot@rootroot-desktop:~/Android_12$ 
rootroot@rootroot-desktop:~/Android_12$ ./build.sh -AUKu^C
rootroot@rootroot-desktop:~/Android_12$ 
rootroot@rootroot-desktop:~/Android_12$ time(./build.sh -AUKu)

参考资料:

http://www.orangepi.cn/html/hardWare/computerAndMicrocontrollers/details/Orange-Pi-5.html
香橙派Orange Pi 5
(4GB/8GB/16GB)

刷机效果图:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值