Photonicat 编译 Android:修订间差异

来自Photonicat Wiki
跳转到导航 跳转到搜索
Monstercat留言 | 贡献
Created page with "==Create Debian System Image (Rockchip Official)== ===Host System Requirements=== Debian 11 (bullseye) or above, Ubuntu 20.04 or above. ===Compiling Requirements=== On Debian/Ubuntu systems, install the packages: <pre> sudo apt-get install build-essential flex bison genext2fs </pre> ===Get Repo files by tarball(with .git)=== wget https://dl.photonicat.com/repos/rk3568-android12-20230926.tar.xz ===Config build target=== Run the command below: <pre> echo "ROCKCHIP_DEV..."
 
Monstercat留言 | 贡献
无编辑摘要
 
(未显示同一用户的2个中间版本)
第1行: 第1行:
==Create Debian System Image (Rockchip Official)==
==Create Android 12 System Image==


===Host System Requirements===
===Host System Requirements===
第10行: 第10行:
</pre>
</pre>


===Get Repo files by tarball(with .git)===
===Get Repo files by tarball===
wget https://dl.photonicat.com/repos/rk3568-android12-20230926.tar.xz
<pre>
wget https://dl.photonicat.com/repos/rk3568-android12-20230926.tar.xz
tar -xf rk3568-android12-20230926.tar.xz
cd rk3568-android12
</pre>


===Config build target===
===Config build target===

2023年9月28日 (四) 12:27的最新版本

Create Android 12 System Image

Host System Requirements

Debian 11 (bullseye) or above, Ubuntu 20.04 or above.

Compiling Requirements

On Debian/Ubuntu systems, install the packages:

sudo apt-get install build-essential flex bison genext2fs

Get Repo files by tarball

wget https://dl.photonicat.com/repos/rk3568-android12-20230926.tar.xz
tar -xf rk3568-android12-20230926.tar.xz
cd rk3568-android12

Config build target

Run the command below:

echo "ROCKCHIP_DEVICE_DIR := device/rockchip/rk356x/photonicat" > .rockchip_device.mk

Build system image

Run the command below:

. setenv.sh
./build.sh -FMu

The image output path is rockdev/Image-aosp_photonicat.