Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

visionfive2: upstream: QSPI/spi does not work #102

Open
colemickens opened this issue May 19, 2023 · 2 comments
Open

visionfive2: upstream: QSPI/spi does not work #102

colemickens opened this issue May 19, 2023 · 2 comments

Comments

@colemickens
Copy link

as also reported here https://forum.rvspace.org/t/current-upstream-branch-report/2739/2

qspi does not seem to work:

[cole@vf2:~]$ dmesg | grep spi
[   46.140877] cadence-qspi 13010000.spi: QSPI is still busy after 500ms timeout.
[   47.436875] cadence-qspi 13010000.spi: QSPI is still busy after 500ms timeout.
[   47.444176] spi-nor spi0.0: operation failed with -110
[   47.449375] spi-nor: probe of spi0.0 failed with error -110

[cole@vf2:~]$ uname -a
Linux vf2 6.4.0-rc2 #1-NixOS SMP Tue Jan  1 00:00:00 UTC 1980 riscv64 GNU/Linux

@colemickens colemickens changed the title visionfive2: upstream: qpi does not work visionfive2: upstream: QSPI/spi does not work May 19, 2023
@mmoll
Copy link

mmoll commented May 30, 2023

This is resolved for me with the current 6.4.0-rc4 based upstream branch, @colemickens how about you? :)

@misuzu
Copy link

misuzu commented May 31, 2023

Looks better now:

% dmesg | grep spi
[   15.370662] spi-nor spi0.0: gd25lq128d (16384 Kbytes)
[   15.412552] 3 fixed-partitions partitions found on MTD device 13010000.spi.0
[   15.419707] Creating 3 MTD partitions on "13010000.spi.0":
% ls /dev/mtd*
/dev/mtd0  /dev/mtd0ro  /dev/mtd1  /dev/mtd1ro  /dev/mtd2  /dev/mtd2ro
% uname -a
Linux nixos 6.4.0-rc4 #1-NixOS SMP Tue Jan  1 00:00:00 UTC 1980 riscv64 GNU/Linux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants