ubuntu默认启用的是dash, dash比bash轻巧快速 但是在编译uboot的nand_spl时发现,dash不支持部分指令 sudo dpkg-reconfigure dash 选择no,修改默认sh为bash即可