7i90, 7c80, 7c81 support 32 spi bit word length

More
2 years 11 months ago #285872 by Cant do this anymore bye all
As per my experiments with 7i90 firmware & RPi-5, to use mesaflash I had to mod the code to allow only 8 bit word lengths for spi.
The same goes for the hm2_spi driver, only works when code is modded to use only 8 bit word lengths.
So far with hm2_rpspi I've had no luck getting this to work.

Any help or suggestions would be really helpful.

Please Log in to join the conversation.

More
2 years 11 months ago #285873 by PCW
I sounds like at the minimum mesaflash and hm2-spi should have a
command line option to force 8 bit SPI mode. I wonder if this is a
hardware limitation on the RPI5 or a kernel driver issue.

Edit: actually, it looks like mesaflash is supposed to automatically
fall back to 8 bit SPI mode if the probe fails. Are you saying that this fails?

Fixing hm2_rpspi would need low level hardware information on
RPI5's  SPI interface.

Please Log in to join the conversation.

More
2 years 11 months ago #285876 by Cant do this anymore bye all
I think the RPi-5 does support 32 bit words (at least it reports it does), where as the RPi-3/4 doesn't.

What I'm thinking is the RPi-5 is reporting it supports 32 bit mode (probe is successful), either something is going wrong on the RPi-5 side or it's on the FPGA side.

The RPi-5 spi interface is on the RP1 chip, the new interface chip, which ATM only has draft info available.

Something I've noticed is that --write & --verify & --reload work fine without forcing 8 bit mode.

 

Please Log in to join the conversation.

More
2 years 11 months ago #285887 by Cant do this anymore bye all

Please Log in to join the conversation.

Time to create page: 0.078 seconds
Powered by Kunena Forum