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

new-workspace.sh: the firmware as well, or a copy builds images without any

vcvkk63ee9cd5450e
diff --git a/tools/new-workspace.sh b/tools/new-workspace.sh
index eb9a0a7..4d459f9 100755
--- a/tools/new-workspace.sh
+++ b/tools/new-workspace.sh
@@ -51,6 +51,12 @@ done
for f in rootfs.dmg rootfs.slt cryptex-app.dmg extracted; do
if [ -e "$ROOT/ios165/$f" ]; then ln -s "$ROOT/ios165/$f" ios165/; fi
done
+# The firmware the build puts into the images -- the radio's, the audio DSP's, the GPU's. A copy
+# without them builds an image with no /fw and says nothing about it: gpu=1 then starts no GPU.
+# Links, not copies: there is one set of these on this computer and they are not small.
+for d in "$ROOT"/fw-*; do
+ if [ -d "$d" ]; then ln -s "$d" ./; fi
+done
for f in obj system.apfs root.apfs hello; do
if [ -e "$ROOT/userland/$f" ]; then cp -a --reflink=auto "$ROOT/userland/$f" userland/; fi
done