8000 A build for every Raspberry Pi model: armv6, armv7 and aarch64 · Issue #21 · alexbeeken/skrongle-mini · GitHub
[go: up one dir, main page]

Skip to content

A build for every Raspberry Pi model: armv6, armv7 and aarch64 #21

Closed

Description

@alexbeeken

Releases cover aarch64 (Pi 2 v1.2, 3, 4, 5, 400, 500, Zero 2 W, CM3/4/5) and x86_64. Two Raspberry Pi families are missing:

  • armv6: Pi 1, Pi Zero, Pi Zero W (ARM1176, one core, 512 MB, no NEON, 32-bit). Target arm-unknown-linux-gnueabihf.
  • armv7: Pi 2 v1.1, and any Pi running a 32-bit OS image. Target armv7-unknown-linux-gnueabihf (scripts/build-pi.sh armv7 already exists).

Do:

  1. Add both targets to scripts/build-pi.sh and the release workflow matrix; asset names after uname -m on the target (armv6l, armv7l).
  2. Measure sign-in (argon2id 8 MiB, t=3) and a cold lesson page on a Pi Zero W. argon2's BLAKE2b is 64-bit arithmetic, which a 32-bit ARMv6 core without NEON does in several instructions per step, so expect sign-in to take seconds rather than the 160 ms a Zero 2 W needs. Record the numbers in docs/self-hosting.md so people know what they are buying.
  3. If sign-in on armv6 is over about two seconds, consider a lower argon2 memory cost for that build only, chosen so a sign-in stays under a second, and say so in the docs. Passwords hashed with one setting must still verify after an upgrade: the hash string carries its own parameters, so this is safe.
  4. The smoke test runs the armv6 and armv7 binaries under qemu-user in CI, at least --version and /healthz.

Activity

  1. added
    dietpi
    on Nov 8, 2026
  2. alexbeeken commented on Nov 9, 2026

    @alexbeeken
    OwnerAuthor

    Steps 1 and 4 shipped in 0.2.0: armv7l and armv6l tarballs on every release, built with cargo-zigbuild pinned to Cortex-A7 and ARM1176, and smoke-tested in the release workflow in a container of each architecture with the emulated CPU pinned (#66). Steps 2 and 3 need a board: the measurement is #69 (a human action); the argon2 decision follows from its numbers and stays here.

  3. alexbeeken commented on Nov 9, 2026

    @alexbeeken
    OwnerAuthor

    Shipped in 0.2.0: armv7l and armv6l tarballs on every release (#57), pinned to Cortex-A7 and ARM1176, smoke-tested in the release workflow in a container of each architecture (#66), and update.sh updates those boards (#68). Steps 2 and 3 (sign-in timing on a Zero W and the argon2 decision that follows) live in #69, which needs the board.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dietpi

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0