Pi5 MESA 7c80 WORKING
- PCW
- Away
- Moderator
Less
More
- Posts: 18036
- Thank you received: 4859
02 Jan 2025 03:05 #317851
by PCW
Replied by PCW on topic Pi5 MESA 7c80: mesaflash can't see the card.
The kernel is not going to work anyway since its not realtime
The way I built my RPI5 test system was that I downloaded the RPI5 image
from the LinuxCNC website:
www.linuxcnc.org/iso/rpi-5-debian-bookwo...23-11-17-1520.img.xz
Installed it and then built linuxCNC master from source.
I wonder if something in config.txt could be an issue also... (since the cable and 7C80 seem to work)
The way I built my RPI5 test system was that I downloaded the RPI5 image
from the LinuxCNC website:
www.linuxcnc.org/iso/rpi-5-debian-bookwo...23-11-17-1520.img.xz
Installed it and then built linuxCNC master from source.
I wonder if something in config.txt could be an issue also... (since the cable and 7C80 seem to work)
Please Log in or Create an account to join the conversation.
- cornholio
- Offline
- Platinum Member
Less
More
- Posts: 1181
- Thank you received: 399
02 Jan 2025 03:31 #317852
by cornholio
Replied by cornholio on topic Pi5 MESA 7c80: mesaflash can't see the card.
If the SPI interface isn't enabled mesaflash will give
open: No such file or directory
So I would guess the SPI interface has been enabled and the nodes created under the /dev directory.
open: No such file or directory
So I would guess the SPI interface has been enabled and the nodes created under the /dev directory.
Please Log in or Create an account to join the conversation.
- cornholio
- Offline
- Platinum Member
Less
More
- Posts: 1181
- Thank you received: 399
02 Jan 2025 03:33 #317853
by cornholio
Replied by cornholio on topic Pi5 MESA 7c80: mesaflash can't see the card.
With regards to the RPi5 images Rodw linked to a new one on his google drive that seems to fix the screen issues. This is the one I used recently with my RPi5.
Please Log in or Create an account to join the conversation.
- ccatlett1984
- Offline
- Junior Member
Less
More
- Posts: 33
- Thank you received: 1
02 Jan 2025 03:45 #317855
by ccatlett1984
Replied by ccatlett1984 on topic Pi5 MESA 7c80: mesaflash can't see the card.
It is PREEMPT_RT
enabled RT when building.
enabled RT when building.
Please Log in or Create an account to join the conversation.
- ccatlett1984
- Offline
- Junior Member
Less
More
- Posts: 33
- Thank you received: 1
02 Jan 2025 03:46 #317856
by ccatlett1984
Replied by ccatlett1984 on topic Pi5 MESA 7c80: mesaflash can't see the card.
Correct, they are visible under /dev/
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 18036
- Thank you received: 4859
02 Jan 2025 04:35 #317858
by PCW
Replied by PCW on topic Pi5 MESA 7c80: mesaflash can't see the card.
Note: Using POSIX non-realtime
Means it's not real time
Means it's not real time
Please Log in or Create an account to join the conversation.
- ccatlett1984
- Offline
- Junior Member
Less
More
- Posts: 33
- Thank you received: 1
03 Jan 2025 23:22 - 04 Jan 2025 00:03 #317980
by ccatlett1984
After cloning www.linuxcnc.org/iso/rpi-5-debian-bookwo...23-11-17-1520.img.xz to an SD card, then building linuxCNC from source, and Mesflash from source, i am in the following state.
Upon boot after connecting the card:
Mesaflash can not see the card, same invalid cookie error.
After attempting mesaflash, I tried halcmd (loading the same 2 drivers as previously)
halcmd CAN see the card and it's pins.
NOTE: /dev/ only contains "spidev10.0" whereas my other install had "spidev0.0 , spidev0.1 and spidev1"
Thoughts on next steps?
Replied by ccatlett1984 on topic Pi5 MESA 7c80: mesaflash can't see the card.
FRESH START DEBIAN INSTALL ON 1/3/2025Could be. Looks like it could be a self built kernel, there are a couple of options relating to the real time kernel built.
Be interesting to know the origin of the installation. To get the hm2_spix driver I think you still need to build from source as the Rpi packages seem to have a July changelog.
After cloning www.linuxcnc.org/iso/rpi-5-debian-bookwo...23-11-17-1520.img.xz to an SD card, then building linuxCNC from source, and Mesflash from source, i am in the following state.
Upon boot after connecting the card:
Mesaflash can not see the card, same invalid cookie error.
After attempting mesaflash, I tried halcmd (loading the same 2 drivers as previously)
halcmd CAN see the card and it's pins.
NOTE: /dev/ only contains "spidev10.0" whereas my other install had "spidev0.0 , spidev0.1 and spidev1"
Thoughts on next steps?
Last edit: 04 Jan 2025 00:03 by ccatlett1984.
Please Log in or Create an account to join the conversation.
- cornholio
- Offline
- Platinum Member
Less
More
- Posts: 1181
- Thank you received: 399
03 Jan 2025 23:40 #317984
by cornholio
Replied by cornholio on topic Pi5 MESA 7c80: mesaflash can't see the card.
Something is amiss as the kernel is about 11 months newer than the image you linked to.
Now to clear things up.
1: have all your attempts been with the image you linked to.
2: if so what is causing the discrepancy with the kernel build date.
With the previous driver the kernel driver that was loaded on boot was unloaded by the Linuxcnc driver. I’m not entirely sure if it reloaded on exit.
Now to clear things up.
1: have all your attempts been with the image you linked to.
2: if so what is causing the discrepancy with the kernel build date.
With the previous driver the kernel driver that was loaded on boot was unloaded by the Linuxcnc driver. I’m not entirely sure if it reloaded on exit.
Please Log in or Create an account to join the conversation.
- ccatlett1984
- Offline
- Junior Member
Less
More
- Posts: 33
- Thank you received: 1
03 Jan 2025 23:51 #317986
by ccatlett1984
Started with a fresh SD Card for the Debian image linked above today.
Would running system updates have messed with the kernel version?
Replied by ccatlett1984 on topic Pi5 MESA 7c80: mesaflash can't see the card.
Everything prior to today, was with the official Raspbian image.Something is amiss as the kernel is about 11 months newer than the image you linked to.
Now to clear things up.
1: have all your attempts been with the image you linked to.
2: if so what is causing the discrepancy with the kernel build date.
With the previous driver the kernel driver that was loaded on boot was unloaded by the Linuxcnc driver. I’m not entirely sure if it reloaded on exit.
Started with a fresh SD Card for the Debian image linked above today.
Would running system updates have messed with the kernel version?
Please Log in or Create an account to join the conversation.
- cornholio
- Offline
- Platinum Member
Less
More
- Posts: 1181
- Thank you received: 399
04 Jan 2025 00:16 #317993
by cornholio
Replied by cornholio on topic Pi5 MESA 7c80: mesaflash can't see the card.
OK the original attempts were with the official raspbian image. The supplied kernel is not one suitable for Realtime in the way Linuxcnc requires a realtime kernel. There was discussion a few months ago reagrding real time being included in the mainline Linux kernels. When building a real time kernel there are 3 options from memory, if you do not choose the correct type it is not what Linuxcnc expects.
It would depend whether the kernel was pinned (excluded from updates or not) but on further reflection the Raspbian kernel is different to the mainline debian kernel for arm boards.
And honestly when you do an update you should have a look at what is being updated. before proceding.
With the Linuxcnc image did you enable the SPI interfaces in config.txt ?
If you had of clearly stated at the beginning you were using a raspbian image to begin with it would have made life a whole lot easier. It would have been suggested to use the Linuxcnc image from the get go.
It would depend whether the kernel was pinned (excluded from updates or not) but on further reflection the Raspbian kernel is different to the mainline debian kernel for arm boards.
And honestly when you do an update you should have a look at what is being updated. before proceding.
With the Linuxcnc image did you enable the SPI interfaces in config.txt ?
If you had of clearly stated at the beginning you were using a raspbian image to begin with it would have made life a whole lot easier. It would have been suggested to use the Linuxcnc image from the get go.
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.173 seconds