external source code for phoenix base on A20