Hello! I am Abdelhakeem, currently studying for my last semester of Computer and Systems Engineering at Alexandria University in Egypt. I participated in GSoC '19 with Neovim, and this time I wanna delve deeper into systems programming and get my hands dirty with some real OS stuff.
I am currently reading the various documentation that is relevant to this project and trying to figure out how to set up my test environment.
I am aware that working within the chroot environment of Chromium OS is better since I would potentially be contributing and submitting patches. Hence, I checked out the sources as in the Chromium OS Developer Guide and set up my development environment. Now, I don't have a Chromebook, but I have two options for the test environment:
- Build crosvm and ARCVM individually and use crosvm on my host to run the ARCVM system
- Build Chromium OS, spin up a virtual machine with cros_vm, and use crosvm from within the VM to run the ARCVM system
I am having problems with both approaches, but I will try to be more specific:
- Where is the ARCVM kernel image and other system files in the Chromium OS build tree? I can't seem to find enough documentation on ARCVM (I can build the kernel image at src/third_party/kernel/v5.10-arcvm, but I need relevant rootfs and initrd images to be able to run ARCVM with crosvm)
- The second approach would be too slow for development, i.e.: I will have to transfer crosvm and ARCVM to the Chromium OS VM over SSH whenever I want to test any new changes, am I missing something?
Any guidance would be really appreciated, thanks!