Skip to content

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

Open

Description

@colemickens

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

Activity

  1. changed the title [-]visionfive2: upstream: qpi does not work[/-] [+]visionfive2: upstream: QSPI/spi does not work[/+] on May 19, 2023
  2. mmoll commented on May 30, 2023

    @mmoll

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

  3. misuzu commented on May 31, 2023

    @misuzu

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions