fixing "raspi firmware" errors on the official amd64 ISO

More
1 year 2 weeks ago #336346 by unknown
Thanks Andy, I made a typo in the preseed.cfg on the line for the root account.
Rod that line for blocking raspi-firmware is made null and void by the pressed.cfg line for firmware. So the raspi-firmware package is still installed.
My little mod causes the offending package to be removed during the installation process.
Code:
sudo find / -name "*raspi*"
Gives no results when run on first login. On the current ISO the find command lists the offending files from the firmware package.

Installing r8168-dkms completes with no errors when I use my ISO. Listing installed packages returns no results for the firmware package.

Please Log in or Create an account to join the conversation.

More
1 year 2 weeks ago #336354 by unknown
Found the underlying issue:
Code:
#!/bin/sh set -e lb config noauto \ --architectures amd64 \ --linux-packages linux-image-rt \ --debootstrap-options "--include=apt-transport-https,ca-certificates,openssl" \ --distribution bookworm \ --binary-images iso-hybrid \ --debian-installer live \ --archive-areas "main contrib non-free non-free-firmware" \ --iso-application "LinuxCNC-2.9.6" \ --iso-preparer "rmurphy@gmx.com" \ --iso-volume "LinuxCNC_2.9.6" \ --image-name "LinuxCNC_2.9.6" \ --iso-publisher "www.linuxcnc.org" \ --apt-recommends true \ --security true \ --updates true \ --apt-options " --yes --allow-change-held-packages" \ --bootappend-install "ipv6.disable=1" \ --parent-mirror-bootstrap http://deb.debian.org/debian \ --parent-mirror-binary http://deb.debian.org/debian \ --parent-mirror-chroot-security http://deb.debian.org/debian-security \ "${@}"

This line
Code:
--architectures amd64 \
is missing from auto/config file

Booting into a live seesion dpkg --list has no entries for raspi-firmware
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
1 year 2 weeks ago - 1 year 2 weeks ago #336356 by unknown
Thoughts changed, situation is little more complex.
Last edit: 1 year 2 weeks ago by unknown. Reason: Reasoning changed
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
1 year 2 weeks ago #336423 by andypugh

Code:
[code]--architectures amd64 \ is missing from auto/config file
[/code]
Does that remove anything else? The first thing that comes to mind is the hostmot2 firmware. (which I think is also "architecture all" )

Please Log in or Create an account to join the conversation.

More
1 year 2 weeks ago #336448 by unknown
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.

Please Log in or Create an account to join the conversation.

More
1 year 2 weeks ago - 1 year 2 weeks ago #336475 by unknown
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.
Last edit: 1 year 2 weeks ago by unknown.

Please Log in or Create an account to join the conversation.

Time to create page: 0.218 seconds
Powered by Kunena Forum