
"FLYNN Sean" Sean.Flynn@hexagonmetrology.com wrote:
When I included the interrupts in this application I was receiving __heap_start__ and __heap_end__ undefined (along with a few other minor linking errors that I fixed due to gcc libraries that were not linked in). I attempted to define these areas in the linkerscript and was able to get my app to build but it would not run. I attempted many different iterations defining the heap sections unsuccessfully. FWIW I also attempted to allocate some memory using malloc to see if the heap was the problem and that wouldn't run either.
Please keep talking to support about this. It sounds like a problem with the linkerscript you're using and has nothing to do with u-boot.
Hopefully I made myself clear in this e-mail but my ultimate goal is to run an embedded app under u-boot, exit and boot to linux.
I don't think you can return to u-boot if you reprogram the interrupt controller, or alter any other hardware that u-boot is using.
Haavard