-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drivers/usbdev/fs: fix issue between adb/fastboot/mtp and usbdev fs #12197
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
acassis
approved these changes
Apr 21, 2024
xiaoxiang781216
approved these changes
Apr 21, 2024
…s retained. It is up to the app to determine whether the data is valid when opened Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
…escriptor nuttx/mm/kasan/kasan.c:117 kasan_report nuttx/mm/kasan/kasan.c:111 composite_mkstrdesc nuttx/drivers/usbdev/composite.c:404 sunxi_ep0_disptach nuttx/arch/arm/src/chip/drivers/rtos-hal/hal/source/usb/udc/udc.c:1287 up_common_handler nuttx/arch/arm/src/chip/drivers/osal/src/hal_interrupt.c:10 Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
…mum length. Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
we need to alloc req buffer in cacheline size units, othersize the data may by incorrect. Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
…ulkin status = write(g_usb_ep_in, (void*)0xFEE1DEAD, 0); sched_backtrace nuttx/arch/arm/src/../../../sched/sched/sched_backtrace.c:57 _assert nuttx/arch/arm/src/../../../sched/misc/assert.c:659 __assert nuttx/arch/arm/src/../../../libs/libc/assert/lib_assert.c:36 usbdev_fs_write nuttx/arch/arm/src/../../../drivers/usbdev/usbdev_fs.c:770 (discriminator 1) file_write nuttx/arch/arm/src/../../../fs/vfs/fs_write.c:91 nx_write nuttx/arch/arm/src/../../../fs/vfs/fs_write.c:148 ffs_transport_thread_usb_write nuttx/arch/arm/src/../../../../external/mtp-responder/mtp-responder/src/mtp_usb_driver_nuttx.c:224 _transport_thread_usb_write nuttx/arch/arm/src/../../../../external/mtp-responder/mtp-responder/src/mtp_usb_driver.c:80 pthread_startup nuttx/arch/arm/src/../../../libs/libc/pthread/pthread_create.c:59 (discriminator 2) Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
Please fix the build |
Done, thanks~ |
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Solve some problems in usbdev fs see commit message for details.
Impact
usbdev fastboot/adb
Testing
testing vela