All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA
@ 2018-01-06 13:39 Goldschmidt Simon
  2018-01-06 15:42 ` Marek Vasut
  0 siblings, 1 reply; 31+ messages in thread
From: Goldschmidt Simon @ 2018-01-06 13:39 UTC (permalink / raw)
  To: u-boot

On Fri, 05/01/2018, Marek Vasut wrote:
> On 01/05/2018 08:31 PM, Goldschmidt Simon wrote:
>> On Fri, 05/01/2018 Marek Vasut wrote:
>>> On 01/05/2018 04:49 PM, Goldschmidt Simon wrote:
>>
>> <snip>
>>
>>>>>> OK, so I need these patches to get qspi work on socfpga:
>>>>>>
>>>>>> - Series "spi: cadence_spi: Adopt Linux DT bindings" (v4) from Jason Rush:
>>>>>>   https://patchwork.ozlabs.org/project/uboot/list/?series=13864
>>>>>> - Patch "Revert "spi: cadence_qspi_apb: Use 32 bit indirect read transaction when possible" (v2)
>>>>>>   https://patchwork.ozlabs.org/patch/838871/
>>>>>
>>>>> I've waited for ack/tested-by from marek or someone who usually worked
>>>>> on these cadence.
>>>>
>>>> Vignesh acked, who already did some of the last changes. But Ok, I've
>>>> added Marek to the loop.
>>>>
>>>> Marek, do you see any problems here? Are you running QSPI on the
>>>> socfpga platform anywhere?
>>> I am not entirely sure what this partial thread is all about, do you
>>> need some patches Acked ? Repost them including the Acks collected
>>> already and CC me, I want to review them. PW link is not enough.
>>
>> Marek, you were one of the people addressed in "to:" when Jason Rush
>> sent "[PATCH v4 1/5] spi: cadence_spi: Sync DT bindings with Linux"
>> and successors on Nov. 16th 2017.
>>
>> You were also in the "to:" field when I sent "[PATCH v4 1/5] spi:
>> cadence_spi: Sync DT bindings with Linux" on Nov. 17th 2017.
>>
>> Should I resend them anyway?
> 
> I really dunno what to make of this sparse thread, sorry. Also, I don't
> quite remember what happened in this thread on November 17th, sorry.
> 
> So maybe you should elaborate what you expect me to do ... or just
> resend the patches, yes.

OK, I'll resend the patches then. I'll try to combine the 2 series
into one but have to check with Jason first.

Thanks,
Simon

^ permalink raw reply	[flat|nested] 31+ messages in thread
* [U-Boot] QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA
@ 2018-01-05 19:31 Goldschmidt Simon
  2018-01-05 21:17 ` Marek Vasut
  0 siblings, 1 reply; 31+ messages in thread
From: Goldschmidt Simon @ 2018-01-05 19:31 UTC (permalink / raw)
  To: u-boot

On Fri, 05/01/2018 Marek Vasut wrote:
> On 01/05/2018 04:49 PM, Goldschmidt Simon wrote:

<snip>

>>>> OK, so I need these patches to get qspi work on socfpga:
>>>>
>>>> - Series "spi: cadence_spi: Adopt Linux DT bindings" (v4) from Jason Rush:
>>>>   https://patchwork.ozlabs.org/project/uboot/list/?series=13864
>>>> - Patch "Revert "spi: cadence_qspi_apb: Use 32 bit indirect read transaction when possible" (v2)
>>>>   https://patchwork.ozlabs.org/patch/838871/
>>>
>>> I've waited for ack/tested-by from marek or someone who usually worked
>>> on these cadence.
>>
>> Vignesh acked, who already did some of the last changes. But Ok, I've
>> added Marek to the loop.
>>
>> Marek, do you see any problems here? Are you running QSPI on the
>> socfpga platform anywhere?
> I am not entirely sure what this partial thread is all about, do you
> need some patches Acked ? Repost them including the Acks collected
> already and CC me, I want to review them. PW link is not enough.

Marek, you were one of the people addressed in "to:" when Jason Rush
sent "[PATCH v4 1/5] spi: cadence_spi: Sync DT bindings with Linux"
and successors on Nov. 16th 2017.

