fixing "raspi firmware" errors on the official amd64 ISO
- unknown
- Offline
- Platinum Member
-
Less
More
- Posts: 828
- Thank you received: 279
13 Oct 2025 01:34 - 16 Oct 2025 01:19 #336356
by unknown
Replied by unknown on topic fixing "raspi firmware" errors on the official amd64 ISO
Thoughts changed, situation is little more complex.
Last edit: 16 Oct 2025 01:19 by unknown. Reason: Reasoning changed
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 19731
- Thank you received: 4578
14 Oct 2025 11:57 #336423
by andypugh
Replied by andypugh on topic fixing "raspi firmware" errors on the official amd64 ISO
Does that remove anything else? The first thing that comes to mind is the hostmot2 firmware. (which I think is also "architecture all" )
[/code][code]--architectures amd64 \ is missing from auto/config file
Please Log in or Create an account to join the conversation.
- unknown
- Offline
- Platinum Member
-
Less
More
- Posts: 828
- Thank you received: 279
14 Oct 2025 21:12 #336448
by unknown
Replied by unknown on topic fixing "raspi firmware" errors on the official amd64 ISO
Hostmot2 firmware is there. Running Axis in a VM using the sample code, apart from the latency error, runs ok.
Now this is something I found rater curious.
Both were builds had the target as Debian Bookworm.
Building on a system running Debian Trixie raspi-firmware IS NOT installed. (built twice on 2 different machines)
Building on a system running Debian Bookworm raspi-firmware IS installed. (single build only attempted)
I will try a build on my Bookworm machine with the live-build package from Trixie and see what the results are.
The firmware "blacklist" is created here
salsa.debian.org/live-team/live-build/-/...h?ref_type=heads#L92
So I will need to see what the difference is between the Bookworm live-bulid package and Trixie.
Simple enough Bookworm doesn't have the firmware blacklist code.
Now this is something I found rater curious.
Both were builds had the target as Debian Bookworm.
Building on a system running Debian Trixie raspi-firmware IS NOT installed. (built twice on 2 different machines)
Building on a system running Debian Bookworm raspi-firmware IS installed. (single build only attempted)
I will try a build on my Bookworm machine with the live-build package from Trixie and see what the results are.
The firmware "blacklist" is created here
salsa.debian.org/live-team/live-build/-/...h?ref_type=heads#L92
So I will need to see what the difference is between the Bookworm live-bulid package and Trixie.
Simple enough Bookworm doesn't have the firmware blacklist code.
Please Log in or Create an account to join the conversation.
- unknown
- Offline
- Platinum Member
-
Less
More
- Posts: 828
- Thank you received: 279
15 Oct 2025 05:12 - 15 Oct 2025 22:50 #336475
by unknown
Replied by unknown on topic fixing "raspi firmware" errors on the official amd64 ISO
Quick Update.
Using "Trixie" branch from here; salsa.debian.org/live-team/live-build/-/...rixie?ref_type=heads
I built a live-build package on a machine running Bookworm from the above repo. Installed the built package and was able to successfully build a Linuxcnc ISO without the raspi-firmware. As noted above hostmot2 firmwares are installed, a test run of Axis with the default gcode produced no errors, apart from latency due to being run in a virtual machine.
Building live-build packages from the above sources also works for building ISO on Linux Mint 22.1 Xia.
The goal would be to pin Linuxcnc to 2.9.4 during the ISO creation, as there seems to be a few issues reported by users with either the 2.9.5 or 2.9.6 branch.
Using "Trixie" branch from here; salsa.debian.org/live-team/live-build/-/...rixie?ref_type=heads
I built a live-build package on a machine running Bookworm from the above repo. Installed the built package and was able to successfully build a Linuxcnc ISO without the raspi-firmware. As noted above hostmot2 firmwares are installed, a test run of Axis with the default gcode produced no errors, apart from latency due to being run in a virtual machine.
Building live-build packages from the above sources also works for building ISO on Linux Mint 22.1 Xia.
The goal would be to pin Linuxcnc to 2.9.4 during the ISO creation, as there seems to be a few issues reported by users with either the 2.9.5 or 2.9.6 branch.
Last edit: 15 Oct 2025 22:50 by unknown.
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 19731
- Thank you received: 4578
16 Oct 2025 00:11 #336529
by andypugh
bugs.debian.org/cgi-bin/bugreport.cgi?bug=1065640
Replied by andypugh on topic fixing "raspi firmware" errors on the official amd64 ISO
This is because they fixed it (it's actually fixed in Debian 12.1)Building on a system running Debian Trixie raspi-firmware IS NOT installed. (built twice on 2 different machines)
Building on a system running Debian Bookworm raspi-firmware IS installed. (single build only attempted)
bugs.debian.org/cgi-bin/bugreport.cgi?bug=1065640
Please Log in or Create an account to join the conversation.
- unknown
- Offline
- Platinum Member
-
Less
More
- Posts: 828
- Thank you received: 279
16 Oct 2025 00:43 #336531
by unknown
Replied by unknown on topic fixing "raspi firmware" errors on the official amd64 ISO
I installed live-build from the Debian repos for my bookworm machine and had no luck. Upon looking at the firmware function the code to blacklist the firmware was not there.
Building a live-build package from the Trixie branch on my bookworm machine resolved the issue. As I also stated the same procedure as allowed me to successfully build a ISO on my Mint machine.
Building a live-build package from the Trixie branch on my bookworm machine resolved the issue. As I also stated the same procedure as allowed me to successfully build a ISO on my Mint machine.
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 11528
- Thank you received: 3860
19 Oct 2025 00:14 #336684
by rodw
Replied by rodw on topic fixing "raspi firmware" errors on the official amd64 ISO
They fixed the Debian release files it never pushed their changes to the Debian builder until Trixie. Very annoying.
Building on a system running Debian Trixie raspi-firmware IS NOT installed. (built twice on 2 different machines)
Building on a system running Debian Bookworm raspi-firmware IS installed. (single build only attempted)
This is because they fixed it (it's actually fixed in Debian 12.1)
bugs.debian.org/cgi-bin/bugreport.cgi?bug=1065640
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20993
- Thank you received: 7159
19 Oct 2025 02:05 #336687
by tommylight
Replied by tommylight on topic fixing "raspi firmware" errors on the official amd64 ISO
What am i missing? Seeing you all jump through so much hoops makes me wonder what are you using as a starting point?
Back when i tested Debian BookWorm 12.2 and 12.5, i downloaded the Live ISO with XFCE, remastered it and tested, it worked and did not have raspi issues. Did the same things with 12.2 Mate edition, also no raspi issues.
Granted i used the LinuxCNC version that was on Debian repos, but still, this should not matter.
Sorry, but i feel really bad seeing you go through all the trouble.
Is there something i can help with?
P.S.
Rob, sorry, i did download your ISO but did not get to testing it.
Back when i tested Debian BookWorm 12.2 and 12.5, i downloaded the Live ISO with XFCE, remastered it and tested, it worked and did not have raspi issues. Did the same things with 12.2 Mate edition, also no raspi issues.
Granted i used the LinuxCNC version that was on Debian repos, but still, this should not matter.
Sorry, but i feel really bad seeing you go through all the trouble.
Is there something i can help with?
P.S.
Rob, sorry, i did download your ISO but did not get to testing it.
The following user(s) said Thank You: unknown
Please Log in or Create an account to join the conversation.
- unknown
- Offline
- Platinum Member
-
Less
More
- Posts: 828
- Thank you received: 279
19 Oct 2025 05:51 #336692
by unknown
Replied by unknown on topic fixing "raspi firmware" errors on the official amd64 ISO
The issue has been with the live-build prior to the Trixie release.
The function that installs the firmware prior to Trixie doesn't blacklist unneeded firmware packages depending on the architecture. So when you run the installer from the ISO it installs all firmware packages regardless of architecture. This could have been mitigated by removing the raspi-firmware at the final stage of the installer by adding a line to preseed that instructs the installer to remove the raspi-firmware package. Basically what a user is needs to do when the error pops it's head up during an update.
On my bookworm machine instead of using the package that is in the bookworm repo I built a live-build package on bookworm using the Trixie sources. An extra line is added to the config, indicating that it's amd64 we're building an ISO for and the "blacklist function" kicks in and the raspi-firmware (and some others unrelated to amd64) are never installed when the installer is run from the ISO.
So to conclude:
It comes down to the version of live-build being used.
Bookworm version of live-build is (1:20230502), this causes the issue.
Trixie version of live-build is (1:20250505+deb13u1), this has no issues as long as --architectures amd64 is in the config file used by live build.
To install live-build (1:20250505+deb13u1) on Bookworm you need to build the package from source and install the package you just built. Also the additional line in the config file.
Building an ISO of a machine running Trixie that was successful gave me an idea as what the issue maybe. Installing the package for Trixie on Bookworm was no help, it was required to build from source.
I pretty much describe the issue in this post:
forum.linuxcnc.org/9-installing-linuxcnc...-iso?start=20#336448
The function that installs the firmware prior to Trixie doesn't blacklist unneeded firmware packages depending on the architecture. So when you run the installer from the ISO it installs all firmware packages regardless of architecture. This could have been mitigated by removing the raspi-firmware at the final stage of the installer by adding a line to preseed that instructs the installer to remove the raspi-firmware package. Basically what a user is needs to do when the error pops it's head up during an update.
On my bookworm machine instead of using the package that is in the bookworm repo I built a live-build package on bookworm using the Trixie sources. An extra line is added to the config, indicating that it's amd64 we're building an ISO for and the "blacklist function" kicks in and the raspi-firmware (and some others unrelated to amd64) are never installed when the installer is run from the ISO.
So to conclude:
It comes down to the version of live-build being used.
Bookworm version of live-build is (1:20230502), this causes the issue.
Trixie version of live-build is (1:20250505+deb13u1), this has no issues as long as --architectures amd64 is in the config file used by live build.
To install live-build (1:20250505+deb13u1) on Bookworm you need to build the package from source and install the package you just built. Also the additional line in the config file.
Building an ISO of a machine running Trixie that was successful gave me an idea as what the issue maybe. Installing the package for Trixie on Bookworm was no help, it was required to build from source.
I pretty much describe the issue in this post:
forum.linuxcnc.org/9-installing-linuxcnc...-iso?start=20#336448
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 11528
- Thank you received: 3860
21 Oct 2025 11:35 #336819
by rodw
Replied by rodw on topic fixing "raspi firmware" errors on the official amd64 ISO
The live build gets its code from the host that builds the system so to get a Trixie system, you need to be running Trixie. So I don't see why building for bookworm is not a problem.
In my testing back with the original installer (after some changes were made and committed to the release version), the pi firmware was not installed but it seemed after later bookworm versions were upgraded to, the firmware was erroneously installed. And yes, I built the builder from source.
Why don't you try changing the architecture to arm64 and give the pi a go?
In my testing back with the original installer (after some changes were made and committed to the release version), the pi firmware was not installed but it seemed after later bookworm versions were upgraded to, the firmware was erroneously installed. And yes, I built the builder from source.
Why don't you try changing the architecture to arm64 and give the pi a go?
Please Log in or Create an account to join the conversation.
Time to create page: 0.152 seconds