First make sure to compile with -march=i586, because it is a Quark requirement. Also you can access the UART by using /sys/class/gpio, if you want you can also review the files TTYUART.h and TTYUART.cpp in <arduino-1.5.3>\hardware\arduino\x86\cores\arduino. Then, regarding the PRM, There is no support supplied for legacy I/O port access at addresses 0x3F8, 0x2F8, 0x3E8 or 0x2E8.
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.
I don’t know if you have already seen this post https://communities.intel.com/thread/48059. It is a discussion on bare metal programming, I think this will it give you an idea about how this topic is been addressed.
Yeah, I think the information in the thread is what I am looking for,
Thanks a lot.