[Linuxarm] [PATCH v2 0/5] Fix some bugs and clean code issues