Added "env" infofs file.
Modified files for building BTOS toolchain.
Scripts relating to building toolchain.
Enhanced test code for ATA.