Uh oh!
There was an error while loading. Please reload this page.
virtual address is different with physical address in some CPU - #2
Closed
qepdclqu wants to merge 1 commit into
Closed
virtual address is different with physical address in some CPU#2qepdclqu wants to merge 1 commit into
qepdclqu wants to merge 1 commit into
Conversation
…MIPS, i believe i don't find all in usbx
goldscott
commented
Jul 30, 2020
Contributor
Hello @qepdclqu - thank you for reporting this and submitting your fixes. We will update our internal codebase with these changes and then move the changes over to github in our next patch release. |
yuxin-azrtos
commented
Aug 7, 2020
Contributor
@qepdclqu As @goldscott indicated, we are working on these fixes and will update the repo in our next release. Meanwhile I am closing this PR. Feel free to reach out to us if you have further questions. |
qepdclqu
commented
Aug 9, 2020
via email
Author
Hi,I had transplant usbx to my platform. When I used mass storage class with EHCI to read or write U disk, I test the speed but it was very slowly. When the HCD had create qH and qTD, the EHC started to transfer a BULK packet, but the time from it to trigger a USBINT interrupt, it expended some hundred milliseconds or more. I don't understand. Whether the memory of data structures that controled by HC is special or has some characteristic, whether there is something that i don't configure or notify well.
If can, please give some advices. Thanks very much.
At 2020-08-08 01:42:38, "yuxin-azrtos" <notifications@github.com> wrote:
@qepdclqu As @goldscott indicated, we are working on these fixes and will update the repo in our next release. Meanwhile I am closing this PR. Feel free to reach out to us if you have further questions.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe. |
This file contains hidden or 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
Sign up for freeto 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.
您好,最近我在移植usbx到一个芯片上时,发现usbx上可能存在"bug"。usbx上有两个接口_ux_utility_virtual_address和_ux_utility_physical_address,里面的虚拟地址和物理地址是一一映射的,代码中有很多地方也用到了这两个接口用来实现CPU和HC各自访问所需要的地址空间,但是我发现有些源文件的代码中并没有遵守这样的规则,因为我的芯片上的CPU使用的虚拟地址和物理地址并不是一一映射的,当CPU使用物理地址时,会有异常,而HC使用虚拟地址时也会存在问题(我相信在某些虚拟地址和物理地址不是一一映射的CPU上也会存在同样的问题)。
我的描述是否能说明白我遇到的问题,不知道您那边是否认为这些是"bug"。
所以,我找出了四个文件并进行了修改,如果是“bug”,我相信usbx中并不是只有这4个文件存在这样的问题。
我第一次使用github,所以我将更改的直接提交到了master分支,希望不会造成一些困扰。
以上,谢谢。
p.s. 我希望学习和使用usbx,对于代码中我有很多疑惑,如果可以,我希望能有更方便的交流方式,比如邮件。我的邮箱是:lanxiaoao@163.com