You were also in the "to:" field when I sent "[PATCH v4 1/5] spi:
cadence_spi: Sync DT bindings with Linux" on Nov. 17th 2017.

Should I resend them anyway?

Thanks,
Simon

^ permalink raw reply	[flat|nested] 31+ messages in thread
* [U-Boot] QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA
@ 2018-01-05 15:49 Goldschmidt Simon
  2018-01-05 17:52 ` Marek Vasut
  0 siblings, 1 reply; 31+ messages in thread
From: Goldschmidt Simon @ 2018-01-05 15:49 UTC (permalink / raw)
  To: u-boot

+ Marek (as Jagan wants an ack)

On 05/01/2018 Jagan Teki wrote:
> On Fri, Jan 5, 2018 at 5:32 PM, Goldschmidt Simon wrote:
>> + Vignesh
>> + Jason
>>
>> On Wed, 03/01/2018 16:57, Goldschmidt Simon wrote:
>>> On Wed, 03/01/2018 14:51, Jagan Teki wrote:
>>> >> There were already patches posted on this list by me and others, but
>>> >> unfortunately they haven't made it into the repository, yet.
>>> >>
>>> >> Jagan, could you comment on the status of these fixes? I can search
>>> >> for the patchwork items related if you want me to.
>>> >
>>> > 2 out of 1 of this[1] have some discussion still going is it?
>>> >
>>> > [1] https://patchwork.ozlabs.org/patch/838195/
>>>
>>> No, that series should be dropped. I don't know if I can do anything about that in
>>> patchwork though?
>>>
>>> Let me check the patches from my upstreaming queue when I'm back at work
>>> tomorrow. I'll send a list of patchwork items I needed to get QSPI running on
<>> mach-socfpga.
>>
>> OK, so I need these patches to get qspi work on socfpga:
>>
>> - Series "spi: cadence_spi: Adopt Linux DT bindings" (v4) from Jason Rush:
>>   https://patchwork.ozlabs.org/project/uboot/list/?series=13864
>> - Patch "Revert "spi: cadence_qspi_apb: Use 32 bit indirect read transaction when possible" (v2)
>>   https://patchwork.ozlabs.org/patch/838871/
> 
> I've waited for ack/tested-by from marek or someone who usually worked
> on these cadence.

Vignesh acked, who already did some of the last changes. But Ok, I've
added Marek to the loop.

Marek, do you see any problems here? Are you running QSPI on the
socfpga platform anywhere?

> 
>>
>> All patches were discussed with Vignesh in November. Could we make
>> sure these make it into 2018.03 now that we missed 2018.01?
>>
>> Aside from that, I have this patch running which ensures my QSPI (that
>> does not have a reset line) is put into 3 byte address mode that
>> U-Boot needs. This would be *very* helpful, too:
>> https://patchwork.ozlabs.org/patch/826919/
> 
> issue discussing with spi-nor changes as well, we will figure it out
> and try for best possible.

Ok, this is a different issue anyway. It is not related to socfpga
or cadence qspi. Maybe I can even trick my Linux to use 4 byte opcodes
instead of the 4 byte mode...

Thanks,
Simon

^ permalink raw reply	[flat|nested] 31+ messages in thread
* [U-Boot] QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA
@ 2018-01-05 12:02 Goldschmidt Simon
  2018-01-05 12:11 ` Jagan Teki
  0 siblings, 1 reply; 31+ messages in thread
From: Goldschmidt Simon @ 2018-01-05 12:02 UTC (permalink / raw)
  To: u-boot

+ Vignesh
+ Jason

On Wed, 03/01/2018 16:57, Goldschmidt Simon wrote:
> On Wed, 03/01/2018 14:51, Jagan Teki wrote:
> >> There were already patches posted on this list by me and others, but
> >> unfortunately they haven't made it into the repository, yet.
> >>
> >> Jagan, could you comment on the status of these fixes? I can search
> >> for the patchwork items related if you want me to.
> >
> > 2 out of 1 of this[1] have some discussion still going is it?
> >
> > [1] https://patchwork.ozlabs.org/patch/838195/
> 
> No, that series should be dropped. I don't know if I can do anything about that in
> patchwork though?
> 
> Let me check the patches from my upstreaming queue when I'm back at work
> tomorrow. I'll send a list of patchwork items I needed to get QSPI running on
> mach-socfpga.

