add astara
first compile astarm
fix some function names