use this command to determine file type. $ file "filename"
example : $ file u-boot u-boot: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), statically linked, not stripped