Giter Site home page Giter Site logo

Comments (9)

wjsgtxy avatar wjsgtxy commented on June 18, 2024

不知道能不能看到上传的图片,它错误输出为:
[rustsbi] panicked at 'unhandled trap! mcause: Exception(StoreFault), mepc: 00000000800014d8, mtval: 000000008001bd00', src/main.rs:510:18

from xv6-k210.

SKTT1Ryze avatar SKTT1Ryze commented on June 18, 2024

您好,是这样的,键盘输入属于外部中断,我们移植外部中断的时候借助了一个东西叫 rustsbi,这个东西帮助我们获取键盘输入。
但是最近这个 rustsbi 的实现修改了,因此键盘输入的处理出了点小问题。再由于我们目前还不需要键盘输入,因此就没来得及修这个 bug。谢谢您的提醒,我们会尽早把这个bug修复

from xv6-k210.

SKTT1Ryze avatar SKTT1Ryze commented on June 18, 2024

另外我看到您的输出里面 sd 卡初始化失败了,建议检查您开发板上的 sd 卡是否插好

from xv6-k210.

wjsgtxy avatar wjsgtxy commented on June 18, 2024

您好,是这样的,键盘输入属于外部中断,我们移植外部中断的时候借助了一个东西叫 rustsbi,这个东西帮助我们获取键盘输入。
但是最近这个 rustsbi 的实现修改了,因此键盘输入的处理出了点小问题。再由于我们目前还不需要键盘输入,因此就没来得及修这个 bug。谢谢您的提醒,我们会尽早把这个bug修复

看到您更新的rustsbi代码了,刚试了下已经可以了,非常感谢!

from xv6-k210.

SKTT1Ryze avatar SKTT1Ryze commented on June 18, 2024

啊这,我这还没可以呢?

from xv6-k210.

XiangyuSu611 avatar XiangyuSu611 commented on June 18, 2024

我这里更新一下 rustsbi 代码也可以了

from xv6-k210.

SKTT1Ryze avatar SKTT1Ryze commented on June 18, 2024

@XiangyuSu611 @wjsgtxy 能否请两位打包一下代码(zip 或 tar)发我邮箱一份?非常感谢QAQ。
邮箱地址:[email protected]

from xv6-k210.

SKTT1Ryze avatar SKTT1Ryze commented on June 18, 2024

谢谢两位热心同学的帮助 @wjsgtxy @XiangyuSu611 我找到问题所在了。
两个如果后面还有什么问题,也欢迎在此 repo 的 issue 上提出来,我们看到之后会第一时间回复。

from xv6-k210.

SKTT1Ryze avatar SKTT1Ryze commented on June 18, 2024

close this issue

from xv6-k210.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.