U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Problem with "Cleanup dma device in spl and move dma channel[0]" series and am64
@ 2024-12-30 17:42 Tom Rini
  2024-12-31  6:28 ` Santhosh Kumar K
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Rini @ 2024-12-30 17:42 UTC (permalink / raw)
  To: Santhosh Kumar K, Vignesh Raghavendra; +Cc: u-boot

[-- Attachment #1: Type: text/plain, Size: 814 bytes --]

Hey all,

As part of testing the SPI fixes, I tracked down a problem on my AM64X
SR1.0 GP to the above series. With the series applied, I get:
=> sf probe
jedec_spi_nor flash@0: non-uniform erase sector maps are not supported yet.
SF: Detected s28hs512t with page size 256 Bytes, erase size 256 KiB, total 64 MiB
=> sf read $loadaddr 0 4000
device 0 offset 0x0, size 0x4000
ti-udma dma-controller@485c0000: k3_dmaring Ring probed rings:288,
sci-dev-id:30
ti-udma dma-controller@485c0000: dma-ring-reset-quirk: disabled
............................... (never ends).

With the series reverted:
=> sf probe
SF: Detected s28hs512t with page size 256 Bytes, erase size 256 KiB, total 64 MiB
=> sf read $loadaddr 0 4000
device 0 offset 0x0, size 0x4000
SF: 16384 bytes @ 0x0 Read: OK
=>

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

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

* Re: Problem with "Cleanup dma device in spl and move dma channel[0]" series and am64
  2024-12-30 17:42 Problem with "Cleanup dma device in spl and move dma channel[0]" series and am64 Tom Rini
@ 2024-12-31  6:28 ` Santhosh Kumar K
  2024-12-31 13:53   ` Tom Rini
  0 siblings, 1 reply; 3+ messages in thread
From: Santhosh Kumar K @ 2024-12-31  6:28 UTC (permalink / raw)
  To: Tom Rini, Vignesh Raghavendra; +Cc: u-boot, s-k6, Prasanth Babu Mantena

Hi, Tom,

On 30/12/24 23:12, Tom Rini wrote:
> Hey all,
> 
> As part of testing the SPI fixes, I tracked down a problem on my AM64X
> SR1.0 GP to the above series. With the series applied, I get:
> => sf probe
> jedec_spi_nor flash@0: non-uniform erase sector maps are not supported yet.
> SF: Detected s28hs512t with page size 256 Bytes, erase size 256 KiB, total 64 MiB
> => sf read $loadaddr 0 4000
> device 0 offset 0x0, size 0x4000
> ti-udma dma-controller@485c0000: k3_dmaring Ring probed rings:288,
> sci-dev-id:30
> ti-udma dma-controller@485c0000: dma-ring-reset-quirk: disabled
> ............................... (never ends).
> 
> With the series reverted:
> => sf probe
> SF: Detected s28hs512t with page size 256 Bytes, erase size 256 KiB, total 64 MiB
> => sf read $loadaddr 0 4000
> device 0 offset 0x0, size 0x4000
> SF: 16384 bytes @ 0x0 Read: OK
> =>

A fix for this issue has already been provided (not merged yet).

Patch: 
https://lore.kernel.org/u-boot/20241218130045.2070314-1-p-mantena@ti.com/

With this fix:
=> sf probe
SF: Detected s28hs512t with page size 256 Bytes, erase size 256 KiB, 
total 64 MiB
=> sf read $loadaddr 0 4000
device 0 offset 0x0, size 0x4000
SF: 16384 bytes @ 0x0 Read: OK
=>

Regards,
Santhosh.

> 

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

* Re: Problem with "Cleanup dma device in spl and move dma channel[0]" series and am64
  2024-12-31  6:28 ` Santhosh Kumar K
@ 2024-12-31 13:53   ` Tom Rini
  0 siblings, 0 replies; 3+ messages in thread
From: Tom Rini @ 2024-12-31 13:53 UTC (permalink / raw)
  To: Santhosh Kumar K; +Cc: Vignesh Raghavendra, u-boot, Prasanth Babu Mantena

[-- Attachment #1: Type: text/plain, Size: 1493 bytes --]

On Tue, Dec 31, 2024 at 11:58:29AM +0530, Santhosh Kumar K wrote:
> Hi, Tom,
> 
> On 30/12/24 23:12, Tom Rini wrote:
> > Hey all,
> > 
> > As part of testing the SPI fixes, I tracked down a problem on my AM64X
> > SR1.0 GP to the above series. With the series applied, I get:
> > => sf probe
> > jedec_spi_nor flash@0: non-uniform erase sector maps are not supported yet.
> > SF: Detected s28hs512t with page size 256 Bytes, erase size 256 KiB, total 64 MiB
> > => sf read $loadaddr 0 4000
> > device 0 offset 0x0, size 0x4000
> > ti-udma dma-controller@485c0000: k3_dmaring Ring probed rings:288,
> > sci-dev-id:30
> > ti-udma dma-controller@485c0000: dma-ring-reset-quirk: disabled
> > ............................... (never ends).
> > 
> > With the series reverted:
> > => sf probe
> > SF: Detected s28hs512t with page size 256 Bytes, erase size 256 KiB, total 64 MiB
> > => sf read $loadaddr 0 4000
> > device 0 offset 0x0, size 0x4000
> > SF: 16384 bytes @ 0x0 Read: OK
> > =>
> 
> A fix for this issue has already been provided (not merged yet).
> 
> Patch:
> https://lore.kernel.org/u-boot/20241218130045.2070314-1-p-mantena@ti.com/
> 
> With this fix:
> => sf probe
> SF: Detected s28hs512t with page size 256 Bytes, erase size 256 KiB, total
> 64 MiB
> => sf read $loadaddr 0 4000
> device 0 offset 0x0, size 0x4000
> SF: 16384 bytes @ 0x0 Read: OK
> =>
> 

Thanks. And that is the kind of change you can remind me I've missed :)

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

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

end of thread, other threads:[~2024-12-31 13:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-30 17:42 Problem with "Cleanup dma device in spl and move dma channel[0]" series and am64 Tom Rini
2024-12-31  6:28 ` Santhosh Kumar K
2024-12-31 13:53   ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox