We do not build our own kernels at the moment, instead we extract kernels and kernel modules from corresponding images (base images) created by board producers or board communities.
So to support new board you need to:
- Find a good base image
- Upload to our artifacts server (for testing you can point extractor at any url)
- Modify extractor script to give it a name.
- Add an identification file to files
- Modify build script to include the new image name.
- Build an image
sudo /path/to/drone exec --pipeline=[board-spec] --trusted
Example
sudo /path/to/drone exec --pipeline=amd64-uefi-all-buster --trusted
Example output image file in the current dir
syncloud-amd64-uefi-all-21.01.img.xz
xzcat syncloud-[board]-[release].img.xz | dd of=/dev/[device] status=progress bs=4M
Convert x64 image file to a vdi file
unxz syncloud-amd64-[version].img.xz
sudo -H ./create_vbox_image.sh syncloud-amd64-[version].img
sudo chown $USER. syncloud-amd64-[version].vdi.xz