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-device.py list says which device carries a SoC; the devices page made again

shimoku742a36c147b0c2
diff --git a/docs/devices/index.md b/docs/devices/index.md
index be70fb1..81f4830 100644
--- a/docs/devices/index.md
+++ b/docs/devices/index.md
@@ -16,4 +16,4 @@ An empty cell is a part nobody has looked at on that device yet.
| SoC | What | |
|---|---|---|
-| `sc7280` | Qualcomm SC7280 family (SM7325 "Snapdragon 778G", QCM6490; "yupik", "kodiak") | [`socs/sc7280/`](https://github.com/oosexgang/hakios/tree/main/socs/sc7280) |
+| `sc7280` | Qualcomm SC7280 family (SM7325 "Snapdragon 778G", QCM6490; "yupik", "kodiak") | carried by redwood (`devices/redwood/soc/`) |
diff --git a/tools/hakios-device.py b/tools/hakios-device.py
index bd4200a..895af44 100755
--- a/tools/hakios-device.py
+++ b/tools/hakios-device.py
@@ -164,7 +164,10 @@ def cmd_list(_a):
"NOT CHECKED OUT (tools/hakios-device.py sync %s)" % name, where))
continue
fields = describe(kind, name)
- where = one(named.get((kind, name), {}), "repository") or one(named.get((kind, name), {}), "path") or "(not in the manifest)"
+ where = one(named.get((kind, name), {}), "repository") or one(named.get((kind, name), {}), "path")
+ if not where and kind == "soc" and os.path.basename(home(kind, name)) == "soc":
+ where = "carried by %s" % os.path.relpath(os.path.dirname(home(kind, name)), ROOT)
+ where = where or "(not in the manifest)"
if fields is None:
print("%-6s %-10s NOT CHECKED OUT (tools/hakios-device.py sync %s) %s" % (kind, name, name, where))
continue