So, I've been looking at the source code, specifically the nios2 bits. It looks like I should put u-boot in higher memory above where my kernel should go. Then, u-boot will load the exception vectors, which will overwrite the u-boot vectors. Next, u-boot will load my code into RAM. When I jump to _start, my code won't even know about u-boot because it is located in my code's rwdata section.
Does this sound right? I think I'm finally understanding this.
Scott,
Have you used Redboot? Any opinions? I'm still up in the air whether I should use u-boot or redboot. Any pros or cons of either? They seem to have most of the same features. I'm just wondering if I'm missing something that would pull me one way or the other.
Thanks again
-dave