Skip to content

MagicXiaoBai1/xv6-k210

 
 

Repository files navigation

sudo docker run -ti --rm -v /home/ubuntu/try_for_love/xv6-k210:/xv6 --privileged=true docker.educg.net/cg/os-contest:2024p6 /bin/bash

wend

https://oyer359xyx.feishu.cn/docx/SGDNdxCkuoMSV6xUgX5cPJCTnMe

(gdb) file vmlinux # vmlinux 位于目录 linux-4.19.172 中 (gdb) target remote :1234 (gdb) break start_kernel # 有些文档建议使用 hb 硬件断点,我在本地测试使用 break 也是 ok 的 (gdb) c # 启动调试,则内核会停止在 start_kernel 函数处

docker ps -a docker exec -it 2f4d9cb4198e /bin/bash test

About

Port XV6 to K210 board!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 70.3%
  • Python 20.8%
  • Rust 7.1%
  • Assembly 0.9%
  • Makefile 0.7%
  • Just 0.1%
  • Other 0.1%