refine cubieboard configure, use ubuntu prepare to install tools