added support for ARM (Cubietruck) / fixed bootstrap