https://github.com/eyengin/xv6-riscv-unmatched #HiFiveUnmatched #softwarearchaeology #educationalOS #HackerNews #ngated
Porting xv6 to HiFive Unmatched board
https://github.com/eyengin/xv6-riscv-unmatched
#HackerNews #Porting #xv6 #to #HiFive #Unmatched #board #xv6 #HiFiveUnmatched #RISC-V #open-source #programming #embeddeddevelopment
Sorry for inactivity recently, been working on this with a friend of mine on #Codeberg.
We're picking up the #x86 #xv6 #Kernel from MIT. We've done things like add a directory structure in the filesystem, properly organize the source code, rewrite Perl scripts to Bash, remove old code/scripts as we see fit and much more.
Our goal is to have a usable system with #xv7.
Next step: (hopefully) fixing SMP on newer QEMU machines.
Frans Kaashoek's talk in UNSW's John Lions Distinguished Lecture Series is online now.
This talk is about the xv6 educational Unix-clone that was developed in his group, which is used in OS courses around the world.
New semester, new version of the xv6 educational OS for RISC-V from MIT! This is accompanied by a new revision 5 of the xv6 book and–for the first time, I think–a Lions' Commentary-style code reader booklet!
A previous version switched to using the stimecmp extension instead of the regular CLINT timer, that was a bit of a surprise. So let's see what the changes in this new version are...
https://pdos.csail.mit.edu/6.1810/2025/xv6/book-riscv-rev5.pdf
https://pdos.csail.mit.edu/6.1810/2025/xv6/xv6-src-booklet-rev5.pdf
https://github.com/mit-pdos/xv6-riscv
We ran a Unix-like OS Xv6 on our home-built CPU with a home-built C compiler
#HackerNews #Unix #Xv6 #HomeBuilt #CPU #CCompiler #TechDIY #HackerNews
[Thanks for many comments and votes on Hacker News! ] It’s been two years since I started working as a software engineer. I sometimes tell my colleagues about a student project I did in my junior year of university, and it’s so well-received that I’m writing this post. 1 Now, let me ask you a question. Have you ever designed your own ISA, built a processor of that ISA on FPGA, and built a compiler for it? Furthermore, have you run an operating system on that processor? Actually, we have.
not sure if i shared this before on here, but im rewatching it so here you go! this series explores the #xv6 #kernel source code, and i feel like this approach to teaching suits me better than theory sometimes.
https://www.youtube.com/playlist?list=PLP29wDx6QmW4Mw8mgvP87Zk33LRcKA9bl

Xv6: увеличим размер страниц виртуальной памяти с 4Кб до 2Мб
Научим xv6 работать с виртуальными страницами размера 2 Мб, узнаем, как компоновщик создает образ памяти программы и научим файловую систему xv6 справляться с большими файлами. Пример: Пусть программа занимает 4 Мб памяти. Размер страницы - 4 Кб. Программа займет (1024 * 1024 * 4) / (1024 * 4) = 1024 страницы памяти. ОС избавит процессор от лишней работы, если увеличит размер страницы до 2 Мб - тогда программа займет 2 страницы.
https://habr.com/ru/articles/830662/
#xv6 #riscv #виртуальная_память #таблицы_страниц #файловая_система #ld #объектный_файл #исполняемый_файл #компоновка #сценарий_компоновщика
Драйвер Ethernet для xv6
Xv6 - учебная ОС - рассказывает об идеях, что лежат в основе операционных систем. Научим xv6 работать в сети, познакомимся со стандартом виртуальных устройств VirtIO, деревом устройств DeviceTree, технологией Ethernet, сетевыми протоколами, возведем сетевой мост между виртуальными машинами.
https://habr.com/ru/articles/826500/
#xv6 #ethernet #virtio #devicetree #qemu #dhcp #ipv4 #ipv6 #arp #icmp