Re: usb:composite: data abort on second ums launch

2025-04-05 Thread Mattijs Korpershoek
Hi Zixun, On lun., mars 24, 2025 at 18:33, Zixun LI wrote: > On Mon, Mar 24, 2025 at 6:21 PM Mattijs Korpershoek > wrote: >> I've tried to reproduce this on master (2025.04-rc4-g244e61fbb7f5) and I >> don't reproduce this with the VIM3 board using >> khadas-vim3_android_ab_defconfig: >> >> I'l

Re: usb:composite: data abort on second ums launch

2025-03-28 Thread Mattijs Korpershoek
Hi Zixun, On jeu., mars 27, 2025 at 14:46, Mattijs Korpershoek wrote: > Hi Zixun, Marek, > > On lun., mars 24, 2025 at 18:40, Mattijs Korpershoek > wrote: > >> Hi Zixun, >> >> On lun., mars 24, 2025 at 18:33, Zixun LI wrote: >> >> resetting ... > > [...] > >> >>> >>> Each time when ums is ca

Re: usb:composite: data abort on second ums launch

2025-03-27 Thread Mattijs Korpershoek
Hi Zixun, Marek, On lun., mars 24, 2025 at 18:40, Mattijs Korpershoek wrote: > Hi Zixun, > > On lun., mars 24, 2025 at 18:33, Zixun LI wrote: > > resetting ... [...] > >> >> Each time when ums is called 2*FSG_BUFLEN, 256kB buffer is allocated >> and it seems not >> freed as fsg_common_releas

Re: usb:composite: data abort on second ums launch

2025-03-24 Thread Zixun LI
On Mon, Mar 24, 2025 at 6:21 PM Mattijs Korpershoek wrote: > I've tried to reproduce this on master (2025.04-rc4-g244e61fbb7f5) and I > don't reproduce this with the VIM3 board using > khadas-vim3_android_ab_defconfig: > > I'll try to understand why it's behaving differently between the > sam9x60

Re: usb:composite: data abort on second ums launch

2025-03-24 Thread Zixun LI
On Mon, Mar 24, 2025 at 3:12 PM Marek Vasut wrote: > Can you reproduce this on u-boot/master too ? Yes I can reproduce it on master 2025.04-244e61f, since fsg init/deinit code are the same.

Re: usb:composite: data abort on second ums launch

2025-03-24 Thread Mattijs Korpershoek
Hi, Thank you for the report. On lun., mars 24, 2025 at 15:03, Marek Vasut wrote: > On 3/24/25 11:42 AM, Zixun LI wrote: >> Hi, >> >> I encountered a data abort on the 2nd "ums 0 mmc 0" command on >> u-boot-at91 2024.07 with sam9x60-curiosity board. >> >> U-Boot> ums 0 mmc 0 >> UMS: LUN 0, de

Re: usb:composite: data abort on second ums launch

2025-03-24 Thread Marek Vasut
On 3/24/25 11:42 AM, Zixun LI wrote: Hi, I encountered a data abort on the 2nd "ums 0 mmc 0" command on u-boot-at91 2024.07 with sam9x60-curiosity board. U-Boot> ums 0 mmc 0 UMS: LUN 0, dev mmc 0, hwpart 0, sector 0x0, count 0x1d29000 CTRL+C - Operation aborted U-Boot> ums 0 mmc 0 UMS: LUN 0, d