OK, so I need these patches to get qspi work on socfpga:

- Series "spi: cadence_spi: Adopt Linux DT bindings" (v4) from Jason Rush:
  https://patchwork.ozlabs.org/project/uboot/list/?series=13864
- Patch "Revert "spi: cadence_qspi_apb: Use 32 bit indirect read transaction when possible" (v2)
  https://patchwork.ozlabs.org/patch/838871/

All patches were discussed with Vignesh in November. Could we make
sure these make it into 2018.03 now that we missed 2018.01?

Aside from that, I have this patch running which ensures my QSPI (that
does not have a reset line) is put into 3 byte address mode that
U-Boot needs. This would be *very* helpful, too:
https://patchwork.ozlabs.org/patch/826919/

Thanks,
Simon

^ permalink raw reply	[flat|nested] 31+ messages in thread
* [U-Boot] QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA
@ 2018-01-03 13:38 Goldschmidt Simon
  2018-01-03 13:51 ` Jagan Teki
  0 siblings, 1 reply; 31+ messages in thread
From: Goldschmidt Simon @ 2018-01-03 13:38 UTC (permalink / raw)
  To: u-boot

+ Jagan

On Wed, 03/01/2018, Mr. goldenstreet wrote:
> hey, i have looked at this thread:
> http://u-boot.10912.n7.nabble.com/QSPI-quot-sf-probe-quot-quot-sf-read-quot-on-
> Altera-SoC-FPGA-td304882.html
> 
> i'm having the same problem with Arria 5, when i try to use the "sf probe"
> command on the nor flash, the result i'm getting0 is:
> 
> SF: Detected n25q512 with page size 256 Bytes, erase size 64 KiB, total
> 64 MiB
> ### ERROR ### Please RESET the board ###
> 
>  i have already tried to use the patches for the uboot code and also to add more
> defines before making the uboot, but it still doesn't work for me.
> 
> any ideas? thanks ahead.

There were already patches posted on this list by me and others, but
unfortunately they haven't made it into the repository, yet.

Jagan, could you comment on the status of these fixes? I can search
for the patchwork items related if you want me to.

I'd really like these fixes to go in without waiting for the new
spi-nor code.

Thanks,
Simon

^ permalink raw reply	[flat|nested] 31+ messages in thread
* [U-Boot] QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA
@ 2018-01-03 12:16 Mr. goldenstreet
  2018-01-03 15:57 ` Goldschmidt Simon
  2018-01-08  9:17 ` Goldschmidt Simon
  0 siblings, 2 replies; 31+ messages in thread
From: Mr. goldenstreet @ 2018-01-03 12:16 UTC (permalink / raw)
  To: u-boot

hey, i have looked at this thread:
http://u-boot.10912.n7.nabble.com/QSPI-quot-sf-probe-quot-quot-sf-read-quot-on-Altera-SoC-FPGA-td304882.html

i'm having the same problem with Arria 5,
when i try to use the "sf probe" command on the nor flash,
the result i'm getting0 is:

SF: Detected n25q512 with page size 256 Bytes, erase size 64 KiB, total 
64 MiB 
### ERROR ### Please RESET the board ### 

 i have already tried to use the patches for the uboot code and also to add
more defines before making the uboot, but it still doesn't work for me.

any ideas? thanks ahead.



--
Sent from: http://u-boot.10912.n7.nabble.com/

^ permalink raw reply	[flat|nested] 31+ messages in thread
* [U-Boot] QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA
@ 2017-09-01 11:53 Hannes Schmelzer
  2017-09-01 14:39 ` Jagan Teki
  0 siblings, 1 reply; 31+ messages in thread
From: Hannes Schmelzer @ 2017-09-01 11:53 UTC (permalink / raw)
  To: u-boot

Hi Eldor,

just found your post in the mailinglist.

https://lists.denx.de/pipermail/u-boot/2016-December/276491.html

