some simple tools for sunxi