mvkbed wrote:The hyperbk kernel itself seems to be only 30 percent completed. WHat all remaining work is there i cant find it. if you want a rewirte of some files of implementation of functions of features you can please tell that to me. Ill contribute to my best effort.
alright i will give you a hyperbk development setup and things of intrest to rewrite if you are intrested most in kernel work
development environment:
1. get hyperbolabsd version of binutils and gcc configured and compiled as a cross compiler for either i686 or x86_64, also get bmake built and installed
2. clone hyperbk(the git servers are slow and can fail so try again and again until it works(it will go further and further every time)
3. go to arch/i386 or amd64/compile/GENERIC.MP
4. copy obj_gen folder to obj
5. cd into obj and edit the makefile to remove lines that fail to compile like .if {.COMPILER_VERSION = Clang} alongside the whole contents of that if branch
6. run bmake with CC LD and AS specified after the bmake command
7. after it almost builds and fails edit makegap.sh to statically set PAGE_SIZE and remove all the random lines from makegap.sh
8. run build again and make sure a bsd and bsd.gdb file have been generated
9. follow this osdev wiki article to make a bootable grub rescue iso that can boot your hyperbk without a rootfs for debugging core kernel code https://wiki.osdev.org/GRUB and simply put kopenbsd /path/to/bsd/relative/to/iso/root line inside the grub.cfg you are writing manually
10. run qemu with -s -S options and -cdrom your_generated.iso
11. make binutils-gdb build with --enable-gdb now to get a cross gdb and connect to qemu like this: target extended-remote localhost:1234
12. do file bsd.gdb inside gdb prompt to load the kernel debug symbols
13. type c on the prompt to continue and start the kernel but set some breakpoints before with b functionname to make sure it doesnt hardfault and reboot instantly
now to things of intrest: since we are so early in development rewriting code with advertizing clause under public domain will help us gpl the whole thing
also im not a official team member and not the person behind hyperbolabsd so you can also fix the stack corruption in latest commit that builds without hyperbk headers
have fun 
EDIT: yes this sounds extremely unreasonable, i will try to help and make this much easier here are some resources to ease it
https://git.disroot.org/librecat/binutils-gdb - rebased binutils-gdb
https://git.disroot.org/librecat/gcc - rebased gcc