Hey JPMontero,
Thanks for the reply.
I have recompiled my program with -march=i586. However, it doesn't help.
I think I didn't explain my goal clear enough, I try to porting the RTEMS on Galileo, but not the running an application in Linux.
Porting RTEMS to Galileo, I feel it may more like doing more bare metal programming with the existing RTEMS framework, then I need something like uart/jtag for me to debug.
Could u give me some guidance for these kind of these kind of things or explain me more in the details for legacy support I/O port access?
If you can point how to get start for bare metal programming, these maybe also helpful.
Thanks very much.