You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolvestiny-pilot/tinypilot-pro#1765
This PR mostly backports our recent migration to Trixie, from Pro into
Community, and any lingering changes that should have been backported.
### Notes
- I followed a mostly manual process of:
1. Copying the Pro `.git` directory in the Community repo
1. Using VSCode to accept/reject Pro changes into the Community repo
1. Restoring the Community `.git` directory
1. Using AI to spot check the changes
1. Commit and push changes
1. Installing the bundle on a Voyager 2a device
- keyboard, video, mouse, and audio streaming works
- Most of the file changes came from the updated prettier version
reformatting JS files (i.e., adding trailing `,`):
- tiny-pilot/tinypilot-pro#1883
- As noted in the parent issue, this PR also removes all static IP
scripts:
-
tiny-pilot/tinypilot-pro#1765 (comment)
- Merging this PR should generate an empty diff when merging back into
Pro
<a data-ca-tag
href="https://codeapprove.com/pr/tiny-pilot/tinypilot/1953"><img
src="https://codeapprove.com/external/github-tag-allbg.png" alt="Review
on CodeApprove" /></a>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@@ -146,7 +146,18 @@ By the way, for flashing the ready-made disk images of TinyPilot Pro, we recomme
146
146
147
147
### Initialize system on Voyager hardware
148
148
149
-
If you want to initialize a new system on Voyager hardware, you first need to set some configuration in place to make TinyPilot work with Voyager’s video capture chip.
149
+
If you want to initialize a new system on Voyager hardware using the bundle installer, you first need to set some configuration in place so that it knows what hardware it runs on.
150
+
151
+
#### Voyager 3
152
+
153
+
```bash
154
+
# Create hardware/product identifiers.
155
+
mkdir -p /etc/tinypilot
156
+
echo'voyager'> /etc/tinypilot/product-family
157
+
echo'3'> /etc/tinypilot/product-model
158
+
```
159
+
160
+
#### Voyager 2 / 2a
150
161
151
162
```bash
152
163
# Create tinypilot system user and group.
@@ -159,7 +170,7 @@ adduser \
159
170
tinypilot
160
171
161
172
# Add uStreamer configuration.
162
-
echo"dtoverlay=tc358743"| sudo tee --append /boot/config.txt
173
+
echo"dtoverlay=tc358743"| sudo tee --append /boot/firmware/config.txt
163
174
```
164
175
165
176
### Install from source
@@ -204,7 +215,7 @@ curl \
204
215
205
216
### Build a uStreamer Debian package
206
217
207
-
CircleCI builds the uStreamer Debian package for the `armhf` architecture on every commit to the [`ustreamer-debian` repo](https://github.com/tiny-pilot/ustreamer-debian), which is stored as a CircleCI artifact.
218
+
CircleCI builds the uStreamer Debian package for the `arm64` architecture on every commit to the [`ustreamer-debian` repo](https://github.com/tiny-pilot/ustreamer-debian), which is stored as a CircleCI artifact.
208
219
209
220
Follow these steps:
210
221
@@ -214,16 +225,14 @@ Follow these steps:
214
225
1. Click the `build_debian_package` job.
215
226
- If the [`build_debian_package` CircleCI job](https://github.com/tiny-pilot/ustreamer-debian/blob/2ace4a1d22a3c9108f5285e3dff0290c60e5b1cf/.circleci/config.yml#L25) fails for some reason, you can manually debug the code in CircleCI by clicking "rerun job with SSH" in the CircleCI dashboard and following their SSH instructions. Remember to cancel the CircleCI job once you're done debugging, in order to reduce CI costs.
216
227
1. When the job completes, go to the "Artifacts" tab of the `build_debian_package` job on CircleCI to find the uStreamer Debian packages.
217
-
218
-
- We use `armhf`-based builds on physical devices and for testing in CircleCI.
228
+
- We use `arm64`-based builds on physical devices and for testing in CircleCI.
219
229
-[Docker platform names don't match Debian architecture names:](https://github.com/tiny-pilot/ustreamer-debian/blob/2ace4a1d22a3c9108f5285e3dff0290c60e5b1cf/Dockerfile#L46C1-L48)
220
230
221
231
> Docker's platform names don't match Debian's platform names, so we translate
222
232
> the platform name from the Docker version to the Debian version...
223
233
224
234
Which means that when Docker's target platform is:
225
-
226
-
-`linux/arm/v7`, CircleCI creates a `armhf` Debian package
235
+
-`linux/arm64`, CircleCI creates a `arm64` Debian package
227
236
228
237
### Install a uStreamer Debian package
229
238
@@ -280,18 +289,18 @@ We don't use any Python package management tools because we want to limit comple
280
289
281
290
We don't track indirect dependencies for our dev dependencies (in `requirements_dev.txt`), so you can update those by simply changing the version number for any package.
282
291
283
-
### Building an ARMv7 bundle on a dev system
292
+
### Building an ARM64 bundle on a dev system
284
293
285
294
To build a TinyPilot install bundle on your dev system, you first need to configure a Docker builder for multi-architecture builds using QEMU. You only need to perform this step once per system:
286
295
287
296
```bash
288
297
./dev-scripts/enable-multiarch-docker
289
298
```
290
299
291
-
Once your dev system is configured for multi-architecture Docker builds, you can build install ARMv7 TinyPilot bundles with the following commands:
300
+
Once your dev system is configured for multi-architecture Docker builds, you can build install ARM64 TinyPilot bundles with the following commands:
0 commit comments