Forum Discussion
Bootloaders
Has anyone successfully used either U-Boot or Redboot on a NON-Linux based system? More specifically, on a MicroC/OS-II-based system? I'm having a hell of a time figuring out if I can use either of these in my system. I would rather not have to write my own bootloader. I am currently using the bootloader embedded in the EPCS controller. But, I need to be able to update the image and recover if flashing the new image fails. The only way I can see to do this is to use a secondary bootloader that will usually load from flash, but could load over comms if the image is corrupted. Any help in this area is greatly appreciated.
12 Replies
- Altera_Forum
Honored Contributor
I have managed to get u-boot running on a couple of custom niosII boards so far, and is was not too hard.
You will need to add/modify: MAKEALL, Makefile, board/mycompany/myboard/myboard.c board/mycompany/myboard/config.mk include/configs/myboard.h ;main config settings If you look at the existing files, most things will be obvious. u-boot needs one hw timer, which can also be used by your app. The exception address in the config file must agree with sopc builder. - Altera_Forum
Honored Contributor
Thank you for all. I will have try now.