Reason why i'm searched there is, that i've now excactly same problem as 
you.

----

----

I'm using most current mainline u-boot.

did you ever found some solution for your trouble ?

cheers,
Hannes

^ permalink raw reply	[flat|nested] 31+ messages in thread
* [U-Boot] QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA
@ 2016-12-19 15:07 Eldor Rødseth
  0 siblings, 0 replies; 31+ messages in thread
From: Eldor Rødseth @ 2016-12-19 15:07 UTC (permalink / raw)
  To: u-boot

Hi,

 

I observe a behavior with the QSPI functionality on newer uboot versions; e.g. 2016.11 rc1 and also latest from DENX mainline.

I was wondering whether anyone else has experienced similar issue(s) and can perhaps give hints as to what can cause this.

I will try to narrow down the issue to a couple of examples related to ?sf probe ?? and ?sf read ..?.

I apologize for the long listing, but I am running with full DEBUG for additional details:

 

Example #1:

When issuing ?sf probe? with no parameters; i.e. use defaults, the command fails and causes board reboot:

=> sf probe

uclass_find_device_by_seq: 0 0

   - 0 -1

   - not found

spi_find_bus_and_cs: No bus 0

uclass_find_device_by_seq: 0 0

   - 0 -1

   - not found

uclass_find_device_by_seq: 1 0

   - 0 -1

   - found

uclass_find_device_by_seq: 0 0

   - 0 -1

   - not found

fdtdec_get_int_array: reg

get_prop_check_min_len: reg

fdtdec_get_uint: spi-max-frequency: 0x5f5e100 (100000000)

fdtdec_get_int: page-size: 0x100 (256)

fdtdec_get_int: block-size: 0x10 (16)

fdtdec_get_int: tshsl-ns: 0x32 (50)

fdtdec_get_int: tsd2d-ns: 0x32 (50)

fdtdec_get_int: tchsh-ns: 0x4 (4)

fdtdec_get_int: tslch-ns: 0x4 (4)

fdtdec_get_int: sram-size: 0x80 (128)

cadence_spi_ofdata_to_platdata: regbase=ff705000 ahbbase=ffa00000 max-frequency=100000000 page-size=256

fdtdec_get_int: spi-max-frequency: (not found)

spi_get_bus_and_cs: Binding new device 'spi_flash at 0:0', busnum=0, cs=0, driver=spi_flash_std

Bound device spi_flash at 0:0 to spi at ff705000

uclass_find_device_by_seq: 0 -1

uclass_find_device_by_seq: 0 0

   - -1 -1

   - not found

spi_flash_std_probe: slave=7bf49e88, cs=0

cadence_qspi_apb_config_baudrate_div: ref_clk 400000000Hz sclk 1000000Hz Div 0xf

cadence_qspi_apb_config_baudrate_div: ref_clk 400000000Hz sclk 100000Hz Div 0xf

SF: Read data capture delay calibrated to 7 (0 - 15)

cadence_spi_set_speed: speed=100000

cadence_spi_xfer: len=1 [bytes]

cadence_qspi_apb_chipselect : chipselect 0 decode 0

cadence_spi_xfer: len=5 [bytes]

cadence_qspi_apb_chipselect : chipselect 0 decode 0

SF: Got idcodes

00000000: 20 ba 22 10 44                                      .".D

cadence_spi_xfer: len=1 [bytes]

cadence_qspi_apb_chipselect : chipselect 0 decode 0

cadence_spi_xfer: len=1 [bytes]

cadence_qspi_apb_chipselect : chipselect 0 decode 0

fdtdec_get_addr_size_fixed: memory-map: (not found)

spi_flash_decode_fdt: Cannot decode address

SF: Detected MT25QL02 with page size 256 Bytes, erase size 64 KiB, total 256 MiB

cadence_qspi_apb_config_baudrate_div: ref_clk 400000000Hz sclk 1000000Hz Div 0xf

### ERROR ### Please RESET the board ###

 

--------------

 

Example #2:

When issuing ?sf probe <w/params>?; the command apparently succeeds; i.e. correct flash type is detected.

However ? look at Example #3 below.

