Repository navigation
Start building 64-bit OS images in GitHub Actions - #416
Conversation
|
I tested a 64-bit image to ensure that all apps linked to from the landing page opened correctly. I also tested to ensure that I could acquire 10 images. Remaining TODOs:
|
…es files outside the setup dir
|
The first boot of the planktoscope-pr-416-e3381cc+adafruithat.img.gz SD card image took 43 sec, with the following systemd-analyze outputs: |
|
I tested the segmenter on a Raspberry Pi 4 with 4 GB of RAM, to ensure that the SKQ-ToTS_S015_tots-ps-acq-20 dataset (used in #163 (comment)). Segmentation took 48 minutes to finish, which is 8 minutes slower than the last time I ran the segmenter on 64-bit bullseye (but probably within a plausible margin of error). |
|
I tested the hardware controller on a v2.6 PlanktoScope; the only problem I noticed is that ISO values above 650 are not allowed (because they go beyond the max allowed image gain). I will limit the max ISO in the planktoscopehat version of the Node-RED dashboard to 650. |
This PR closes #42 (and thus makes major progress on #136) by setting up a GitHub Actions workflow to build OS images in GitHub Actions, using a combination of https://github.com/marketplace/actions/run-pinspawn and https://github.com/marketplace/actions/run-piqemu to run the PlanktoScope OS setup scripts on Raspberry Pi OS images.
/home/pi/.local/etc/pkscope-distro(to maintain backwards-compatibility with https://install.planktoscope.community/distro.sh and with older versions of the Node-RED dashboard and the Python backend) and/usr/share/planktoscope(which will be used in future versions of the Node-RED dashboard and the Python backend, and will also be used by https://install.planktoscope.community/distro.sh, in future PRs)As part of #376 and #322, this PR also implements a decision made in the 2024-05-02 software meeting that starting with v2024.0.0-beta.0 we will build PlanktoScope OS as a 64-bit OS rather than a 32-bit OS (i.e. based on Raspberry Pi OS 11 (bullseye)'s 64-bit images rather than its 32-bit images), and that we will deprecate the 32-bit version of PlanktoScope OS for v2024.0.0 (so that it will no longer be officially supported, though for now everything will probably remain compatible with the 32-bit OS).
pyproject.tomlfiles for https://github.com/PlanktoScope/device-backendThis PR also changes the ISO selector from a multibutton to a slider (fulfilling a request made by @fabienlombard on Slack), implementing a decision made in the 2024-05-02 software meeting.
Finally, this PR also includes PlanktoScope/pallet-standard#13 (which includes PlanktoScope/device-pkgs#12).