Pi5 MESA 7c80: mesaflash can't see the card.

More
1 year 9 months ago #319976 by rodw
point 6 sounds a bit dangerous to me because we are using a custom built kernel so who knows what might happen if you attempt to upgrade the OS version!

I would stick to just doing
sudo apt update

 

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

More
1 year 2 months ago - 1 year 2 months ago #333915 by probotix
RPI5 OS with 7c81 Interesting note:
- Leaving config.txt alone creates only spidev10.0 and hal_spix works fine, but mesaflash does not.
- Enabling spi in config.txt (dtparam=spi=on) creates spidev0.0, spidev0.1, and spidev10.1, hal_spix works fine, and mesaflash works fine with --addr /dev/spidev0.0

It would appear that hal_spix just looks for the first spi device, whichever one it is, or scans all of them; and mesaflash explicitly requires it to be on spidev0.0.

Peter? 
Last edit: 1 year 2 months ago by probotix.

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

More
1 year 2 months ago #333917 by unknown
On the latest Linuxcnc images SPI should be enabled by default, this was an issue I had with the previous releases.
You specify which spidev mesaflash uses on the command line switch as the --addr, spix can be forced to use a particular SPI interface. The Linuxcnc docs for spix are a good read as it points everything out.

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

More
1 year 2 months ago #333918 by tommylight
@ccatlett1984
Do not change the subject tittle as it makes it impossible to find when searching.
Thank you.

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

Moderators: PCW, jmelson
Time to create page: 0.361 seconds
Powered by Kunena Forum