=> sf probe 0 100000000 3 ? should be identical parameters as read from DTS in Example #1

uclass_find_device_by_seq: 0 0

   - 0 -1

   - not found

spi_find_bus_and_cs: No bus 0

uclass_find_device_by_seq: 0 0

   - 0 -1

   - not found

uclass_find_device_by_seq: 1 0

   - 0 -1

   - found

uclass_find_device_by_seq: 0 0

   - 0 -1

   - not found

fdtdec_get_int_array: reg

get_prop_check_min_len: reg

fdtdec_get_uint: spi-max-frequency: 0x5f5e100 (100000000)

fdtdec_get_int: page-size: 0x100 (256)

fdtdec_get_int: block-size: 0x10 (16)

fdtdec_get_int: tshsl-ns: 0x32 (50)

fdtdec_get_int: tsd2d-ns: 0x32 (50)

fdtdec_get_int: tchsh-ns: 0x4 (4)

fdtdec_get_int: tslch-ns: 0x4 (4)

fdtdec_get_int: sram-size: 0x80 (128)

cadence_spi_ofdata_to_platdata: regbase=ff705000 ahbbase=ffa00000 max-frequency=100000000 page-size=256

fdtdec_get_int: spi-max-frequency: (not found)

spi_get_bus_and_cs: Binding new device 'spi_flash at 0:0', busnum=0, cs=0, driver=spi_flash_std

Bound device spi_flash at 0:0 to spi at ff705000

uclass_find_device_by_seq: 0 -1

uclass_find_device_by_seq: 0 0

   - -1 -1

   - not found

spi_flash_std_probe: slave=7bf49ec0, cs=0

cadence_qspi_apb_config_baudrate_div: ref_clk 400000000Hz sclk 1000000Hz Div 0xf

cadence_qspi_apb_config_baudrate_div: ref_clk 400000000Hz sclk 100000000Hz Div 0x1

SF: Read data capture delay calibrated to 3 (2 - 4)

cadence_spi_set_speed: speed=100000000

cadence_spi_xfer: len=1 [bytes]

cadence_qspi_apb_chipselect : chipselect 0 decode 0

cadence_spi_xfer: len=5 [bytes]

cadence_qspi_apb_chipselect : chipselect 0 decode 0

SF: Got idcodes

00000000: 20 ba 22 10 44                                      .".D

cadence_spi_xfer: len=1 [bytes]

cadence_qspi_apb_chipselect : chipselect 0 decode 0

cadence_spi_xfer: len=1 [bytes]

cadence_qspi_apb_chipselect : chipselect 0 decode 0

fdtdec_get_addr_size_fixed: memory-map: (not found)

spi_flash_decode_fdt: Cannot decode address

SF: Detected MT25QL02 with page size 256 Bytes, erase size 64 KiB, total 256 MiB

cadence_spi_set_speed: speed=100000000

spi_get_bus_and_cs: bus=7bf48348, slave=7bf49ec0

=> 

 

------

 

Example #3:

After successful ?sf probe? in Example #2, any ?sf ??? access (except ?sf erase ?.?) causes core dump in uboot:

=> mtdparts

 

---mtdparts_init---

last_ids  : 

env_ids   : <NULL>

last_parts: 

env_parts : <NULL>

 

last_partition : 

env_partition  : <NULL>

mtdids variable not defined, using default

Initial value for argc=3

Final value for argc=3

Initial value for argc=3

Final value for argc=3

 

---parse_mtdids---

mtdids = nor0=ff705000.spi.0

 

+ id nor0              268435456 bytes  ff705000.spi.0

 

---parse_mtdparts---

mtdparts = <NULL>

 

--- current_save ---

Initial value for argc=2

Final value for argc=2

hdelete: DELETE key "partition"

=> partition NULL

--- index partitions ---

Initial value for argc=2

Final value for argc=2

hdelete: DELETE key "mtddevnum"

Initial value for argc=2

Final value for argc=2

hdelete: DELETE key "mtddevname"

=> mtddevnum NULL

=> mtddevname NULL

===device_parse===

--- id_find_by_mtd_id: 'ff705000.spi.0' (len = 14)

