The Porting the Unix Kernel project report is available here.
A Zip archive of the code at the conclusion of the project is available here.
$ cd discobsd
$ MACHINE=pic32 MACHINE_ARCH=mips gmakeNote: The mips-elf gcc compiler sometimes segfaults when building the kernel.
If this happens, just re-run the gmake step above until the build succeeds.
$ cd discobsd/tools/virtualmips
$ ./pic32Log in to RetroBSD with user root and a blank password.
Shutdown RetroBSD with:
# shutdown -h nowA screenshot of the booting process is below:
$ cd discobsd
$ gmakeNote: The userland does not fully build. You can force building everything with:
$ cd discobsd
$ gmake -kThe kernel can be built independently by:
$ cd discobsd/sys/stm32/f4discovery
$ gmakeNote: The kernel requires the discobsd/tools/kconfig/kconfig program for building.
$ cd discobsd
$ gmake qemuIn a separate terminal, run gdb with:
$ cd discobsd
$ gmake gdb-qemuThe command gmake help will give a list of targets devoted to running DiscoBSD, either on QEMU or with OpenOCD.
Note: Currently, the DiscoBSD kernel only blinks an LED.
A screenshot of the booting process is below:

