sun4i platform support

Should be cleaned. *A lot*