Fix candidate build metadata and runtime safeguards
Offline project checks / check (push) Canceled after 0s

Repair kernel patch formatting and refresh kernel/camera package revisions and checksums. Integrate battery guard into generated images, correct charging controls and emergency shutdown handling, and reject invalid camera authentication configuration.

Extend recipe validation and regression coverage, and update build and installation documentation. Kernel, camera and image compilation remain pending on the build server.
This commit is contained in:
shenlei
2026-11-09 10:49:22 +09:00
parent 23989f4a18
commit 4f3fe1f94b
19 changed files with 298 additions and 100 deletions
+8 -4
View File
@@ -85,16 +85,20 @@ python3 scripts/build-camera-userspace.py --component mesa --lax
python3 scripts/build-camera-userspace.py --component userspace --lax
```
This builds isolated Mesa/Freedreno 26.1.6 and `platina-libcamera` 0.7.1-r31.
The latter includes the camera consumer, HTTP/MQTT controller, UI, OpenRC service
This builds isolated Mesa/Freedreno 26.1.6 and `platina-libcamera` 0.7.1-r32.
The r32 source fixes authentication configuration handling: an existing invalid
or unreadable `/etc/platina-camera/auth.json` prevents startup. An absent file or
an explicit JSON `"enabled": false` retains the optional anonymous mode. The
previously tested phone uses r31; r32 still requires server build and phone testing.
The r32 package includes the camera consumer, HTTP/MQTT controller, UI, OpenRC service
and the active libcamera patches. Neither command connects to a phone. These
packages are not automatically installed by `make images`.
Before any installation, qualify a matching camera-enabled kernel and modules,
the IMX363/CCI/CAMSS media graph and DW9714 actuator on your own device. A
display-only kernel is insufficient. The source kernel candidate is 7.2.12-r12;
display-only kernel is insufficient. The source kernel candidate is 7.2.12-r13;
the tested installation instead uses the separately tested r9 boot and r11 sensor
module runtime combination. **The combined r12 kernel and a new full 0.8.1 image
module runtime combination. **The combined r13 kernel and a new full 0.8.1 image
have not passed a complete hardware installation test.** Do not replace a
working boot/modules set merely to install the camera userspace.