Added CuBox-I dualcore support

The Hummingboard can have a dual core CPU. Therefor we must check for multiple CPU cores. These commit will let the init scripts check for all cores dynamically.