Support for new boards

Where can I read how to add support for a new device. There is a single-board computer running on the Allwinner H5 processor, I would like to add support for it, and write my own special modules for it.