entry: 'ff705000.spi.0' (len = 14)

dev type = 1 (nor), dev num = 0, mtd-id = ff705000.spi.0

parsing partitions 256k(spl),512k(u-boot),64k(env1),256k(dtb),8m(lba),32m(lbafs),8m(fpga),128k(script),-(UBI)

+ partition: name spl                    size 0x00040000 offset 0xffffffffffffffff mask flags 0

+ partition: name u-boot                 size 0x00080000 offset 0xffffffffffffffff mask flags 0

+ partition: name env1                   size 0x00010000 offset 0xffffffffffffffff mask flags 0

+ partition: name dtb                    size 0x00040000 offset 0xffffffffffffffff mask flags 0

+ partition: name lba                    size 0x00800000 offset 0xffffffffffffffff mask flags 0

+ partition: name lbafs                  size 0x02000000 offset 0xffffffffffffffff mask flags 0

+ partition: name fpga                   size 0x00800000 offset 0xffffffffffffffff mask flags 0

+ partition: name script                 size 0x00020000 offset 0xffffffffffffffff mask flags 0

'-': remaining size assigned

+ partition: name UBI                    size 0xffffffffffffffff offset 0xffffffffffffffff mask flags 0

 

total partitions: 9

part_sort_add: list empty

--- index partitions ---

Initial value for argc=2

Final value for argc=2

hdelete: DELETE key "mtddevnum"

Initial value for argc=2

Final value for argc=2

hdelete: DELETE key "mtddevname"

=> mtddevnum NULL

=> mtddevname NULL

--- index partitions ---

Initial value for argc=2

Final value for argc=2

hdelete: DELETE key "mtddevnum"

Initial value for argc=2

Final value for argc=2

hdelete: DELETE key "mtddevname"

=> mtddevnum NULL

=> mtddevname NULL

--- index partitions ---

Initial value for argc=2

Final value for argc=2

hdelete: DELETE key "mtddevnum"

Initial value for argc=2

Final value for argc=2

hdelete: DELETE key "mtddevname"

=> mtddevnum NULL

=> mtddevname NULL

--- index partitions ---

Initial value for argc=2

Final value for argc=2

hdelete: DELETE key "mtddevnum"

Initial value for argc=2

Final value for argc=2

hdelete: DELETE key "mtddevname"

=> mtddevnum NULL

=> mtddevname NULL

--- index partitions ---

Initial value for argc=2

Final value for argc=2

hdelete: DELETE key "mtddevnum"

Initial value for argc=2

Final value for argc=2

hdelete: DELETE key "mtddevname"

=> mtddevnum NULL

=> mtddevname NULL

--- index partitions ---

Initial value for argc=2

Final value for argc=2

hdelete: DELETE key "mtddevnum"

Initial value for argc=2

Final value for argc=2

hdelete: DELETE key "mtddevname"

=> mtddevnum NULL

=> mtddevname NULL

--- index partitions ---

Initial value for argc=2

Final value for argc=2

hdelete: DELETE key "mtddevnum"

Initial value for argc=2

Final value for argc=2

hdelete: DELETE key "mtddevname"

=> mtddevnum NULL

=> mtddevname NULL

--- index partitions ---

Initial value for argc=2

Final value for argc=2

hdelete: DELETE key "mtddevnum"

Initial value for argc=2

Final value for argc=2

hdelete: DELETE key "mtddevname"

=> mtddevnum NULL

=> mtddevname NULL

--- index partitions ---

Initial value for argc=2

Final value for argc=2

hdelete: DELETE key "mtddevnum"

Initial value for argc=2

Final value for argc=2

hdelete: DELETE key "mtddevname"

=> mtddevnum NULL

=> mtddevname NULL

===

 

+ device: nor   0       ff705000.spi.0

--- current_save ---

Initial value for argc=3

Final value for argc=3

=> partition nor0,0

--- index partitions ---

Initial value for argc=3

Final value for argc=3

 

--- mtd_part_info: partition number 0 for device nor0 (ff705000.spi.0)

Initial value for argc=3

Final value for argc=3

=> mtddevnum 0,

=> mtddevname spl

