Skip to content

Instantly share code, notes, and snippets.

@Forty-Bot
Created January 17, 2021 16:11

Revisions

  1. Forty-Bot created this gist Jan 17, 2021.
    41 changes: 41 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,41 @@
    => sf probe
    spi_find_bus_and_cs: No bus 3
    dw_spi spi@54000000: max-frequency=100000000
    dw_spi spi@54000000: Got clock via device tree: 97500000 Hz
    dw_spi spi@54000000: ssi_version_id=1.01* ssi_max_xfer_size=32
    dw_spi spi@54000000: fifo_len=32
    spi_find_chip_select: plat=0000000080783cd0, cs=0
    dw_spi spi@54000000: speed=50000000 clk_div=2
    dw_spi spi@54000000: mode=2400
    jedec_spi_nor spi-flash@0: op 9f 1-0-1 addr=0 wait=0
    dw_spi spi@54000000: cr0=00000c07 spi_cr0=00000201 buf=000000008077d148 len=6 [bytes]
    dw_spi spi@54000000: 6 bytes xfered
    jedec_spi_nor spi-flash@0: op 5a 1-1-1 addr=3 wait=8
    dw_spi spi@54000000: cr0=00000c07 spi_cr0=00004218 buf=000000008077d030 len=16 [bytes]
    dw_spi spi@54000000: 16 bytes xfered
    jedec_spi_nor spi-flash@0: SFDP v1.0
    jedec_spi_nor spi-flash@0: op 5a 1-1-1 addr=3 wait=8
    dw_spi spi@54000000: cr0=00000c07 spi_cr0=00004218 buf=000000008078b940 len=8 [bytes]
    dw_spi spi@54000000: 8 bytes xfered
    jedec_spi_nor spi-flash@0: op 5a 1-1-1 addr=3 wait=8
    dw_spi spi@54000000: cr0=00000c07 spi_cr0=00004218 buf=000000008077d040 len=36 [bytes]
    dw_spi spi@54000000: 36 bytes xfered
    jedec_spi_nor spi-flash@0: op 06 1-0-1 addr=0 wait=0
    dw_spi spi@54000000: cr0=00000407 spi_cr0=00000201 buf=0000000000000000 len=0 [bytes]
    dw_spi spi@54000000: 0 bytes xfered
    jedec_spi_nor spi-flash@0: op 01 1-0-1 addr=0 wait=0
    dw_spi spi@54000000: cr0=00000407 spi_cr0=00000201 buf=000000008078b828 len=1 [bytes]
    dw_spi spi@54000000: 1 bytes xfered
    jedec_spi_nor spi-flash@0: op 05 1-0-1 addr=0 wait=0
    dw_spi spi@54000000: cr0=00000c07 spi_cr0=00000201 buf=000000008077cf8f len=1 [bytes]
    dw_spi spi@54000000: 1 bytes xfered
    jedec_spi_nor spi-flash@0: sr=0
    SF: Detected gd25lq128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
    spi_get_bus_and_cs: bus=0000000080783b10, slave=000000008078b8b0
    => sf read 0x80000000 0 0x1000
    device 0 offset 0x0, size 0x1000
    jedec_spi_nor spi-flash@0: from 0x00000000, len 4096
    jedec_spi_nor spi-flash@0: op eb 1-4-4 addr=3 wait=6
    dw_spi spi@54000000: cr0=00800807 spi_cr0=00003219 buf=0000000080000000 len=4096 [bytes]

    (boot hangs here)