xv6 os arm porting

Xv6 sources and text for x86

MIT 6.828: Operating System Engineering

https://pdos.lcs.mit.edu/6.828/2016/schedule.html 

Books

xv6 book: https://pdos.csail.mit.edu/6.828/2014/xv6/book-rev8.pdf

xv6 booklet: https://pdos.csail.mit.edu/6.828/2014/xv6/xv6-rev8.pdf

Code

The latest xv6 x86 source is available via:

https://github.com/mit-pdos/xv6-public

git clone git://github.com/mit-pdos/xv6-public.git

Xv6 sources for ARMv6

https://github.com/zhiyihuang/xv6_rpi_port/

Problems: don’t boot on my Raspberry Pi B.
See: xv6 on Raspberry Pi armv6.

After some changes, I manage to boot it and it successfully run all the usertests, including the sbrktest.

See bellow the github address of my version with corrections done.

Xv6 sources for ARMv7

https://github.com/houcheng/xv6-armv7/

Problems: the preemptive multitasking is not working, and the sbrktest aborts.

The preemptive multitasking is solved in my version, but the sbrktest problem not. See: xv6 on qemu armv7.

See bellow the github addresses of my versions (qemu, raspberry pi 3, banana pi m1) with corrections done.

 

Xv6 sources for ARMv8

https://github.com/sudharson14/xv6-OS-for-arm-v8

Never tested, but looking at sources i think it is based in the houcheng/xv6-armv7, so it have the same issues.

My xv6 forks

 

ARMV7 – Initial imported from houcheng/xv6-armv7

https://github.com/inaciose/xv6-armv7-a15 (qemu vexpress-a15)

https://github.com/inaciose/xv6-armv7-a7 (banana pi m1)

ARMV6 – Initial imported from zhiyihuang/xv6_rpi_port

https://github.com/inaciose/xv6-armv6-rpi

 


Others untested Xv6 sources

???

Clean, void, forget

https://github.com/Hierifer/xv6_arm (empty)

https://github.com/SwatPup/xv6-on-arm (for x86?)

https://github.com/shtyd/xv6-arm (very incomplete)