mtdparts_init: current_mtd_dev  = nor0, current_mtd_partnum = 0

 

---list_partitions---

 

device nor0 <ff705000.spi.0>, # parts = 9

 #: name                size            offset          mask_flags

 0: spl                 0x00040000      0x00000000      0

 1: u-boot              0x00080000      0x00040000      0

 2: env1                0x00010000      0x000c0000      0

 3: dtb                 0x00040000      0x000d0000      0

 4: lba                 0x00800000      0x00110000      0

 5: lbafs               0x02000000      0x00910000      0

 6: fpga                0x00800000      0x02910000      0

 7: script              0x00020000      0x03110000      0

 8: UBI                 0x0ced0000      0x03130000      0

 

--- mtd_part_info: partition number 0 for device nor0 (ff705000.spi.0)

 

active partition: nor0,0 - (spl) 0x00040000 @ 0x00000000

 

defaults:

mtdids  : nor0=ff705000.spi.0

mtdparts: mtdparts=ff705000.spi.0:256k(spl),512k(u-boot),64k(env1),256k(dtb),8m(lba),32m(lbafs),8m(fpga),128k(script),-(UBI)

=> 

=> sf read 100 0 100

device 0 offset 0x0, size 0x100

cadence_spi_xfer: len=5 [bytes]

cadence_qspi_apb_chipselect : chipselect 0 decode 0

cadence_spi_xfer: len=256 [bytes]

cadence_qspi_apb_chipselect : chipselect 0 decode 0

data abort

pc : [<7ff706c8>]          lr : [<7ff90021>]

reloc pc : [<01027708>]    lr : [<01047061>]

sp : 7bf42c18  ip : 00000000     fp : 00000002

r10: 00000000  r9 : 7bf47ee8     r8 : 7bf483a0

r7 : 0000270f  r6 : 00000100     r5 : 00000100  r4 : 7bf483a0

r3 : 00000008  r2 : 00000001     r1 : 00000100  r0 : ffa00000

Flags: nzCv  IRQs off  FIQs off  Mode SVC_32

Resetting CPU ...

 

resetting ...

 

-------

 

My QSPI is a ?cadence,qspi? compatible device, and I am using the default DTS for socfpga_cyclone5_socdk.dts.

 

Regards,

Eldor Rodseth

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2018-01-24 18:26 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-06 13:39 [U-Boot] QSPI "sf probe ...", "sf read ..." on Altera SoC FPGA Goldschmidt Simon
2018-01-06 15:42 ` Marek Vasut
2018-01-06 18:46   ` Jason Rush
2018-01-06 19:29     ` Marek Vasut
2018-01-06 21:09       ` Jason Rush
2018-01-07 11:39         ` Marek Vasut
2018-01-08  3:40           ` Jason Rush
2018-01-08  5:27             ` Vignesh R
  -- strict thread matches above, loose matches on Subject: below --
2018-01-05 19:31 Goldschmidt Simon
2018-01-05 21:17 ` Marek Vasut
2018-01-05 15:49 Goldschmidt Simon
2018-01-05 17:52 ` Marek Vasut
2018-01-05 12:02 Goldschmidt Simon
2018-01-05 12:11 ` Jagan Teki
2018-01-03 13:38 Goldschmidt Simon
2018-01-03 13:51 ` Jagan Teki
2018-01-03 12:16 Mr. goldenstreet
2018-01-03 15:57 ` Goldschmidt Simon
2018-01-04 14:12   ` Mr. goldenstreet
2018-01-08  9:17 ` Goldschmidt Simon
2018-01-17 13:01   ` RB23
2018-01-17 13:06     ` Simon Goldschmidt
2018-01-17 13:09       ` Marek Vasut
2018-01-17 13:46         ` RB23
2018-01-18  5:07           ` Jason Rush
2018-01-18  5:17             ` Simon Goldschmidt
2018-01-18  7:47             ` Simon Goldschmidt
2018-01-24 18:26               ` Mr. goldenstreet
2017-09-01 11:53 Hannes Schmelzer
2017-09-01 14:39 ` Jagan Teki
2016-12-19 15:07 Eldor Rødseth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.