Skip to content
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

[Bug] duo256m: RTT-Smart would raise Load Page Fault on boot #9608

Open
wychlw opened this issue Nov 2, 2024 · 7 comments
Open

[Bug] duo256m: RTT-Smart would raise Load Page Fault on boot #9608

wychlw opened this issue Nov 2, 2024 · 7 comments
Labels
Arch: RISC-V BSP related with risc-v BSP: Cvitek BSP related with cvitek RT-Smart RT-Thread Smart related PR or issues

Comments

@wychlw
Copy link

wychlw commented Nov 2, 2024

RT-Thread Version

7bf8589

Hardware Type/Architectures

milkv-duo256m-sd (SOC SG2002)

Develop Toolchain

GCC

Describe the bug

The RTT-Smart with default config (change the addr to assert requirement, ofcourse) would get a Load Page Fault on boot. See screen record: asciicast

After some digging, seems is commit 148e577 cause this problem. After revert it, all things works again: screen record asciicast

Other additional context

I've tried different vaddr, none of them work

@heyuanjie87
Copy link
Contributor

参考我的bsp设置vaddr, https://github.com/heyuanjie87/bsp-MilkvDuo-xx

@wychlw
Copy link
Author

wychlw commented Nov 2, 2024

参考我的bsp设置vaddr, https://github.com/heyuanjie87/bsp-MilkvDuo-xx

感谢!您的的确可以在duos和duo256m上工作。但是,master依然不行…(之前设置的实际上就是 0xFFFFFFC000200000

看起来问题更复杂了…

@heyuanjie87
Copy link
Contributor

master上的duo riscv的驱动应该是还没支持smart的

@wychlw
Copy link
Author

wychlw commented Nov 3, 2024

嗷!原来如此。谢谢您!

@shunyao666
Copy link

master上的duo riscv的驱动应该是还没支持smart的
请问现在哪个分支已经支持了smart呢

@heyuanjie87
Copy link
Contributor

https://github.com/heyuanjie87/bsp-MilkvDuo-xx
https://github.com/heyuanjie87/bsp-k230
这两个仓库都可以,还有master里的qemu bsp也可以

@unicornx unicornx added BSP: Cvitek BSP related with cvitek RT-Smart RT-Thread Smart related PR or issues labels Nov 6, 2024
@unicornx unicornx added the Arch: RISC-V BSP related with risc-v label Nov 13, 2024
@unicornx
Copy link
Contributor

#9657 已经 merge 了,请确认一下。如果没有问题请 close 这个 issue。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arch: RISC-V BSP related with risc-v BSP: Cvitek BSP related with cvitek RT-Smart RT-Thread Smart related PR or issues
Projects
None yet
Development

No branches or pull requests

4 participants