fix bugs include: extract flash, make file, modify approach of define file type
Merge branch '140218'