boot code for embedded board