Skip to content

Commit 533852d

Browse files
committed
arpi-5.10 : switch to android-rpi branch
branch out from common-android12-5.10 Change-Id: Icefbdc15d654c2b26d0d182200dd68bf2611a509
1 parent 0d95333 commit 533852d

2 files changed

Lines changed: 26 additions & 1 deletion

File tree

README

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Download Kernel source
2+
Refer to https://source.android.com/setup/build/building-kernels
3+
4+
Make separate kernel directory apart from Android source.
5+
6+
$ cd <kernel directory>
7+
$ repo init -u https://github.com/android-rpi/kernel_manifest -b arpi-5.10
8+
$ repo sync
9+
10+
# Build Kernel
11+
$ build/build.sh
12+
13+
Output files are under out/arpi-5.10/dist/
14+
Image.gz
15+
bcm2711-rpi-*.dtb
16+
vc4-kms-v3d-pi4.dtbo
17+
18+
# Build Android for Raspberry Pi 4
19+
https://github.com/android-rpi/device_arpi_rpi4

default.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<manifest>
3-
<remote name="aosp" fetch=".." review="https://android-review.googlesource.com/" />
3+
<remote name="aosp" fetch="https://android.googlesource.com" review="https://android-review.googlesource.com/" />
44
<default revision="master-kernel-build-2021" remote="aosp" sync-j="4" />
55

66
<superproject name="kernel/superproject" remote="aosp" revision="common-android12-5.10-lts" />
@@ -17,4 +17,10 @@
1717
<project path="prebuilts/build-tools" name="platform/prebuilts/build-tools" clone-depth="1" />
1818
<project path="prebuilts/kernel-build-tools" name="kernel/prebuilts/build-tools" clone-depth="1" />
1919
<project path="tools/mkbootimg" name="platform/system/tools/mkbootimg" />
20+
21+
<remote name="arpi" fetch="."/>
22+
<remove-project name="kernel/common"/>
23+
<project path="common" name="kernel_arpi" revision="arpi-5.10" remote="arpi">
24+
<linkfile src="build.config.arpi" dest="build.config"/>
25+
</project>
2026
</manifest>

0 commit comments

Comments
 (0)