7i90, 7c80, 7c81 support 32 spi bit word length
- Cant do this anymore bye all
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 1200
- Thank you received: 422
19 Nov 2023 00:22 #285872
by Cant do this anymore bye all
7i90, 7c80, 7c81 support 32 spi bit word length was created 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.
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.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 18531
- Thank you received: 5079
19 Nov 2023 00:46 - 19 Nov 2023 01:08 #285873
by PCW
Replied by PCW on topic 7i90, 7c80, 7c81 support 32 spi bit word length
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.
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.
- Cant do this anymore bye all
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 1200
- Thank you received: 422
19 Nov 2023 02:21 - 19 Nov 2023 12:18 #285876
by Cant do this anymore bye all
Replied by Cant do this anymore bye all on topic 7i90, 7c80, 7c81 support 32 spi bit word length
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.
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 Cant do this anymore bye all.
Please Log in or Create an account to join the conversation.
- Cant do this anymore bye all
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 1200
- Thank you received: 422
19 Nov 2023 11:40 - 19 Nov 2023 12:17 #285887
by Cant do this anymore bye all
Replied by Cant do this anymore bye all on topic 7i90, 7c80, 7c81 support 32 spi bit word length
Totally wrong.
Last edit: 19 Nov 2023 12:17 by Cant do this anymore bye all. Reason: wrong wrong wrong
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.088 seconds