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

More
19 Nov 2023 00:22 #285872 by cornholio
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 or Create an account to join the conversation.

More
19 Nov 2023 00:46 - 19 Nov 2023 01:08 #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.
Last edit: 19 Nov 2023 01:08 by PCW.

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

More
19 Nov 2023 02:21 - 19 Nov 2023 12:18 #285876 by cornholio
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.

 
Last edit: 19 Nov 2023 12:18 by cornholio.

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

More
19 Nov 2023 11:40 - 19 Nov 2023 12:17 #285887 by cornholio
Totally wrong.
Last edit: 19 Nov 2023 12:17 by cornholio. Reason: wrong wrong wrong

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

Moderators: PCWjmelson
Time to create page: 0.100 seconds
Powered by Kunena Forum