Add local manifest for Orange Pi 5 Ultra LineageOS ATV build
This commit is contained in:
parent
7215cc9e94
commit
61d832fbeb
3 changed files with 126 additions and 0 deletions
61
README.md
61
README.md
|
|
@ -1 +1,62 @@
|
|||
# android_local_manifest
|
||||
|
||||
Local manifest for building [LineageOS 23.2](https://lineageos.org/) (Android TV) for the **Orange Pi 5 Ultra** (Rockchip RK3588).
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- A Linux build host with [LineageOS build dependencies](https://wiki.lineageos.org/requirements) installed
|
||||
- ~250GB free disk space
|
||||
- `repo` tool installed
|
||||
|
||||
## Setup
|
||||
|
||||
```bash
|
||||
# Initialize LineageOS 23.2 source tree
|
||||
repo init -u https://github.com/LineageOS/android.git -b lineage-23.2
|
||||
|
||||
# Add this local manifest
|
||||
git clone https://git.bscubed.dev/lineage-rockchip/android_local_manifest.git .repo/local_manifests/android_local_manifest
|
||||
|
||||
# Sync the full source tree (including local manifest overrides)
|
||||
repo sync -c -j$(nproc)
|
||||
```
|
||||
|
||||
## Building
|
||||
|
||||
```bash
|
||||
# Set up build environment
|
||||
source build/envsetup.sh
|
||||
|
||||
# Select the Android TV target
|
||||
lunch lineage_orangepi5ultra-userdebug
|
||||
|
||||
# Build
|
||||
mka bacon
|
||||
```
|
||||
|
||||
## Repositories
|
||||
|
||||
This local manifest pulls in the following repositories from `git.bscubed.dev/lineage-rockchip/`:
|
||||
|
||||
| Repository | Path | Description |
|
||||
|-----------|------|-------------|
|
||||
| `android_device_lineage-rockchip_orangepi5ultra` | `device/rockchip/orangepi5ultra` | Device tree |
|
||||
| `android_kernel_lineage-rockchip_orangepi5ultra` | `device/rockchip/orangepi5ultra-kernel` | Kernel (prebuilt) |
|
||||
| `proprietary_vendor_lineage-rockchip` | `vendor/lineage-rockchip` | Vendor blobs (firmware) |
|
||||
| `android_external_mesa3d_panfrost` | `external/mesa3d-panfrost` | Mesa3D Panfrost GPU driver |
|
||||
| `android_external_drm_hwcomposer` | `external/drm_hwcomposer` | DRM hwcomposer |
|
||||
| `android_external_minigbm` | `external/minigbm` | Graphics buffer manager |
|
||||
| `android_external_ffmpeg` | `external/ffmpeg` | FFmpeg media library |
|
||||
| `android_external_ffmpeg_codec2` | `external/ffmpeg_codec2` | FFmpeg C2 codec HAL |
|
||||
| `android_external_alsa-lib` | `external/alsa-lib` | ALSA library |
|
||||
| `android_external_alsa-utils` | `external/alsa-utils` | ALSA utilities |
|
||||
| `android_external_libudev-zero` | `external/libudev-zero` | libudev compatibility |
|
||||
|
||||
## Branch
|
||||
|
||||
All repositories use the `lineage-23.2` branch.
|
||||
|
||||
## License
|
||||
|
||||
Device tree and build scripts: Apache-2.0
|
||||
External repositories retain their original licenses.
|
||||
|
|
|
|||
59
manifest.xml
Normal file
59
manifest.xml
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<manifest>
|
||||
|
||||
<remote name="bscubed" fetch="https://git.bscubed.dev/lineage-rockchip/" />
|
||||
<remote name="github" fetch="https://github.com/" />
|
||||
|
||||
<!-- Remove irrelevant AOSP prebuilts -->
|
||||
<include name="remove_projects.xml" />
|
||||
|
||||
<!-- Orange Pi 5 Ultra device tree -->
|
||||
<project path="device/rockchip/orangepi5ultra"
|
||||
name="android_device_lineage-rockchip_orangepi5ultra"
|
||||
remote="bscubed" />
|
||||
|
||||
<!-- Orange Pi 5 Ultra kernel (prebuilt) -->
|
||||
<project path="device/rockchip/orangepi5ultra-kernel"
|
||||
name="android_kernel_lineage-rockchip_orangepi5ultra"
|
||||
remote="bscubed" />
|
||||
|
||||
<!-- Vendor blobs (firmware, WiFi/BT) -->
|
||||
<project path="vendor/lineage-rockchip"
|
||||
name="proprietary_vendor_lineage-rockchip"
|
||||
remote="bscubed" />
|
||||
|
||||
<!-- Graphics stack (Panfrost Mesa + DRM) -->
|
||||
<remove-project name="platform/external/drm_hwcomposer" />
|
||||
<remove-project name="platform/external/minigbm" />
|
||||
<remove-project name="platform/external/mesa3d" />
|
||||
<project path="external/drm_hwcomposer"
|
||||
name="android_external_drm_hwcomposer"
|
||||
remote="bscubed" />
|
||||
<project path="external/minigbm"
|
||||
name="android_external_minigbm"
|
||||
remote="bscubed" />
|
||||
<project path="external/mesa3d-panfrost"
|
||||
name="android_external_mesa3d_panfrost"
|
||||
remote="bscubed" />
|
||||
|
||||
<!-- Media / FFmpeg -->
|
||||
<remove-project name="platform/external/libudev-zero" />
|
||||
<project path="external/ffmpeg"
|
||||
name="android_external_ffmpeg"
|
||||
remote="bscubed" />
|
||||
<project path="external/ffmpeg_codec2"
|
||||
name="android_external_ffmpeg_codec2"
|
||||
remote="bscubed" />
|
||||
<project path="external/libudev-zero"
|
||||
name="android_external_libudev-zero"
|
||||
remote="bscubed" />
|
||||
|
||||
<!-- Audio -->
|
||||
<project path="external/alsa-lib"
|
||||
name="android_external_alsa-lib"
|
||||
remote="bscubed" />
|
||||
<project path="external/alsa-utils"
|
||||
name="android_external_alsa-utils"
|
||||
remote="bscubed" />
|
||||
|
||||
</manifest>
|
||||
6
remove_projects.xml
Normal file
6
remove_projects.xml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<manifest>
|
||||
<!-- Remove macOS/Darwin prebuilts (not needed on Linux build hosts) -->
|
||||
<remove-project name="platform/prebuilts/clang/host/darwin-x86" />
|
||||
<remove-project name="platform/prebuilts/go/darwin-x86" />
|
||||
</manifest>
|
||||
Loading…
Add table
Add a link
Reference in a new issue