Skip to content

Apple's open-source XNU kernel on Android phones: its own loader and drivers, Metal on the Adreno. Runs from RAM; a reboot gives the phone back to Android.

C

hakios-redwood is hakios-sm7325: the manifest, the docs and publish-repos.sh; the manifest pins the device and UEFI revisions on GitHub

shimoku7495d2d2ff2a
diff --git a/devices/manifest.conf b/devices/manifest.conf
index ad3c578..f237f5a 100644
--- a/devices/manifest.conf
+++ b/devices/manifest.conf
@@ -10,12 +10,12 @@
# is the guide. A device of yours: open a pull request that adds its block here, with its repository and revision.
device redwood
- repository https://github.com/oosexgang/hakios-redwood.git
- revision 84c2cb861bccfb4d76fba9976b2d7810a95ed662
+ repository https://github.com/oosexgang/hakios-sm7325.git
+ revision 04fbfff933f52faf203a55aca9dd5680092e6ec5
device qemu
path devices/qemu
uefi hakios-uefi
repository https://github.com/oosexgang/hakios-uefi.git
- revision 398393659c90c45b07e30fbd34cff5efa5f794b2
+ revision 687fa6c6a5a70f43184de92980e0a76eea5f2c4b
diff --git a/docs/getting-started/phone.md b/docs/getting-started/phone.md
index 702aa9a..5f5e4ce 100644
--- a/docs/getting-started/phone.md
+++ b/docs/getting-started/phone.md
@@ -20,7 +20,7 @@ that you create yourself, and nowhere else. [What is written, exactly](../concep
## Step by step
```sh
-tools/hakios-device.py sync # hakios-redwood (with its SoC layer) and hakios-uefi into devices/ and uefi/
+tools/hakios-device.py sync # hakios-sm7325 (with its SoC layer) and hakios-uefi into devices/ and uefi/
devices/redwood/pull-firmware.sh # Android running, on adb: GPU, Wi-Fi, audio, haptics, modem, cameras -> fw-*/
make redwood_defconfig # the phone's configuration: the common kernel, the SC7280's, the phone's own
make config # what it is: the drivers built in, the kernel's arguments, the firmware it wants
diff --git a/docs/index.md b/docs/index.md
index dec3ee0..19a4915 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -45,9 +45,8 @@ Android. What is and is not written to a phone: [Architecture](concepts/architec
| Repository | What |
|---|---|
| [hakios](https://github.com/oosexgang/hakios) | **common**: the kernel port, every common driver, the loader, user space, the tools, this documentation, and `devices/qemu` |
-| [hakios-redwood](https://github.com/oosexgang/hakios-redwood) | POCO X5 Pro 5G: its defconfig, status, UEFI platform, firmware script, and its SoC's layer (`soc/`: the Qualcomm SC7280 family) |
+| [hakios-sm7325](https://github.com/oosexgang/hakios-sm7325) | POCO X5 Pro 5G: its defconfig, status, UEFI platform, firmware script, and its SoC's layer (`soc/`: the Qualcomm SC7280 family) |
| [hakios-uefi](https://github.com/oosexgang/hakios-uefi) | HakiOS's UEFI: Mu-Silicium with HakiOS's boot path, banner and name |
-| [hakios-web](https://github.com/oosexgang/hakios-web) | the website, with this documentation and the FAQ |
`devices/manifest.conf` in the common repository names each one and the revision it is at; `tools/hakios-device.py sync` clones them
into `devices/` and `uefi/`. One repository per device: it carries its SoC's layer, and `tools/hakios-device.py new` makes one. [How the repositories fit](porting/repositories.md).
diff --git a/docs/porting/repositories.md b/docs/porting/repositories.md
index 9e8b5f8..2502ee3 100644
--- a/docs/porting/repositories.md
+++ b/docs/porting/repositories.md
@@ -82,7 +82,7 @@ repository of its own in `socs/<soc>/` (a `soc` block in the manifest); the tool
```
device redwood
- repository https://github.com/oosexgang/hakios-redwood.git
+ repository https://github.com/oosexgang/hakios-sm7325.git
revision
device qemu
diff --git a/tools/publish-repos.sh b/tools/publish-repos.sh
index ea65647..895a59e 100755
--- a/tools/publish-repos.sh
+++ b/tools/publish-repos.sh
@@ -9,7 +9,7 @@
set -e
DIR=${1:?usage: tools/publish-repos.sh DIR [OWNER]}
OWNER=${2:-oosexgang}
-REPOS=${REPOS:-"hakios hakios-redwood hakios-uefi hakios-web"}
+REPOS=${REPOS:-"hakios hakios-sm7325 hakios-uefi hakios-web"}
for r in $REPOS; do
[ -d "$DIR/$r/.git" ] || { echo "publish-repos: no $DIR/$r (tools/split-repos.sh makes the first four; the website is hakios-web)"; continue; }
url="https://github.com/$OWNER/$r.git"