Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please provide tagged firmware releases as you used to do #1880

Open
gwolf opened this issue Mar 20, 2024 · 7 comments
Open

Please provide tagged firmware releases as you used to do #1880

gwolf opened this issue Mar 20, 2024 · 7 comments

Comments

@gwolf
Copy link

gwolf commented Mar 20, 2024

This project used to tag its releases, which was very good for OS distributors other than Raspberry Pi OS. No newer releases have been tagged since April last year.

We (for Debian) prefer, if possible, not to take the firmware from arbitrary points, but to have you as the software providers tag us stability points. Do you think it is possible to continue providing "official" tags?

Thanks!

@timg236
Copy link

timg236 commented Mar 21, 2024

@gwolf Do you just use this for kernel binaries or just the firmware binaries?

The kernel binaries in our APT packages don't line up exactly with what would be the commit tag for the firmware release because they are built separately.

@popcornmix
Copy link
Contributor

The current apt firmware is:

pi@pi5:~ $ apt policy raspi-firmware 
raspi-firmware:
  Installed: 1:1.20240306+ds-1+rpt1
  Candidate: 1:1.20240306+ds-1+rpt1
  Version table:
 *** 1:1.20240306+ds-1+rpt1 500
        500 http://buildbot.pitowers.org:3143 bookworm/main arm64 Packages
        500 http://buildbot.pitowers.org:3143 bookworm/main armhf Packages
        100 /var/lib/dpkg/status
     1.20220830+ds-1 500
        500 http://deb.debian.org/debian bookworm/non-free-firmware arm64 Packages
        500 http://deb.debian.org/debian bookworm/non-free-firmware armhf Packages

That corresponds with top commit on stable branch here.
I've pushed a tag (1.20240306) for that commit.

We can do that for future apt releases.

@gutoandreollo
Copy link

Thanks for the tags, and I see an actual "release" for the latest one.

Extra note, this is also useful for Arch Linux (either AUR packages, or ArchLinuxARM packages).

@popcornmix
Copy link
Contributor

So the plan is stable branch of raspberrypi/firmware gets tagged.
The github action builds a release tarball that gets used by the raspi-firmware apt package in RPiOS (and can be used by other distributions).

@gwolf does this resolve this issue?

@gwolf
Copy link
Author

gwolf commented Apr 27, 2024

@popcornmix, Thanks for the heads up! Yes, this is great, I am in the process of preparing a new upload to Debian.
@timg236, sorry for the long delay. I use this only for the firmware binaries, as we use mainline Linux kernel for systems running official Debian releases.

@XECDesign
Copy link
Contributor

@gwolf Heads up that the release also has a tarball attached with the non-firmware files stripped out. You might not need your own +ds version. I'm using the following watch file for it:

version=4
opts="searchmode=plain,\
uversionmangle=s/%2B/+/g" \
https://api.github.com/repos/raspberrypi/firmware/releases?per_page=50 \
https://github\.com/[^/]+/[^/]+/releases/download/[^/]+/@PACKAGE@_([^"]+)\.orig\.tar\.xz

@gwolf
Copy link
Author

gwolf commented May 1, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants